PageSourceSearch

https://microlearnontario.ca/wp-content/plugins/micro-credentials/…/mc-item-list-dist/en/main.js

js microlearnontario.ca collected 2026-09-30 16:35:59 UTC 1,212,400 bytes, 1 lines download raw bytes

1var Jie=Object.defineProperty,ere=Object.defineProperties,tre=Object.getOwnPropertyDescriptors,DB=Object.getOwnPropertySymbols,nre=Object.prototype.hasOwnProperty,ire=Object.prototype.propertyIsEnumerable,AB=(ze,H,U)=>H in ze?Jie(ze,H,{enumerable:!0,configurable:!0,writable:!0,value:U}):ze[H]=U,Ce=(ze,H)=>{for(var U in H||(H={}))nre.call(H,U)&&AB(ze,U,H[U]);if(DB)for(var U of DB(H))ire.call(H,U)&&AB(ze,U,H[U]);return ze},Ti=(ze,H)=>ere(ze,tre(H));(self.webpackChunkeCampus_MicroCredential_Frontend=self.webpackChunkeCampus_MicroCredential_Frontend||[]).push([[179],{132:function(ze,H,U){var oe;ze=U.nmd(ze),function(){var E,ce="Expected a function",G="__lodash_hash_undefined__",z="__lodash_placeholder__",ra=1/0,oa=9007199254740991,hs=4294967295,l_=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],il="[object Arguments]",ec="[object Array]",Qc="[object Boolean]",rl="[object Date]",vd="[object Error]",bd="[object Function]",c_="[object GeneratorFunction]",jt="[object Map]",fs="[object Number]",Ur="[object Object]",zw="[object Promise]",qn="[object RegExp]",Ao="[object Set]",Xc="[object String]",Lf="[object Symbol]",ol="[object WeakMap]",sl="[object ArrayBuffer]",tc="[object DataView]",Vf="[object Float32Array]",Cd="[object Float64Array]",Bf="[object Int8Array]",Hf="[object Int16Array]",u_="[object Int32Array]",Uf="[object Uint8Array]",jf="[object Uint8ClampedArray]",zf="[object Uint16Array]",$f="[object Uint32Array]",d_=
vendor: 6,076 bytes, line 1
1/\b__p \+= '';/g,un=/\b(__p \+=) '' \+/g,Gf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Rt=/&(?:amp|lt|gt|quot|#39);/g,wd=/[&<>"']/g,$w=RegExp(Rt.source),Nt=RegExp(wd.source),Xe=/<%-([\s\S]+?)%>/g,h_=/<%([\s\S]+?)%>/g,Gw=/<%=([\s\S]+?)%>/g,al=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,FT=/^\w*$/,qf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gt=/[\\^$.*+?()[\]{}|]/g,or=RegExp(gt.source),Wf=/^\s+/,NT=/\s/,LT=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Sd=/\{\n\/\* \[wrapped with (.+)\] \*/,jr=/,? & /,VT=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,f_=/[()=,{}\[\]\/\s]/,BT=/\\(\\)?/g,ps=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qw=/\w*$/,HT=/^[-+]0x[0-9a-f]+$/i,UT=/^0b[01]+$/i,jT=/^\[object .+?Constructor\]$/,Ww=/^0o[0-7]+$/i,zT=/^(?:0|[1-9]\d*)$/,Kw=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Kf=/($^)/,zr=/['\n\r\u2028\u2029\\]/g,mn="\\ud800-\\udfff",se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qw="\\u2700-\\u27bf",Le="a-z\\xdf-\\xf6\\xf8-\\xff",Qf="A-Z\\xc0-\\xd6\\xd8-\\xde",Jc="\\ufe0e\\ufe0f",Ed="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zw="["+mn+"]",Ze="["+Ed+"]",nc="["+se+"]",m_="\\d+",sa="["+Qw+"]",Yf="["+Le+"]",Jw="[^"+mn+Ed+m_+Qw+Le+Qf+"]",Bo="\\ud83c[\\udffb-\\udfff]",eS="[^"+mn+"]",g_="(?:\\ud83c[\\udde6-\\uddff]){2}",Ri="[\\ud800-\\udbff][\\udc00-\\udfff]",ic="["+Qf+"]",y_="(?:"+Yf+"|"+Jw+")",WT="(?:"+ic+"|"+Jw+")",on="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",tS="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",nS="(?:"+nc+"|"+Bo+")?",ll="["+Jc+"]?",Id=ll+nS+"(?:\\u200d(?:"+[eS,g_,Ri].join("|")+")"+ll+nS+")*",v_="(?:"+[sa,g_,Ri].join("|")+")"+Id,gs="(?:"+[eS+nc+"?",nc,g_,Ri,Zw].join("|")+")",eu=RegExp("['\u2019]","g"),iS=RegExp(nc,"g"),lt=RegExp(Bo+"(?="+Bo+")|"+gs+Id,"g"),rS=RegExp([ic+"?"+Yf+"+"+on+"(?="+[Ze,ic,"$"].join("|")+")",WT+"+"+tS+"(?="+[Ze,ic+y_,"$"].join("|")+")",ic+"?"+y_+"+"+on,ic+"+"+tS,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",m_,v_].join("|"),"g"),b_=RegExp("[\\u200d"+mn+se+Jc+"]"),C_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,w_=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],$e=-1,Tn={};Tn[Vf]=Tn[Cd]=Tn[Bf]=Tn[Hf]=Tn[u_]=Tn[Uf]=Tn[jf]=Tn[zf]=Tn[$f]=!0,Tn[il]=Tn[ec]=Tn[sl]=Tn[Qc]=Tn[tc]=Tn[rl]=Tn[vd]=Tn[bd]=Tn[jt]=Tn[fs]=Tn[Ur]=Tn[qn]=Tn[Ao]=Tn[Xc]=Tn[ol]=!1;var wn={};wn[il]=wn[ec]=wn[sl]=wn[tc]=wn[Qc]=wn[rl]=wn[Vf]=wn[Cd]=wn[Bf]=wn[Hf]=wn[u_]=wn[jt]=wn[fs]=wn[Ur]=wn[qn]=wn[Ao]=wn[Xc]=wn[Lf]=wn[Uf]=wn[jf]=wn[zf]=wn[$f]=!0,wn[vd]=wn[bd]=wn[ol]=!1;var aa={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},cl=parseFloat,lo=parseInt,$r="object"==typeof global&&global&&global.Object===Object&&global,Ae="object"==typeof self&&self&&self.Object===Object&&self,Je=$r||Ae||Function("return this")(),xn=H&&!H.nodeType&&H,ki=xn&&ze&&!ze.nodeType&&ze,la=ki&&ki.exports===xn,ei=la&&$r.process,Ci=function(){try{return ki&&ki.require&&ki.require("util").types||ei&&ei.binding&&ei.binding("util")}catch(Q){}}(),Un=Ci&&Ci.isArrayBuffer,rc=Ci&&Ci.isDate,ul=Ci&&Ci.isMap,It=Ci&&Ci.isRegExp,tu=Ci&&Ci.isSet,dl=Ci&&Ci.isTypedArray;function sr(N,Q,q){switch(q.length){case 0:return N.call(Q);case 1:return N.call(Q,q[0]);case 2:return N.call(Q,q[0],q[1]);case 3:return N.call(Q,q[0],q[1],q[2])}return N.apply(Q,q)}function oc(N,Q,q,Ve){for(var Be=-1,nn=null==N?0:N.length;++Be<nn;){var di=N[Be];Q(Ve,di,q(di),N)}return Ve}function In(N,Q){for(var q=-1,Ve=null==N?0:N.length;++q<Ve&&!1!==Q(N[q],q,N););return N}function nu(N,Q){for(var q=null==N?0:N.length;q--&&!1!==Q(N[q],q,N););return N}function hl(N,Q){for(var q=-1,Ve=null==N?0:N.length;++q<Ve;)if(!Q(N[q],q,N))return!1;return!0}function wi(N,Q){for(var q=-1,Ve=null==N?0:N.length,Be=0,nn=[];++q<Ve;){var di=N[q];Q(di,q,N)&&(nn[Be++]=di)}return nn}function dn(N,Q){return!(null==N||!N.length)&&ca(N,Q,0)>-1}function Zf(N,Q,q){for(var Ve=-1,Be=null==N?0:N.length;++Ve<Be;)if(q(Q,N[Ve]))return!0;return!1}function Pn(N,Q){for(var q=-1,Ve=null==N?0:N.length,Be=Array(Ve);++q<Ve;)Be[q]=Q(N[q],q,N);return Be}function Io(N,Q){for(var q=-1,Ve=Q.length,Be=N.length;++q<Ve;)N[Be+q]=Q[q];return N}function iu(N,Q,q,Ve){var Be=-1,nn=null==N?0:N.length;for(Ve&&nn&&(q=N[++Be]);++Be<nn;)q=Q(q,N[Be],Be,N);return q}function ru(N,Q,q,Ve){var Be=null==N?0:N.length;for(Ve&&Be&&(q=N[--Be]);Be--;)q=Q(q,N[Be],Be,N);return q}function sc(N,Q){for(var q=-1,Ve=null==N?0:N.length;++q<Ve;)if(Q(N[q],q,N))return!0;return!1}var fl=Jf("length");function Mo(N,Q,q){var Ve;return q(N,function(Be,nn,di){if(Q(Be,nn,di))return Ve=nn,!1}),Ve}function Sr(N,Q,q,Ve){for(var Be=N.length,nn=q+(Ve?1:-1);Ve?nn--:++nn<Be;)if(Q(N[nn],nn,N))return nn;return-1}function ca(N,Q,q){return Q==Q?function(N,Q,q){for(var Ve=q-1,Be=N.length;++Ve<Be;)if(N[Ve]===Q)return Ve;return-1}(N,Q,q):Sr(N,ou,q)}function Md(N,Q,q,Ve){for(var Be=q-1,nn=N.length;++Be<nn;)if(Ve(N[Be],Q))return Be;return-1}function ou(N){return N!=N}function co(N,Q){var q=null==N?0:N.length;return q?D_(N,Q)/q:NaN}function Jf(N){return function(Q){return null==Q?E:Q[N]}}function S_(N){return function(Q){return null==N?E:N[Q]}}function E_(N,Q,q,Ve,Be){return Be(N,function(nn,di,_t){q=Ve?(Ve=!1,nn):Q(q,nn,di,_t)}),q}function D_(N,Q){for(var q,Ve=-1,Be=N.length;++Ve<Be;){var nn=Q(N[Ve]);nn!==E&&(q=q===E?nn:q+nn)}return q}function A_(N,Q){for(var q=-1,Ve=Array(N);++q<N;)Ve[q]=Q(q);return Ve}function aS(N){return N&&N.slice(0,tp(N)+1).replace(Wf,"")}function uo(N){return function(Q){return N(Q)}}function I_(N,Q){return Pn(Q,function(q){return N[q]})}function Td(N,Q){return N.has(Q)}function lS(N,Q){for(var q=-1,Ve=N.length;
vendor: 4,482 bytes, line 1
1++q<Ve&&ca(Q,N[q],0)>-1;);return q}function cS(N,Q){for(var q=N.length;q--&&ca(Q,N[q],0)>-1;);return q}function QT(N,Q){for(var q=N.length,Ve=0;q--;)N[q]===Q&&++Ve;return Ve}var YT=S_({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),XT=S_({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function ZT(N){return"\\"+aa[N]}function pl(N){return b_.test(N)}function M_(N){var Q=-1,q=Array(N.size);return N.forEach(function(Ve,Be){q[++Q]=[Be,Ve]}),q}function uS(N,Q){return function(q){return N(Q(q))}}function Er(N,Q){for(var q=-1,Ve=N.length,Be=0,nn=[];++q<Ve;){var di=N[q];(di===Q||di===z)&&(N[q]=z,nn[Be++]=q)}return nn}function ac(N){var Q=-1,q=Array(N.size);return N.forEach(function(Ve){q[++Q]=Ve}),q}function lc(N){return pl(N)?function(N){for(var Q=lt.lastIndex=0;lt.test(N);)++Q;return Q}(N):fl(N)}function ho(N){return pl(N)?function(N){return N.match(lt)||[]}(N):function(N){return N.split("")}(N)}function tp(N){for(var Q=N.length;Q--&&NT.test(N.charAt(Q)););return Q}var hS=S_({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),su=function N(Q){var l,q=(Q=null==Q?Je:su.defaults(Je.Object(),Q,su.pick(Je,w_))).Array,Ve=Q.Date,Be=Q.Error,nn=Q.Function,di=Q.Math,_t=Q.Object,ip=Q.RegExp,tx=Q.String,ar=Q.TypeError,lr=q.prototype,ua=_t.prototype,_s=Q["__core-js_shared__"],$i=nn.prototype.toString,sn=ua.hasOwnProperty,rp=0,R_=(l=/[^.]+$/.exec(_s&&_s.keys&&_s.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",To=ua.toString,k_=$i.call(_t),op=Je._,yt=ip("^"+$i.call(sn).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),sp=la?Q.Buffer:E,da=Q.Symbol,xd=Q.Uint8Array,O_=sp?sp.allocUnsafe:E,au=uS(_t.getPrototypeOf,_t),P_=_t.create,F_=ua.propertyIsEnumerable,re=lr.splice,Qt=da?da.isConcatSpreadable:E,Ie=da?da.iterator:E,Rn=da?da.toStringTag:E,lu=function(){try{var l=Ca(_t,"defineProperty");return l({},"",{}),l}catch(u){}}(),cu=Q.clearTimeout!==Je.clearTimeout&&Q.clearTimeout,Ho=Ve&&Ve.now!==Je.Date.now&&Ve.now,ap=Q.setTimeout!==Je.setTimeout&&Q.setTimeout,cc=di.ceil,lp=di.floor,cp=_t.getOwnPropertySymbols,Rd=sp?sp.isBuffer:E,uu=Q.isFinite,cr=lr.join,ys=uS(_t.keys,_t),ti=di.max,Kn=di.min,vs=Ve.now,mS=Q.parseInt,up=di.random,gS=lr.reverse,dp=Ca(Q,"DataView"),ml=Ca(Q,"Map"),du=Ca(Q,"Promise"),gl=Ca(Q,"Set"),_l=Ca(Q,"WeakMap"),hu=Ca(_t,"create"),fu=_l&&new _l,bs={},N_=Aa(dp),L_=Aa(ml),V_=Aa(du),B_=Aa(gl),kd=Aa(_l),Od=da?da.prototype:E,pu=Od?Od.valueOf
vendor: 4,658 bytes, line 1
1:E,Gi=Od?Od.toString:E;function C(l){if(Yn(l)&&!Tt(l)&&!(l instanceof ft)){if(l instanceof po)return l;if(sn.call(l,"__wrapped__"))return Pi(l)}return new po(l)}var En=function(){function l(){}return function(u){if(!jn(u))return{};if(P_)return P_(u);l.prototype=u;var f=new l;return l.prototype=E,f}}();function hn(){}function po(l,u){this.__wrapped__=l,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=E}function ft(l){this.__wrapped__=l,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=hs,this.__views__=[]}function Uo(l){var u=-1,f=null==l?0:l.length;for(this.clear();++u<f;){var m=l[u];this.set(m[0],m[1])}}function qi(l){var u=-1,f=null==l?0:l.length;for(this.clear();++u<f;){var m=l[u];this.set(m[0],m[1])}}function Cs(l){var u=-1,f=null==l?0:l.length;for(this.clear();++u<f;){var m=l[u];this.set(m[0],m[1])}}function ws(l){var u=-1,f=null==l?0:l.length;for(this.__data__=new Cs;++u<f;)this.add(l[u])}function mo(l){var u=this.__data__=new qi(l);this.size=u.size}function DS(l,u){var f=Tt(l),m=!f&&Ps(l),y=!f&&!m&&Ml(l),S=!f&&!m&&!y&&Ta(l),x=f||m||y||S,k=x?A_(l.length,tx):[],B=k.length;for(var ee in l)(u||sn.call(l,ee))&&(!x||!("length"==ee||y&&("offset"==ee||"parent"==ee)||S&&("buffer"==ee||"byteLength"==ee||"byteOffset"==ee)||wa(ee,B)))&&k.push(ee);return k}function mp(l){var u=l.length;return u?l[$d(0,u-1)]:E}function z_(l,u){return Da(fi(l),ha(u,0,l.length))}function AS(l){return Da(fi(l))}function gp(l,u,f){(f!==E&&!pi(l[u],f)||f===E&&!(u in l))&&jo(l,u,f)}function Ss(l,u,f){var m=l[u];(!sn.call(l,u)||!pi(m,f)||f===E&&!(u in l))&&jo(l,u,f)}function hc(l,u){for(var f=l.length;f--;)if(pi(l[f][0],u))return f;return-1}function _p(l,u,f,m){return go(l,function(y,S,x){u(m,y,f(y),x)}),m}function _u(l,u){return l&&Tr(u,mi(u),l)}function jo(l,u,f){"__proto__"==u&&lu?lu(l,u,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[u]=f}function Hd(l,u){for(var f=-1,m=u.length,y=q(m),S=null==l;++f<m;)y[f]=S?E:fv(l,u[f]);return y}function ha(l,u,f){return l==l&&(f!==E&&(l=l<=f?l:f),u!==E&&(l=l>=u?l:u)),l}function Gr(l,u,f,m,y,S){var x,k=1&u,B=2&u,ee=4&u;if(f&&(x=y?f(l,m,y,S):f(l)),x!==E)return x;if(!jn(l))return l;var te=Tt(l);if(te){if(x=function(l){var u=l.length,f=new l.constructor(u);return u&&"string"==typeof l[0]&&sn.call(l,"index")&&(f.index=l.index,f.input=l.input),f}(l),!k)return fi(l,x)}else{var ae=Oi(l),Ee=ae==bd||ae==c_;if(Ml(l))return Ln(l,k);if(ae==Ur||ae==il||Ee&&!y){if(x=B||Ee?{}:th(l),!k)return B?function(l,u){return Tr(l,Tp(l),u)}(l,function(l,u){return l&&Tr(u,xr(u),l)}(x,l)):function(l,u){return Tr(l,Dl(l),u)}(l,_u(x,l))}else{if(!wn[ae])return y?l:{};x=function(l,u,f){var m=l.constructor;switch(u){case sl:return mc(l);case Qc:case rl:return new m(+l);case tc:return function(l,u){var f=u?mc(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.byteLength)}(l,f);case Vf:case Cd:case Bf:case Hf:case u_:case Uf:case jf:case zf:case $f:return Qd(l,f);case jt:case Ao:return new m;case fs:case Xc:return new m(l);case qn:return function(l){var u=new l.constructor(l.source,qw.exec(l));return u.lastIndex=l.lastIndex,u}(l);case Lf:return function(l){return pu?_t(pu.call(l)):{}}(l)}}(l,ae,k)}}S||(S=new mo);var $=S.get(l);if($)return $;S.set(l,x),Fs(l)?l.forEach(function(ot){x.add(Gr(ot,u,f,ot,l,S))}):BE(l)&&l.forEach(function(ot,zt){x.set(zt,Gr(ot,u,f,zt,l,S))});var xt=te?E:(ee?B?Ip:Zd:B?xr:mi)(l);return In(xt||l,function(ot,zt){xt&&(ot=l[zt=ot]),Ss(x,zt,Gr(ot,u,f,zt,l,S))}),x}function G_(l,u,f){var m=f.length;if(null==l)return!m;for(l=_t(l);m--;){var y=f[m],x=l[y];if(x===E&&!(y in l)||!(0,u[y])(x))return!1}return!0}function q_(l,u,f){if("function"!=typeof l)throw new ar(ce);return Au(function(){l.apply(E,f)},u)}function fa(l,u,f,m){var y=-1,S=dn,x=!0,k=l.length,B=[],ee=u.length;if(!k)return B;f&&(u=Pn(u,uo(f))),m?(S=Zf,x=!1):u.length>=200&&(S=Td,x=!1,u=new ws(u));e:for(;++y<k;){var te=l[y],ae=null==f?te:f(te);if(te=m||0!==te?te:0,x&&ae==ae){for(var Ee=ee;Ee--;)if(u[Ee]===ae)continue e;B.push(te)}else S(u,ae,m)||B.push(te)}return B}C.templateSettings={escape:Xe,evaluate:h_,interpolate:Gw,variable:"",imports:{_:C}},(C.prototype=hn.prototype).constructor=C,(po.prototype=En(hn.prototype)).constructor=po,(ft.prototype=En(hn.prototype)).constructor=ft,Uo.prototype.clear=function(){this.__data__=hu?hu(null):{},this.size=0},Uo.prototype.delete=function(l){var u=this.has(l)&&delete this.__data__[l];return this.size-=u?1:0,u},Uo.prototype.get=function(l){var u=this.__data__;if(hu){var f=u[l];return f===G?E:f}return sn.call(u,l)?u[l]:E},Uo.prototype.has=function(l){var u=this.__data__;return hu?u[l]!==E:sn.call(u,l)}
vendor: 4,256 bytes, line 1
1,Uo.prototype.set=function(l,u){var f=this.__data__;return this.size+=this.has(l)?0:1,f[l]=hu&&u===E?G:u,this},qi.prototype.clear=function(){this.__data__=[],this.size=0},qi.prototype.delete=function(l){var u=this.__data__,f=hc(u,l);return!(f<0||(f==u.length-1?u.pop():re.call(u,f,1),--this.size,0))},qi.prototype.get=function(l){var u=this.__data__,f=hc(u,l);return f<0?E:u[f][1]},qi.prototype.has=function(l){return hc(this.__data__,l)>-1},qi.prototype.set=function(l,u){var f=this.__data__,m=hc(f,l);return m<0?(++this.size,f.push([l,u])):f[m][1]=u,this},Cs.prototype.clear=function(){this.size=0,this.__data__={hash:new Uo,map:new(ml||qi),string:new Uo}},Cs.prototype.delete=function(l){var u=eh(this,l).delete(l);return this.size-=u?1:0,u},Cs.prototype.get=function(l){return eh(this,l).get(l)},Cs.prototype.has=function(l){return eh(this,l).has(l)},Cs.prototype.set=function(l,u){var f=eh(this,l),m=f.size;return f.set(l,u),this.size+=f.size==m?0:1,this},ws.prototype.add=ws.prototype.push=function(l){return this.__data__.set(l,G),this},ws.prototype.has=function(l){return this.__data__.has(l)},mo.prototype.clear=function(){this.__data__=new qi,this.size=0},mo.prototype.delete=function(l){var u=this.__data__,f=u.delete(l);return this.size=u.size,f},mo.prototype.get=function(l){return this.__data__.get(l)},mo.prototype.has=function(l){return this.__data__.has(l)},mo.prototype.set=function(l,u){var f=this.__data__;if(f instanceof qi){var m=f.__data__;if(!ml||m.length<199)return m.push([l,u]),this.size=++f.size,this;f=this.__data__=new Cs(m)}return f.set(l,u),this.size=f.size,this};var go=HS(dr),W_=HS(pa,!0);function K_(l,u){var f=!0;return go(l,function(m,y,S){return f=!!u(m,y,S)}),f}function yu(l,u,f){for(var m=-1,y=l.length;++m<y;){var S=l[m],x=u(S);if(null!=x&&(k===E?x==x&&!Yr(x):f(x,k)))var k=x,B=S}return B}function Mt(l,u){var f=[];return go(l,function(m,y,S){u(m,y,S)&&f.push(m)}),f}function hi(l,u,f,m,y){var S=-1,x=l.length;for(f||(f=fx),y||(y=[]);++S<x;){var k=l[S];u>0&&f(k)?u>1?hi(k,u-1,f,m,y):Io(y,k):m||(y[y.length]=k)}return y}var ur=sy(),yl=sy(!0);function dr(l,u){return l&&ur(l,u,mi)}function pa(l,u){return l&&yl(l,u,mi)}function ma(l,u){return wi(u,function(f){return Ia(l[f])})}function Es(l,u){for(var f=0,m=(u=va(u,l)).length;null!=l&&f<m;)l=l[qr(u[f++])];return f&&f==m?l:E}function ga(l,u,f){var m=u(l);return Tt(l)?m:Io(m,f(l))}function Dr(l){return null==l?l===E?"[object Undefined]":"[object Null]":Rn&&Rn in _t(l)?function(l){var u=sn.call(l,Rn),f=l[Rn];try{l[Rn]=E;var m=!0}catch(S){}var y=To.call(l);return m&&(u?l[Rn]=f:delete l[Rn]),y}(l):function(l){return To.call(l)}(l)}function Q_(l,u){return l>u}function IS(l,u){return null!=l&&sn.call(l,u)}function rx(l,u){return null!=l&&u in _t(l)}function Z(l,u,f){for(var m=f?Zf:dn,y=l[0].length,S=l.length,x=S,k=q(S),B=1/0,ee=[];x--;){var te=l[x];x&&u&&(te=Pn(te,uo(u))),B=Kn(te.length,B),k[x]=!f&&(u||y>=120&&te.length>=120)?new ws(x&&te):E}te=l[0];var ae=-1,Ee=k[0];e:for(;++ae<y&&ee.length<B;){var $=te[ae],ut=u?u($):$;if($=f||0!==$?$:0,!(Ee?Td(Ee,ut):m(ee,ut,f))){for(x=S;--x;){var xt=k[x];if(!(xt?Td(xt,ut):m(l[x],ut,f)))continue e}Ee&&Ee.push(ut),ee.push($)}}return ee}function Ud(l,u,f){var m=null==(l=Fp(l,u=va(u,l)))?l:l[qr(_o(u))];return null==m?E:sr(m,l,f)}function xS(l){return Yn(l)&&Dr(l)==il}function jd(l,u,f,m,y){return l===u||(null==l||null==u||!Yn(l)&&!Yn(u)?l!=l&&u!=u:function(l,u,f,m,y,S){var x=Tt(l),k=Tt(u),B=x?ec:Oi(l),ee=k?ec:Oi(u),te=(B=B==il?Ur:B)==Ur,ae=(ee=ee==il?Ur:ee)==Ur,Ee=B==ee;if(Ee&&Ml(l)){if(!Ml(u))return!1;x=!0,te=!1}if(Ee&&!te)return S||(S=new mo),x||Ta(l)?fy(l,u,f,m,y,S):function(l,u,f,m,y,S,x){switch(f){case tc:if(l.byteLength!=u.byteLength||l.byteOffset!=u.byteOffset)return!1;l=l.buffer,u=u.buffer;case sl:return!(l.byteLength!=u.byteLength||!S(new xd(l),new xd(u)));case Qc:case rl:case fs:return pi(+l,+u);case vd:return l.name==u.name&&l.message==u.message;case qn:case Xc:return l==u+"";case jt:var k=M_;case Ao:if(k||(k=ac),l.size!=u.size&&!(1&m))return!1;var ee=x.get(l);if(ee)return ee==u;m|=2,x.set(l,u);var te=fy(k(l),k(u),m,y,S,x);return x.delete(l),te;case Lf:if(pu)return pu.call(l)==pu.call(u)}return!1}(l,u,B,f,m,y,S);if(!(1&f)){var $=te&&sn.call(l,"__wrapped__"),ut=ae&&sn.call(u,"__wrapped__");
vendor: 2,718 bytes, line 1
1if($||ut){var xt=$?l.value():l,ot=ut?u.value():u;return S||(S=new mo),y(xt,ot,f,m,S)}}return!!Ee&&(S||(S=new mo),function(l,u,f,m,y,S){var x=1&f,k=Zd(l),B=k.length;if(B!=Zd(u).length&&!x)return!1;for(var ae=B;ae--;){var Ee=k[ae];if(!(x?Ee in u:sn.call(u,Ee)))return!1}var $=S.get(l),ut=S.get(u);if($&&ut)return $==u&&ut==l;var xt=!0;S.set(l,u),S.set(u,l);for(var ot=x;++ae<B;){var zt=l[Ee=k[ae]],Yt=u[Ee];if(m)var Zr=x?m(Yt,zt,Ee,u,l,S):m(zt,Yt,Ee,l,u,S);if(!(Zr===E?zt===Yt||y(zt,Yt,f,m,S):Zr)){xt=!1;break}ot||(ot="constructor"==Ee)}if(xt&&!ot){var pr=l.constructor,Jr=u.constructor;pr!=Jr&&"constructor"in l&&"constructor"in u&&!("function"==typeof pr&&pr instanceof pr&&"function"==typeof Jr&&Jr instanceof Jr)&&(xt=!1)}return S.delete(l),S.delete(u),xt}(l,u,f,m,y,S))}(l,u,f,m,jd,y))}function Y_(l,u,f,m){var y=f.length,S=y,x=!m;if(null==l)return!S;for(l=_t(l);y--;){var k=f[y];if(x&&k[2]?k[1]!==l[k[0]]:!(k[0]in l))return!1}for(;++y<S;){var B=(k=f[y])[0],ee=l[B],te=k[1];if(x&&k[2]){if(ee===E&&!(B in l))return!1}else{var ae=new mo;if(m)var Ee=m(ee,te,B,l,u,ae);if(!(Ee===E?jd(te,ee,3,m,ae):Ee))return!1}}return!0}function ni(l){return!(!jn(l)||function(l){return!!R_&&R_ in l}(l))&&(Ia(l)?yt:jT).test(Aa(l))}function X_(l){return"function"==typeof l?l:null==l?Rr:"object"==typeof l?Tt(l)?vp(l[0],l[1]):Ds(l):Ah(l)}function Ar(l){if(!Sa(l))return ys(l);var u=[];for(var f in _t(l))sn.call(l,f)&&"constructor"!=f&&u.push(f);return u}function pc(l,u){return l<u}function _a(l,u){var f=-1,m=fr(l)?q(l.length):[];return go(l,function(y,S,x){m[++f]=u(y,S,x)}),m}function Ds(l){var u=El(l);return 1==u.length&&u[0][2]?nh(u[0][0],u[0][1]):function(f){return f===l||Y_(f,l,u)}}function vp(l,u){return kp(l)&&Pp(u)?nh(qr(l),u):function(f){var m=fv(f,l);return m===E&&m===u?vh(f,l):jd(u,m,3)}}function zd(l,u,f,m,y){l!==u&&ur(u,function(S,x){if(y||(y=new mo),jn(S))!function(l,u,f,m,y,S,x){var k=Np(l,f),B=Np(u,f),ee=x.get(B);if(ee)gp(l,f,ee);else{var te=S?S(k,B,f+"",l,u,x):E,ae=te===E;if(ae){var Ee=Tt(B),$=!Ee&&Ml(B),ut=!Ee&&!$&&Ta(B);te=B,Ee||$||ut?Tt(k)?te=k:ii(k)?te=fi(k):$?(ae=!1,te=Ln(B,!0)):ut?(ae=!1,te=Qd(B,!0)):te=[]:Cc(B)||Ps(B)?(te=k,Ps(k)?te=av(k):(!jn(k)||Ia(k))&&(te=th(B))):ae=!1}ae&&(x.set(B,te),y(te,B,m,S,x),x.delete(B)),gp(l,f,te)}}(l,u,x,f,zd,m,y);else{var k=m?m(Np(l,x),S,x+"",l,u,y):E;k===E&&(k=S),gp(l,x,k)}},xr)}function kS(l,u){var f=l.length;if(f)return wa(u+=u<0?f:0,f)?l[u]:E}function OS(l,u,f){u=u.length?Pn(u,function(S){return Tt(S)?function(x){return Es(x,1===S.length?S[0]:S)}:S}):[Rr];var m=-1;return u=Pn(u,uo(ct())),function(N,Q){var q=N.length;for(N.sort(function(S,x){return function(l,u,f){for(var m=-1,y=l.criteria,S=u.criteria,x=y.length,k=f.length;++m<x;){var B=wu(y[m],S[m]);
vendor: 5,178 bytes, line 1
1if(B)return m>=k?B:B*("desc"==f[m]?-1:1)}return l.index-u.index}(S,x,f)});q--;)N[q]=N[q].value;return N}(_a(l,function(S,x,k){return{criteria:Pn(u,function(ee){return ee(S)}),index:++m,value:S}}))}function Ir(l,u,f){for(var m=-1,y=u.length,S={};++m<y;){var x=u[m],k=Es(l,x);f(k,x)&&As(S,va(x,l),k)}return S}function ya(l,u,f,m){var y=m?Md:ca,S=-1,x=u.length,k=l;for(l===u&&(u=fi(u)),f&&(k=Pn(l,uo(f)));++S<x;)for(var B=0,ee=u[S],te=f?f(ee):ee;(B=y(k,te,B,m))>-1;)k!==l&&re.call(k,B,1),re.call(l,B,1);return l}function PS(l,u){for(var f=l?u.length:0,m=f-1;f--;){var y=u[f];if(f==m||y!==S){var S=y;wa(y)?re.call(l,y,1):vl(l,y)}}return l}function $d(l,u){return l+lp(up()*(u-l+1))}function Cp(l,u){var f="";if(!l||u<1||u>oa)return f;do{u%2&&(f+=l),(u=lp(u/2))&&(l+=l)}while(u);return f}function Lt(l,u){return Lp(ks(l,u,Rr),l+"")}function NS(l){return mp(Ec(l))}function LS(l,u){var f=Ec(l);return Da(f,ha(u,0,f.length))}function As(l,u,f,m){if(!jn(l))return l;for(var y=-1,S=(u=va(u,l)).length,x=S-1,k=l;null!=k&&++y<S;){var B=qr(u[y]),ee=f;if("__proto__"===B||"constructor"===B||"prototype"===B)return l;if(y!=x){var te=k[B];(ee=m?m(te,B,k):E)===E&&(ee=jn(te)?te:wa(u[y+1])?[]:{})}Ss(k,B,ee),k=k[B]}return l}var Gd=fu?function(l,u){return fu.set(l,u),l}:Rr,qd=lu?function(l,u){return lu(l,"toString",{configurable:!0,enumerable:!1,value:Eh(u),writable:!0})}:Rr;function cx(l){return Da(Ec(l))}function Wi(l,u,f){var m=-1,y=l.length;u<0&&(u=-u>y?0:y+u),(f=f>y?y:f)<0&&(f+=y),y=u>f?0:f-u>>>0,u>>>=0;for(var S=q(y);++m<y;)S[m]=l[m+u];return S}function wp(l,u){var f;return go(l,function(m,y,S){return!(f=u(m,y,S))}),!!f}function Is(l,u,f){var m=0,y=null==l?m:l.length;if("number"==typeof u&&u==u&&y<=2147483647){for(;m<y;){var S=m+y>>>1,x=l[S];null!==x&&!Yr(x)&&(f?x<=u:x<u)?m=S+1:y=S}return y}return Sp(l,u,Rr,f)}function Sp(l,u,f,m){var y=0,S=null==l?0:l.length;if(0===S)return 0;for(var x=(u=f(u))!=u,k=null===u,B=Yr(u),ee=u===E;y<S;){var te=lp((y+S)/2),ae=f(l[te]),Ee=ae!==E,$=null===ae,ut=ae==ae,xt=Yr(ae);if(x)var ot=m||ut;else ot=ee?ut&&(m||Ee):k?ut&&Ee&&(m||!$):B?ut&&Ee&&!$&&(m||!xt):!$&&!xt&&(m?ae<=u:ae<u);ot?y=te+1:S=te}return Kn(S,4294967294)}function J_(l,u){for(var f=-1,m=l.length,y=0,S=[];++f<m;){var x=l[f],k=u?u(x):x;if(!f||!pi(k,B)){var B=k;S[y++]=0===x?0:x}}return S}function ey(l){return"number"==typeof l?l:Yr(l)?NaN:+l}function hr(l){if("string"==typeof l)return l;if(Tt(l))return Pn(l,hr)+"";if(Yr(l))return Gi?Gi.call(l):"";var u=l+"";return"0"==u&&1/l==-ra?"-0":u}function $o(l,u,f){var m=-1,y=dn,S=l.length,x=!0,k=[],B=k;if(f)x=!1,y=Zf;else if(S>=200){var ee=u?null:jS(l);if(ee)return ac(ee);x=!1,y=Td,B=new ws}else B=u?[]:k;e:for(;++m<S;){var te=l[m],ae=u?u(te):te;if(te=f||0!==te?te:0,x&&ae==ae){for(var Ee=B.length;Ee--;)if(B[Ee]===ae)continue e;u&&B.push(ae),k.push(te)}else y(B,ae,f)||(B!==k&&B.push(ae),k.push(te))}return k}function vl(l,u){var f=-1,m=(u=va(u,l)).length;if(!m)return!0;for(;++f<m;){var y=qr(u[f]);if("__proto__"===y&&!sn.call(l,"__proto__")||("constructor"===y||"prototype"===y)&&f<m-1)return!1}var S=Fp(l,u);return null==S||delete S[qr(_o(u))]}function bl(l,u,f,m){return As(l,u,f(Es(l,u)),m)}function Wd(l,u,f,m){for(var y=l.length,S=m?y:-1;(m?S--:++S<y)&&u(l[S],S,l););return f?Wi(l,m?0:S,m?S+1:y):Wi(l,m?S+1:0,m?y:S)}function L(l,u){var f=l;return f instanceof ft&&(f=f.value()),iu(u,function(m,y){return y.func.apply(y.thisArg,Io([m],y.args))},f)}function Kd(l,u,f){var m=l.length;if(m<2)return m?$o(l[0]):[];for(var y=-1,S=q(m);++y<m;)for(var x=l[y],k=-1;++k<m;)k!=y&&(S[y]=fa(S[y]||x,l[k],u,f));return $o(hi(S,1),u,f)}function Cu(l,u,f){for(var m=-1,y=l.length,S=u.length,x={};++m<y;)f(x,l[m],m<S?u[m]:E);return x}function Ms(l){return ii(l)?l:[]}function Cl(l){return"function"==typeof l?l:Rr}function va(l,u){return Tt(l)?l:kp(l,u)?[l]:Qi(an(l))}var ty=Lt;function Ts(l,u,f){var m=l.length;return f=f===E?m:f,!u&&f>=m?l:Wi(l,u,f)}var wl=cu||function(l){return Je.clearTimeout(l)};function Ln(l,u){if(u)return l.slice();var f=l.length,m=O_?O_(f):new l.constructor(f);return l.copy(m),m}function mc(l){var u=new l.constructor(l.byteLength);return new xd(u).set(new xd(l)),u}function Qd(l,u){var f=u?mc(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}function wu(l,u){if(l!==u){var f=l!==E,m=null===l,y=l==l,S=Yr(l),x=u!==E,k=null===u,B=u==u,ee=Yr(u);if(!k&&!ee&&!S&&l>u||S&&x&&B&&!k&&!ee||m&&x&&B||!f&&B||!y)return 1;if(!m&&!S&&!ee&&l<u||ee&&f&&y&&!m&&!S||k&&f&&y||!x&&y||!B)return-1}return 0}function ry(l,u,f,m){for(var y=-1,S=l.length,x=f.length,k=-1,B=u.length,ee=ti(S-x,0),te=q(B+ee),ae=!m;++k<B;)te[k]=u[k];for(;++y<x;)(ae||y<S)&&(te[f[y]]=l[y]);for(;ee--;)te[k++]=l[y++];return te}function oy(l,u,f,m){for(var y=-1,S=l.length,x=-1,k=f.length,B=-1,ee=u.length,te=ti(S-k,0),ae=q(te+ee),Ee=!m;++y<te;)ae[y]=l[y];for(var $=y;++B<ee;)ae[$+B]=u[B];for(;++x<k;)(Ee||y<S)&&(ae[$+f[x]]=l[y++]);return ae}function fi(l,u){var f=-1,m=l.length;for(u||(u=q(m));++f<m;)u[f]=l[f];return u}function Tr(l,u,f,m){var y=!f;f||(f={});for(var S=-1,x=u.length;++S<x;){var k=u[S],B=m?m(f[k],l[k],k,f,l):E;B===E&&(B=l[k]),y?jo(f,k,B):Ss(f,k,B)}return f}function Su(l,u){return function(f,m){var y=Tt(f)?oc:_p,S=u?u():{};
vendor: 4,534 bytes, line 1
1return y(f,l,ct(m,2),S)}}function gc(l){return Lt(function(u,f){var m=-1,y=f.length,S=y>1?f[y-1]:E,x=y>2?f[2]:E;for(S=l.length>3&&"function"==typeof S?(y--,S):E,x&&Ki(f[0],f[1],x)&&(S=y<3?E:S,y=1),u=_t(u);++m<y;){var k=f[m];k&&l(u,k,m,S)}return u})}function HS(l,u){return function(f,m){if(null==f)return f;if(!fr(f))return l(f,m);for(var y=f.length,S=u?y:-1,x=_t(f);(u?S--:++S<y)&&!1!==m(x[S],S,x););return f}}function sy(l){return function(u,f,m){for(var y=-1,S=_t(u),x=m(u),k=x.length;k--;){var B=x[l?k:++y];if(!1===f(S[B],B,S))break}return u}}function ay(l){return function(u){var f=pl(u=an(u))?ho(u):E,m=f?f[0]:u.charAt(0),y=f?Ts(f,1).join(""):u.slice(1);return m[l]()+y}}function xs(l){return function(u){return iu(ym(bv(u).replace(eu,"")),l,"")}}function Sl(l){return function(){var u=arguments;switch(u.length){case 0:return new l;case 1:return new l(u[0]);case 2:return new l(u[0],u[1]);case 3:return new l(u[0],u[1],u[2]);case 4:return new l(u[0],u[1],u[2],u[3]);case 5:return new l(u[0],u[1],u[2],u[3],u[4]);case 6:return new l(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new l(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var f=En(l.prototype),m=l.apply(f,u);return jn(m)?m:f}}function ly(l){return function(u,f,m){var y=_t(u);if(!fr(u)){var S=ct(f,3);u=mi(u),f=function(k){return S(y[k],k,y)}}var x=l(u,f,m);return x>-1?y[S?u[x]:x]:E}}function cy(l){return Rs(function(u){var f=u.length,m=f,y=po.prototype.thru;for(l&&u.reverse();m--;){var S=u[m];if("function"!=typeof S)throw new ar(ce);if(y&&!x&&"wrapper"==Jd(S))var x=new po([],!0)}for(m=x?m:f;++m<f;){var k=Jd(S=u[m]),B="wrapper"==k?Mp(S):E;x=B&&Op(B[0])&&424==B[1]&&!B[4].length&&1==B[9]?x[Jd(B[0])].apply(x,B[3]):1==S.length&&Op(S)?x[k]():x.thru(S)}return function(){var ee=arguments,te=ee[0];if(x&&1==ee.length&&Tt(te))return x.plant(te).value();for(var ae=0,Ee=f?u[ae].apply(this,ee):te;++ae<f;)Ee=u[ae].call(this,Ee);return Ee}})}function Ep(l,u,f,m,y,S,x,k,B,ee){var te=128&u,ae=1&u,Ee=2&u,$=24&u,ut=512&u,xt=Ee?E:Sl(l);return function ot(){for(var zt=arguments.length,Yt=q(zt),Zr=zt;Zr--;)Yt[Zr]=arguments[Zr];if($)var pr=vc(ot),Jr=QT(Yt,pr);if(m&&(Yt=ry(Yt,m,y,$)),S&&(Yt=oy(Yt,S,x,$)),zt-=Jr,$&&zt<ee){var Fn=Er(Yt,pr);return dy(l,u,Ep,ot.placeholder,f,Yt,Fn,k,B,ee-zt)}var Yi=ae?f:this,Qo=Ee?Yi[l]:l;return zt=Yt.length,k?Yt=XS(Yt,k):ut&&zt>1&&Yt.reverse(),te&&B<zt&&(Yt.length=B),this&&this!==Je&&this instanceof ot&&(Qo=xt||Sl(Qo)),Qo.apply(Yi,Yt)}}function Eu(l,u){return function(f,m){return function(l,u,f,m){return dr(l,function(y,S,x){u(m,f(y),S,x)}),m}(f,l,u(m),{})}}function yc(l,u){return function(f,m){var y;if(f===E&&m===E)return u;if(f!==E&&(y=f),m!==E){if(y===E)return m;"string"==typeof f||"string"==typeof m?(f=hr(f),m=hr(m)):(f=ey(f),m=ey(m)),y=l(f,m)}return y}}function Yd(l){return Rs(function(u){return u=Pn(u,uo(ct())),Lt(function(f){var m=this;return l(u,function(y){return sr(y,m,f)})})})}function Du(l,u){var f=(u=u===E?" ":hr(u)).length;if(f<2)return f?Cp(u,l):u;var m=Cp(u,cc(l/lc(u)));return pl(u)?Ts(ho(m),0,l).join(""):m.slice(0,l)}function ba(l){return function(u,f,m){return m&&"number"!=typeof m&&Ki(u,f,m)&&(f=m=E),u=ko(u),f===E?(f=u,u=0):f=ko(f),function(l,u,f,m){for(var y=-1,S=ti(cc((u-l)/(f||1)),0),x=q(S);S--;)x[m?S:++y]=l,l+=f;return x}(u,f,m=m===E?u<f?1:-1:ko(m),l)}}function Xd(l){return function(u,f){return"string"==typeof u&&"string"==typeof f||(u=Fi(u),f=Fi(f)),l(u,f)}}function dy(l,u,f,m,y,S,x,k,B,ee){var te=8&u;u|=te?32:64,4&(u&=~(te?64:32))||(u&=-4);var xt=[l,u,y,te?S:E,te?x:E,te?E:S,te?E:x,k,B,ee],ot=f.apply(E,xt);return Op(l)&&gy(ot,xt),ot.placeholder=m,ZS(ot,l,u)}function Dp(l){var u=di[l];return function(f,m){if(f=Fi(f),(m=null==m?0:Kn(vt(m),292))&&uu(f)){var y=(an(f)+"e").split("e");return+((y=(an(u(y[0]+"e"+(+y[1]+m)))+"e").split("e"))[0]+"e"+(+y[1]-m))}return u(f)}}var jS=gl&&1/ac(new gl([,-0]))[1]==ra?function(l){return new gl(l)}:Dh;function hy(l){return function(u){var f=Oi(u);return f==jt?M_(u):f==Ao?function(N){var Q=-1,q=Array(N.size);return N.forEach(function(Ve){q[++Q]=[Ve,Ve]}),q}(u):function(N,Q){return Pn(Q,function(q){return[q,N[q]]})}(u,l(u))}}function Qn(l,u,f,m,y,S,x,k){var B=2&u;if(!B&&"function"!=typeof l)throw new ar(ce);var ee=m?m.length:0;if(ee||(u&=-97,m=y=E),x=x===E?x:ti(vt(x),0),k=k===E?k:vt(k),ee-=y?y.length:0,64&u){var te=m,ae=y;m=y=E}var Ee=B?E:Mp(l),$=[l,u,f,m,y,te,ae,S,x,k];if(Ee&&function(l,u){var f=l[1],m=u[1],y=f|m;if(!(y<131||(128==m&&8==f||128==m&&256==f&&l[7].length<=u[8]||384==m&&u[7].length<=u[8]&&8==f)))return l;1&m&&(l[2]=u[2],y|=1&f?0:4);var k=u[3];
vendor: 1,526 bytes, line 1
1if(k){var B=l[3];l[3]=B?ry(B,k,u[4]):k,l[4]=B?Er(l[3],z):u[4]}(k=u[5])&&(l[5]=(B=l[5])?oy(B,k,u[6]):k,l[6]=B?Er(l[5],z):u[6]),(k=u[7])&&(l[7]=k),128&m&&(l[8]=null==l[8]?u[8]:Kn(l[8],u[8])),null==l[9]&&(l[9]=u[9]),l[0]=u[0],l[1]=y}($,Ee),l=$[0],u=$[1],f=$[2],m=$[3],y=$[4],!(k=$[9]=$[9]===E?B?0:l.length:ti($[9]-ee,0))&&24&u&&(u&=-25),u&&1!=u)ut=8==u||16==u?function(l,u,f){var m=Sl(l);return function y(){for(var S=arguments.length,x=q(S),k=S,B=vc(y);k--;)x[k]=arguments[k];var ee=S<3&&x[0]!==B&&x[S-1]!==B?[]:Er(x,B);return(S-=ee.length)<f?dy(l,u,Ep,y.placeholder,E,x,ee,E,E,f-S):sr(this&&this!==Je&&this instanceof y?m:l,this,x)}}(l,u,k):32!=u&&33!=u||y.length?Ep.apply(E,$):function(l,u,f,m){var y=1&u,S=Sl(l);return function x(){for(var k=-1,B=arguments.length,ee=-1,te=m.length,ae=q(te+B),Ee=this&&this!==Je&&this instanceof x?S:l;++ee<te;)ae[ee]=m[ee];for(;B--;)ae[ee++]=arguments[++k];return sr(Ee,y?f:this,ae)}}(l,u,f,m);else var ut=function(l,u,f){var m=1&u,y=Sl(l);return function S(){return(this&&this!==Je&&this instanceof S?y:l).apply(m?f:this,arguments)}}(l,u,f);return ZS((Ee?Gd:gy)(ut,$),l,u)}function xo(l,u,f,m){return l===E||pi(l,ua[f])&&!sn.call(m,f)?u:l}function Ap(l,u,f,m,y,S){return jn(l)&&jn(u)&&(S.set(u,l),zd(l,u,E,Ap,S),S.delete(u)),l}function zS(l){return Cc(l)?E:l}function fy(l,u,f,m,y,S){var x=1&f,k=l.length,B=u.length;if(k!=B&&!(x&&B>k))return!1;var ee=S.get(l),te=S.get(u);if(ee&&te)return ee==u&&te==l;var ae=-1,Ee=!0,$=2&f?new ws:E;for(S.set(l,u),S.set(u,l);++ae<k;){var ut=l[ae],xt=u[ae];
vendor: 18,335 bytes, line 1
1if(m)var ot=x?m(xt,ut,ae,u,l,S):m(ut,xt,ae,l,u,S);if(ot!==E){if(ot)continue;Ee=!1;break}if($){if(!sc(u,function(zt,Yt){if(!Td($,Yt)&&(ut===zt||y(ut,zt,f,m,S)))return $.push(Yt)})){Ee=!1;break}}else if(ut!==xt&&!y(ut,xt,f,m,S)){Ee=!1;break}}return S.delete(l),S.delete(u),Ee}function Rs(l){return Lp(ks(l,E,ih),l+"")}function Zd(l){return ga(l,mi,Dl)}function Ip(l){return ga(l,xr,Tp)}var Mp=fu?function(l){return fu.get(l)}:Dh;function Jd(l){for(var u=l.name+"",f=bs[u],m=sn.call(bs,u)?f.length:0;m--;){var y=f[m],S=y.func;if(null==S||S==l)return y.name}return u}function vc(l){return(sn.call(C,"placeholder")?C:l).placeholder}function ct(){var l=C.iteratee||xa;return l=l===xa?X_:l,arguments.length?l(arguments[0],arguments[1]):l}function eh(l,u){var f=l.__data__;return function(l){var u=typeof l;return"string"==u||"number"==u||"symbol"==u||"boolean"==u?"__proto__"!==l:null===l}(u)?f["string"==typeof u?"string":"hash"]:f.map}function El(l){for(var u=mi(l),f=u.length;f--;){var m=u[f],y=l[m];u[f]=[m,y,Pp(y)]}return u}function Ca(l,u){var f=function(N,Q){return null==N?E:N[Q]}(l,u);return ni(f)?f:E}var Dl=cp?function(l){return null==l?[]:(l=_t(l),wi(cp(l),function(u){return F_.call(l,u)}))}:Ih,Tp=cp?function(l){for(var u=[];l;)Io(u,Dl(l)),l=au(l);return u}:Ih,Oi=Dr;function qS(l,u,f){for(var m=-1,y=(u=va(u,l)).length,S=!1;++m<y;){var x=qr(u[m]);if(!(S=null!=l&&f(l,x)))break;l=l[x]}return S||++m!=y?S:!!(y=null==l?0:l.length)&&sm(y)&&wa(x,y)&&(Tt(l)||Ps(l))}function th(l){return"function"!=typeof l.constructor||Sa(l)?{}:En(au(l))}function fx(l){return Tt(l)||Ps(l)||!!(Qt&&l&&l[Qt])}function wa(l,u){var f=typeof l;return!!(u=null==u?oa:u)&&("number"==f||"symbol"!=f&&zT.test(l))&&l>-1&&l%1==0&&l<u}function Ki(l,u,f){if(!jn(f))return!1;var m=typeof u;return!!("number"==m?fr(f)&&wa(u,f.length):"string"==m&&u in f)&&pi(f[u],l)}function kp(l,u){if(Tt(l))return!1;var f=typeof l;return!("number"!=f&&"symbol"!=f&&"boolean"!=f&&null!=l&&!Yr(l))||FT.test(l)||!al.test(l)||null!=u&&l in _t(u)}function Op(l){var u=Jd(l),f=C[u];if("function"!=typeof f||!(u in ft.prototype))return!1;if(l===f)return!0;var m=Mp(f);return!!m&&l===m[0]}(dp&&Oi(new dp(new ArrayBuffer(1)))!=tc||ml&&Oi(new ml)!=jt||du&&Oi(du.resolve())!=zw||gl&&Oi(new gl)!=Ao||_l&&Oi(new _l)!=ol)&&(Oi=function(l){var u=Dr(l),f=u==Ur?l.constructor:E,m=f?Aa(f):"";if(m)switch(m){case N_:return tc;case L_:return jt;case V_:return zw;case B_:return Ao;case kd:return ol}return u});var my=_s?Ia:Mh;function Sa(l){var u=l&&l.constructor;return l===("function"==typeof u&&u.prototype||ua)}function Pp(l){return l==l&&!jn(l)}function nh(l,u){return function(f){return null!=f&&f[l]===u&&(u!==E||l in _t(f))}}function ks(l,u,f){return u=ti(u===E?l.length-1:u,0),function(){for(var m=arguments,y=-1,S=ti(m.length-u,0),x=q(S);++y<S;)x[y]=m[u+y];y=-1;for(var k=q(u+1);++y<u;)k[y]=m[y];return k[u]=f(x),sr(l,this,k)}}function Fp(l,u){return u.length<2?l:Es(l,Wi(u,0,-1))}function XS(l,u){for(var f=l.length,m=Kn(u.length,f),y=fi(l);m--;){var S=u[m];l[m]=wa(S,f)?y[S]:E}return l}function Np(l,u){if(("constructor"!==u||"function"!=typeof l[u])&&"__proto__"!=u)return l[u]}var gy=JS(Gd),Au=ap||function(l,u){return Je.setTimeout(l,u)},Lp=JS(qd);function ZS(l,u,f){var m=u+"";return Lp(l,function(l,u){var f=u.length;if(!f)return l;var m=f-1;return u[m]=(f>1?"& ":"")+u[m],u=u.join(f>2?", ":" "),l.replace(LT,"{\n/* [wrapped with "+u+"] */\n")}(m,function(l,u){return In(l_,function(f){var m="_."+f[0];u&f[1]&&!dn(l,m)&&l.push(m)}),l.sort()}(function(l){var u=l.match(Sd);return u?u[1].split(jr):[]}(m),f)))}function JS(l){var u=0,f=0;return function(){var m=vs(),y=16-(m-f);if(f=m,y>0){if(++u>=800)return arguments[0]}else u=0;return l.apply(E,arguments)}}function Da(l,u){var f=-1,m=l.length,y=m-1;for(u=u===E?m:u;++f<u;){var S=$d(f,y),x=l[S];l[S]=l[f],l[f]=x}return l.length=u,l}var u,f,Qi=(u=hh(function(l){var u=[];return 46===l.charCodeAt(0)&&u.push(""),l.replace(qf,function(f,m,y,S){u.push(y?S.replace(BT,"$1"):m||f)}),u},function(m){return 500===f.size&&f.clear(),m}),f=u.cache,u);function qr(l){if("string"==typeof l||Yr(l))return l;var u=l+"";return"0"==u&&1/l==-ra?"-0":u}function Aa(l){if(null!=l){try{return $i.call(l)}catch(u){}try{return l+""}catch(u){}}return""}function Pi(l){if(l instanceof ft)return l.clone();var u=new po(l.__wrapped__,l.__chain__);return u.__actions__=fi(l.__actions__),u.__index__=l.__index__,u.__values__=l.__values__,u}var tE=Lt(function(l,u){return ii(l)?fa(l,hi(u,1,ii,!0)):[]}),yy=Lt(function(l,u){var f=_o(u);return ii(f)&&(f=E),ii(l)?fa(l,hi(u,1,ii,!0),ct(f,2)):[]}),nE=Lt(function(l,u){var f=_o(u);return ii(f)&&(f=E),ii(l)?fa(l,hi(u,1,ii,!0),E,f):[]});function Cy(l,u,f){var m=null==l?0:l.length;if(!m)return-1;var y=null==f?0:vt(f);return y<0&&(y=ti(m+y,0)),Sr(l,ct(u,3),y)}function Bp(l,u,f){var m=null==l?0:l.length;if(!m)return-1;var y=m-1;return f!==E&&(y=vt(f),y=f<0?ti(m+y,0):Kn(y,m-1)),Sr(l,ct(u,3),y,!0)}function ih(l){return null!=l&&l.length?hi(l,1):[]}function Hp(l){return l&&l.length?l[0]:E}var lE=Lt(function(l){var u=Pn(l,Ms);return u.length&&u[0]===l[0]?Z(u):[]}),qo=Lt(function(l){var u=_o(l),f=Pn(l,Ms);return u===_o(f)?u=E:f.pop(),f.length&&f[0]===l[0]?Z(f,ct(u,2)):[]}),cE=Lt(function(l){var u=_o(l),f=Pn(l,Ms);return(u="function"==typeof u?u:E)&&f.pop(),f.length&&f[0]===l[0]?Z(f,E,u):[]});function _o(l){var u=null==l?0:l.length;return u?l[u-1]:E}var oh=Lt(Wr);function Wr(l,u){return l&&l.length&&u&&u.length?ya(l,u):l}var pE=Rs(function(l,u){var f=null==l?0:l.length,m=Hd(l,u);return PS(l,Pn(u,function(y){return wa(y,f)?+y:y}).sort(wu)),m});function sh(l){return null==l?l:gS.call(l)}var Mu=Lt(function(l){return $o(hi(l,1,ii,!0))}),Iy=Lt(function(l){var u=_o(l);return ii(u)&&(u=E),$o(hi(l,1,ii,!0),ct(u,2))}),My=Lt(function(l){var u=_o(l);return u="function"==typeof u?u:E,$o(hi(l,1,ii,!0),E,u)});function xy(l){if(!l||!l.length)return[];var u=0;return l=wi(l,function(f){if(ii(f))return u=ti(f.length,u),!0}),A_(u,function(f){return Pn(l,Jf(f))})}function Al(l,u){if(!l||!l.length)return[];var f=xy(l);return null==u?f:Pn(f,function(m){return sr(u,E,m)})}var qp=Lt(function(l,u){return ii(l)?fa(l,u):[]}),Ry=Lt(function(l){return Kd(wi(l,ii))}),yE=Lt(function(l){var u=_o(l);return ii(u)&&(u=E),Kd(wi(l,ii),ct(u,2))}),Wp=Lt(function(l){var u=_o(l);return u="function"==typeof u?u:E,Kd(wi(l,ii),E,u)}),vE=Lt(xy),wE=Lt(function(l){var u=l.length,f=u>1?l[u-1]:E;return f="function"==typeof f?(l.pop(),f):E,Al(l,f)});function ky(l){var u=C(l);return u.__chain__=!0,u}function Tu(l,u){return u(l)}var Kp=Rs(function(l){var u=l.length,f=u?l[0]:0,m=this.__wrapped__,y=function(S){return Hd(S,l)};return!(u>1||this.__actions__.length)&&m instanceof ft&&wa(f)?((m=m.slice(f,+f+(u?1:0))).__actions__.push({func:Tu,args:[y],thisArg:E}),new po(m,this.__chain__).thru(function(S){return u&&!S.length&&S.push(E),S})):this.thru(y)}),Ny=Su(function(l,u,f){sn.call(l,f)?++l[f]:jo(l,f,1)}),ah=ly(Cy),IE=ly(Bp);function lh(l,u){return(Tt(l)?In:go)(l,ct(u,3))}function Yp(l,u){return(Tt(l)?nu:W_)(l,ct(u,3))}var ch=Su(function(l,u,f){sn.call(l,f)?l[f].push(u):jo(l,f,[u])}),Uy=Lt(function(l,u,f){var m=-1,y="function"==typeof u,S=fr(l)?q(l.length):[];return go(l,function(x){S[++m]=y?sr(u,x,f):Ud(x,u,f)}),S}),Xp=Su(function(l,u,f){jo(l,f,u)});function xu(l,u){return(Tt(l)?Pn:_a)(l,ct(u,3))}var Ru=Su(function(l,u,f){l[f?0:1].push(u)},function(){return[[],[]]}),Gy=Lt(function(l,u){if(null==l)return[];var f=u.length;return f>1&&Ki(l,u[0],u[1])?u=[]:f>2&&Ki(u[0],u[1],u[2])&&(u=[u[0]]),OS(l,hi(u,1),[])}),dh=Ho||function(){return Je.Date.now()};function Wy(l,u,f){return u=f?E:u,Qn(l,128,E,E,E,E,u=l&&null==u?l.length:u)}function Ky(l,u){var f;if("function"!=typeof u)throw new ar(ce);return l=vt(l),function(){return--l>0&&(f=u.apply(this,arguments)),l<=1&&(u=E),f}}var Qr=Lt(function(l,u,f){var m=1;if(f.length){var y=Er(f,vc(Qr));m|=32}return Qn(l,m,u,f,y)}),Qy=Lt(function(l,u,f){var m=3;if(f.length){var y=Er(f,vc(Qy));m|=32}return Qn(u,m,l,f,y)});function Xy(l,u,f){var m,y,S,x,k,B,ee=0,te=!1,ae=!1,Ee=!0;if("function"!=typeof l)throw new ar(ce);function $(Fn){var Yi=m,Qo=y;return m=y=E,ee=Fn,x=l.apply(Qo,Yi)}function ut(Fn){return ee=Fn,k=Au(zt,u),te?$(Fn):x}function ot(Fn){var Yi=Fn-B;return B===E||Yi>=u||Yi<0||ae&&Fn-ee>=S}function zt(){var Fn=dh();if(ot(Fn))return Yt(Fn);k=Au(zt,function(Fn){var Ac=u-(Fn-B);return ae?Kn(Ac,S-(Fn-ee)):Ac}(Fn))}function Yt(Fn){return k=E,Ee&&m?$(Fn):(m=y=E,x)}function Jr(){var Fn=dh(),Yi=ot(Fn);if(m=arguments,y=this,B=Fn,Yi){if(k===E)return ut(B);if(ae)return wl(k),k=Au(zt,u),$(B)}return k===E&&(k=Au(zt,u)),x}return u=Fi(u)||0,jn(f)&&(te=!!f.leading,S=(ae="maxWait"in f)?ti(Fi(f.maxWait)||0,u):S,Ee="trailing"in f?!!f.trailing:Ee),Jr.cancel=function(){k!==E&&wl(k),ee=0,m=B=y=k=E},Jr.flush=function(){return k===E?x:Yt(dh())},Jr}var RE=Lt(function(l,u){return q_(l,1,u)}),kE=Lt(function(l,u,f){return q_(l,Fi(u)||0,f)});function hh(l,u){if("function"!=typeof l||null!=u&&"function"!=typeof u)throw new ar(ce);var f=function(){var m=arguments,y=u?u.apply(this,m):m[0],S=f.cache;if(S.has(y))return S.get(y);var x=l.apply(this,m);return f.cache=S.set(y,x)||S,x};return f.cache=new(hh.Cache||Cs),f}function fh(l){if("function"!=typeof l)throw new ar(ce);return function(){var u=arguments;switch(u.length){case 0:return!l.call(this);case 1:return!l.call(this,u[0]);case 2:return!l.call(this,u[0],u[1]);case 3:return!l.call(this,u[0],u[1],u[2])}return!l.apply(this,u)}}hh.Cache=Cs;var Ct=ty(function(l,u){var f=(u=1==u.length&&Tt(u[0])?Pn(u[0],uo(ct())):Pn(hi(u,1),uo(ct()))).length;return Lt(function(m){for(var y=-1,S=Kn(m.length,f);++y<S;)m[y]=u[y].call(this,m[y]);return sr(l,this,m)})}),T=Lt(function(l,u){var f=Er(u,vc(T));return Qn(l,32,E,u,f)}),tm=Lt(function(l,u){var f=Er(u,vc(tm));return Qn(l,64,E,u,f)}),ph=Rs(function(l,u){return Qn(l,256,E,E,E,u)});function pi(l,u){return l===u||l!=l&&u!=u}var mh=Xd(Q_),gh=Xd(function(l,u){return l>=u}),Ps=xS(function(){return arguments}())?xS:function(l){return Yn(l)&&sn.call(l,"callee")&&!F_.call(l,"callee")},Tt=q.isArray,FE=Un?uo(Un):function(l){return Yn(l)&&Dr(l)==sl};function fr(l){return null!=l&&sm(l.length)&&!Ia(l)}function ii(l){return Yn(l)&&fr(l)}var Ml=Rd||Mh,nv=rc?uo(rc):function(l){return Yn(l)&&Dr(l)==rl};function rv(l){if(!Yn(l))return!1;var u=Dr(l);return u==vd||"[object DOMException]"==u||"string"==typeof l.message&&"string"==typeof l.name&&!Cc(l)}function Ia(l){if(!jn(l))return!1;var u=Dr(l);return u==bd||u==c_||"[object AsyncFunction]"==u||"[object Proxy]"==u}function VE(l){return"number"==typeof l&&l==vt(l)}function sm(l){return"number"==typeof l&&l>-1&&l%1==0&&l<=oa}function jn(l){var u=typeof l;return null!=l&&("object"==u||"function"==u)}function Yn(l){return null!=l&&"object"==typeof l}var BE=ul?uo(ul):function(l){return Yn(l)&&Oi(l)==jt};function _h(l){return"number"==typeof l||Yn(l)&&Dr(l)==fs}function Cc(l){if(!Yn(l)||Dr(l)!=Ur)return!1;var u=au(l);if(null===u)return!0;var f=sn.call(u,"constructor")&&u.constructor;return"function"==typeof f&&f instanceof f&&$i.call(f)==k_}var ku=It?uo(It):function(l){return Yn(l)&&Dr(l)==qn},Fs=tu?uo(tu):function(l){return Yn(l)&&Oi(l)==Ao};function Ou(l){return"string"==typeof l||!Tt(l)&&Yn(l)&&Dr(l)==Xc}function Yr(l){return"symbol"==typeof l||Yn(l)&&Dr(l)==Lf}var Ta=dl?uo(dl):function(l){return Yn(l)&&sm(l.length)&&!!Tn[Dr(l)]},$E=Xd(pc),Pu=Xd(function(l,u){return l<=u});function Tl(l){if(!l)return[];if(fr(l))return Ou(l)?ho(l):fi(l);if(Ie&&l[Ie])return function(N){for(var Q,q=[];!(Q=N.next()).done;)q.push(Q.value);return q}(l[Ie]());var u=Oi(l);return(u==jt?M_:u==Ao?ac:Ec)(l)}function ko(l){return l?(l=Fi(l))===ra||l===-ra?17976931348623157e292*(l<0?-1:1):l==l?l:0:0===l?l:0}function vt(l){var u=ko(l),f=u%1;return u==u?f?u-f:u:0}function wc(l){return l?ha(vt(l),0,hs):0}function Fi(l){if("number"==typeof l)return l;if(Yr(l))return NaN;if(jn(l)){var u="function"==typeof l.valueOf?l.valueOf():l;l=jn(u)?u+"":u}if("string"!=typeof l)return 0===l?l:+l;l=aS(l);var f=UT.test(l);return f||Ww.test(l)?lo(l.slice(2),f?2:8):HT.test(l)?NaN:+l}function av(l){return Tr(l,xr(l))}function an(l){return null==l?"":hr(l)}var lm=gc(function(l,u){if(Sa(u)||fr(u))Tr(u,mi(u),l);else for(var f in u)sn.call(u,f)&&Ss(l,f,u[f])}),yh=gc(function(l,u){Tr(u,xr(u),l)}),cm=gc(function(l,u,f,m){Tr(u,xr(u),l,m)}),Sc=gc(function(l,u,f,m){Tr(u,mi(u),l,m)}),GE=Rs(Hd),Dx=Lt(function(l,u){l=_t(l);var f=-1,m=u.length,y=m>2?u[2]:E;for(y&&Ki(u[0],u[1],y)&&(m=1);++f<m;)for(var S=u[f],x=xr(S),k=-1,B=x.length;++k<B;){var ee=x[k],te=l[ee];(te===E||pi(te,ua[ee])&&!sn.call(l,ee))&&(l[ee]=S[ee])}return l}),uv=Lt(function(l){return l.push(E,Ap),sr(mv,E,l)});function fv(l,u,f){var m=null==l?E:Es(l,u);return m===E?f:m}function vh(l,u){return null!=l&&qS(l,u,rx)}var Ix=Eu(function(l,u,f){null!=u&&"function"!=typeof u.toString&&(u=To.call(u)),l[u]=f},Eh(Rr)),XE=Eu(function(l,u,f){null!=u&&"function"!=typeof u.toString&&(u=To.call(u)),sn.call(l,u)?l[u].push(f):l[u]=[f]},ct),um=Lt(Ud);function mi(l){return fr(l)?DS(l):Ar(l)}function xr(l){return fr(l)?DS(l,!0):function(l){if(!jn(l))return function(l){var u=[];if(null!=l)for(var f in _t(l))u.push(f);return u}(l);var u=Sa(l),f=[];for(var m in l)"constructor"==m&&(u||!sn.call(l,m))||f.push(m);return f}(l)}var pv=gc(function(l,u,f){zd(l,u,f)}),mv=gc(function(l,u,f,m){zd(l,u,f,m)}),gv=Rs(function(l,u){var f={};if(null==l)return f;var m=!1;u=Pn(u,function(S){return S=va(S,l),m||(m=S.length>1),S}),Tr(l,Ip(l),f),m&&(f=Gr(f,7,zS));for(var y=u.length;y--;)vl(f,u[y]);return f}),t0=Rs(function(l,u){return null==l?{}:function(l,u){return Ir(l,u,function(f,m){return vh(l,m)})}(l,u)});function dm(l,u){if(null==l)return{};var f=Pn(Ip(l),function(m){return[m]});return u=ct(u),Ir(l,f,function(m,y){return u(m,y[0])})}var bh=hy(mi),yv=hy(xr);function Ec(l){return null==l?[]:I_(l,mi(l))}var Ch=xs(function(l,u,f){return u=u.toLowerCase(),l+(f?wh(u):u)});function wh(l){return _m(an(l).toLowerCase())}function bv(l){return(l=an(l))&&l.replace(Kw,YT).replace(iS,"")}var c0=xs(function(l,u,f){return l+(f?"-":"")+u.toLowerCase()}),u0=xs(function(l,u,f){return l+(f?" ":"")+u.toLowerCase()}),mm=ay("toLowerCase"),Av=xs(function(l,u,f){return l+(f?"_":"")+u.toLowerCase()}),Sh=xs(function(l,u,f){return l+(f?" ":"")+_m(u)}),Mv=xs(function(l,u,f){return l+(f?" ":"")+u.toUpperCase()}),_m=ay("toUpperCase");function ym(l,u,f){return l=an(l),(u=f?E:u)===E?function(N){return C_.test(N)}(l)?function(N){return N.match(rS)||[]}(l):function(N){return N.match(VT)||[]}(l):l.match(u)||[]}var Tv=Lt(function(l,u){try{return sr(l,E,u)}catch(f){return rv(f)?f:new Be(f)}}),vm=Rs(function(l,u){return In(u,function(f){f=qr(f),jo(l,f,Qr(l[f],l))}),l});function Eh(l){return function(){return l}}var xv=cy(),_0=cy(!0);function Rr(l){return l}function xa(l){return X_("function"==typeof l?l:Gr(l,1))}var b0=Lt(function(l,u){return function(f){return Ud(f,l,u)}}),C0=Lt(function(l,u){return function(f){return Ud(l,f,u)}});function Rv(l,u,f){var m=mi(u),y=ma(u,m);null==f&&(!jn(u)||!y.length&&m.length)&&(f=u,u=l,l=this,y=ma(u,mi(u)));var S=!(jn(f)&&"chain"in f&&!f.chain),x=Ia(l);return In(y,function(k){var B=u[k];l[k]=B,x&&(l.prototype[k]=function(){var ee=this.__chain__;if(S||ee){var te=l(this.__wrapped__),ae=te.__actions__=fi(this.__actions__);return ae.push({func:B,args:arguments,thisArg:l}),te.__chain__=ee,te}return B.apply(l,Io([this.value()],arguments))})}),l}function Dh(){}var bm=Yd(Pn),Ls=Yd(hl),Cm=Yd(sc);function Ah(l){return kp(l)?Jf(qr(l)):function(l){return function(u){return Es(u,l)}}(l)}var E0=ba(),kv=ba(!0);function Ih(){return[]}function Mh(){return!1}var Fv=yc(function(l,u){return l+u},0),Nv=Dp("ceil"),Lv=yc(function(l,u){return l/u},1),I0=Dp("floor"),R0=yc(function(l,u){return l*u},1),k0=Dp("round"),kx=yc(function(l,u){return l-u},0);return C.after=function(l,u){if("function"!=typeof u)throw new ar(ce);return l=vt(l),function(){if(--l<1)return u.apply(this,arguments)}},C.ary=Wy,C.assign=lm,C.assignIn=yh,C.assignInWith=cm,C.assignWith=Sc,C.at=GE,C.before=Ky,C.bind=Qr,C.bindAll=vm,C.bindKey=Qy,C.castArray=function(){if(!arguments.length)return[];var l=arguments[0];return Tt(l)?l:[l]},C.chain=ky,C.chunk=function(l,u,f){u=(f?Ki(l,u,f):u===E)?1:ti(vt(u),0);var m=null==l?0:l.length;if(!m||u<1)return[];for(var y=0,S=0,x=q(cc(m/u));y<m;)x[S++]=Wi(l,y,y+=u);return x},C.compact=function(l){for(var u=-1,f=null==l?0:l.length,m=0,y=[];++u<f;){var S=l[u];S&&(y[m++]=S)}return y},C.concat=function(){var l=arguments.length;if(!l)return[];for(var u=q(l-1),f=arguments[0],m=l;m--;)u[m-1]=arguments[m];return Io(Tt(f)?fi(f):[f],hi(u,1))},C.cond=function(l){var u=null==l?0:l.length,f=ct();return l=u?Pn(l,function(m){if("function"!=typeof m[1])throw new ar(ce);return[f(m[0]),m[1]]}):[],Lt(function(m){for(var y=-1;++y<u;){var S=l[y];if(sr(S[0],this,m))return sr(S[1],this,m)}})},C.conforms=function(l){return function(l){var u=mi(l);return function(f){return G_(f,l,u)}}(Gr(l,1))},C.constant=Eh,C.countBy=Ny,C.create=function(l,u){var f=En(l);return null==u?f:_u(f,u)},C.curry=function em(l,u,f){var m=Qn(l,8,E,E,E,E,E,u=f?E:u);return m.placeholder=em.placeholder,m},C.curryRight=function Yy(l,u,f){var m=Qn(l,16,E,E,E,E,E,u=f?E:u);return m.placeholder=Yy.placeholder,m},C.debounce=Xy,C.defaults=Dx,C.defaultsDeep=uv,C.defer=RE,C.delay=kE,C.difference=tE,C.differenceBy=yy,C.differenceWith=nE,C.drop=function(l,u,f){var m=null==l?0:l.length;return m?Wi(l,(u=f||u===E?1:vt(u))<0?0:u,m):[]},C.dropRight=function(l,u,f){var m=null==l?0:l.length;return m?Wi(l,0,(u=m-(u=f||u===E?1:vt(u)))<0?0:u):[]},C.dropRightWhile=function(l,u){return l&&l.length?Wd(l,ct(u,3),!0,!0):[]},C.dropWhile=function(l,u){return l&&l.length?Wd(l,ct(u,3),!0):[]},C.fill=function(l,u,f,m){var y=null==l?0:l.length;return y?(f&&"number"!=typeof f&&Ki(l,u,f)&&(f=0,m=y),function(l,u,f,m){var y=l.length;for((f=vt(f))<0&&(f=-f>y?0:y+f),(m=m===E||m>y?y:vt(m))<0&&(m+=y),m=f>m?0:wc(m);f<m;)l[f++]=u;return l}(l,u,f,m)):[]},C.filter=function(l,u){return(Tt(l)?wi:Mt)(l,ct(u,3))},C.flatMap=function(l,u){return hi(xu(l,u),1)},C.flatMapDeep=function(l,u){return hi(xu(l,u),ra)},C.flatMapDepth=function(l,u,f){return f=f===E?1:vt(f),hi(xu(l,u),f)},C.flatten=ih,C.flattenDeep=function(l){return null!=l&&l.length?hi(l,ra):[]},C.flattenDepth=function(l,u){return null!=l&&l.length?hi(l,u=u===E?1:vt(u)):[]},C.flip=function(l){return Qn(l,512)}
vendor: 4,648 bytes, line 1
1,C.flow=xv,C.flowRight=_0,C.fromPairs=function(l){for(var u=-1,f=null==l?0:l.length,m={};++u<f;){var y=l[u];jo(m,y[0],y[1])}return m},C.functions=function(l){return null==l?[]:ma(l,mi(l))},C.functionsIn=function(l){return null==l?[]:ma(l,xr(l))},C.groupBy=ch,C.initial=function(l){return null!=l&&l.length?Wi(l,0,-1):[]},C.intersection=lE,C.intersectionBy=qo,C.intersectionWith=cE,C.invert=Ix,C.invertBy=XE,C.invokeMap=Uy,C.iteratee=xa,C.keyBy=Xp,C.keys=mi,C.keysIn=xr,C.map=xu,C.mapKeys=function(l,u){var f={};return u=ct(u,3),dr(l,function(m,y,S){jo(f,u(m,y,S),m)}),f},C.mapValues=function(l,u){var f={};return u=ct(u,3),dr(l,function(m,y,S){jo(f,y,u(m,y,S))}),f},C.matches=function(l){return Ds(Gr(l,1))},C.matchesProperty=function(l,u){return vp(l,Gr(u,1))},C.memoize=hh,C.merge=pv,C.mergeWith=mv,C.method=b0,C.methodOf=C0,C.mixin=Rv,C.negate=fh,C.nthArg=function(l){return l=vt(l),Lt(function(u){return kS(u,l)})},C.omit=gv,C.omitBy=function(l,u){return dm(l,fh(ct(u)))},C.once=function(l){return Ky(2,l)},C.orderBy=function(l,u,f,m){return null==l?[]:(Tt(u)||(u=null==u?[]:[u]),Tt(f=m?E:f)||(f=null==f?[]:[f]),OS(l,u,f))},C.over=bm,C.overArgs=Ct,C.overEvery=Ls,C.overSome=Cm,C.partial=T,C.partialRight=tm,C.partition=Ru,C.pick=t0,C.pickBy=dm,C.property=Ah,C.propertyOf=function(l){return function(u){return null==l?E:Es(l,u)}},C.pull=oh,C.pullAll=Wr,C.pullAllBy=function(l,u,f){return l&&l.length&&u&&u.length?ya(l,u,ct(f,2)):l},C.pullAllWith=function(l,u,f){return l&&l.length&&u&&u.length?ya(l,u,E,f):l},C.pullAt=pE,C.range=E0,C.rangeRight=kv,C.rearg=ph,C.reject=function(l,u){return(Tt(l)?wi:Mt)(l,fh(ct(u,3)))},C.remove=function(l,u){var f=[];if(!l||!l.length)return f;var m=-1,y=[],S=l.length;for(u=ct(u,3);++m<S;){var x=l[m];u(x,m,l)&&(f.push(x),y.push(m))}return PS(l,y),f},C.rest=function(l,u){if("function"!=typeof l)throw new ar(ce);return Lt(l,u=u===E?u:vt(u))},C.reverse=sh,C.sampleSize=function(l,u,f){return u=(f?Ki(l,u,f):u===E)?1:vt(u),(Tt(l)?z_:LS)(l,u)},C.set=function(l,u,f){return null==l?l:As(l,u,f)},C.setWith=function(l,u,f,m){return m="function"==typeof m?m:E,null==l?l:As(l,u,f,m)},C.shuffle=function(l){return(Tt(l)?AS:cx)(l)},C.slice=function(l,u,f){var m=null==l?0:l.length;return m?(f&&"number"!=typeof f&&Ki(l,u,f)?(u=0,f=m):(u=null==u?0:vt(u),f=f===E?m:vt(f)),Wi(l,u,f)):[]},C.sortBy=Gy,C.sortedUniq=function(l){return l&&l.length?J_(l):[]},C.sortedUniqBy=function(l,u){return l&&l.length?J_(l,ct(u,2)):[]},C.split=function(l,u,f){return f&&"number"!=typeof f&&Ki(l,u,f)&&(u=f=E),(f=f===E?hs:f>>>0)?(l=an(l))&&("string"==typeof u||null!=u&&!ku(u))&&!(u=hr(u))&&pl(l)?Ts(ho(l),0,f):l.split(u,f):[]},C.spread=function(l,u){if("function"!=typeof l)throw new ar(ce);return u=null==u?0:ti(vt(u),0),Lt(function(f){var m=f[u],y=Ts(f,0,u);return m&&Io(y,m),sr(l,this,y)})},C.tail=function(l){var u=null==l?0:l.length;return u?Wi(l,1,u):[]},C.take=function(l,u,f){return l&&l.length?Wi(l,0,(u=f||u===E?1:vt(u))<0?0:u):[]},C.takeRight=function(l,u,f){var m=null==l?0:l.length;return m?Wi(l,(u=m-(u=f||u===E?1:vt(u)))<0?0:u,m):[]},C.takeRightWhile=function(l,u){return l&&l.length?Wd(l,ct(u,3),!1,!0):[]},C.takeWhile=function(l,u){return l&&l.length?Wd(l,ct(u,3)):[]},C.tap=function(l,u){return u(l),l},C.throttle=function(l,u,f){var m=!0,y=!0;if("function"!=typeof l)throw new ar(ce);return jn(f)&&(m="leading"in f?!!f.leading:m,y="trailing"in f?!!f.trailing:y),Xy(l,u,{leading:m,maxWait:u,trailing:y})},C.thru=Tu,C.toArray=Tl,C.toPairs=bh,C.toPairsIn=yv,C.toPath=function(l){return Tt(l)?Pn(l,qr):Yr(l)?[l]:fi(Qi(an(l)))},C.toPlainObject=av,C.transform=function(l,u,f){var m=Tt(l),y=m||Ml(l)||Ta(l);if(u=ct(u,4),null==f){var S=l&&l.constructor;f=y?m?new S:[]:jn(l)&&Ia(S)?En(au(l)):{}}return(y?In:dr)(l,function(x,k,B){return u(f,x,k,B)}),f},C.unary=function(l){return Wy(l,1)},C.union=Mu,C.unionBy=Iy,C.unionWith=My,C.uniq=function(l){return l&&l.length?$o(l):[]},C.uniqBy=function(l,u){return l&&l.length?$o(l,ct(u,2)):[]},C.uniqWith=function(l,u){return u="function"==typeof u?u:E,l&&l.length?$o(l,E,u):[]},C.unset=function(l,u){return null==l||vl(l,u)},C.unzip=xy,C.unzipWith=Al,C.update=function(l,u,f){return null==l?l:bl(l,u,Cl(f))},C.updateWith=function(l,u,f,m){return m="function"==typeof m?m:E,null==l?l:bl(l,u,Cl(f),m)},C.values=Ec,C.valuesIn=function(l){return null==l?[]:I_(l,xr(l))},C.without=qp,C.words=ym,C.wrap=function(l,u){return T(Cl(u),l)},C.xor=Ry,C.xorBy=yE,C.xorWith=Wp,C.zip=vE,C.zipObject=function(l,u){return Cu(l||[],u||[],Ss)},C.zipObjectDeep=function(l,u){return Cu(l||[],u||[],As)},C.zipWith=wE,C.entries=bh,C.entriesIn=yv,C.extend=yh,C.extendWith=cm,Rv(C,C),C.add=Fv,C.attempt=Tv,C.camel
vendor: 5,410 bytes, line 1
1Case=Ch,C.capitalize=wh,C.ceil=Nv,C.clamp=function(l,u,f){return f===E&&(f=u,u=E),f!==E&&(f=(f=Fi(f))==f?f:0),u!==E&&(u=(u=Fi(u))==u?u:0),ha(Fi(l),u,f)},C.clone=function(l){return Gr(l,4)},C.cloneDeep=function(l){return Gr(l,5)},C.cloneDeepWith=function(l,u){return Gr(l,5,u="function"==typeof u?u:E)},C.cloneWith=function(l,u){return Gr(l,4,u="function"==typeof u?u:E)},C.conformsTo=function(l,u){return null==u||G_(l,u,mi(u))},C.deburr=bv,C.defaultTo=function(l,u){return null==l||l!=l?u:l},C.divide=Lv,C.endsWith=function(l,u,f){l=an(l),u=hr(u);var m=l.length,y=f=f===E?m:ha(vt(f),0,m);return(f-=u.length)>=0&&l.slice(f,y)==u},C.eq=pi,C.escape=function(l){return(l=an(l))&&Nt.test(l)?l.replace(wd,XT):l},C.escapeRegExp=function(l){return(l=an(l))&&or.test(l)?l.replace(gt,"\\$&"):l},C.every=function(l,u,f){var m=Tt(l)?hl:K_;return f&&Ki(l,u,f)&&(u=E),m(l,ct(u,3))},C.find=ah,C.findIndex=Cy,C.findKey=function(l,u){return Mo(l,ct(u,3),dr)},C.findLast=IE,C.findLastIndex=Bp,C.findLastKey=function(l,u){return Mo(l,ct(u,3),pa)},C.floor=I0,C.forEach=lh,C.forEachRight=Yp,C.forIn=function(l,u){return null==l?l:ur(l,ct(u,3),xr)},C.forInRight=function(l,u){return null==l?l:yl(l,ct(u,3),xr)},C.forOwn=function(l,u){return l&&dr(l,ct(u,3))},C.forOwnRight=function(l,u){return l&&pa(l,ct(u,3))},C.get=fv,C.gt=mh,C.gte=gh,C.has=function(l,u){return null!=l&&qS(l,u,IS)},C.hasIn=vh,C.head=Hp,C.identity=Rr,C.includes=function(l,u,f,m){l=fr(l)?l:Ec(l),f=f&&!m?vt(f):0;var y=l.length;return f<0&&(f=ti(y+f,0)),Ou(l)?f<=y&&l.indexOf(u,f)>-1:!!y&&ca(l,u,f)>-1},C.indexOf=function(l,u,f){var m=null==l?0:l.length;if(!m)return-1;var y=null==f?0:vt(f);return y<0&&(y=ti(m+y,0)),ca(l,u,y)},C.inRange=function(l,u,f){return u=ko(u),f===E?(f=u,u=0):f=ko(f),function(l,u,f){return l>=Kn(u,f)&&l<ti(u,f)}(l=Fi(l),u,f)},C.invoke=um,C.isArguments=Ps,C.isArray=Tt,C.isArrayBuffer=FE,C.isArrayLike=fr,C.isArrayLikeObject=ii,C.isBoolean=function(l){return!0===l||!1===l||Yn(l)&&Dr(l)==Qc},C.isBuffer=Ml,C.isDate=nv,C.isElement=function(l){return Yn(l)&&1===l.nodeType&&!Cc(l)},C.isEmpty=function(l){if(null==l)return!0;if(fr(l)&&(Tt(l)||"string"==typeof l||"function"==typeof l.splice||Ml(l)||Ta(l)||Ps(l)))return!l.length;var u=Oi(l);if(u==jt||u==Ao)return!l.size;if(Sa(l))return!Ar(l).length;for(var f in l)if(sn.call(l,f))return!1;return!0},C.isEqual=function(l,u){return jd(l,u)},C.isEqualWith=function(l,u,f){var m=(f="function"==typeof f?f:E)?f(l,u):E;return m===E?jd(l,u,E,f):!!m},C.isError=rv,C.isFinite=function(l){return"number"==typeof l&&uu(l)},C.isFunction=Ia,C.isInteger=VE,C.isLength=sm,C.isMap=BE,C.isMatch=function(l,u){return l===u||Y_(l,u,El(u))},C.isMatchWith=function(l,u,f){return f="function"==typeof f?f:E,Y_(l,u,El(u),f)},C.isNaN=function(l){return _h(l)&&l!=+l},C.isNative=function(l){if(my(l))throw new Be("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ni(l)},C.isNil=function(l){return null==l},C.isNull=function(l){return null===l},C.isNumber=_h,C.isObject=jn,C.isObjectLike=Yn,C.isPlainObject=Cc,C.isRegExp=ku,C.isSafeInteger=function(l){return VE(l)&&l>=-oa&&l<=oa},C.isSet=Fs,C.isString=Ou,C.isSymbol=Yr,C.isTypedArray=Ta,C.isUndefined=function(l){return l===E},C.isWeakMap=function(l){return Yn(l)&&Oi(l)==ol},C.isWeakSet=function(l){return Yn(l)&&"[object WeakSet]"==Dr(l)},C.join=function(l,u){return null==l?"":cr.call(l,u)},C.kebabCase=c0,C.last=_o,C.lastIndexOf=function(l,u,f){var m=null==l?0:l.length;if(!m)return-1;var y=m;return f!==E&&(y=(y=vt(f))<0?ti(m+y,0):Kn(y,m-1)),u==u?function(N,Q,q){for(var Ve=q+1;Ve--;)if(N[Ve]===Q)return Ve;return Ve}(l,u,y):Sr(l,ou,y,!0)},C.lowerCase=u0,C.lowerFirst=mm,C.lt=$E,C.lte=Pu,C.max=function(l){return l&&l.length?yu(l,Rr,Q_):E},C.maxBy=function(l,u){return l&&l.length?yu(l,ct(u,2),Q_):E},C.mean=function(l){return co(l,Rr)},C.meanBy=function(l,u){return co(l,ct(u,2))},C.min=function(l){return l&&l.length?yu(l,Rr,pc):E},C.minBy=function(l,u){return l&&l.length?yu(l,ct(u,2),pc):E},C.stubArray=Ih,C.stubFalse=Mh,C.stubObject=function(){return{}},C.stubString=function(){return""},C.stubTrue=function(){return!0},C.multiply=R0,C.nth=function(l,u){return l&&l.length?kS(l,vt(u)):E},C.noConflict=function(){return Je._===this&&(Je._=op),this},C.noop=Dh,C.now=dh,C.pad=function(l,u,f){l=an(l);var m=(u=vt(u))?lc(l):0;if(!u||m>=u)return l;var y=(u-m)/2;return Du(lp(y),f)+l+Du(cc(y),f)},C.padEnd=function(l,u,f){l=an(l);var m=(u=vt(u))?lc(l):0;return u&&m<u?l+Du(u-m,f):l},C.padStart=function(l,u,f){l=an(l);var m=(u=vt(u))?lc(l):0;return u&&m<u?Du(u-m,f)+l:l},C.parseInt=function(l,u,f){return f||null==u?u=0:u&&(u=+u),mS(an(l).replace(Wf,""),u||0)},C.random=function(l,u,f){if(f&&"boolean"!=typeof f&&Ki(l,u,f)&&(u=f=E),f===E&&("boolean"==typeof u?(f=u,u=E):"boolean"==typeof l&&(f=l,l=E)),l===E&&u===E?(l=0,u=1):(l=ko(l),u===E?(u=l,l=0):u=ko(u)),l>u){var m=l;l=u,u=m}if(f||l%1||u%1){var y=up();return Kn(l+y*(u-l+cl("1e-"+((y+"").length-1))),u)}return $d(l,u)},C.reduce=function(l,u,f){var m=Tt(l)?iu:E_,y=arguments.length<3;return m(l,ct(u,4),f,y,go)},C.reduceRight=function(l,u,f){var m=Tt(l)?ru:E_,y=arguments.length<3;return m(l,ct(u,4),f,y,W_)},C.repeat=function(l,u,f){return u=(f?Ki(l,u,f):u===E)?1:vt(u),Cp(an(l),u)},C.replace=function(){var l=arguments,u=an(l[0]);return l.length<3?u:u.replace(l[1],l[2])},C.result=function(l,u,f){var m=-1,y=(u=va(u,l)).length;for(y||(y=1,l=E);++m<y;){var S=null==l?E:l[qr(u[m])];
vendor: 4,816 bytes, line 1
1S===E&&(m=y,S=f),l=Ia(S)?S.call(l):S}return l},C.round=k0,C.runInContext=N,C.sample=function(l){return(Tt(l)?mp:NS)(l)},C.size=function(l){if(null==l)return 0;if(fr(l))return Ou(l)?lc(l):l.length;var u=Oi(l);return u==jt||u==Ao?l.size:Ar(l).length},C.snakeCase=Av,C.some=function(l,u,f){var m=Tt(l)?sc:wp;return f&&Ki(l,u,f)&&(u=E),m(l,ct(u,3))},C.sortedIndex=function(l,u){return Is(l,u)},C.sortedIndexBy=function(l,u,f){return Sp(l,u,ct(f,2))},C.sortedIndexOf=function(l,u){var f=null==l?0:l.length;if(f){var m=Is(l,u);if(m<f&&pi(l[m],u))return m}return-1},C.sortedLastIndex=function(l,u){return Is(l,u,!0)},C.sortedLastIndexBy=function(l,u,f){return Sp(l,u,ct(f,2),!0)},C.sortedLastIndexOf=function(l,u){if(null!=l&&l.length){var m=Is(l,u,!0)-1;if(pi(l[m],u))return m}return-1},C.startCase=Sh,C.startsWith=function(l,u,f){return l=an(l),f=null==f?0:ha(vt(f),0,l.length),u=hr(u),l.slice(f,f+u.length)==u},C.subtract=kx,C.sum=function(l){return l&&l.length?D_(l,Rr):0},C.sumBy=function(l,u){return l&&l.length?D_(l,ct(u,2)):0},C.template=function(l,u,f){var m=C.templateSettings;f&&Ki(l,u,f)&&(u=E),l=an(l),u=Sc({},u,m,xo);var y=Sc({},u.imports,m.imports,xo),S=mi(y),x=I_(y,S);In(S,function(ot){if(f_.test(ot))throw new Be("Invalid `imports` option passed into `_.template`")});var k,B,ee=0,te=u.interpolate||Kf,ae="__p += '",Ee=ip((u.escape||Kf).source+"|"+te.source+"|"+(te===Gw?ps:Kf).source+"|"+(u.evaluate||Kf).source+"|$","g"),$="//# sourceURL="+(sn.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$e+"]")+"\n";l.replace(Ee,function(ot,zt,Yt,Zr,pr,Jr){return Yt||(Yt=Zr),ae+=l.slice(ee,Jr).replace(zr,ZT),zt&&(k=!0,ae+="' +\n__e("+zt+") +\n'"),pr&&(B=!0,ae+="';\n"+pr+";\n__p += '"),Yt&&(ae+="' +\n((__t = ("+Yt+")) == null ? '' : __t) +\n'"),ee=Jr+ot.length,ot}),ae+="';\n";var ut=sn.call(u,"variable")&&u.variable;if(ut){if(f_.test(ut))throw new Be("Invalid `variable` option passed into `_.template`")}else ae="with (obj) {\n"+ae+"\n}\n";ae=(B?ae.replace(d_,""):ae).replace(un,"$1").replace(Gf,"$1;"),ae="function("+(ut||"obj")+") {\n"+(ut?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(k?", __e = _.escape":"")+(B?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+ae+"return __p\n}";var xt=Tv(function(){return nn(S,$+"return "+ae).apply(E,x)});if(xt.source=ae,rv(xt))throw xt;return xt},C.times=function(l,u){if((l=vt(l))<1||l>oa)return[];var f=hs,m=Kn(l,hs);u=ct(u),l-=hs;for(var y=A_(m,u);++f<l;)u(f);return y},C.toFinite=ko,C.toInteger=vt,C.toLength=wc,C.toLower=function(l){return an(l).toLowerCase()},C.toNumber=Fi,C.toSafeInteger=function(l){return l?ha(vt(l),-oa,oa):0===l?l:0},C.toString=an,C.toUpper=function(l){return an(l).toUpperCase()},C.trim=function(l,u,f){if((l=an(l))&&(f||u===E))return aS(l);if(!l||!(u=hr(u)))return l;var m=ho(l),y=ho(u);return Ts(m,lS(m,y),cS(m,y)+1).join("")},C.trimEnd=function(l,u,f){if((l=an(l))&&(f||u===E))return l.slice(0,tp(l)+1);if(!l||!(u=hr(u)))return l;var m=ho(l);return Ts(m,0,cS(m,ho(u))+1).join("")},C.trimStart=function(l,u,f){if((l=an(l))&&(f||u===E))return l.replace(Wf,"");if(!l||!(u=hr(u)))return l;var m=ho(l);return Ts(m,lS(m,ho(u))).join("")},C.truncate=function(l,u){var f=30,m="...";if(jn(u)){var y="separator"in u?u.separator:y;f="length"in u?vt(u.length):f,m="omission"in u?hr(u.omission):m}var S=(l=an(l)).length;if(pl(l)){var x=ho(l);S=x.length}if(f>=S)return l;var k=f-lc(m);if(k<1)return m;var B=x?Ts(x,0,k).join(""):l.slice(0,k);if(y===E)return B+m;if(x&&(k+=B.length-k),ku(y)){if(l.slice(k).search(y)){var ee,te=B;for(y.global||(y=ip(y.source,an(qw.exec(y))+"g")),y.lastIndex=0;ee=y.exec(te);)var ae=ee.index;B=B.slice(0,ae===E?k:ae)}}else if(l.indexOf(hr(y),k)!=k){var Ee=B.lastIndexOf(y);Ee>-1&&(B=B.slice(0,Ee))}return B+m},C.unescape=function(l){return(l=an(l))&&$w.test(l)?l.replace(Rt,hS):l},C.uniqueId=function(l){var u=++rp;return an(l)+u},C.upperCase=Mv,C.upperFirst=_m,C.each=lh,C.eachRight=Yp,C.first=Hp,Rv(C,function(){var l={};return dr(C,function(u,f){sn.call(C.prototype,f)||(l[f]=u)}),l}(),{chain:!1}),C.VERSION="4.18.1",In(["bind","bindKey","curry","curryRight","partial","partialRight"],function(l){C[l].placeholder=C}),In(["drop","take"],function(l,u){ft.prototype[l]=function(f){f=f===E?1:ti(vt(f),0);var m=this.__filtered__&&!u?new ft(this):this.clone();return m.__filtered__?m.__takeCount__=Kn(f,m.__takeCount__):m.__views__.push({size:Kn(f,hs),type:l+(m.__dir__<0?"Right":"")}),m},ft.prototype[l+"Right"]=function(f){return this.reverse()[l](f).reverse()}}),In(["filter","map","takeWhile"],function(l,u){var f=u+1,m=1==f||3==f;ft.prototype[l]=function(y){var S=this.clone();return S.__iteratees__.push({iteratee:ct(y,3),type:f}),S.__filtered__=S.__filtered__||m,S}}),In(["head","last"],function(l,u){var f="take"+(u?"Right":"");
vendor: 4,562 bytes, line 1
1ft.prototype[l]=function(){return this[f](1).value()[0]}}),In(["initial","tail"],function(l,u){var f="drop"+(u?"":"Right");ft.prototype[l]=function(){return this.__filtered__?new ft(this):this[f](1)}}),ft.prototype.compact=function(){return this.filter(Rr)},ft.prototype.find=function(l){return this.filter(l).head()},ft.prototype.findLast=function(l){return this.reverse().find(l)},ft.prototype.invokeMap=Lt(function(l,u){return"function"==typeof l?new ft(this):this.map(function(f){return Ud(f,l,u)})}),ft.prototype.reject=function(l){return this.filter(fh(ct(l)))},ft.prototype.slice=function(l,u){l=vt(l);var f=this;return f.__filtered__&&(l>0||u<0)?new ft(f):(l<0?f=f.takeRight(-l):l&&(f=f.drop(l)),u!==E&&(f=(u=vt(u))<0?f.dropRight(-u):f.take(u-l)),f)},ft.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},ft.prototype.toArray=function(){return this.take(hs)},dr(ft.prototype,function(l,u){var f=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),y=C[m?"take"+("last"==u?"Right":""):u],S=m||/^find/.test(u);!y||(C.prototype[u]=function(){var x=this.__wrapped__,k=m?[1]:arguments,B=x instanceof ft,ee=k[0],te=B||Tt(x),ae=function(zt){var Yt=y.apply(C,Io([zt],k));return m&&Ee?Yt[0]:Yt};te&&f&&"function"==typeof ee&&1!=ee.length&&(B=te=!1);var Ee=this.__chain__,$=!!this.__actions__.length,ut=S&&!Ee,xt=B&&!$;if(!S&&te){x=xt?x:new ft(this);var ot=l.apply(x,k);return ot.__actions__.push({func:Tu,args:[ae],thisArg:E}),new po(ot,Ee)}return ut&&xt?l.apply(this,k):(ot=this.thru(ae),ut?m?ot.value()[0]:ot.value():ot)})}),In(["pop","push","shift","sort","splice","unshift"],function(l){var u=lr[l],f=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",m=/^(?:pop|shift)$/.test(l);C.prototype[l]=function(){var y=arguments;if(m&&!this.__chain__){var S=this.value();return u.apply(Tt(S)?S:[],y)}return this[f](function(x){return u.apply(Tt(x)?x:[],y)})}}),dr(ft.prototype,function(l,u){var f=C[u];if(f){var m=f.name+"";sn.call(bs,m)||(bs[m]=[]),bs[m].push({name:u,func:f})}}),bs[Ep(E,2).name]=[{name:"wrapper",func:E}],ft.prototype.clone=function(){var l=new ft(this.__wrapped__);return l.__actions__=fi(this.__actions__),l.__dir__=this.__dir__,l.__filtered__=this.__filtered__,l.__iteratees__=fi(this.__iteratees__),l.__takeCount__=this.__takeCount__,l.__views__=fi(this.__views__),l},ft.prototype.reverse=function(){if(this.__filtered__){var l=new ft(this);l.__dir__=-1,l.__filtered__=!0}else(l=this.clone()).__dir__*=-1;return l},ft.prototype.value=function(){var l=this.__wrapped__.value(),u=this.__dir__,f=Tt(l),m=u<0,y=f?l.length:0,S=function(l,u,f){for(var m=-1,y=f.length;++m<y;){var S=f[m],x=S.size;switch(S.type){case"drop":l+=x;break;case"dropRight":u-=x;break;case"take":u=Kn(u,l+x);break;case"takeRight":l=ti(l,u-x)}}return{start:l,end:u}}(0,y,this.__views__),x=S.start,k=S.end,B=k-x,ee=m?k:x-1,te=this.__iteratees__,ae=te.length,Ee=0,$=Kn(B,this.__takeCount__);if(!f||!m&&y==B&&$==B)return L(l,this.__actions__);var ut=[];e:for(;B--&&Ee<$;){for(var xt=-1,ot=l[ee+=u];++xt<ae;){var zt=te[xt],Zr=zt.type,pr=(0,zt.iteratee)(ot);if(2==Zr)ot=pr;else if(!pr){if(1==Zr)continue e;break e}}ut[Ee++]=ot}return ut},C.prototype.at=Kp,C.prototype.chain=function(){return ky(this)},C.prototype.commit=function(){return new po(this.value(),this.__chain__)},C.prototype.next=function(){this.__values__===E&&(this.__values__=Tl(this.value()));var l=this.__index__>=this.__values__.length;return{done:l,value:l?E:this.__values__[this.__index__++]}},C.prototype.plant=function(l){for(var u,f=this;f instanceof hn;){var m=Pi(f);m.__index__=0,m.__values__=E,u?y.__wrapped__=m:u=m;var y=m;f=f.__wrapped__}return y.__wrapped__=l,u},C.prototype.reverse=function(){var l=this.__wrapped__;if(l instanceof ft){var u=l;return this.__actions__.length&&(u=new ft(this)),(u=u.reverse()).__actions__.push({func:Tu,args:[sh],thisArg:E}),new po(u,this.__chain__)}return this.thru(sh)},C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=function(){return L(this.__wrapped__,this.__actions__)},C.prototype.first=C.prototype.head,Ie&&(C.prototype[Ie]=function(){return this}),C}();Je._=su,(oe=function(){return su}.call(H,U,H,ze))!==E&&(ze.exports=oe)}.call(this)},98:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(290),E=U(461),de=U(341),ge=U(10),fe=U(571),ce=function(){function K(G){this._isScalar=!1,G&&(this._subscribe=G)}return K.prototype.lift=function(G){var R=new K;return R.source=this,R.operator=G,R},K.prototype.subscribe=function(G,R,z){var j=this.operator,X=E.toSubscriber(G,R,z);
1if(X.add(j?j.call(X,this.source):this.source||fe.config.useDeprecatedSynchronousErrorHandling&&!X.syncErrorThrowable?this._subscribe(X):this._trySubscribe(X)),fe.config.useDeprecatedSynchronousErrorHandling&&X.syncErrorThrowable&&(X.syncErrorThrowable=!1,X.syncErrorThrown))throw X.syncErrorValue;return X},K.prototype._trySubscribe=function(G){try{return this._subscribe(G)}catch(R){fe.config.useDeprecatedSynchronousErrorHandling&&(G.syncErrorThrown=!0,G.syncErrorValue=R),oe.canReportError(G)?G.error(R):console.warn(R)}},K.prototype.forEach=function(G,R){var z=this;return new(R=me(R))(function(j,X){var _e;_e=z.subscribe(function(et){try{G(et)}catch(ci){X(ci),_e&&_e.unsubscribe()}},X,j)})},K.prototype._subscribe=function(G){var R=this.source;return R&&R.subscribe(G)},K.prototype[de.observable]=function(){return this},K.prototype.pipe=function(){for(var G=[],R=0;R<arguments.length;R++)G[R]=arguments[R];return 0===G.length?this:ge.pipeFromArray(G)(this)},K.prototype.toPromise=function(G){var R=this;return new(G=me(G))(function(z,j){var X;R.subscribe(function(_e){return X=_e},function(_e){return j(_e)},function(){return z(X)})})},K.create=function(G){return new K(G)},K}();function me(K){if(K||(K=fe.config.Promise||Promise),!K)throw new Error("no Promise impl found");return K}H.Observable=ce},424:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(571),E=U(73);H.empty={closed:!0,next:function(de){},error:function(de){if(oe.config.useDeprecatedSynchronousErrorHandling)throw de;E.hostReportError(de)},complete:function(){}}},184:function(ze,H,U){"use strict";var R,oe=this&&this.__extends||(R=function(z,j){return(R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,_e){X.__proto__=_e}||function(X,_e){for(var et in _e)_e.hasOwnProperty(et)&&(X[et]=_e[et])})(z,j)},function(z,j){function X(){this.constructor=z}R(z,j),z.prototype=null===j?Object.create(j):(X.prototype=j.prototype,new X)});Object.defineProperty(H,"__esModule",{value:!0});var E=U(978),de=U(424),ge=U(36),fe=U(711),ce=U(571),me=U(73),K=function(R){function z(j,X,_e){var et=R.call(this)||this;switch(et.syncErrorValue=null,et.syncErrorThrown=!1,et.syncErrorThrowable=!1,et.isStopped=!1,arguments.length){case 0:et.destination=de.empty;break;case 1:if(!j){et.destination=de.empty;break}if("object"==typeof j){j instanceof z?(et.syncErrorThrowable=j.syncErrorThrowable,et.destination=j,j.add(et)):(et.syncErrorThrowable=!0,et.destination=new G(et,j));break}default:et.syncErrorThrowable=!0,et.destination=new G(et,j,X,_e)}return et}return oe(z,R),z.prototype[fe.rxSubscriber]=function(){return this},z.create=function(j,X,_e){var et=new z(j,X,_e);return et.syncErrorThrowable=!1,et},z.prototype.next=function(j){this.isStopped||this._next(j)},z.prototype.error=function(j){this.isStopped||(this.isStopped=!0,this._error(j))},z.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},z.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,R.prototype.unsubscribe.call(this))},z.prototype._next=function(j){this.destination.next(j)},z.prototype._error=function(j){this.destination.error(j),this.unsubscribe()},z.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},z.prototype._unsubscribeAndRecycle=function(){var j=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=j,this},z}(ge.Subscription);H.Subscriber=K;var G=function(R){function z(j,X,_e,et){var ci=R.call(this)||this;ci._parentSubscriber=j;var ui,Hn=ci;return E.isFunction(X)?ui=X:X&&(ui=X.next,_e=X.error,et=X.complete,X!==de.empty&&(Hn=Object.create(X),E.isFunction(Hn.unsubscribe)&&ci.add(Hn.unsubscribe.bind(Hn)),Hn.unsubscribe=ci.unsubscribe.bind(ci))),ci._context=Hn,ci._next=ui,ci._error=_e,ci._complete=et,ci}return oe(z,R),z.prototype.next=function(j){if(!this.isStopped&&this._next){var X=this._parentSubscriber;ce.config.useDeprecatedSynchronousErrorHandling&&X.syncErrorThrowable?this.__tryOrSetError(X,this._next,j)&&this.unsubscribe():this.__tryOrUnsub(this._next,j)}},z.prototype.error=function(j){if(!this.isStopped){var X=this._parentSubscriber,_e=ce.config.useDeprecatedSynchronousErrorHandling;if(this._error)_e&&X.syncErrorThrowable?(this.__tryOrSetError(X,this._error,j),this.unsubscribe()):(this.__tryOrUnsub(this._error,j),this.unsubscribe());else if(X.syncErrorThrowable)_e?(X.syncErrorValue=j,X.syncErrorThrown=!0):me.hostReportError(j),this.unsubscribe();else{if(this.unsubscribe(),_e)throw j;me.hostReportError(j)}}},z.prototype.complete=function(){var j=this;if(!this.isStopped){var X=this._parentSubscriber;if(this._complete){var _e=function(){return j._complete.call(j._context)};ce.config.useDeprecatedSynchronousErrorHandling&&X.syncErrorThrowable?(this.__tryOrSetError(X,_e),this.unsubscribe()):(this.__tryOrUnsub(_e),this.unsubscribe())}else this.unsubscribe()}},z.prototype.__tryOrUnsub=function(j,X){try{j.call(this._context,X)}catch(_e){if(this.unsubscribe(),ce.config.useDeprecatedSynchronousErrorHandling)throw _e;me.hostReportError(_e)}},z.prototype.__tryOrSetError=function(j,X,_e){if(!ce.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{X.call(this._context,_e)}catch(et){return ce.config.useDeprecatedSynchronousErrorHandling?(j.syncErrorValue=et,j.syncErrorThrown=!0,!0):(me.hostReportError(et),!0)}return!1},z.prototype._unsubscribe=function(){var j=this._parentSubscriber;this._context=null,this._parentSubscriber=null,j.unsubscribe()},z}(K);H.SafeSubscriber=G},36:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(549),E=U(43),de=U(978),ge=U(673),fe=function(){function me(K){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,K&&(this._ctorUnsubscribe=!0,this._unsubscribe=K)}return me.prototype.unsubscribe=function(){var K;if(!this.closed){var G=this,R=G._parentOrParents,z=G._ctorUnsubscribe,j=G._unsubscribe,X=G._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,R instanceof me)R.remove(this);else if(null!==R)for(var _e=0;_e<R.length;++_e)R[_e].remove(this);if(de.isFunction(j)){z&&(this._unsubscribe=void 0);try{j.call(this)}catch(Hn){K=Hn instanceof ge.UnsubscriptionError?ce(Hn.errors):[Hn]}}if(oe.isArray(X)){_e=-1;for(var ci=X.length;++_e<ci;){var ui=X[_e];if(E.isObject(ui))try{ui.unsubscribe()}catch(us){K=K||[],us instanceof ge.UnsubscriptionError?K=K.concat(ce(us.errors)):K.push(us)}}}if(K)throw new ge.UnsubscriptionError(K)}},me.prototype.add=function(K){var G=K;if(!K)return me.EMPTY;switch(typeof K){case"function":G=new me(K);case"object":if(G===this||G.closed||"function"!=typeof G.unsubscribe)return G;if(this.closed)return G.unsubscribe(),G;if(!(G instanceof me)){var R=G;(G=new me)._subscriptions=[R]}break;default:throw new Error("unrecognized teardown "+K+" added to Subscription.")}var z=G._parentOrParents;if(null===z)G._parentOrParents=this;else if(z instanceof me){if(z===this)return G;G._parentOrParents=[z,this]}else{if(-1!==z.indexOf(this))return G;z.push(this)}var j=this._subscriptions;return null===j?this._subscriptions=[G]:j.push(G),G},me.prototype.remove=function(K){var G=this._subscriptions;if(G){var R=G.indexOf(K);-1!==R&&G.splice(R,1)}},me.EMPTY=((K=new me).closed=!0,K),me;var K}();function ce(me){return me.reduce(function(K,G){return K.concat(G instanceof ge.UnsubscriptionError?G.errors:G)},[])}H.Subscription=fe},571:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var U=!1;H.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(oe){if(oe){var E=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior b
1y code at: \n"+E.stack)}else U&&console.log("RxJS: Back to a better error behavior. Thank you. <3");U=oe},get useDeprecatedSynchronousErrorHandling(){return U}}},602:function(ze,H,U){"use strict";var R,oe=this&&this.__extends||(R=function(z,j){return(R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,_e){X.__proto__=_e}||function(X,_e){for(var et in _e)_e.hasOwnProperty(et)&&(X[et]=_e[et])})(z,j)},function(z,j){function X(){this.constructor=z}R(z,j),z.prototype=null===j?Object.create(j):(X.prototype=j.prototype,new X)});Object.defineProperty(H,"__esModule",{value:!0});var E=U(184),de=U(98),ge=U(423),fe=function(R){function z(j){var X=R.call(this)||this;return X.parent=j,X}return oe(z,R),z.prototype._next=function(j){this.parent.notifyNext(j)},z.prototype._error=function(j){this.parent.notifyError(j),this.unsubscribe()},z.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},z}(E.Subscriber);H.SimpleInnerSubscriber=fe;var ce=function(R){function z(j,X,_e){var et=R.call(this)||this;return et.parent=j,et.outerValue=X,et.outerIndex=_e,et}return oe(z,R),z.prototype._next=function(j){this.parent.notifyNext(this.outerValue,j,this.outerIndex,this)},z.prototype._error=function(j){this.parent.notifyError(j),this.unsubscribe()},z.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},z}(E.Subscriber);H.ComplexInnerSubscriber=ce;var me=function(R){function z(){return null!==R&&R.apply(this,arguments)||this}return oe(z,R),z.prototype.notifyNext=function(j){this.destination.next(j)},z.prototype.notifyError=function(j){this.destination.error(j)},z.prototype.notifyComplete=function(){this.destination.complete()},z}(E.Subscriber);H.SimpleOuterSubscriber=me;var K=function(R){function z(){return null!==R&&R.apply(this,arguments)||this}return oe(z,R),z.prototype.notifyNext=function(j,X,_e,et){this.destination.next(X)},z.prototype.notifyError=function(j){this.destination.error(j)},z.prototype.notifyComplete=function(j){this.destination.complete()},z}(E.Subscriber);H.ComplexOuterSubscriber=K,H.innerSubscribe=function(R,z){if(!z.closed){if(R instanceof de.Observable)return R.subscribe(z);var j;try{j=ge.subscribeTo(R)(z)}catch(X){z.error(X)}return j}}},937:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(363),E=U(166);H.concat=function(){for(var ge=[],fe=0;fe<arguments.length;fe++)ge[fe]=arguments[fe];return E.concatAll()(oe.of.apply(void 0,ge))}},591:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(98),E=U(423),de=U(946);H.from=function(fe,ce){return ce?de.scheduled(fe,ce):fe instanceof oe.Observable?fe:new oe.Observable(E.subscribeTo(fe))}},111:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(98),E=U(562),de=U(770);H.fromArray=function(fe,ce){return ce?de.scheduleArray(fe,ce):new oe.Observable(E.subscribeToArray(fe))}},363:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(126),E=U(111),de=U(770);H.of=function(){for(var fe=[],ce=0;ce<arguments.length;ce++)fe[ce]=arguments[ce];var me=fe[fe.length-1];return oe.isScheduler(me)?(fe.pop(),de.scheduleArray(fe,me)):E.fromArray(fe)}},166:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(916);H.concatAll=function(){return oe.mergeAll(1)}},349:function(ze,H,U){"use strict";var ce,oe=this&&this.__extends||(ce=function(me,K){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,R){G.__proto__=R}||function(G,R){for(var z in R)R.hasOwnProperty(z)&&(G[z]=R[z])})(me,K)},function(me,K){function G(){this.constructor=me}ce(me,K),me.prototype=null===K?Object.create(K):(G.prototype=K.prototype,new G)});Object.defineProperty(H,"__esModule",{value:!0});var E=U(184);H.map=function(ce,me){return function(G){if("function"!=typeof ce)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return G.lift(new ge(ce,me))}};var ge=function(){function ce(me,K){this.project=me,this.thisArg=K}return ce.prototype.call=function(me,K){return K.subscribe(new fe(me,this.project,this.thisArg))},ce}();H.MapOperator=ge;var fe=function(ce){function me(K,G,R){var z=ce.call(this,K)||this;return z.project=G,z.count=0,z.thisArg=R||z,z}return oe(me,ce),me.prototype._next=function(K){var G;try{G=this.project.call(this.thisArg,K,this.count++)}catch(R){return void this.destination.error(R)}this.destination.next(G)},me}(E.Subscriber)},916:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(635),E=U(614);H.mergeAll=function(ge){return void 0===ge&&(ge=Number.POSITIVE_INFINITY),oe.mergeMap(E.identity,ge)}},635:function(ze,H,U){"use strict";var K,oe=this&&this.__extends||(K=function(G,R){return(K=Object.
1setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,j){z.__proto__=j}||function(z,j){for(var X in j)j.hasOwnProperty(X)&&(z[X]=j[X])})(G,R)},function(G,R){function z(){this.constructor=G}K(G,R),G.prototype=null===R?Object.create(R):(z.prototype=R.prototype,new z)});Object.defineProperty(H,"__esModule",{value:!0});var E=U(349),de=U(591),ge=U(602);function fe(K,G,R){return void 0===R&&(R=Number.POSITIVE_INFINITY),"function"==typeof G?function(z){return z.pipe(fe(function(j,X){return de.from(K(j,X)).pipe(E.map(function(_e,et){return G(j,_e,X,et)}))},R))}:("number"==typeof G&&(R=G),function(z){return z.lift(new ce(K,R))})}H.mergeMap=fe;var ce=function(){function K(G,R){void 0===R&&(R=Number.POSITIVE_INFINITY),this.project=G,this.concurrent=R}return K.prototype.call=function(G,R){return R.subscribe(new me(G,this.project,this.concurrent))},K}();H.MergeMapOperator=ce;var me=function(K){function G(R,z,j){void 0===j&&(j=Number.POSITIVE_INFINITY);var X=K.call(this,R)||this;return X.project=z,X.concurrent=j,X.hasCompleted=!1,X.buffer=[],X.active=0,X.index=0,X}return oe(G,K),G.prototype._next=function(R){this.active<this.concurrent?this._tryNext(R):this.buffer.push(R)},G.prototype._tryNext=function(R){var z,j=this.index++;try{z=this.project(R,j)}catch(X){return void this.destination.error(X)}this.active++,this._innerSub(z)},G.prototype._innerSub=function(R){var z=new ge.SimpleInnerSubscriber(this),j=this.destination;j.add(z);var X=ge.innerSubscribe(R,z);X!==z&&j.add(X)},G.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},G.prototype.notifyNext=function(R){this.destination.next(R)},G.prototype.notifyComplete=function(){var R=this.buffer;this.active--,R.length>0?this._next(R.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},G}(ge.SimpleOuterSubscriber);H.MergeMapSubscriber=me,H.flatMap=fe},231:(ze,H,U)=>{"use strict";var E=U(937),de=U(126);H.O=function(){for(var fe=[],ce=0;ce<arguments.length;ce++)fe[ce]=arguments[ce];var me=fe[fe.length-1];return de.isScheduler(me)?(fe.pop(),function(K){return E.concat(fe,K,me)}):function(K){return E.concat(fe,K)}}},542:function(ze,H,U){"use strict";var K,oe=this&&this.__extends||(K=function(G,R){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,j){z.__proto__=j}||function(z,j){for(var X in j)j.hasOwnProperty(X)&&(z[X]=j[X])})(G,R)},function(G,R){function z(){this.constructor=G}K(G,R),G.prototype=null===R?Object.create(R):(z.prototype=R.prototype,new z)});Object.defineProperty(H,"__esModule",{value:!0});var E=U(349),de=U(591),ge=U(602);H.switchMap=function fe(K,G){return"function"==typeof G?function(R){return R.pipe(fe(function(z,j){return de.from(K(z,j)).pipe(E.map(function(X,_e){return G(z,X,j,_e)}))}))}:function(R){return R.lift(new ce(K))}};var ce=function(){function K(G){this.project=G}return K.prototype.call=function(G,R){return R.subscribe(new me(G,this.project))},K}(),me=function(K){function G(R,z){var j=K.call(this,R)||this;return j.project=z,j.index=0,j}return oe(G,K),G.prototype._next=function(R){var z,j=this.index++;try{z=this.project(R,j)}catch(X){return void this.destination.error(X)}this._innerSub(z)},G.prototype._innerSub=function(R){var z=this.innerSubscription;z&&z.unsubscribe();var j=new ge.SimpleInnerSubscriber(this),X=this.destination;X.add(j),this.innerSubscription=ge.innerSubscribe(R,j),this.innerSubscription!==j&&X.add(this.innerSubscription)},G.prototype._complete=function(){var R=this.innerSubscription;(!R||R.closed)&&K.prototype._complete.call(this),this.unsubscribe()},G.prototype._unsubscribe=function(){this.innerSubscription=void 0},G.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&K.prototype._complete.call(this)},G.prototype.notifyNext=function(R){this.destination.next(R)},G}(ge.SimpleOuterSubscriber)},770:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(98),E=U(36);H.scheduleArray=function(ge,fe){return new oe.Observable(function(ce){var me=new E.Subscription,K=0;return me.add(fe.schedule(function(){K!==ge.length?(ce.next(ge[K++]),ce.closed||me.add(this.schedule())):ce.complete()}
1)),me})}},885:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(98),E=U(36),de=U(390);H.scheduleIterable=function(fe,ce){if(!fe)throw new Error("Iterable cannot be null");return new oe.Observable(function(me){var G,K=new E.Subscription;return K.add(function(){G&&"function"==typeof G.return&&G.return()}),K.add(ce.schedule(function(){G=fe[de.iterator](),K.add(ce.schedule(function(){if(!me.closed){var R,z;try{var j=G.next();R=j.value,z=j.done}catch(X){return void me.error(X)}z?me.complete():(me.next(R),this.schedule())}}))})),K})}},9:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(98),E=U(36),de=U(341);H.scheduleObservable=function(fe,ce){return new oe.Observable(function(me){var K=new E.Subscription;return K.add(ce.schedule(function(){var G=fe[de.observable]();K.add(G.subscribe({next:function(R){K.add(ce.schedule(function(){return me.next(R)}))},error:function(R){K.add(ce.schedule(function(){return me.error(R)}))},complete:function(){K.add(ce.schedule(function(){return me.complete()}))}}))})),K})}},889:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(98),E=U(36);H.schedulePromise=function(ge,fe){return new oe.Observable(function(ce){var me=new E.Subscription;return me.add(fe.schedule(function(){return ge.then(function(K){me.add(fe.schedule(function(){ce.next(K),me.add(fe.schedule(function(){return ce.complete()}))}))},function(K){me.add(fe.schedule(function(){return ce.error(K)}))})})),me})}},946:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(9),E=U(889),de=U(770),ge=U(885),fe=U(896),ce=U(479),me=U(203),K=U(641);H.scheduled=function(R,z){if(null!=R){if(fe.isInteropObservable(R))return oe.scheduleObservable(R,z);if(ce.isPromise(R))return E.schedulePromise(R,z);if(me.isArrayLike(R))return de.scheduleArray(R,z);if(K.isIterable(R)||"string"==typeof R)return ge.scheduleIterable(R,z)}throw new TypeError((null!==R&&typeof R||R)+" is not observable")}},390:(ze,H)=>{"use strict";function U(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(H,"__esModule",{value:!0}),H.getSymbolIterator=U,H.iterator=U(),H.$$iterator=H.iterator},341:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},711:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),H.$$rxSubscriber=H.rxSubscriber},673:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var U=function(){function oe(E){return Error.call(this),this.message=E?E.length+" errors occurred during unsubscription:\n"+E.map(function(de,ge){return ge+1+") "+de.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=E,this}return oe.prototype=Object.create(Error.prototype),oe}();H.UnsubscriptionError=U},290:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(184);H.canReportError=function(de){for(;de;){var ce=de.destination;if(de.closed||de.isStopped)return!1;de=ce&&ce instanceof oe.Subscriber?ce:null}return!0}},73:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.hostReportError=function(oe){setTimeout(function(){throw oe},0)}},614:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.identity=function(oe){return oe}},549:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.isArray=Array.isArray||function(U){return U&&"number"==typeof U.length}},203:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.isArrayLike=function(U){return U&&"number"==typeof U.length&&"function"!=typeof U}},978:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.isFunction=function(oe){return"function"==typeof oe}},896:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(341);H.isInteropObservable=function(de){return de&&"function"==typeof de[oe.observable]}},641:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(390);H.isIterable=function(de){return de&&"function"==typeof de[oe.iterator]}},43:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.isObject=function(oe){return null!==oe&&"object"==typeof oe}},479:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.isPromise=function(oe){return!!oe&&"function"!=typeof oe.subscribe&&"function"==typeof oe.then}},126:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}
1),H.isScheduler=function(oe){return oe&&"function"==typeof oe.schedule}},10:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(614);function de(ge){return 0===ge.length?oe.identity:1===ge.length?ge[0]:function(ce){return ge.reduce(function(me,K){return K(me)},ce)}}H.pipe=function(){for(var ge=[],fe=0;fe<arguments.length;fe++)ge[fe]=arguments[fe];return de(ge)},H.pipeFromArray=de},423:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(562),E=U(95),de=U(874),ge=U(875),fe=U(203),ce=U(479),me=U(43),K=U(390),G=U(341);H.subscribeTo=function(R){if(R&&"function"==typeof R[G.observable])return ge.subscribeToObservable(R);if(fe.isArrayLike(R))return oe.subscribeToArray(R);if(ce.isPromise(R))return E.subscribeToPromise(R);if(R&&"function"==typeof R[K.iterator])return de.subscribeToIterable(R);var z=me.isObject(R)?"an invalid object":"'"+R+"'";throw new TypeError("You provided "+z+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},562:(ze,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.subscribeToArray=function(U){return function(oe){for(var E=0,de=U.length;E<de&&!oe.closed;E++)oe.next(U[E]);oe.complete()}}},874:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(390);H.subscribeToIterable=function(E){return function(de){for(var ge=E[oe.iterator]();;){var fe=void 0;try{fe=ge.next()}catch(ce){return de.error(ce),de}if(fe.done){de.complete();break}if(de.next(fe.value),de.closed)break}return"function"==typeof ge.return&&de.add(function(){ge.return&&ge.return()}),de}}},875:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(341);H.subscribeToObservable=function(E){return function(de){var ge=E[oe.observable]();if("function"!=typeof ge.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ge.subscribe(de)}}},95:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(73);H.subscribeToPromise=function(E){return function(de){return E.then(function(ge){de.closed||(de.next(ge),de.complete())},function(ge){return de.error(ge)}).then(null,oe.hostReportError),de}}},461:(ze,H,U)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});var oe=U(184),E=U(711),de=U(424);H.toSubscriber=function(fe,ce,me){if(fe){if(fe instanceof oe.Subscriber)return fe;if(fe[E.rxSubscriber])return fe[E.rxSubscriber]()}return fe||ce||me?new oe.Subscriber(fe,ce,me):new oe.Subscriber(de.empty)}},491:(ze,H,U)=>{"use strict";function oe(n){return"function"==typeof n}let E=!1;const de={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else E&&console.log("RxJS: Back to a better error behavior. Thank you. <3");E=n},get useDeprecatedSynchronousErrorHandling(){return E}};function ge(n){setTimeout(()=>{throw n},0)}const fe={closed:!0,next(n){},error(n){if(de.useDeprecatedSynchronousErrorHandling)throw n;ge(n)},complete(){}},ce=Array.isArray||(n=>n&&"number"==typeof n.length);function me(n){return null!==n&&"object"==typeof n}const G=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class R{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof R)e.remove(this);else if(null!==e)for(let s=0;s<e.length;++s)e[s].remove(this);if(oe(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(s){t=s instanceof G?z(s.errors):[s]}}if(ce(o)){let s=-1,a=o.length;for(;++s<a;){const c=o[s];if(me(c))try{c.unsubscribe()}catch(d){t=t||[],d instanceof G?t=t.concat(z(d.errors)):t.push(d)}}}if(t)throw new G(t)}add(t){let e=t;if(!t)return R.EMPTY;switch(typeof t){case"function":e=new R(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof R)){const o=e;e=new R,e._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=e;if(null===i)e._parentOrParents=this;else if(i instanceof R){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[e]:r.push(e),e}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}var n;function z(n){return n.reduce((t,e)=>t.concat(e instanceof G?e.errors:e),[])}R.EMPTY=((n=new R).closed=!0,n);const j="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class _e extends R{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=fe;break;case 1:if(!t){this.destination=fe;break}if("object"==typeof t){t instanceof _e?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new et(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new et(this,t,e,i)}}[j](){return this}static create(t,e,i){const r=new _e(t,e,i);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}
vendor: 5,676 bytes, line 1
1class et extends _e{constructor(t,e,i,r){super(),this._parentSubscriber=t;let o,s=this;oe(e)?o=e:e&&(o=e.next,i=e.error,r=e.complete,e!==fe&&(s=Object.create(e),oe(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;de.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=de;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):ge(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;ge(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);de.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),de.useDeprecatedSynchronousErrorHandling)throw i;ge(i)}}__tryOrSetError(t,e,i){if(!de.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return de.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(ge(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const Hn="function"==typeof Symbol&&Symbol.observable||"@@observable";function us(n){return n}let Et=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:o}=this,s=function(n,t,e){if(n){if(n instanceof _e)return n;if(n[j])return n[j]()}return n||t||e?new _e(n,t,e):new _e(fe)}(e,i,r);if(s.add(o?o.call(s,this.source):this.source||de.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),de.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){de.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof _e?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=tl(i))((r,o)=>{let s;s=this.subscribe(a=>{try{e(a)}catch(c){o(c),s&&s.unsubscribe()}},o,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[Hn](){return this}pipe(...e){return 0===e.length?this:function(n){return 0===n.length?us:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=tl(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function tl(n){if(n||(n=de.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Do=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class yd extends R{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class s_ extends _e{constructor(t){super(t),this.destination=t}}let De=(()=>{class n extends Et{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[j](){return new s_(this)}lift(e){const i=new a_(this,this);return i.operator=e,i}next(e){if(this.closed)throw new Do;if(!this.isStopped){const{observers:i}=this,r=i.length,o=i.slice();for(let s=0;s<r;s++)o[s].next(e)}}error(e){if(this.closed)throw new Do;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:i}=this,r=i.length,o=i.slice();for(let s=0;s<r;s++)o[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new Do;this.isStopped=!0;const{observers:e}=this,i=e.length,r=e.slice();for(let o=0;o<i;o++)r[o].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new Do;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new Do;return this.hasError?(e.error(this.thrownError),R.EMPTY):this.isStopped?(e.complete(),R.EMPTY):(this.observers.push(e),new yd(this,e))}asObservable(){const e=new Et;return e.source=this,e}}return n.create=(t,e)=>new a_(t,e),n})();class a_ extends De{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):R.EMPTY}}function Jl(n){return n&&"function"==typeof n.schedule}function rt(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Nw(n,t))}}class Nw{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new Lw(t,this.project,this.thisArg))}}
vendor: 4,883 bytes, line 1
1class Lw extends _e{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const ra=n=>t=>{for(let e=0,i=n.length;e<i&&!t.closed;e++)t.next(n[e]);t.complete()},nl="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",l_=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function il(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const ec=n=>{if(n&&"function"==typeof n[Hn])return(n=>t=>{const e=n[Hn]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(l_(n))return ra(n);if(il(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,ge),t))(n);if(n&&"function"==typeof n[nl])return(n=>t=>{const e=n[nl]();for(;;){let i;try{i=e.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${me(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function rl(n,t){return new Et(e=>{const i=new R;let r=0;return i.add(t.schedule(function(){r!==n.length?(e.next(n[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function jt(n,t){return t?function(n,t){if(null!=n){if(function(n){return n&&"function"==typeof n[Hn]}(n))return function(n,t){return new Et(e=>{const i=new R;return i.add(t.schedule(()=>{const r=n[Hn]();i.add(r.subscribe({next(o){i.add(t.schedule(()=>e.next(o)))},error(o){i.add(t.schedule(()=>e.error(o)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(il(n))return function(n,t){return new Et(e=>{const i=new R;return i.add(t.schedule(()=>n.then(r=>{i.add(t.schedule(()=>{e.next(r),i.add(t.schedule(()=>e.complete()))}))},r=>{i.add(t.schedule(()=>e.error(r)))}))),i})}(n,t);if(l_(n))return rl(n,t);if(function(n){return n&&"function"==typeof n[nl]}(n)||"string"==typeof n)return function(n,t){if(!n)throw new Error("Iterable cannot be null");return new Et(e=>{const i=new R;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[nl](),i.add(t.schedule(function(){if(e.closed)return;let o,s;try{const a=r.next();o=a.value,s=a.done}catch(a){return void e.error(a)}s?e.complete():(e.next(o),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof Et?n:new Et(ec(n))}class fs extends _e{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Ur extends _e{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function Yc(n,t){if(t.closed)return;if(n instanceof Et)return n.subscribe(t);let e;try{e=ec(n)(t)}catch(i){t.error(i)}return e}function qn(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(qn((r,o)=>jt(n(r,o)).pipe(rt((s,a)=>t(r,s,o,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new Ao(n,e)))}class Ao{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new Xc(t,this.project,this.concurrent))}}class Xc extends Ur{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new fs(this),i=this.destination;i.add(e);const r=Yc(t,e);r!==e&&i.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Zc(n=Number.POSITIVE_INFINITY){return qn(us,n)}function ol(n,t){return t?rl(n,t):new Et(ra(n))}function xi(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return Jl(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Et?n[0]:Zc(t)(ol(n,e))}function sl(){return function(t){return t.lift(new tc(t))}}class tc{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new Vf(t,i),o=e.subscribe(r);return r.closed||(r.connection=i.connect()),o}}
1class Vf extends _e{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=t._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class Cd extends Et{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new R,t.add(this.source.subscribe(new Hf(this.getSubject(),this))),t.closed&&(this._connection=null,t=R.EMPTY)),t}refCount(){return sl()(this)}}const Bf=(()=>{const n=Cd.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class Hf extends s_{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function $f(){return new De}function d_(){return n=>sl()(function(n,t){return function(i){let r;r="function"==typeof n?n:function(){return n};const o=Object.create(i,Bf);return o.source=i,o.subjectFactory=r,o}}($f)(n))}function un(n){for(let t in n)if(n[t]===un)return t;throw Error("Could not find renamed property on target object.")}function Gf(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Rt(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Rt).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function wd(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const $w=un({__forward_ref__:un});function Nt(n){return n.__forward_ref__=Nt,n.toString=function(){return Rt(this())},n}function Xe(n){return h_(n)?n():n}function h_(n){return"function"==typeof n&&n.hasOwnProperty($w)&&n.__forward_ref__===Nt}class al extends Error{constructor(t,e){super(function(n,t){return`${n?`NG0${n}: `:""}${t}`}(t,e)),this.code=t}}function gt(n){return"string"==typeof n?n:null==n?"":String(n)}function or(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():gt(n)}function Sd(n,t){const e=t?` in ${t}`:"";throw new al("201",`No provider for ${or(n)} found${e}`)}function zr(n,t){null==n&&function(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function se(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Le(n){return{providers:n.providers||[],imports:n.imports||[]}}function ms(n){return p_(n,Jc)||p_(n,Dd)}function p_(n,t){return n.hasOwnProperty(t)?n[t]:null}function Qf(n){return n&&(n.hasOwnProperty(Ed)||n.hasOwnProperty(Zw))?n[Ed]:null}const Jc=un({\u0275prov:un}),Ed=un({\u0275inj:un}),Dd=un({ngInjectableDef:un}),Zw=un({ngInjectorDef:un});var Ze=(()=>((Ze=Ze||{})[Ze.Default=0]="Default",Ze[Ze.Host=1]="Host",Ze[Ze.Self=2]="Self",Ze[Ze.SkipSelf=4]="SkipSelf",Ze[Ze.Optional=8]="Optional",Ze))();let nc;function sa(n){const t=nc;return nc=n,t}function Yf(n,t,e){const i=ms(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Ze.Optional?null:void 0!==t?t:void Sd(Rt(n),"Injector")}function Bo(n){return{toString:n}.toString()}var ao=(()=>((ao=ao||{})[ao.OnPush=0]="OnPush",ao[ao.Default=1]="Default",ao))(),Ri=(()=>
vendor: 4,111 bytes, line 1
1(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(Ri||(Ri={})),Ri))();const ic="undefined"!=typeof globalThis&&globalThis,__="undefined"!=typeof window&&window,y_="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,on=ic||"undefined"!=typeof global&&global||__||y_,ll={},gn=[],Ad=un({\u0275cmp:un}),Xf=un({\u0275dir:un}),Id=un({\u0275pipe:un}),v_=un({\u0275mod:un}),gs=un({\u0275fac:un}),eu=un({__NG_ELEMENT_ID__:un});let iS=0;function lt(n){return Bo(()=>{const e={},i={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===ao.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||gn,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Ri.Emulated,id:"c",styles:n.styles||gn,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.directives,o=n.features,s=n.pipes;return i.id+=iS++,i.inputs=wn(n.inputs,e),i.outputs=wn(n.outputs),o&&o.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(b_):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(C_):null,i})}function b_(n){return ji(n)||function(n){return n[Xf]||null}(n)}function C_(n){return function(n){return n[Id]||null}(n)}const w_={};function $e(n){return Bo(()=>{const t={type:n.type,bootstrap:n.bootstrap||gn,declarations:n.declarations||gn,imports:n.imports||gn,exports:n.exports||gn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(w_[n.id]=n.type),t})}function wn(n,t){if(null==n)return ll;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const Y=lt;function Wn(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function ji(n){return n[Ad]||null}function lo(n,t){const e=n[v_]||null;if(!e&&!0===t)throw new Error(`Type ${Rt(n)} does not have '\u0275mod' property.`);return e}function Mo(n){return Array.isArray(n)&&"object"==typeof n[1]}function Sr(n){return Array.isArray(n)&&!0===n[1]}function ca(n){return 0!=(8&n.flags)}function Md(n){return 2==(2&n.flags)}function ou(n){return 1==(1&n.flags)}function co(n){return null!==n.template}function Jf(n){return 0!=(512&n[2])}function Er(n,t){return n.hasOwnProperty(gs)?n[gs]:null}class ac{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Sn(){return T_}function T_(n){return n.type.prototype.ngOnChanges&&(n.setInput=lc),dS}function dS(){const n=tp(this),t=null==n?void 0:n.current;if(t){const e=n.previous;if(e===ll)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function lc(n,t,e,i){const r=tp(n)||function(n,t){return n[ho]=t}(n,{previous:ll,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],c=s[a];o[a]=new ac(c&&c.currentValue,t,s===ll),n[i]=t}Sn.ngInherit=!0;const ho="__ngSimpleChanges__";function tp(n){return n[ho]||null}const x_="http://www.w3.org/2000/svg";let N;function q(){return void 0!==N?N:"undefined"!=typeof document?document:void 0}function Be(n){return!!n.listen}const nn={createRenderer:(n,t)=>q()};function _t(n){for(;Array.isArray(n);)n=n[0];return n}function ar(n,t){return _t(t[n])}function lr(n,t){return _t(t[n.index])}function ua(n,t){return n.data[t]}function _s(n,t){return n[t]}function $i(n,t){const e=t[n];return Mo(e)?e:e[0]}function sn(n){return 4==(4&n[2])}function rp(n){return 128==(128&n[2])}function To(n,t){return null==t?null:n[t]}function k_(n){n[18]=0}function op(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const yt={lFrame:L_(null),bindingsEnabled:!0,isInCheckNoChangesMo
vendor: 6,112 bytes, line 1
1de:!1};function au(){return yt.bindingsEnabled}function re(){return yt.lFrame.lView}function Qt(){return yt.lFrame.tView}function Ie(n){return yt.lFrame.contextLView=n,n[8]}function Rn(){let n=lu();for(;null!==n&&64===n.type;)n=n.parent;return n}function lu(){return yt.lFrame.currentTNode}function Ho(n,t){const e=yt.lFrame;e.currentTNode=n,e.isParent=t}function ap(){return yt.lFrame.isParent}function cc(){yt.lFrame.isParent=!1}function Rd(){return yt.isInCheckNoChangesMode}function uu(n){yt.isInCheckNoChangesMode=n}function cr(){const n=yt.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Kn(){return yt.lFrame.bindingIndex++}function vs(n){const t=yt.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function gS(n,t){const e=yt.lFrame;e.bindingIndex=e.bindingRootIndex=n,ml(t)}function ml(n){yt.lFrame.currentDirectiveIndex=n}function du(n){const t=yt.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function gl(){return yt.lFrame.currentQueryIndex}function _l(n){yt.lFrame.currentQueryIndex=n}function hu(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function fu(n,t,e){if(e&Ze.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&Ze.Host||(r=hu(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=yt.lFrame=N_();return i.currentTNode=t,i.lView=n,!0}function bs(n){const t=N_(),e=n[1];yt.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function N_(){const n=yt.lFrame,t=null===n?null:n.child;return null===t?L_(n):t}function L_(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function V_(){const n=yt.lFrame;return yt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const B_=V_;function kd(){const n=V_();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Gi(){return yt.lFrame.selectedIndex}function C(n){yt.lFrame.selectedIndex=n}function En(){const n=yt.lFrame;return ua(n.tView,n.selectedIndex)}function hn(){yt.lFrame.currentNamespace=x_}function ft(){yt.lFrame.currentNamespace=null}function Uo(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){const o=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:d,ngOnDestroy:h}=o;s&&(n.contentHooks||(n.contentHooks=[])).push(-e,s),a&&((n.contentHooks||(n.contentHooks=[])).push(e,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(e,a)),c&&(n.viewHooks||(n.viewHooks=[])).push(-e,c),d&&((n.viewHooks||(n.viewHooks=[])).push(e,d),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(e,d)),null!=h&&(n.destroyHooks||(n.destroyHooks=[])).push(e,h)}}function Pd(n,t,e){H_(n,t,3,e)}function Fd(n,t,e,i){(3&n[2])===e&&H_(n,t,e,i)}function hp(n,t){let e=n[2];(3&e)===t&&(e&=2047,e+=1,n[2]=e)}function H_(n,t,e,i){const o=null!=i?i:-1,s=t.length-1;let a=0;for(let c=void 0!==i?65535&n[18]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=i&&a>=i)break}else t[c]<0&&(n[18]+=65536),(a<o||-1==o)&&(bS(n,e,t,c),n[18]=(4294901760&n[18])+c+2),c++}function bS(n,t,e,i){const r=e[i]<0,o=e[i+1],a=n[r?-e[i]:e[i]];if(r){if(n[2]>>11<n[18]>>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class mu{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Nd(n,t,e){const i=Be(n);let r=0;for(;r<e.length;){const o=e[r];if("number"==typeof o){if(0!==o)break;r++;const s=e[r++],a=e[r++],c=e[r++];i?n.setAttribute(t,a,c,s):t.setAttributeNS(s,a,c)}else{const s=o,a=e[++r];ws(s)?i&&n.setProperty(t,s,a):i?n.setAttribute(t,s,a):t.setAttribute(s,a),r++}}return r}function U_(n){return 3===n||4===n||6===n}function ws(n){return 64===n.charCodeAt(0)}function Ld(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?e=r:0===e||j_(n,e,r,null,-1===e||2===e?t[++i]:null)}}return n}function j_(n,t,e,i,r){let o=0,s=n.length;if(-1===t)s=-1;else for(;o<n.length;){const a=n[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<n.length;){const a=n[o];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==r&&(n[o+1]=r));if(i===n[o+1])return void(n[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(n.splice(s,0,t),o=s+1),n.splice(o++,0,e),null!==i&&n.splice(o++,0,i),null!==r&&n.splice(o++,0,r)}function mo(n){return-1!==n}function uc(n){return 32767&n}function dc(n,t){let e=function(n){return n>>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let pp=!0;function Vd(n){const t=pp;return pp=n,t}let AS=0;function Ss(n,t){const e=_p(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,hc(i.data,n),hc(t,null),hc(i.blueprint,null));const r=_u(n,t),o=n.injectorIndex;if(mo(r)){const s=uc(r),a=dc(r,t),c=a[1].data;for(let d=0;d<8;d++)t[o+d]=a[s+d]|c[s+d]}return t[o+8]=r,o}function hc(n,t){n.push(0,0,0,0,0,0,0,0,t)}function _p(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function _u(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){const o=r[1],s=o.type;if(i=2===s?o.declTNode:1===s?r[6]:null,null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Bd(n,t,e){!function(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(eu)&&(i=e[eu]),null==i&&(i=e[eu]=AS++);const r=255&i;t.data[n+(r>>5)]|=1<<r}(n,t,e)}function Hd(n,t,e){if(e&Ze.Optional)return n;Sd(t,"NodeInjector")}function ha(n,t,e,i){if(e&Ze.Optional&&void 0===i&&(i=null),0==(e&(Ze.Self|Ze.Host))){const r=n[9],o=sa(void 0);
vendor: 28,291 bytes, line 1
1try{return r?r.get(t,i,e&Ze.Optional):Yf(t,i,e&Ze.Optional)}finally{sa(o)}}return Hd(i,t,e)}function Gr(n,t,e,i=Ze.Default,r){if(null!==n){const o=function(n){if("string"==typeof n)return n.charCodeAt(0)||0;const t=n.hasOwnProperty(eu)?n[eu]:void 0;return"number"==typeof t?t>=0?255&t:G_:t}(e);if("function"==typeof o){if(!fu(t,n,i))return i&Ze.Host?Hd(r,e,i):ha(t,e,i,r);try{const s=o(i);if(null!=s||i&Ze.Optional)return s;Sd(e)}finally{B_()}}else if("number"==typeof o){let s=null,a=_p(n,t),c=-1,d=i&Ze.Host?t[16][6]:null;for((-1===a||i&Ze.SkipSelf)&&(c=-1===a?_u(n,t):t[a+8],-1!==c&&yu(i,!1)?(s=t[1],a=uc(c),t=dc(c,t)):a=-1);-1!==a;){const h=t[1];if(K_(o,a,h.data)){const p=q_(a,t,e,s,i,d);if(p!==$_)return p}c=t[a+8],-1!==c&&yu(i,t[1].data[a+8]===d)&&K_(o,a,t)?(s=h,a=uc(c),t=dc(c,t)):a=-1}}}return ha(t,e,i,r)}const $_={};function G_(){return new fc(Rn(),re())}function q_(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],h=fa(a,s,e,null==i?Md(a)&&pp:i!=s&&0!=(3&a.type),r&Ze.Host&&o===a);return null!==h?go(t,s,h,a):$_}function fa(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,c=n.directiveStart,h=o>>20,g=r?a+h:n.directiveEnd;for(let _=i?a:a+h;_<g;_++){const v=s[_];if(_<c&&e===v||_>=c&&v.type===e)return _}if(r){const _=s[c];if(_&&co(_)&&_.type===e)return c}return null}function go(n,t,e,i){let r=n[e];const o=t.data;if(function(n){return n instanceof mu}(r)){const s=r;s.resolving&&function(n,t){throw new al("200",`Circular dependency in DI detected for ${n}`)}(or(o[e]));const a=Vd(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?sa(s.injectImpl):null;fu(n,i,Ze.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=T_(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==c&&sa(c),Vd(a),s.resolving=!1,B_()}}return r}function K_(n,t,e){return!!(e[t+(n>>5)]&1<<n)}function yu(n,t){return!(n&Ze.Self||n&Ze.Host&&t)}class fc{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return Gr(this._tNode,this._lView,t,i,e)}}function Mt(n){return Bo(()=>{const t=n.prototype.constructor,e=t[gs]||hi(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[gs]||hi(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function hi(n){return h_(n)?()=>{const t=hi(Xe(n));return t&&t()}:Er(n)}function ur(n){return function(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r<i;){const o=e[r];if(U_(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof e[r];)r++;else{if(o===t)return e[r+1];r+=2}}}return null}(Rn(),n)}const dr="__parameters__";function ga(n,t,e){return Bo(()=>{const i=function(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(c,d,h){const p=c.hasOwnProperty(dr)?c[dr]:Object.defineProperty(c,dr,{value:[]})[dr];for(;p.length<=h;)p.push(null);return(p[h]=p[h]||[]).push(s),c}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class Z{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=se({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const TS=new Z("AnalyzeForEntryComponents");function Ar(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let i=n[e];Array.isArray(i)?(t===n&&(t=n.slice(0,e)),Ar(i,t)):t!==n&&t.push(i)}return t}function zo(n,t){n.forEach(e=>Array.isArray(e)?zo(e,t):t(e))}function pc(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function _a(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Ds(n,t){const e=[];for(let i=0;i<n;i++)e.push(t);return e}function Ir(n,t,e){let i=ya(n,t);return i>=0?n[1|i]=e:(i=~i,function(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function bp(n,t){const e=ya(n,t);if(e>=0)return n[1|e]}function ya(n,t){return function(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<<e];if(t===s)return o<<e;s>t?r=o:i=o+1}return~(r<<e)}(n,t,1)}const Wi={},wp="__NG_DI_FLAG__",Is="ngTempTokenPath",J_=/\n/gm,hr="__source",$o=un({provide:String,useValue:un});let vl;function bl(n){const t=vl;return vl=n,t}function Wd(n,t=Ze.Default){if(void 0===vl)throw new Error("inject() must be called from an injection context");return null===vl?Yf(n,void 0,t):vl.get(n,t&Ze.Optional?null:void 0,t)}function L(n,t=Ze.Default){return(nc||Wd)(Xe(n),t)}const Cu=L;function Ms(n){const t=[];for(let e=0;e<n.length;e++){const i=Xe(n[e]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let r,o=Ze.Default;for(let s=0;s<i.length;s++){const a=i[s],c=va(a);"number"==typeof c?-1===c?r=a.token:o|=c:r=a}t.push(L(r,o))}else t.push(L(i))}return t}function Cl(n,t){return n[wp]=t,n.prototype[wp]=t,n}function va(n){return n[wp]}function ty(n,t,e,i){const r=n[Is];throw t[hr]&&r.unshift(t[hr]),n.message=function(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let r=Rt(t);if(Array.isArray(t))r=t.map(Rt).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Rt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(J_,"\n  ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[Is]=null,n}const wl=Cl(ga("Inject",n=>({token:n})),-1),Ln=Cl(ga("Optional"),8),Mr=Cl(ga("SkipSelf"),4);let xs,Eu;function _c(n){var t;return(null==(t=function(){if(void 0===xs&&(xs=null,on.trustedTypes))try{xs=on.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return xs}())?void 0:t.createHTML(n))||n}function Yd(n){var t;return(null==(t=function(){if(void 0===Eu&&(Eu=null,on.trustedTypes))try{Eu=on.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return Eu}())?void 0:t.createHTML(n))||n}class ba{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Xd extends ba{getTypeName(){return"HTML"}}class dy extends ba{getTypeName(){return"Style"}}class Dp extends ba{getTypeName(){return"Script"}}class jS extends ba{getTypeName(){return"URL"}}class hy extends ba{getTypeName(){return"ResourceURL"}}function Qn(n){return n instanceof ba?n.changingThisBreaksApplicationSecurity:n}function xo(n,t){const e=Ap(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}function Ap(n){return n instanceof ba&&n.getTypeName()||null}class Ip{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(_c(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Mp{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=_c(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=_c(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const s=e.item(r).name;("xmlns:ns1"===s||0===s.indexOf("ns1:"))&&t.removeAttribute(s)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const vc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,eh=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function El(n){return(n=String(n)).match(vc)||n.match(eh)?n:"unsafe:"+n}function Ca(n){return(n=String(n)).split(",").map(t=>El(t.trim())).join(", ")}function Go(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function Dl(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const Tp=Go("area,br,col,hr,img,wbr"),Oi=Go("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),py=Go("rp,rt"),th=Dl(Tp,Dl(Oi,Go("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")),Dl(py,Go("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")),Dl(py,Oi)),xp=Go("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rp=Go("srcset"),Ki=Dl(xp,Rp,Go("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Go("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")),kp=Go("script,style,template");class WS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!th.hasOwnProperty(e))return this.sanitizedSomething=!0,!kp.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!Ki.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;xp[a]&&(c=El(c)),Rp[a]&&(c=Ca(c)),this.buf.push(" ",s,'="',my(c),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();th.hasOwnProperty(e)&&!Tp.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(my(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Op=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,KS=/([^\#-~ |!])/g;function my(n){return n.replace(/&/g,"&amp;").replace(Op,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(KS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Sa;function Pp(n,t){let e=null;try{Sa=Sa||function(n){const t=new Mp(n);return function(){try{return!!(new window.DOMParser).parseFromString(_c(""),"text/html")}catch(n){return!1}}()?new Ip(t):t}(n);let i=t?String(t):"";e=Sa.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Sa.getInertBodyElement(i)}while(i!==o);return _c((new WS).sanitizeChildren(nh(e)||e))}finally{if(e){const i=nh(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function nh(n){return"content"in n&&function(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var rn=(()=>((rn=rn||{})[rn.NONE=0]="NONE",rn[rn.HTML=1]="HTML",rn[rn.STYLE=2]="STYLE",rn[rn.SCRIPT=3]="SCRIPT",rn[rn.URL=4]="URL",rn[rn.RESOURCE_URL=5]="RESOURCE_URL",rn))();function Ea(n){const t=Da();return t?Yd(t.sanitize(rn.HTML,n)||""):xo(n,"HTML")?Yd(Qn(n)):Pp(q(),gt(n))}function ks(n){const t=Da();return t?t.sanitize(rn.URL,n)||"":xo(n,"URL")?Qn(n):El(gt(n))}function Da(){const n=re();return n&&n[12]}const _y="__ngContext__";function Pi(n,t){n[_y]=t}function Vp(n){const t=function(n){return n[_y]||null}(n);return t?Array.isArray(t)?t:t.lView:null}function rh(n){return n.ngOriginalError}function lE(n,...t){n.error(...t)}class qo{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),r=function(n){return n&&n.ngErrorLogger||lE}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),i&&r(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?function(n){return n.ngDebugContext}(t)||this._findContext(rh(t)):null}_findOriginalError(t){let e=t&&rh(t);for(;e&&rh(e);)e=rh(e);return e||null}}const sh=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(on))();function Up(n){return n.ownerDocument.defaultView}function Wo(n){return n instanceof Function?n():n}var Kr=(()=>((Kr=Kr||{})[Kr.Important=1]="Important",Kr[Kr.DashCase=2]="DashCase",Kr))();function zp(n,t){return undefined(n,t)}function Mu(n){const t=n[3];return Sr(t)?t[3]:t}function $p(n){return Ty(n[13])}function Gp(n){return Ty(n[4])}function Ty(n){for(;null!==n&&!Sr(n);)n=n[4];return n}function Al(n,t,e,i,r){if(null!=i){let o,s=!1;Sr(i)?o=i:Mo(i)&&(s=!0,i=i[0]);const a=_t(i);0===n&&null!==e?null==r?Ny(t,e,a):Il(t,e,a,r||null,!0):1===n&&null!==e?Il(t,e,a,r||null,!0):2===n?function(n,t,e){const i=ah(n,t);i&&function(n,t,e,i){Be(n)?n.removeChild(t,e,i):t.removeChild(e)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function(n,t,e,i,r){const o=e[7];o!==_t(e)&&Al(t,n,i,o,r);for(let a=10;a<e.length;a++){const c=e[a];Ru(c[1],c,n,t,i,o)}}(t,n,o,e,r)}}function Wp(n,t,e){return Be(n)?n.createElement(t,e):null===e?n.createElement(t):n.createElementNS(e,t)}function Tu(n,t){const e=n[9],i=e.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,op(r,-1)),e.splice(i,1)}function Kp(n,t){if(n.length<=10)return;const e=10+t,i=n[e];if(i){const r=i[17];null!==r&&r!==n&&Tu(r,i),t>0&&(n[e-1][4]=i[4]);const o=_a(n,10+t);!function(n,t){Ru(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Oy(n,t){if(!(256&t[2])){const e=t[11];Be(e)&&e.destroyNode&&Ru(n,t,e,3,null,null),function(n){let t=n[13];if(!t)return Qp(n[1],n);for(;t;){let e=null;if(Mo(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)Mo(t)&&Qp(t[1],t),t=t[3];null===t&&(t=n),Mo(t)&&Qp(t[1],t),e=t&&t[4]}t=e}}(t)}}function Qp(n,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i<e.length;i+=2){const r=t[e[i]];if(!(r instanceof mu)){const o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],c=o[s+1];try{c.call(a)}finally{}}else try{o.call(r)}finally{}}}}(n,t),function(n,t){const e=n.cleanup,i=t[7];let r=-1;if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const s=e[o+1],a="function"==typeof s?s(t):_t(t[s]),c=i[r=e[o+2]],d=e[o+3];"boolean"==typeof d?a.removeEventListener(e[o],c,d):d>=0?i[r=d]():i[r=-d].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;o<i.length;o++)i[o]();t[7]=null}}(n,t),1===t[1].type&&Be(t[11])&&t[11].destroy();const e=t[17];if(null!==e&&Sr(t[3])){e!==t[3]&&Tu(e,t);const i=t[19];null!==i&&i.detachView(n)}}}function Py(n,t,e){return function(n,t,e){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return e[0];if(2&i.flags){const r=n.data[i.directiveStart].encapsulation;if(r===Ri.None||r===Ri.Emulated)return null}return lr(i,e)}(n,t.parent,e)}function Il(n,t,e,i,r){Be(n)?n.insertBefore(t,e,i,r):t.insertBefore(e,i,r)}function Ny(n,t,e){Be(n)?n.appendChild(t,e):t.appendChild(e)}function Ly(n,t,e,i,r){null!==i?Il(n,t,e,i,r):Ny(n,t,e)}function ah(n,t){return Be(n)?n.parentNode(t):t.parentNode}function Vy(n,t,e){return Hy(n,t,e)}let Hy=function(n,t,e){return 40&n.type?lr(n,e):null};function ch(n,t,e,i){const r=Py(n,i,t),o=t[11],a=Vy(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(e))for(let c=0;c<e.length;c++)Ly(o,r,e[c],a,!1);else Ly(o,r,e,a,!1)}function uh(n,t){if(null!==t){const e=t.type;if(3&e)return lr(t,n);if(4&e)return Xp(-1,n[t.index]);if(8&e){const i=t.child;if(null!==i)return uh(n,i);{const r=n[t.index];return Sr(r)?Xp(-1,r):_t(r)}}if(32&e)return zp(t,n)()||_t(n[t.index]);{const i=Uy(n,t);return null!==i?Array.isArray(i)?i[0]:uh(Mu(n[16]),i):uh(n,t.next)}}return null}function Uy(n,t){return null!==t?n[16][6].projection[t.projection]:null}function Xp(n,t){const e=10+n+1;if(e<t.length){const i=t[e],r=i[1].firstChild;if(null!==r)return uh(i,r)}return t[7]}function Zp(n,t,e,i,r,o,s){for(;null!=e;){const a=i[e.index],c=e.type;if(s&&0===t&&(a&&Pi(_t(a),i),e.flags|=4),64!=(64&e.flags))if(8&c)Zp(n,t,e.child,i,r,o,!1),Al(t,n,r,a,o);else if(32&c){const d=zp(e,i);let h;for(;h=d();)Al(t,n,r,h,o);Al(t,n,r,a,o)}else 16&c?jy(n,t,i,e,r,o):Al(t,n,r,a,o);e=s?e.projectionNext:e.next}}function Ru(n,t,e,i,r,o){Zp(e,i,n.firstChild,t,r,o,!1)}function jy(n,t,e,i,r,o){const s=e[16],c=s[6].projection[i.projection];if(Array.isArray(c))for(let d=0;d<c.length;d++)Al(t,n,r,c[d],o);else Zp(n,t,c,s[3],r,o,!0)}function zy(n,t,e){Be(n)?n.setAttribute(t,"style",e):t.style.cssText=e}function Jp(n,t,e){Be(n)?""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e):t.className=e}function $y(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Gy="ng-template";function dh(n,t,e){let i=0;for(;i<n.length;){let r=n[i++];if(e&&"class"===r){if(r=n[i],-1!==$y(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<n.length&&"string"==typeof(r=n[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function qy(n){return 4===n.type&&n.value!==Gy}function Wy(n,t,e){return t===(4!==n.type||e?n.value:Gy)}function Ky(n,t,e){let i=4;const r=n.attrs||[],o=function(n){for(let t=0;t<n.length;t++)if(U_(n[t]))return t;return n.length}(r);let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&i){if(i=2|1&i,""!==c&&!Wy(n,c,e)||""===c&&1===t.length){if(Qr(i))return!1;s=!0}}else{const d=8&i?c:t[++a];if(8&i&&null!==n.attrs){if(!dh(n.attrs,d,e)){if(Qr(i))return!1;s=!0}continue}const p=Qy(8&i?"class":c,r,qy(n),e);if(-1===p){if(Qr(i))return!1;s=!0;continue}if(""!==d){let g;g=p>o?"":r[p+1].toLowerCase();const _=8&i?g:null;if(_&&-1!==$y(_,d,0)||2&i&&d!==g){if(Qr(i))return!1;s=!0}}}}else{if(!s&&!Qr(i)&&!Qr(c))return!1;if(s&&Qr(c))continue;s=!1,i=c|1&i}}return Qr(i)||s}function Qr(n){return 0==(1&n)}function Qy(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r<t.length;){const s=t[r];if(s===n)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const i=n[e];if("number"==typeof i)return-1;if(i===t)return e;e++}return-1}(t,n)}function em(n,t,e=!1){for(let i=0;i<t.length;i++)if(Ky(n,t[i],e))return!0;return!1}function kE(n,t){e:for(let e=0;e<t.length;e++){const i=t[e];if(n.length===i.length){for(let r=0;r<n.length;r++)if(n[r]!==i[r])continue e;return!0}}return!1}function Zy(n,t){return n?":not("+t.trim()+")":t}function hh(n){let t=n[0],e=1,i=2,r="",o=!1;for(;e<n.length;){let s=n[e];if("string"==typeof s)if(2&i){const a=n[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Qr(s)&&(t+=Zy(o,r),r=""),i=s,o=o||!Qr(i);e++}return""!==r&&(t+=Zy(o,r)),t}const Ct={};function T(n){tm(Qt(),re(),Gi()+n,Rd())}function tm(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&Pd(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Fd(t,o,0,e)}C(e)}function ph(n,t){return n<<17|t<<2}function Ro(n){return n>>17&32767}function nm(n){return 2|n}function Os(n){return(131068&n)>>2}function im(n,t){return-131069&n|t<<2}function rm(n){return 1|n}function sv(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const r=e[i],o=e[i+1];if(-1!==o){const s=n.data[o];_l(r),s.contentQueries(2,t[o],o)}}}function Pu(n,t,e,i,r,o,s,a,c,d){const h=t.blueprint.slice();return h[0]=r,h[2]=140|i,k_(h),h[3]=h[15]=n,h[8]=e,h[10]=s||n&&n[10],h[11]=a||n&&n[11],h[12]=c||n&&n[12]||null,h[9]=d||n&&n[9]||null,h[6]=o,h[16]=2==t.type?n[16]:h,h}function Tl(n,t,e,i,r){let o=n.data[t];if(null===o)o=function(n,t,e,i,r){const o=lu(),s=ap(),c=n.data[t]=function(n,t,e,i,r,o){return{type:e,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,e,t,i,r);return null===n.firstChild&&(n.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c)),c}(n,t,e,i,r),yt.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const s=function(){const n=yt.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Ho(o,!0),o}function vt(n,t,e,i){if(0===e)return-1;const r=t.length;for(let o=0;o<e;o++)t.push(i),n.blueprint.push(i),n.data.push(null);return r}function wc(n,t,e){bs(t);try{const i=n.viewQuery;null!==i&&mm(1,i,e);const r=n.template;null!==r&&lv(n,t,r,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&sv(n,t),n.staticViewQueries&&mm(2,n.viewQuery,e);const o=n.components;null!==o&&function(n,t){for(let e=0;e<t.length;e++)a0(n,t[e])}(t,o)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[2]&=-5,kd()}}function Fi(n,t,e,i){const r=t[2];if(256==(256&r))return;bs(t);const o=Rd();try{k_(t),function(n){yt.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&lv(n,t,e,2,i);const s=3==(3&r);if(!o)if(s){const d=n.preOrderCheckHooks;null!==d&&Pd(t,d,null)}else{const d=n.preOrderHooks;null!==d&&Fd(t,d,0,null),hp(t,0)}if(function(n){for(let t=$p(n);null!==t;t=Gp(t)){if(!t[2])continue;const e=t[9];for(let i=0;i<e.length;i++){const r=e[i],o=r[3];0==(1024&r[2])&&op(o,1),r[2]|=1024}}}(t),function(n){for(let t=$p(n);null!==t;t=Gp(t))for(let e=10;e<t.length;e++){const i=t[e],r=i[1];rp(i)&&Fi(r,i,r.template,i[8])}}(t),null!==n.contentQueries&&sv(n,t),!o)if(s){const d=n.contentCheckHooks;null!==d&&Pd(t,d)}else{const d=n.contentHooks;null!==d&&Fd(t,d,1),hp(t,1)}!function(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const r=e[i];if(r<0)C(~r);else{const o=r,s=e[++i],a=e[++i];gS(s,o),a(2,t[o])}}}finally{C(-1)}}(n,t);const a=n.components;null!==a&&function(n,t){for(let e=0;e<t.length;e++)s0(n,t[e])}(t,a);const c=n.viewQuery;if(null!==c&&mm(2,c,i),!o)if(s){const d=n.viewCheckHooks;null!==d&&Pd(t,d)}else{const d=n.viewHooks;null!==d&&Fd(t,d,2),hp(t,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,op(t[3],-1))}finally{kd()}}function av(n,t,e,i){const r=t[10],o=!Rd(),s=sn(t);try{o&&!s&&r.begin&&r.begin(),s&&wc(n,t,i),Fi(n,t,e,i)}finally{o&&!s&&r.end&&r.end()}}function lv(n,t,e,i,r){const o=Gi(),s=2&i;try{C(-1),s&&t.length>20&&tm(n,t,20,Rd()),e(i,r)}finally{C(o)}}function an(n,t,e){if(ca(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const s=n.data[o];s.contentQueries&&s.contentQueries(1,e[o],o)}}}function lm(n,t,e){!au()||(function(n,t,e,i){const r=e.directiveStart,o=e.directiveEnd;n.firstCreatePass||Ss(e,t),Pi(i,t);const s=e.initialInputs;for(let a=r;a<o;a++){const c=n.data[a],d=co(c);d&&n0(t,e,c);const h=go(t,n,a,e);Pi(h,t),null!==s&&yv(0,a-r,h,c,0,s),d&&($i(e.index,t)[8]=h)}}(n,t,e,lr(e,t)),128==(128&e.flags)&&function(n,t,e){const i=e.directiveStart,r=e.directiveEnd,s=e.index,a=yt.lFrame.currentDirectiveIndex;try{C(s);for(let c=i;c<r;c++){const d=n.data[c],h=t[c];ml(c),(null!==d.hostBindings||0!==d.hostVars||null!==d.hostAttrs)&&pv(d,h)}}finally{C(-1),ml(a)}}(n,t,e))}function yh(n,t,e=lr){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?e(t,n):n[s];n[r++]=a}}}function cm(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=Sc(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):t}function Sc(n,t,e,i,r,o,s,a,c,d){const h=20+i,p=h+r,g=function(n,t){const e=[];for(let i=0;i<t;i++)e.push(i<n?null:Ct);return e}(h,p),_="function"==typeof d?d():d;return g[1]={type:n,blueprint:g,template:e,queries:null,viewQuery:a,declTNode:t,data:g.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:p,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:_,incompleteFirstPass:!1}}function dv(n,t,e,i){const r=wv(t);null===e?r.push(i):(r.push(e),n.firstCreatePass&&Sv(n).push(i,r.length-1))}function hv(n,t,e){for(let i in n)if(n.hasOwnProperty(i)){const r=n[i];(e=null===e?{}:e).hasOwnProperty(i)?e[i].push(t,r):e[i]=[t,r]}return e}function Xr(n,t,e,i,r,o,s,a){const c=lr(t,e);let h,d=t.inputs;!a&&null!=d&&(h=d[i])?(Av(n,e,h,i,r),Md(t)&&function(n,t){const e=$i(t,n);16&e[2]||(e[2]|=64)}(e,t.index)):3&t.type&&(i=function(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=s?s(r,t.value||"",i):r,Be(o)?o.setProperty(c,i,r):ws(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function um(n,t,e,i){let r=!1;if(au()){const o=function(n,t,e){const i=n.directiveRegistry;let r=null;if(i)for(let o=0;o<i.length;o++){const s=i[o];em(e,s.selectors,!1)&&(r||(r=[]),Bd(Ss(e,t),n,s.type),co(s)?(gv(n,e),r.unshift(s)):r.push(s))}return r}(n,t,e),s=null===i?null:{"":-1};if(null!==o){r=!0,dm(e,n.data.length,o.length);for(let h=0;h<o.length;h++){const p=o[h];p.providersResolver&&p.providersResolver(p)}let a=!1,c=!1,d=vt(n,t,o.length,null);for(let h=0;h<o.length;h++){const p=o[h];e.mergedAttrs=Ld(e.mergedAttrs,p.hostAttrs),_v(n,e,t,d,p),t0(d,p,s),null!==p.contentQueries&&(e.flags|=8),(null!==p.hostBindings||null!==p.hostAttrs||0!==p.hostVars)&&(e.flags|=128);const g=p.type.prototype;
vendor: 5,761 bytes, line 1
1!a&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e.index),a=!0),!c&&(g.ngOnChanges||g.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e.index),c=!0),d++}!function(n,t){const i=t.directiveEnd,r=n.data,o=t.attrs,s=[];let a=null,c=null;for(let d=t.directiveStart;d<i;d++){const h=r[d],p=h.inputs,g=null===o||qy(t)?null:r0(p,o);s.push(g),a=hv(p,d,a),c=hv(h.outputs,d,c)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=c}(n,e)}s&&function(n,t,e){if(t){const i=n.localNames=[];for(let r=0;r<t.length;r+=2){const o=e[t[r+1]];if(null==o)throw new al("301",`Export of name '${t[r+1]}' not found!`);i.push(t[r],o)}}}(e,i,s)}return e.mergedAttrs=Ld(e.mergedAttrs,e.attrs),r}function mi(n,t,e,i,r,o){const s=o.hostBindings;if(s){let a=n.hostBindingOpCodes;null===a&&(a=n.hostBindingOpCodes=[]);const c=~t.index;(function(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=c&&a.push(c),a.push(i,r,s)}}function pv(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function gv(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function t0(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;co(t)&&(e[""]=n)}}function dm(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function _v(n,t,e,i,r){n.data[i]=r;const o=r.factory||(r.factory=Er(r.type)),s=new mu(o,co(r),null);n.blueprint[i]=s,e[i]=s,mi(n,t,0,i,vt(n,e,r.hostVars,Ct),r)}function n0(n,t,e){const i=lr(t,n),r=cm(e),o=n[10],s=Ch(n,Pu(n,r,null,e.onPush?64:16,i,t,o,o.createRenderer(i,e),null,null));n[t.index]=s}function Ko(n,t,e,i,r,o){const s=lr(n,t);!function(n,t,e,i,r,o,s){if(null==o)Be(n)?n.removeAttribute(t,r,e):t.removeAttribute(r);else{const a=null==s?gt(o):s(o,i||"",r);Be(n)?n.setAttribute(t,r,a,e):e?t.setAttributeNS(e,r,a):t.setAttribute(r,a)}}(t[11],s,o,n.value,e,i,r)}function yv(n,t,e,i,r,o){const s=o[t];if(null!==s){const a=i.setInput;for(let c=0;c<s.length;){const d=s[c++],h=s[c++],p=s[c++];null!==a?i.setInput(e,p,d,h):e[h]=p}}}function r0(n,t){let e=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;n.hasOwnProperty(r)&&(null===e&&(e=[]),e.push(r,n[r],t[i+1])),i+=2}else i+=2;else i+=4}return e}function vv(n,t,e,i){return new Array(n,!0,!1,t,null,0,i,e,null,null)}function s0(n,t){const e=$i(t,n);if(rp(e)){const i=e[1];80&e[2]?Fi(i,e,i.template,e[8]):e[5]>0&&hm(e)}}function hm(n){for(let i=$p(n);null!==i;i=Gp(i))for(let r=10;r<i.length;r++){const o=i[r];if(1024&o[2]){const s=o[1];Fi(s,o,s.template,o[8])}else o[5]>0&&hm(o)}const e=n[1].components;if(null!==e)for(let i=0;i<e.length;i++){const r=$i(e[i],n);rp(r)&&r[5]>0&&hm(r)}}function a0(n,t){const e=$i(t,n),i=e[1];(function(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])})(i,e),wc(i,e,e[8])}function Ch(n,t){return n[13]?n[14][4]=t:n[13]=t,n[14]=t,t}function wh(n){for(;n;){n[2]|=64;const t=Mu(n);if(Jf(n)&&!t)return n;n=t}return null}function pm(n,t,e){const i=t[10];i.begin&&i.begin();try{Fi(n,t,n.template,e)}catch(r){throw Dv(t,r),r}finally{i.end&&i.end()}}function Cv(n){!function(n){for(let t=0;t<n.components.length;t++){const e=n.components[t],i=Vp(e),r=i[1];av(r,i,r.template,e)}}(n[8])}function mm(n,t,e){_l(0),t(n,e)}const d0=(()=>Promise.resolve(null))();function wv(n){return n[7]||(n[7]=[])}function Sv(n){return n.cleanup||(n.cleanup=[])}function Ev(n,t,e){return(null===n||co(n))&&(e=function(n){for(;Array.isArray(n);){if("object"==typeof n[1])return n;n=n[0]}return null}(e[t.index])),e[11]}function Dv(n,t){const e=n[9],i=e?e.get(qo,null):null;i&&i.handleError(t)}function Av(n,t,e,i,r){for(let o=0;o<e.length;){const s=e[o++],a=e[o++],c=t[s],d=n.data[s];null!==d.setInput?d.setInput(c,r,i,a):c[a]=r}}function Ns(n,t,e){const i=ar(t,n);!function(n,t,e){Be(n)?n.setValue(t,e):t.textContent=e}(n[11],i,e)}function Sh(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=wd(r,a):2==o&&(i=wd(i,a+": "+t[++s]+";"))}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=r:n.classesWithoutHost=r}const Fu=new Z("INJECTOR",-1);class Iv{get(t,e=Wi){if(e===Wi){const i=new Error(`NullInjectorError: No provider for ${Rt(t)}!`);throw i.name="NullInjectorError",i}return e}}const Nu=new Z("Set Injector scope."),Lu={},p0={};let gm;function Mv(){return void 0===gm&&(gm=new Iv),gm}function ym(n,t=null,e=null,i){return new Tv(n,e,t||Mv(),i)}class Tv{constructor(t,e,i,r=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];e&&zo(e,a=>this.processProvider(a,t,e)),zo([t],a=>this.processInjectorType(a,[],o)),this.records.set(Fu,Dc(void 0,this));const s=this.records.get(Nu);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:Rt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Wi,i=Ze.Default){this.assertNotDestroyed();const r=bl(this),o=sa(void 0);try{if(!(i&Ze.SkipSelf)){let a=this.records.get(t);if(void 0===a){const c=function(n){return"function"==typeof n||"object"==typeof n&&n instanceof Z}(t)&&ms(t);a=c&&this.injectableDefInScope(c)?Dc(vm(t),Lu):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&Ze.Self?Mv():this.parent).get(t,e=i&Ze.Optional&&e===Wi?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Is]=s[Is]||[]).unshift(Rt(t)),r)throw s;return ty(s,t,"R3InjectorError",this.source)}throw s}finally{sa(o),bl(r)}}
vendor: 14,984 bytes, line 1
1_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,r)=>t.push(Rt(r))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=Xe(t)))return!1;let r=Qf(t);const o=null==r&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==i.indexOf(s);if(void 0!==o&&(r=Qf(o)),null==r)return!1;if(null!=r.imports&&!a){let h;i.push(s);try{zo(r.imports,p=>{this.processInjectorType(p,e,i)&&(void 0===h&&(h=[]),h.push(p))})}finally{}if(void 0!==h)for(let p=0;p<h.length;p++){const{ngModule:g,providers:_}=h[p];zo(_,v=>this.processProvider(v,g,_||gn))}}this.injectorDefTypes.add(s);const c=Er(s)||(()=>new s);this.records.set(s,Dc(c,Lu));const d=r.providers;if(null!=d&&!a){const h=t;zo(d,p=>this.processProvider(p,h,d))}return void 0!==o&&void 0!==t.providers}processProvider(t,e,i){let r=xa(t=Xe(t))?t:Xe(t&&t.provide);const o=function(n,t,e){return xv(n)?Dc(void 0,n.useValue):Dc(Eh(n),Lu)}(t);if(xa(t)||!0!==t.multi)this.records.get(r);else{let s=this.records.get(r);s||(s=Dc(void 0,Lu,!0),s.factory=()=>Ms(s.multi),this.records.set(r,s)),r=t,s.multi.push(t)}this.records.set(r,o)}hydrate(t,e){return e.value===Lu&&(e.value=p0,e.value=e.factory()),"object"==typeof e.value&&e.value&&function(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Xe(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function vm(n){const t=ms(n),e=null!==t?t.factory:Er(n);if(null!==e)return e;if(n instanceof Z)throw new Error(`Token ${Rt(n)} is missing a \u0275prov definition.`);if(n instanceof Function)return function(n){const t=n.length;if(t>0){const i=Ds(t,"?");throw new Error(`Can't resolve all parameters for ${Rt(n)}: (${i.join(", ")}).`)}const e=function(n){const t=n&&(n[Jc]||n[Dd]);if(t){const e=function(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new Error("unreachable")}function Eh(n,t,e){let i;if(xa(n)){const r=Xe(n);return Er(r)||vm(r)}if(xv(n))i=()=>Xe(n.useValue);else if(function(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Ms(n.deps||[]));else if(function(n){return!(!n||!n.useExisting)}(n))i=()=>L(Xe(n.useExisting));else{const r=Xe(n&&(n.useClass||n.provide));if(!function(n){return!!n.deps}(n))return Er(r)||vm(r);i=()=>new r(...Ms(n.deps))}return i}function Dc(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function xv(n){return null!==n&&"object"==typeof n&&$o in n}function xa(n){return"function"==typeof n}const Dh=function(n,t,e){return function(n,t=null,e=null,i){const r=ym(n,t,e,i);return r._resolveInjectorDefTypes(),r}({name:e},t,n,e)};let Gt=(()=>{class n{static create(e,i){return Array.isArray(e)?Dh(e,i,""):Dh(e.providers,e.parent,e.name||"")}}return n.THROW_IF_NOT_FOUND=Wi,n.NULL=new Iv,n.\u0275prov=se({token:n,providedIn:"any",factory:()=>L(Fu)}),n.__NG_ELEMENT_ID__=-1,n})();function te(n,t){Uo(Vp(n)[1],Rn())}function $(n){let t=function(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let r;if(co(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(e){i.push(r);const s=n;s.inputs=xt(n.inputs),s.declaredInputs=xt(n.declaredInputs),s.outputs=xt(n.outputs);const a=r.hostBindings;a&&Yt(n,a);const c=r.viewQuery,d=r.contentQueries;if(c&&ot(n,c),d&&zt(n,d),Gf(n.inputs,r.inputs),Gf(n.declaredInputs,r.declaredInputs),Gf(n.outputs,r.outputs),co(r)&&r.data.animation){const h=n.data;h.animation=(h.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(n),a===$&&(e=!1)}}t=Object.getPrototypeOf(t)}!function(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ld(r.hostAttrs,e=Ld(e,r.hostAttrs))}}(i)}function xt(n){return n===ll?{}:n===gn?[]:n}function ot(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function zt(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function Yt(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let Fn=null;function Yi(){if(!Fn){const n=on.Symbol;if(n&&n.iterator)Fn=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const i=t[e];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Fn=i)}}}return Fn}function Ac(n){return!!O0(n)&&(Array.isArray(n)||!(n instanceof Map)&&Yi()in n)}function O0(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Ra(n,t,e){return n[t]=e}function kr(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function Bu(n,t,e,i){const r=kr(n,t,e);return kr(n,t+1,i)||r}function pt(n,t,e,i){const r=re();return kr(r,Kn(),t)&&(Qt(),Ko(En(),r,n,t,e,i)),pt}function xh(n,t,e,i){return kr(n,Kn(),e)?t+gt(e)+i:Ct}function Oh(n,t,e,i,r,o,s,a,c,d){const p=function(n,t,e,i,r,o){const s=Bu(n,t,e,i);return Bu(n,t+2,r,o)||s}(n,yt.lFrame.bindingIndex,e,r,s,c);return vs(4),p?t+gt(e)+i+gt(r)+o+gt(s)+a+gt(c)+d:Ct}function W(n,t,e,i,r,o,s,a){const c=re(),d=Qt(),h=n+20,p=d.firstCreatePass?function(n,t,e,i,r,o,s,a,c){const d=t.consts,h=Tl(t,n,4,s||null,To(d,a));um(t,e,h,To(d,c)),Uo(t,h);const p=h.tViews=Sc(2,h,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d);return null!==t.queries&&(t.queries.template(t,h),p.queries=t.queries.embeddedTView(h)),h}(h,d,c,t,e,i,r,o,s):d.data[h];Ho(p,!1);const g=c[11].createComment("");ch(d,c,g,p),Pi(g,c),Ch(c,c[h]=vv(g,c,g,p)),ou(p)&&lm(d,c,p),null!=s&&yh(c,p,a)}function Vn(n){return _s(yt.lFrame.contextLView,20+n)}function b(n,t=Ze.Default){const e=re();return null===e?L(n,t):Gr(Rn(),e,Xe(n),t)}function Ic(){throw new Error("invalid")}function O(n,t,e){const i=re();return kr(i,Kn(),t)&&Xr(Qt(),En(),i,n,t,i[11],e,!1),O}function V0(n,t,e,i,r){const s=r?"class":"style";Av(n,e,t.inputs[s],s,i)}function D(n,t,e,i){const r=re(),o=Qt(),s=20+n,a=r[11],c=r[s]=Wp(a,t,yt.lFrame.currentNamespace),d=o.firstCreatePass?function(n,t,e,i,r,o,s){const a=t.consts,d=Tl(t,n,2,r,To(a,o));return um(t,e,d,To(a,s)),null!==d.attrs&&Sh(d,d.attrs,!1),null!==d.mergedAttrs&&Sh(d,d.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,d),d}(s,o,r,0,t,e,i):o.data[s];Ho(d,!0);const h=d.mergedAttrs;null!==h&&Nd(a,c,h);const p=d.classes;null!==p&&Jp(a,c,p);const g=d.styles;null!==g&&zy(a,c,g),64!=(64&d.flags)&&ch(o,r,c,d),0===yt.lFrame.elementDepthCount&&Pi(c,r),yt.lFrame.elementDepthCount++,ou(d)&&(lm(o,r,d),an(o,d,r)),null!==i&&yh(r,d)}function I(){let n=Rn();ap()?cc():(n=n.parent,Ho(n,!1));const t=n;yt.lFrame.elementDepthCount--;const e=Qt();e.firstCreatePass&&(Uo(e,n),ca(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function(n){return 0!=(16&n.flags)}(t)&&V0(e,t,re(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(n){return 0!=(32&n.flags)}(t)&&V0(e,t,re(),t.stylesWithoutHost,!1)}function we(n,t,e,i){D(n,t,e,i),I()}function mr(n,t,e){const i=re(),r=Qt(),o=n+20,s=r.firstCreatePass?function(n,t,e,i,r){const o=t.consts,s=To(o,i),a=Tl(t,n,8,"ng-container",s);return null!==s&&Sh(a,s,!0),um(t,e,a,To(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,r,i,t,e):r.data[o];Ho(s,!0);const a=i[o]=i[11].createComment("");ch(r,i,a,s),Pi(a,i),ou(s)&&(lm(r,i,s),an(r,s,i)),null!=e&&yh(i,s)}function gr(){let n=Rn();const t=Qt();ap()?cc():(n=n.parent,Ho(n,!1)),t.firstCreatePass&&(Uo(t,n),ca(n)&&t.queries.elementEnd(n))}function qt(){return re()}function Dm(n){return!!n&&"function"==typeof n.then}function e1(n){return!!n&&"function"==typeof n.subscribe}const jv=e1;function he(n,t,e,i){const r=re(),o=Qt(),s=Rn();return t1(o,r,r[11],s,n,t,!!e,i),he}function zv(n,t){const e=Rn(),i=re(),r=Qt();return t1(r,i,Ev(du(r.data),e,i),e,n,t,!1),zv}function t1(n,t,e,i,r,o,s,a){const c=ou(i),h=n.firstCreatePass&&Sv(n),p=t[8],g=wv(t);let _=!0;if(3&i.type||a){const w=lr(i,t),F=a?a(w):w,V=g.length,ie=a?ue=>a(_t(ue[i.index])):i.index;if(Be(e)){let ue=null;if(!a&&c&&(ue=function(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===e&&r[o+1]===i){const a=t[7],c=r[o+2];return a.length>c?a[c]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==ue)(ue.__ngLastListenerFn__||ue).__ngNextListenerFn__=o,ue.__ngLastListenerFn__=o,_=!1;else{o=B0(i,t,p,o,!1);const Ye=e.listen(F,r,o);g.push(o,Ye),h&&h.push(r,ie,V,V+1)}}else o=B0(i,t,p,o,!0),F.addEventListener(r,o,s),g.push(o),h&&h.push(r,ie,V,s)}else o=B0(i,t,p,o,!1);const v=i.outputs;let M;if(_&&null!==v&&(M=v[r])){const w=M.length;if(w)for(let F=0;F<w;F+=2){const en=t[M[F]][M[F+1]].subscribe(o),ln=g.length;g.push(o,en),h&&h.push(r,i.index,ln,-(ln+1))}}}function n1(n,t,e,i){try{return!1!==e(i)}catch(r){return Dv(n,r),!1}}function B0(n,t,e,i,r){return function o(s){if(s===Function)return i;const a=2&n.flags?$i(n.index,t):t;0==(32&t[2])&&wh(a);let c=n1(t,0,i,s),d=o.__ngNextListenerFn__;for(;d;)c=n1(t,0,d,s)&&c,d=d.__ngNextListenerFn__;return r&&!1===c&&(s.preventDefault(),s.returnValue=!1),c}}function P(n=1){return function(n){return(yt.lFrame.contextLView=function(n,t){for(;n>0;)t=t[15],n--;return t}(n,yt.lFrame.contextLView))[8]}(n)}function n3(n,t){let e=null;const i=function(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===i?em(n,o,!0):kE(i,o))return r}else e=r}return e}function kn(n){const t=re()[16][6];if(!t.projection){const i=t.projection=Ds(n?n.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){const s=n?n3(o,n):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function bt(n,t=0,e){const i=re(),r=Qt(),o=Tl(r,20+n,16,null,e||null);null===o.projection&&(o.projection=t),cc(),64!=(64&o.flags)&&function(n,t,e){jy(t[11],0,t,e,Py(n,e,t),Vy(e.parent||t[6],e,t))}(r,i,o)}function Bh(n,t,e){return H0(n,"",t,"",e),Bh}function H0(n,t,e,i,r){const o=re(),s=xh(o,t,e,i);return s!==Ct&&Xr(Qt(),En(),o,n,s,o[11],r,!1),H0}function h1(n,t,e,i,r){const o=n[e+1],s=null===t;let a=i?Ro(o):Os(o),c=!1;for(;0!==a&&(!1===c||s);){const h=n[a+1];s3(n[a],t)&&(c=!0,n[a+1]=i?rm(h):nm(h)),a=i?Ro(h):Os(h)}c&&(n[e+1]=i?nm(o):rm(o))}function s3(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&ya(n,t)>=0}function Li(n,t,e){return Vs(n,t,e,!1),Li}function Dt(n,t){return Vs(n,t,null,!0),Dt}function Vs(n,t,e,i){const r=re(),o=Qt(),s=vs(2);o.firstUpdatePass&&function(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Gi()],s=function(n,t){return t>=n.expandoStartIndex}(n,e);(function(n,t){return 0!=(n.flags&(t?16:32))})(o,i)&&null===t&&!s&&(t=!1),t=function(n,t,e,i){const r=du(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=Am(e=U0(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=U0(r,n,t,e,i),null===o){let c=function(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Os(i))return n[Ro(i)]}(n,t,i);void 0!==c&&Array.isArray(c)&&(c=U0(null,n,t,c[1],i),c=Am(c,t.attrs,i),function(n,t,e,i){n[Ro(e?t.classBindings:t.styleBindings)]=i}(n,t,i,c))}else o=function(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=Am(i,n[o].hostAttrs,e);return Am(i,t.attrs,e)}(n,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),e}(r,o,t,i),function(n,t,e,i,r,o){let s=o?t.classBindings:t.styleBindings,a=Ro(s),c=Os(s);n[i]=e;let h,d=!1;if(Array.isArray(e)){const p=e;h=p[1],(null===h||ya(p,h)>0)&&(d=!0)}else h=e;if(r)if(0!==c){const g=Ro(n[a+1]);n[i+1]=ph(g,a),0!==g&&(n[g+1]=im(n[g+1],i)),n[a+1]=function(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=ph(a,0),0!==a&&(n[a+1]=im(n[a+1],i)),a=i;else n[i+1]=ph(c,0),0===a?a=i:n[c+1]=im(n[c+1],i),c=i;d&&(n[i+1]=nm(n[i+1])),h1(n,h,i,!0),h1(n,h,i,!1),function(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&ya(o,t)>=0&&(e[i+1]=rm(e[i+1]))}(t,h,n,i,o),s=ph(a,c),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}(o,n,s,i),t!==Ct&&kr(r,s,t)&&function(n,t,e,i,r,o,s,a){if(!(3&t.type))return;const c=n.data,d=c[a+1];$v(function(n){return 1==(1&n)}(d)?S1(c,t,e,r,Os(d),s):void 0)||($v(o)||function(n){return 2==(2&n)}(d)&&(o=S1(c,null,e,r,a,s)),function(n,t,e,i,r){const o=Be(n);if(t)r?o?n.addClass(e,i):e.classList.add(i):o?n.removeClass(e,i):e.classList.remove(i);else{let s=-1===i.indexOf("-")?void 0:Kr.DashCase;if(null==r)o?n.removeStyle(e,i,s):e.style.removeProperty(i);else{const a="string"==typeof r&&r.endsWith("!important");a&&(r=r.slice(0,-10),s|=Kr.Important),o?n.setStyle(e,i,r,s):e.style.setProperty(i,r,a?"important":"")}}}(i,s,ar(Gi(),e),r,o))}(o,o.data[Gi()],r,r[11],n,r[s+1]=function(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Rt(Qn(n)))),n}(t,e),i,s)}function U0(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(o=t[a],i=Am(i,o.hostAttrs,r),o!==n);)a++;return null!==n&&(e.directiveStylingLast=a),i}function Am(n,t,e){const i=e?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),Ir(n,s,!!e||t[++o]))}return void 0===n?null:n}function S1(n,t,e,i,r,o){const s=null===t;let a;for(;r>0;){const c=n[r],d=Array.isArray(c),h=d?c[1]:c,p=null===h;let g=e[r+1];g===Ct&&(g=p?gn:void 0);let _=p?bp(g,i):h===i?g:void 0;if(d&&!$v(_)&&(_=bp(c,i)),$v(_)&&(a=_,s))return a;const v=n[r+1];r=s?Ro(v):Os(v)}if(null!==t){let c=o?t.residualClasses:t.residualStyles;null!=c&&(a=bp(c,i))}return a}function $v(n){return void 0!==n}function le(n,t=""){const e=re(),i=Qt(),r=n+20,o=i.firstCreatePass?Tl(i,r,1,t,null):i.data[r],s=e[r]=function(n,t){return Be(n)?n.createText(t):n.createTextNode(t)}(e[11],t);ch(i,e,s,o),Ho(o,!1)}function st(n){return Dn("",n,""),st}function Dn(n,t,e){const i=re(),r=xh(i,n,t,e);return r!==Ct&&Ns(i,Gi(),r),Dn}function Gv(n,t,e,i,r,o,s,a,c){const d=re(),h=Oh(d,n,t,e,i,r,o,s,a,c);return h!==Ct&&Ns(d,Gi(),h),Gv}function Pa(n,t,e){const i=re();return kr(i,Kn(),t)&&Xr(Qt(),En(),i,n,t,i[11],e,!0),Pa}function qv(n,t,e){const i=re();if(kr(i,Kn(),t)){const o=Qt(),s=En();Xr(o,s,i,n,t,Ev(du(o.data),s,i),e,!0)}return qv}const Hu=void 0;var U3=["en",[["a","p"],["AM","PM"],Hu],[["AM","PM"],Hu,Hu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hu,[["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"]],Hu,[["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}",Hu,"{1} 'at' {0}",Hu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Uh={};function to(n){const t=function(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=j1(t);if(e)return e;const i=t.split("-")[0];if(e=j1(i),e)return e;if("en"===i)return U3;throw new Error(`Missing locale data for the locale "${n}".`)}function j1(n){return n in Uh||(Uh[n]=on.ng&&on.ng.common&&on.ng.common.locales&&on.ng.common.locales[n]),Uh[n]}var ke=(()=>((ke=ke||{})[ke.LocaleId=0]="LocaleId",ke[ke.DayPeriodsFormat=1]="DayPeriodsFormat",ke[ke.DayPeriodsStandalone=2]="DayPeriodsStandalone",ke[ke.DaysFormat=3]="DaysFormat",ke[ke.DaysStandalone=4]="DaysStandalone",ke[ke.MonthsFormat=5]="MonthsFormat",ke[ke.MonthsStandalone=6]="MonthsStandalone",ke[ke.Eras=7]="Eras",ke[ke.FirstDayOfWeek=8]="FirstDayOfWeek",ke[ke.WeekendRange=9]="WeekendRange",ke[ke.DateFormat=10]="DateFormat",ke[ke.TimeFormat=11]="TimeFormat",ke[ke.DateTimeFormat=12]="DateTimeFormat",ke[ke.NumberSymbols=13]="NumberSymbols",ke[ke.NumberFormats=14]="NumberFormats",ke[ke.CurrencyCode=15]="CurrencyCode",ke[ke.CurrencySymbol=16]="CurrencySymbol",ke[ke.CurrencyName=17]="CurrencyName",ke[ke.Currencies=18]="Currencies",ke[ke.Directionality=19]="Directionality",ke[ke.PluralCase=20]="PluralCase",ke[ke.ExtraData=21]="ExtraData",ke))();const Wv="en-US";let z1=Wv;function $0(n,t,e,i,r){if(n=Xe(n),Array.isArray(n))for(let o=0;o<n.length;o++)$0(n[o],t,e,i,r);else{const o=Qt(),s=re();let a=xa(n)?n:Xe(n.provide),c=Eh(n);const d=Rn(),h=1048575&d.providerIndexes,p=d.directiveStart,g=d.providerIndexes>>20;if(xa(n)||!n.multi){const _=new mu(c,r,b),v=q0(a,t,r?h:h+g,p);-1===v?(Bd(Ss(d,s),o,a),G0(o,n,t.length),t.push(a),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),e.push(_),s.push(_)):(e[v]=_,s[v]=_)}else{const _=q0(a,t,h+g,p),v=q0(a,t,h,h+g),M=_>=0&&e[_],w=v>=0&&e[v];if(r&&!w||!r&&!M){Bd(Ss(d,s),o,a);const F=function(n,t,e,i,r){const o=new mu(n,e,b);return o.multi=[],o.index=t,o.componentProviders=0,fR(o,r,i&&!e),o}(r?HH:BH,e.length,r,i,c);!r&&w&&(e[v].providerFactory=F),G0(o,n,t.length,0),t.push(a),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),e.push(F),s.push(F)}else G0(o,n,_>-1?_:v,fR(e[r?v:_],c,!r&&i));!r&&i&&w&&e[v].componentProviders++}}}function G0(n,t,e,i){const r=xa(t);if(r||function(n){return!!n.useClass}(t)){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const a=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const c=a.indexOf(e);-1===c?a.push(e,[i,s]):a[c+1].push(i,s)}else a.push(e,s)}}}function fR(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function q0(n,t,e,i){for(let r=e;r<i;r++)if(t[r]===n)return r;return-1}function BH(n,t,e,i){return W0(this.multi,[])}function HH(n,t,e,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=go(e,e[1],this.providerFactory.index,i);o=a.slice(0,s),W0(r,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],W0(r,o);return o}function W0(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function qe(n,t=[]){return e=>{e.providersResolver=(i,r)=>function(n,t,e){const i=Qt();if(i.firstCreatePass){const r=co(n);$0(e,i.data,i.blueprint,r,!0),$0(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class pR{}const gR="ngComponent";class zH{resolveComponentFactory(t){throw function(n){const t=Error(`No component factory found for ${Rt(n)}. Did you add it to @NgModule.entryComponents?`);return t[gR]=n,t}(t)}}let Hs=(()=>{class n{}return n.NULL=new zH,n})();function Zv(...n){}function zh(n,t){return new He(lr(n,t))}const qH=function(){return zh(Rn(),re())};let He=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=qH,n})();function _R(n){return n instanceof He?n.nativeElement:n}class Mc{}let xl=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>KH(),n})();const KH=function(){const n=re(),e=$i(Rn().index,n);return function(n){return n[11]}(Mo(e)?e:n)};let Q0=(()=>{class n{}return n.\u0275prov=se({token:n,providedIn:"root",factory:()=>null}),n})();class Rl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Y0=new Rl("13.0.0"),$h={};function Jv(n,t,e,i,r=!1){for(;null!==e;){const o=t[e.index];if(null!==o&&i.push(_t(o)),Sr(o))for(let a=10;a<o.length;a++){const c=o[a],d=c[1].firstChild;null!==d&&Jv(c[1],c,d,i)}const s=e.type;if(8&s)Jv(n,t,e.child,i);else if(32&s){const a=zp(e,t);let c;for(;c=a();)i.push(c)}else if(16&s){const a=Uy(t,e);if(Array.isArray(a))i.push(...a);else{const c=Mu(t[16]);Jv(c[1],c,a,i,!0)}}e=r?e.projectionNext:e.next}return i}class Rm{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Jv(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Sr(t)){const e=t[8],i=e?e.indexOf(this):-1;i>-1&&(Kp(t,i),_a(e,i))}this._attachedToViewContainer=!1}Oy(this._lView[1],this._lView)}onDestroy(t){dv(this._lView[1],this._lView,null,t)}markForCheck(){wh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){pm(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(n,t,e){uu(!0);try{pm(n,t,e)}finally{uu(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function(n,t){Ru(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a Vie
1wContainer!");this._appRef=t}}class XH extends Rm{constructor(t){super(t),this._view=t}detectChanges(){Cv(this._view)}checkNoChanges(){!function(n){uu(!0);try{Cv(n)}finally{uu(!1)}}(this._view)}get context(){return null}}class yR extends Hs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ji(t);return new X0(e,this.ngModule)}}function vR(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}const JH=new Z("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>sh});class X0 extends pR{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function(n){return n.map(hh).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return vR(this.componentDef.inputs)}get outputs(){return vR(this.componentDef.outputs)}create(t,e,i,r){const o=(r=r||this.ngModule)?function(n,t){return{get:(e,i,r)=>{const o=n.get(e,$h,r);return o!==$h||i===$h?o:t.get(e,i,r)}}}(t,r.injector):t,s=o.get(Mc,nn),a=o.get(Q0,null),c=s.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",h=i?function(n,t,e){if(Be(n))return n.selectRootElement(t,e===Ri.ShadowDom);let i="string"==typeof t?n.querySelector(t):t;return i.textContent="",i}(c,i,this.componentDef.encapsulation):Wp(s.createRenderer(null,this.componentDef),d,function(n){const t=n.toLowerCase();return"svg"===t?x_:"math"===t?"http://www.w3.org/1998/MathML/":null}(d)),p=this.componentDef.onPush?576:528,g=function(n,t){return{components:[],scheduler:n||sh,clean:d0,playerHandler:t||null,flags:0}}(),_=Sc(0,null,null,1,0,null,null,null,null,null),v=Pu(null,_,g,p,null,null,s,c,a,o);let M,w;bs(v);try{const F=function(n,t,e,i,r,o){const s=e[1];e[20]=n;const c=Tl(s,20,2,"#host",null),d=c.mergedAttrs=t.hostAttrs;null!==d&&(Sh(c,d,!0),null!==n&&(Nd(r,n,d),null!==c.classes&&Jp(r,n,c.classes),null!==c.styles&&zy(r,n,c.styles)));const h=i.createRenderer(n,t),p=Pu(e,cm(t),null,t.onPush?64:16,e[20],c,i,h,o||null,null);return s.firstCreatePass&&(Bd(Ss(c,e),s,t.type),gv(s,c),dm(c,e.length,1)),Ch(e,p),e[20]=p}(h,this.componentDef,v,s,c);if(h)if(i)Nd(c,h,["ng-version",Y0.full]);else{const{attrs:V,classes:ie}=function(n){const t=[],e=[];let i=1,r=2;for(;i<n.length;){let o=n[i];if("string"==typeof o)2===r?""!==o&&t.push(o,n[++i]):8===r&&e.push(o);else{if(!Qr(r))break;r=o}i++}return{attrs:t,classes:e}}(this.componentDef.selectors[0]);V&&Nd(c,h,V),ie&&ie.length>0&&Jp(c,h,ie.join(" "))}if(w=ua(_,20),void 0!==e){const V=w.projection=[];for(let ie=0;ie<this.ngContentSelectors.length;ie++){const ue=e[ie];V.push(null!=ue?Array.from(ue):null)}}M=function(n,t,e,i,r){const o=e[1],s=function(n,t,e){const i=Rn();n.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),_v(n,i,t,vt(n,t,1,null),e));const r=go(t,n,i.directiveStart,i);Pi(r,t);const o=lr(i,t);return o&&Pi(o,t),r}(o,e,t);if(i.components.push(s),n[8]=s,r&&r.forEach(c=>c(s,t)),t.contentQueries){const c=Rn();t.contentQueries(1,s,c.directiveStart)}const a=Rn();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(C(a.index),mi(e[1],a,0,a.directiveStart,a.directiveEnd,t),pv(t,s)),s}(F,this.componentDef,v,g,[te]),wc(_,v,null)}finally{kd()}return new nU(this.componentType,M,zh(w,v),v,w)}}class nU extends class{}{constructor(t,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=e,this.hostView=this.changeDetectorRef=new XH(r),this.componentType=t}get injector(){return new fc(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Fa{}class bR{}const Gh=new Map;class wR extends Fa{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new yR(this);const i=lo(t);this._bootstrapComponents=Wo(i.bootstrap),this._r3Injector=ym(t,e,[{provide:Fa,useValue:this},{provide:Hs,useValue:this.componentFactoryResolver}],Rt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Gt.THROW_IF_NOT_FOUND,i=Ze.Default){return t===Gt||t===Fa||t===Fu?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;
vendor: 8,794 bytes, line 1
1!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class J0 extends bR{constructor(t){super(),this.moduleType=t,null!==lo(t)&&function(n){const t=new Set;!function e(i){const r=lo(i,!0),o=r.id;null!==o&&(function(n,t,e){if(t&&t!==e)throw new Error(`Duplicate module registered for ${n} - ${Rt(t)} vs ${Rt(t.name)}`)}(o,Gh.get(o),i),Gh.set(o,i));const s=Wo(r.imports);for(const a of s)t.has(a)||(t.add(a),e(a))}(n)}(t)}create(t){return new wR(this.moduleType,t)}}function Oo(n,t,e,i){return SR(re(),cr(),n,t,e,i)}function km(n,t){const e=n[t];return e===Ct?void 0:e}function SR(n,t,e,i,r,o){const s=t+e;return kr(n,s,r)?Ra(n,s+1,o?i.call(o,r):i(r)):km(n,s+1)}function DR(n,t,e,i,r,o,s,a){const c=t+e;return function(n,t,e,i,r){const o=Bu(n,t,e,i);return kr(n,t+2,r)||o}(n,c,r,o,s)?Ra(n,c+3,a?i.call(a,r,o,s):i(r,o,s)):km(n,c+3)}function pe(n,t){const e=Qt();let i;const r=n+20;e.firstCreatePass?(i=function(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}throw new al("302",`The pipe '${n}' could not be found!`)}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Er(i.type)),s=sa(b);try{const a=Vd(!1),c=o();return Vd(a),function(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,re(),r,c),c}finally{sa(s)}}function Te(n,t,e){const i=n+20,r=re(),o=_s(r,i);return Om(r,i)?SR(r,cr(),t,o.transform,e,o):o.transform(e)}function _r(n,t,e,i){const r=n+20,o=re(),s=_s(o,r);return Om(o,r)?function(n,t,e,i,r,o,s){const a=t+e;return Bu(n,a,r,o)?Ra(n,a+2,s?i.call(s,r,o):i(r,o)):km(n,a+2)}(o,cr(),t,s.transform,e,i,s):s.transform(e,i)}function eD(n,t,e,i,r){const o=n+20,s=re(),a=_s(s,o);return Om(s,o)?DR(s,cr(),t,a.transform,e,i,r,a):a.transform(e,i,r)}function Om(n,t){return n[1].data[t].pure}function tD(n){return t=>{setTimeout(n,void 0,t)}}const Ue=class extends De{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var c,d,h;let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const p=t;r=null==(c=p.next)?void 0:c.bind(p),o=null==(d=p.error)?void 0:d.bind(p),s=null==(h=p.complete)?void 0:h.bind(p)}this.__isAsync&&(o=tD(o),r&&(r=tD(r)),s&&(s=tD(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof R&&t.add(a),a}};function yU(){return this._results[Yi()]()}class kl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Yi(),i=kl.prototype;i[e]||(i[e]=yU)}get changes(){return this._changes||(this._changes=new Ue)}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,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=Ar(t);(this._changesDetected=!function(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],o=t[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}(i._results,r,e))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;const bU=function(){return eb(Rn(),re())};let gi=(()=>{class n{}return n.__NG_ELEMENT_ID__=bU,n})();const CU=gi,wU=class extends CU{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=Pu(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(e)),wc(e,i,t),new Rm(i)}};function eb(n,t){return 4&n.type?new wU(t,n,zh(n,t)):null}const DU=function(){return xR(Rn(),re())};let _i=(()=>{class n{}return n.__NG_ELEMENT_ID__=DU,n})();const IU=_i,MR=class extends IU{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return zh(this._hostTNode,this._hostLView)}get injector(){return new fc(this._hostTNode,this._hostLView)}get parentInjector(){const t=_u(this._hostTNode,this._hostLView);if(mo(t)){const e=dc(t,this._hostLView),i=uc(t);return new fc(e[1].data[i+8],e)}return new fc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=TR(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){const r=t.createEmbeddedView(e||{});return this.insert(r,i),r}createComponent(t,e,i,r,o){const s=t&&!function(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const p=e||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.ngModuleRef}const c=s?t:new X0(ji(t)),d=i||this.parentInjector;if(!o&&null==c.ngModule&&d){const p=d.get(Fa,null);p&&(o=p)}const h=c.create(d,r,void 0,o);return this.insert(h.hostView,a),h}insert(t,e){const i=t._lView,r=i[1];if(function(n){return Sr(n[3])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const p=i[3],g=new MR(p,p[6],p[3]);g.detach(g.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i<o-10?(t[4]=e[r],pc(e,10+i,t)):(e.push(t),t[4]=null),t[3]=e;const s=t[17];null!==s&&e!==s&&function(n,t){const e=n[9];t[16]!==t[3][3][16]&&(n[2]=!0),null===e?n[9]=[t]:e.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(n),t[2]|=128}(r,i,s,o);const a=Xp(o,s),c=i[11],d=ah(c,s[7]);return null!==d&&function(n,t,e,i,r,o){i[0]=r,i[6]=t,Ru(n,i,e,1,r,o)}(r,s[6],c,i,d,a),t.attachToViewContainerRef(),pc(nD(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=TR(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),i=Kp(this._lContainer,e);i&&(_a(nD(this._lContainer),e),Oy(i[1],i))}detach(t){const e=this._adjustIndex(t,-1),i=Kp(this._lContainer,e);return i&&null!=_a(nD(this._lContainer),e)?new Rm(i):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function TR(n){return n[8]}function nD(n){return n[8]||(n[8]=[])}function xR(n,t){let e;const i=t[n.index];if(Sr(i))e=i;else{let r;if(8&n.type)r=_t(i);else{const o=t[11];r=o.createComment("");const s=lr(n,t);Il(o,ah(o,s),r,function(n,t){return Be(n)?n.nextSibling(t):t.nextSibling}(o,s),!1)}t[n.index]=e=vv(i,t,r,n),Ch(t,e)}return new MR(e,n,t)}class iD{constructor(t){this.queryList=t,this.matches=null}clone(){return new iD(this.queryList)}setDirty(){this.queryList.setDirty()}}class rD{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){const s=e.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new rD(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==FR(t,e).matches&&this.queries[e].setDirty()}}class RR{constructor(t,e,i=null){this.predicate=t,this.flags=e,this.read=i}}class oD{constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){const r=null!==e?e.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==e?e.push(o):e=[o])}return null!==e?new oD(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class sD{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new sD(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}
1matchTNode(t,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,e,xU(e,o)),this.matchTNodeWithReadOption(t,e,fa(e,t,o,!1,!1))}else i===gi?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,fa(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===He||r===_i||r===gi&&4&e.type)this.addMatch(e.index,-2);else{const o=fa(e,t,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function xU(n,t){const e=n.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1];return null}function kU(n,t,e,i){return-1===e?function(n,t){return 11&n.type?zh(n,t):4&n.type?eb(n,t):null}(t,n):-2===e?function(n,t,e){return e===He?zh(t,n):e===gi?eb(t,n):e===_i?xR(t,n):void 0}(n,t,i):go(n,n[1],e,t)}function kR(n,t,e,i){const r=t[19].queries[i];if(null===r.matches){const o=n.data,s=e.matches,a=[];for(let c=0;c<s.length;c+=2){const d=s[c];a.push(d<0?null:kU(t,o[d],s[c+1],e.metadata.read))}r.matches=a}return r.matches}function aD(n,t,e,i){const r=n.queries.getByIndex(e),o=r.matches;if(null!==o){const s=kR(n,t,r,e);for(let a=0;a<o.length;a+=2){const c=o[a];if(c>0)i.push(s[a/2]);else{const d=o[a+1],h=t[-c];for(let p=10;p<h.length;p++){const g=h[p];g[17]===g[3]&&aD(g[1],g,d,i)}if(null!==h[9]){const p=h[9];for(let g=0;g<p.length;g++){const _=p[g];aD(_[1],_,d,i)}}}}}return i}function ye(n){const t=re(),e=Qt(),i=gl();_l(i+1);const r=FR(e,i);if(n.dirty&&sn(t)===(2==(2&r.metadata.flags))){if(null===r.matches)n.reset([]);else{const o=r.crossesNgTemplate?aD(e,t,i,[]):kR(e,t,r,i);n.reset(o,_R),n.notifyOnChanges()}return!0}return!1}function Vt(n,t,e){const i=Qt();i.firstCreatePass&&(PR(i,new RR(n,t,e),-1),2==(2&t)&&(i.staticViewQueries=!0)),OR(i,re(),t)}function kt(n,t,e,i){const r=Qt();if(r.firstCreatePass){const o=Rn();PR(r,new RR(t,e,i),o.index),function(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(r,n),2==(2&e)&&(r.staticContentQueries=!0)}OR(r,re(),e)}function ve(){return function(n,t){return n[19].queries[t].queryList}(re(),gl())}function OR(n,t,e){const i=new kl(4==(4&e));dv(n,t,i,i.destroy),null===t[19]&&(t[19]=new rD),t[19].queries.push(new iD(i))}function PR(n,t,e){null===n.queries&&(n.queries=new oD),n.queries.track(new sD(t,e))}function FR(n,t){return n.queries.getByIndex(t)}const Fm=new Z("Application Initializer");let Wh=(()=>{class n{constructor(e){this.appInits=e,this.resolve=Zv,this.reject=Zv,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(Dm(o))e.push(o);else if(jv(o)){const s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(L(Fm,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const Nm=new Z("AppId"),u4={provide:Nm,useFactory:function(){return`${fD()}${fD()}${fD()}`},deps:[]};function fD(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const JR=new Z("Platform Initializer"),Lm=new Z("Platform ID"),ek=new Z("appBootstrapListener");let ib=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const yr=new Z("LocaleId"),tk=new Z("DefaultCurrencyCode");class h4{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const pD=function(n){return new J0(n)},f4=pD,p4=function(n){return Promise.resolve(pD(n))},ik=function(n){const t=pD(n),i=Wo(lo(n).declarations).reduce((r,o)=>{const s=ji(o);return s&&r.push(new X0(s)),r},[]);return new h4(t,i)},m4=ik,g4=function(n){return Promise.resolve(ik(n))};let rb=(()=>{class n{constructor(){this.compileModuleSync=f4,this.compileModuleAsync=p4,this.compileModuleAndAllComponentsSync=m4,this.compileModuleAndAllComponentsAsync=g4}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const v4=(()=>Promise.resolve(0))();function mD(n){"undefined"==typeof Zone?v4.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class dt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}
vendor: 20,103 bytes, line 1
1){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let n=on.requestAnimationFrame,t=on.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(n){const t=()=>{!function(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(on,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,_D(n),n.isCheckStableRunning=!0,gD(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),_D(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return rk(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),ok(n)}},onInvoke:(e,i,r,o,s,a,c)=>{try{return rk(n),e.invoke(r,o,s,a,c)}finally{n.shouldCoalesceRunChangeDetection&&t(),ok(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,_D(n),gD(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!dt.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(dt.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,C4,Zv,Zv);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const C4={};function gD(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function _D(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function rk(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function ok(n){n._nesting--,gD(n)}class E4{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}let yD=(()=>{class n{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{dt.assertNotInAngularZone(),mD(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())mD(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!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(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(L(dt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),sk=(()=>{class n{constructor(){this._applications=new Map,vD.addToWindow(this)}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return vD.findTestabilityInTree(this,e,i)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class D4{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let vD=new D4,ak=!0,lk=!1;let Us;const uk=new Z("AllowMultipleToken");class bD{constructor(t,e){this.name=t,this.token=e}}function dk(n,t,e=[]){const i=`Platform: ${t}`,r=new Z(i);return(o=[])=>{let s=hk();if(!s||s.injector.get(uk,!1))if(n)n(e.concat(o).concat({provide:r,useValue:!0}));else{const a=e.concat(o).concat({provide:r,useValue:!0},{provide:Nu,useValue:"platform"});!function(n){if(Us&&!Us.destroyed&&!Us.injector.get(uk,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Us=n.get(fk);const t=n.get(JR,null);t&&t.forEach(e=>e())}(Gt.create({providers:a,name:i}))}return function(n){const t=hk();if(!t)throw new Error("No platform exists!");if(!t.injector.get(n,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function hk(){return Us&&!Us.destroyed?Us:null}let fk=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const a=function(n,t){let e;return e="noop"===n?new E4:("zone.js"===n?void 0:n)||new dt({enableLongStackTrace:(lk=!0,ak),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),e}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),c=[{provide:dt,useValue:a}];return a.run(()=>{const d=Gt.create({providers:c,parent:this.injector,name:e.moduleType.name}),h=e.create(d),p=h.injector.get(qo,null);if(!p)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const g=a.onError.subscribe({next:_=>{p.handleError(_)}});h.onDestroy(()=>{CD(this._modules,h),g.unsubscribe()})}),function(n,t,e){try{const i=e();return Dm(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(p,a,()=>{const g=h.injector.get(Wh);return g.runInitializers(),g.donePromise.then(()=>(function(n){zr(n,"Expected localeId to be defined"),"string"==typeof n&&(z1=n.toLowerCase().replace(/_/g,"-"))}(h.injector.get(yr,Wv)||Wv),this._moduleDoBootstrap(h),h))})})}bootstrapModule(e,i=[]){const r=pk({},i);return function(n,t,e){const i=new J0(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Tc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${Rt(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(L(Gt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();function pk(n,t){return Array.isArray(t)?t.reduce(pk,n):Ce(Ce({},n),t)}let Tc=(()=>{class n{constructor(e,i,r,o,s){this._zone=e,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new Et(d=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{d.next(this._stable),d.complete()})}),c=new Et(d=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{dt.assertNotInAngularZone(),mD(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,d.next(!0))})})});const p=this._zone.onUnstable.subscribe(()=>{dt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{d.next(!1)}))});return()=>{h.unsubscribe(),p.unsubscribe()}});this.isStable=xi(a,c.pipe(d_()))}bootstrap(e,i){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let r;r=e instanceof pR?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(r.componentType);const o=function(n){return n.isBoundToModule}(r)?void 0:this._injector.get(Fa),a=r.create(Gt.NULL,[],i||r.selector,o),c=a.location.nativeElement,d=a.injector.get(yD,null),h=d&&a.injector.get(sk);return d&&h&&h.registerApplication(c,d),a.onDestroy(()=>{this.detachView(a.hostView),CD(this.components,a),h&&h.unregisterApplication(c)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;CD(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ek,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(e){return new(e||n)(L(dt),L(Gt),L(qo),L(Hs),L(Wh))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();function CD(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const H4=function(n){return function(n,t,e){if(Md(n)&&!e){const i=$i(n.index,t);return new Rm(i,i)}return 47&n.type?new Rm(t[16],t):null}(Rn(),re(),16==(16&n))};let _n=(()=>{class n{}return n.__NG_ELEMENT_ID__=H4,n})();class Ck{constructor(){}supports(t){return Ac(t)}create(t){return new J4(t)}}const Z4=(n,t)=>t;class J4{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Z4}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex<Sk(i,r,o)?e:i,a=Sk(s,r,o),c=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{o||(o=[]);const d=a-r,h=c-r;if(d!=h){for(let g=0;g<d;g++){const _=g<o.length?o[g]:o[g]=0,v=_+g;h<=v&&v<d&&(o[g]=_+1)}o[s.previousIndex]=h-d}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Ac(t))throw new Error(`Error trying to diff '${Rt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,s,e=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,s,a),i=!0),e=e._next}else r=0,function(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[Yi()]();let i;for(;!(i=e.next()).done;)t(i.value)}}(t,a=>{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new e5(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new wk),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wk),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class e5{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class t5{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class wk{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new t5,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sk(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+t+r}class Ek{constructor(){}supports(t){return t instanceof Map||O0(t)}create(){return new n5}}class n5{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;
1e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||O0(t)))throw new Error(`Error trying to diff '${Rt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new r5(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class r5{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Dk(){return new Na([new Ck])}let Na=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||Dk()),deps:[[n,new Mr,new Ln]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(n){return n.name||typeof n}(e)}'`)}}return n.\u0275prov=se({token:n,providedIn:"root",factory:Dk}),n})();function Ak(){return new Kh([new Ek])}let Kh=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||Ak()),deps:[[n,new Mr,new Ln]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return n.\u0275prov=se({token:n,providedIn:"root",factory:Ak}),n})();const s5=[new Ek],l5=new Na([new Ck]),c5=new Kh(s5),u5=dk(null,"core",[{provide:Lm,useValue:"unknown"},{provide:fk,deps:[Gt]},{provide:sk,deps:[]},{provide:ib,deps:[]}]),m5=[{provide:Tc,useClass:Tc,deps:[dt,Gt,qo,Hs,Wh]},{provide:JH,deps:[dt],useFactory:function(n){let t=[];return n.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Wh,useClass:Wh,deps:[[new Ln,Fm]]},{provide:rb,useClass:rb,deps:[]},u4,{provide:Na,useFactory:function(){return l5},deps:[]},{provide:Kh,useFactory:function(){return c5},deps:[]},{provide:yr,useFactory:function(n){return n||"undefined"!=typeof $localize&&$localize.locale||Wv},deps:[[new wl(yr),new Ln,new Mr]]},{provide:tk,useValue:"USD"}];let _5=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(L(Tc))},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:m5}),n})(),yb=null;function La(){return yb}const tt=new Z("DocumentToken");let Gu=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:function(){return L(uO)},providedIn:"platform"}),n})();const hj=new Z("Location Initialized");let uO=(()=>{class n extends Gu{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return La().getBaseHref(this._doc)}onPopState(e){const i=La().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=La().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,i,r){dO()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){dO()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:function(){return new uO(L(tt))},providedIn:"platform"}),n})();function dO(){return!!window.history.pushState}function QD(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function hO(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Pl(n){return n&&"?"!==n[0]?"?"+n:n}let ef=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:function(){return function(n){const t=L(tt).location;return new fO(L(Gu),t&&t.origin||"")}()},providedIn:"root"}),n})();const YD=new Z("appBaseHref");let fO=(()=>{class n extends ef{constructor(e,i){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==i&&(i=this._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=i}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
1HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return QD(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Pl(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Pl(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Pl(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null==(r=(i=this._platformLocation).historyGo)||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(L(Gu),L(YD,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),mj=(()=>{class n extends ef{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=QD(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Pl(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Pl(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,r;null==(r=(i=this._platformLocation).historyGo)||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(L(Gu),L(YD,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),kc=(()=>{class n{constructor(e,i){this._subject=new Ue,this._urlChangeListeners=[],this._platformStrategy=e;const r=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=hO(pO(r)),this._platformStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Pl(i))}normalize(e){return n.stripTrailingSlash(function(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,pO(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._platformStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Pl(i)),r)}replaceState(e,i="",r=null){this._platformStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Pl(i)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var i,r;null==(r=(i=this._platformStrategy).historyGo)||r.call(i,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}))}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Pl,n.joinWithSlash=QD,n.stripTrailingSlash=hO,n.\u0275fac=function(e){return new(e||n)(L(ef),L(Gu))},n.\u0275prov=se({token:n,factory:function(){return new kc(L(ef),L(Gu))},providedIn:"root"}),n})();function pO(n){return n.replace(/\/index.html$/,"")}var yo=(()=>((yo=yo||{})[yo.Decimal=0]="Decimal",yo[yo.Percent=1]="Percent",yo[yo.Currency=2]="Currency",yo[yo.Scientific=3]="Scientific",yo))(),Si=(()=>((Si=Si||{})[Si.Zero=0]="Zero",Si[Si.One=1]="One",Si[Si.Two=2]="Two",Si[Si.Few=3]="Few",Si[Si.Many=4]="Many",Si[Si.Other=5]="Other",Si))(),ht=(()=>((ht=ht||{})[ht.Decimal=0]="Decimal",ht[ht.Group=1]="Group",ht[ht.List=2]="List",ht[ht.PercentSign=3]="PercentSign",ht[ht.PlusSign=4]="PlusSign",ht[ht.MinusSign=5]="MinusSign",ht[ht.Exponential=6]="Exponential",ht[ht.SuperscriptingExponent=7]="SuperscriptingExponent",ht[ht.PerMille=8]="PerMille",ht[ht.Infinity=9]="Infinity",ht[ht.NaN=10]="NaN",ht[ht.TimeSeparator=11]="TimeSeparator",ht[ht.CurrencyDecimal=12]="CurrencyDecimal",ht[ht.CurrencyGroup=13]="CurrencyGroup",ht))();function Jo(n,t){const e=to(n),i=e[ke.NumberSymbols][t];if(void 0===i){if(t===ht.CurrencyDecimal)return e[ke.NumberSymbols][ht.Decimal];if(t===ht.CurrencyGroup)return e[ke.NumberSymbols][ht.Group]}return i}const Ej=function(n){return to(n)[ke.PluralCase]},zj=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function rA(n){const t=parseInt(n);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+n);return t}class Mb{}let Jj=(()=>{class n extends Mb{constructor(e){super(),this.locale=e}getPluralCategory(e,i){switch(Ej(i||this.locale)(e)){case Si.Zero:return"zero";case Si.One:return"one";case Si.Two:return"two";case Si.Few:return"few";case Si.Many:return"many";default:return"other"}}}return n.\u0275fac=function(e){return new(e||n)(L(yr))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();function SO(n,t,e){return function(n,t,e){"string"!=typeof t&&(e=t,t=n[ke.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Uh[t]=n,e&&(Uh[t][ke.ExtraData]=e)}(n,t,e)}function EO(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}let tf=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Ac(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Rt(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>
vendor: 7,090 bytes, line 1
1this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(b(Na),b(Kh),b(He),b(xl))},n.\u0275dir=Y({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n})();class t6{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}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 Xm=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(n){return n.name||typeof n}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=[];e.forEachOperation((r,o,s)=>{if(null==r.previousIndex){const a=this._viewContainer.createEmbeddedView(this._template,new t6(null,this._ngForOf,-1,-1),null===s?void 0:s),c=new DO(r,a);i.push(c)}else if(null==s)this._viewContainer.remove(null===o?void 0:o);else if(null!==o){const a=this._viewContainer.get(o);this._viewContainer.move(a,s);const c=new DO(r,a);i.push(c)}});for(let r=0;r<i.length;r++)this._perViewChange(i[r].view,i[r].record);for(let r=0,o=this._viewContainer.length;r<o;r++){const s=this._viewContainer.get(r);s.context.index=r,s.context.count=o,s.context.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{this._viewContainer.get(r.currentIndex).context.$implicit=r.item})}_perViewChange(e,i){e.context.$implicit=i.item}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(b(_i),b(gi),b(Na))},n.\u0275dir=Y({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),n})();class DO{constructor(t,e){this.record=t,this.view=e}}let ts=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new r6,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){AO("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){AO("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(b(_i),b(gi))},n.\u0275dir=Y({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class r6{constructor(){this.$implicit=null,this.ngIf=null}}function AO(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Rt(t)}'.`)}class oA{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let nf=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i<this._defaultViews.length;i++)this._defaultViews[i].enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),n})(),Tb=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new oA(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(b(_i),b(gi),b(nf,9))},n.\u0275dir=Y({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),n})();function Ws(n,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Rt(n)}'`)}class c6{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class u6{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}onDestroy(t){}}const d6=new u6,h6=new c6;let rf=(()=>{class n{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Dm(e))return d6;if(e1(e))return h6;throw Ws(n,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(b(_n,16))},n.\u0275pipe=Wn({name:"async",type:n,pure:!1}),n})(),sA=(()=>{class n{constructor(e){this._locale=e}transform(e,i,r){if(!function(n){return!(null==n||""===n||n!=n)}(e))return null;r=r||this._locale;try{return function(n,t,e){return function(n,t,e,i,r,o,s=!1){let a="",c=!1;if(isFinite(n)){let d=function(n){let i,r,o,s,a,t=Math.abs(n)+"",e=0;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(o=t.search(/e/i))>
10?(r<0&&(r=o),r+=+t.slice(o+1),t=t.substring(0,o)):r<0&&(r=t.length),o=0;"0"===t.charAt(o);o++);if(o===(a=t.length))i=[0],r=1;else{for(a--;"0"===t.charAt(a);)a--;for(r-=o,i=[],s=0;o<=a;o++,s++)i[s]=Number(t.charAt(o))}return r>22&&(i=i.splice(0,21),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}(n);s&&(d=function(n){if(0===n.digits[0])return n;const t=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===t?n.digits.push(0,0):1===t&&n.digits.push(0),n.integerLen+=2),n}(d));let h=t.minInt,p=t.minFrac,g=t.maxFrac;if(o){const V=o.match(zj);if(null===V)throw new Error(`${o} is not a valid digit info`);const ie=V[1],ue=V[3],Ye=V[5];null!=ie&&(h=rA(ie)),null!=ue&&(p=rA(ue)),null!=Ye?g=rA(Ye):null!=ue&&p>g&&(g=p)}!function(n,t,e){if(t>e)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${e}).`);let i=n.digits,r=i.length-n.integerLen;const o=Math.min(Math.max(t,r),e);let s=o+n.integerLen,a=i[s];if(s>0){i.splice(Math.max(n.integerLen,s));for(let p=s;p<i.length;p++)i[p]=0}else{r=Math.max(0,r),n.integerLen=1,i.length=Math.max(1,s=o+1),i[0]=0;for(let p=1;p<s;p++)i[p]=0}if(a>=5)if(s-1<0){for(let p=0;p>s;p--)i.unshift(0),n.integerLen++;i.unshift(1),n.integerLen++}else i[s-1]++;for(;r<Math.max(0,o);r++)i.push(0);let c=0!==o;const d=t+n.integerLen,h=i.reduceRight(function(p,g,_,v){return v[_]=(g+=p)<10?g:g-10,c&&(0===v[_]&&_>=d?v.pop():c=!1),g>=10?1:0},0);h&&(i.unshift(h),n.integerLen++)}(d,p,g);let _=d.digits,v=d.integerLen;const M=d.exponent;let w=[];for(c=_.every(V=>!V);v<h;v++)_.unshift(0);for(;v<0;v++)_.unshift(0);v>0?w=_.splice(v,_.length):(w=_,_=[0]);const F=[];for(_.length>=t.lgSize&&F.unshift(_.splice(-t.lgSize,_.length).join(""));_.length>t.gSize;)F.unshift(_.splice(-t.gSize,_.length).join(""));_.length&&F.unshift(_.join("")),a=F.join(Jo(e,i)),w.length&&(a+=Jo(e,r)+w.join("")),M&&(a+=Jo(e,ht.Exponential)+"+"+M)}else a=Jo(e,ht.Infinity);return a=n<0&&!c?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(n,function(n,t="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=n.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],a=s[0],c=s[1]||"";e.posPre=a.substr(0,a.indexOf("#"));for(let h=0;h<c.length;h++){const p=c.charAt(h);"0"===p?e.minFrac=e.maxFrac=h+1:"#"===p?e.maxFrac=h+1:e.posSuf+=p}const d=a.split(",");if(e.gSize=d[1]?d[1].length:0,e.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,o){const h=r.length-e.posPre.length-e.posSuf.length,p=o.indexOf("#");e.negPre=o.substr(0,p).replace(/'/g,""),e.negSuf=o.substr(p+h).replace(/'/g,"")}else e.negPre=t+e.posPre,e.negSuf=e.posSuf;return e}(function(n,t){return to(n)[ke.NumberFormats][t]}(t,yo.Decimal),Jo(t,ht.MinusSign)),t,ht.Group,ht.Decimal,e)}(function(n){if("string"==typeof n&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if("number"!=typeof n)throw new Error(`${n} is not a number`);return n}(e),r,i)}catch(o){throw Ws(n,o.message)}}}return n.\u0275fac=function(e){return new(e||n)(b(yr,16))},n.\u0275pipe=Wn({name:"number",type:n,pure:!0}),n})();let vr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[{provide:Mb,useClass:Jj}]}),n})();const TO="browser";let k6=(()=>{class n{}return n.\u0275prov=se({token:n,providedIn:"root",factory:()=>new O6(L(tt),window)}),n})();class O6{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=xO(this.window.history)||xO(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function xO(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class RO{}class cA extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function(n){yb||(yb=n)}(new cA)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(Zm=Zm||document.querySelector("base"),Zm?Zm.getAttribute("href"):null);return null==e?null:function(n){xb=xb||document.createElement("a"),xb.setAttribute("href",n);const t=xb.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Zm=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return EO(document.cookie,t)}}let xb,Zm=null;
vendor: 5,022 bytes, line 1
1const kO=new Z("TRANSITION_ID"),B6=[{provide:Fm,useFactory:function(n,t,e){return()=>{e.get(Wh).donePromise.then(()=>{const i=La(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o<r.length;o++)i.remove(r[o])})}},deps:[kO,tt,Gt],multi:!0}];class uA{static init(){!function(n){vD=n}(new uA)}addToWindow(t){on.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},on.getAllAngularTestabilities=()=>t.getAllTestabilities(),on.getAllAngularRootElements=()=>t.getAllRootElements(),on.frameworkStabilizers||(on.frameworkStabilizers=[]),on.frameworkStabilizers.push(i=>{const r=on.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(c){s=s||c,o--,0==o&&i(s)};r.forEach(function(c){c.whenStable(a)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:i?La().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let H6=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const Jm=new Z("EventManagerPlugins");let kb=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o<r.length;o++){const s=r[o];if(s.supports(e))return this._eventNameToPlugin.set(e,s),s}throw new Error(`No event manager plugin found for event ${e}`)}}return n.\u0275fac=function(e){return new(e||n)(L(Jm),L(dt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class dA{constructor(t){this._doc=t}addGlobalEventListener(t,e,i){const r=La().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,i)}}let PO=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),eg=(()=>{class n extends PO{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(FO),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(FO))}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();function FO(n){La().remove(n)}const hA={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/"},fA=/%COMP%/g;function Ob(n,t,e){for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?Ob(n,r,e):(r=r.replace(fA,n),e.push(r))}return e}function VO(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Pb=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new pA(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Ri.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new tz(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case Ri.ShadowDom:return new nz(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=Ob(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(L(kb),L(eg),L(Nm))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class pA{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(hA[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}
1" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=hA[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=hA[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Kr.DashCase|Kr.Important)?t.style.setProperty(e,i,r&Kr.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Kr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,VO(i)):this.eventManager.addEventListener(t,e,VO(i))}}class tz extends pA{constructor(t,e,i,r){super(t),this.component=i;const o=Ob(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function(n){return"_ngcontent-%COMP%".replace(fA,n)}(r+"-"+i.id),this.hostAttr=function(n){return"_nghost-%COMP%".replace(fA,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class nz extends pA{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ob(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let iz=(()=>{class n extends dA{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const UO=["alt","control","meta","shift"],uz={"\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"},jO={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},dz={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let hz=(()=>{class n extends dA{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>La().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="";if(UO.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const a={};return a.domEventName=r,a.fullKey=s,a}static getEventFullKey(e){let i="",r=function(n){let t=n.key;if(null==t){if(t=n.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===n.location&&jO.hasOwnProperty(t)&&(t=jO[t]))}return uz[t]||t}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),UO.forEach(o=>{o!=r&&dz[o](e)&&(i+=o+".")}),i+=r,i}static eventCallback(e,i,r){return o=>{n.getEventFullKey(o)===e&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),sf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:function(e){let i=null;return i=e?new(e||n):L(gA),i},providedIn:"root"}),n})(),gA=(()=>{class n extends sf{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case rn.NONE:return i;case rn.HTML:return xo(i,"HTML")?Qn(i):Pp(this._doc,String(i)).toString();case rn.STYLE:return xo(i,"Style")?Qn(i):i;case rn.SCRIPT:if(xo(i,"Script"))return Qn(i);throw new Error("unsafe value used in a script context");
1case rn.URL:return Ap(i),xo(i,"URL")?Qn(i):El(String(i));case rn.RESOURCE_URL:if(xo(i,"ResourceURL"))return Qn(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function(n){return new Xd(n)}(e)}bypassSecurityTrustStyle(e){return function(n){return new dy(n)}(e)}bypassSecurityTrustScript(e){return function(n){return new Dp(n)}(e)}bypassSecurityTrustUrl(e){return function(n){return new jS(n)}(e)}bypassSecurityTrustResourceUrl(e){return function(n){return new hy(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:function(e){let i=null;return i=e?new e:function(n){return new gA(n.get(tt))}(L(Gt)),i},providedIn:"root"}),n})();const yz=[{provide:Lm,useValue:TO},{provide:JR,useValue:function(){cA.makeCurrent(),uA.init()},multi:!0},{provide:tt,useFactory:function(){return function(n){N=n}(document),document},deps:[]}],bz=dk(u5,"browser",yz),Cz=[[],{provide:Nu,useValue:"root"},{provide:qo,useFactory:function(){return new qo},deps:[]},{provide:Jm,useClass:iz,multi:!0,deps:[tt,dt,Lm]},{provide:Jm,useClass:hz,multi:!0,deps:[tt]},[],{provide:Pb,useClass:Pb,deps:[kb,eg,Nm]},{provide:Mc,useExisting:Pb},{provide:PO,useExisting:eg},{provide:eg,useClass:eg,deps:[tt]},{provide:yD,useClass:yD,deps:[dt]},{provide:kb,useClass:kb,deps:[Jm,dt]},{provide:RO,useClass:H6,deps:[]},[]];let zO=(()=>{class n{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:n,providers:[{provide:Nm,useValue:e.appId},{provide:kO,useExisting:Nm},B6]}}}return n.\u0275fac=function(e){return new(e||n)(L(n,12))},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:Cz,imports:[vr,_5]}),n})(),_A=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:function(e){let i=null;return i=e?new e:new _A(L(tt)),i},providedIn:"root"}),n})();function vA(...n){if(1===n.length){const t=n[0];if(ce(t))return Fb(t,null);if(me(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Fb(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Fb(n=1===n.length&&ce(n[0])?n[0]:n,null).pipe(rt(e=>t(...e)))}return Fb(n,null)}function Fb(n,t){return new Et(e=>{const i=n.length;if(0===i)return void e.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a<i;a++){const c=jt(n[a]);let d=!1;e.add(c.subscribe({next:h=>{d||(d=!0,s++),r[a]=h},error:h=>e.error(h),complete:()=>{o++,(o===i||!d)&&(s===i&&e.next(t?t.reduce((h,p,g)=>(h[p]=r[g],h),{}):r),e.complete())}}))}})}"undefined"!=typeof window&&window,U(984);let GO=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(b(xl),b(He))},n.\u0275dir=Y({type:n}),n})(),qu=(()=>{class n extends GO{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275dir=Y({type:n,features:[$]}),n})();const Fr=new Z("NgValueAccessor"),xz={provide:Fr,useExisting:Nt(()=>Wu),multi:!0},kz=new Z("CompositionEventMode");let Wu=(()=>{class n extends GO{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const n=La()?La().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":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)}}return n.\u0275fac=function(e){return new(e||n)(b(xl),b(He),b(kz,8))},n.\u0275dir=Y({type:n,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(e,i){1&e&&he("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[qe([xz]),$]}),n})();function Pc(n){return null==n||0===n.length}function WO(n){return null!=n&&"number"==typeof n.length}const Bi=new Z("NgValidators"),Fc=new Z("NgAsyncValidators"),Oz=/^(?=.{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 bA{static min(t){return function(n){return t=>{if(Pc(t.value)||Pc(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function(n){return t=>{if(Pc(t.value)||Pc(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function(n){return Pc(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function(n){return Pc(n.value)||Oz.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function(n){return t=>Pc(t.value)||!WO(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function(n){return t=>WO(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function(n){if(!n)return Nl;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(Pc(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return aP(t)}static composeAsync(t){return lP(t)}}function Nl(n){return null}function nP(n){return null!=n}function iP(n){const t=Dm(n)?jt(n):n;return jv(t),t}function rP(n){let t={};
1return n.forEach(e=>{t=null!=e?Ce(Ce({},t),e):t}),0===Object.keys(t).length?null:t}function oP(n,t){return t.map(e=>e(n))}function sP(n){return n.map(t=>function(n){return!n.validate}(t)?t:e=>t.validate(e))}function aP(n){if(!n)return null;const t=n.filter(nP);return 0==t.length?null:function(e){return rP(oP(e,t))}}function CA(n){return null!=n?aP(sP(n)):null}function lP(n){if(!n)return null;const t=n.filter(nP);return 0==t.length?null:function(e){return vA(oP(e,t).map(iP)).pipe(rt(rP))}}function wA(n){return null!=n?lP(sP(n)):null}function cP(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function uP(n){return n._rawValidators}function dP(n){return n._rawAsyncValidators}function SA(n){return n?Array.isArray(n)?n:[n]:[]}function Nb(n,t){return Array.isArray(n)?n.includes(t):n===t}function hP(n,t){const e=SA(t);return SA(n).forEach(r=>{Nb(e,r)||e.push(r)}),e}function fP(n,t){return SA(t).filter(e=>!Nb(n,e))}class pP{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=CA(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=wA(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class ro extends pP{get formDirective(){return null}get path(){return null}}class Va extends pP{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mP{constructor(t){this._cd=t}is(t){var e,i,r;return"submitted"===t?!!(null==(e=this._cd)?void 0:e.submitted):!!(null==(r=null==(i=this._cd)?void 0:i.control)?void 0:r[t])}}let tg=(()=>{class n extends mP{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(b(Va,2))},n.\u0275dir=Y({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Dt("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[$]}),n})(),gP=(()=>{class n extends mP{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(b(ro,10))},n.\u0275dir=Y({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Dt("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))("ng-submitted",i.is("submitted"))},features:[$]}),n})();function ng(n,t){AA(n,t),t.valueAccessor.writeValue(n.value),function(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&_P(n,t)})}(n,t),function(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)}
1)}(n,t),function(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&_P(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Bb(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Ub(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Hb(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function AA(n,t){const e=uP(n);null!==t.validator?n.setValidators(cP(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=dP(n);null!==t.asyncValidator?n.setAsyncValidators(cP(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Hb(t._rawValidators,r),Hb(t._rawAsyncValidators,r)}function Ub(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=uP(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=dP(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return Hb(t._rawValidators,i),Hb(t._rawAsyncValidators,i),e}function _P(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function yP(n,t){AA(n,t)}function IA(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function vP(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function MA(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Wu?e=o:function(n){return Object.getPrototypeOf(n.constructor)===qu}(o)?i=o:r=o}),r||i||e||null}function jb(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const ig="VALID",zb="INVALID",af="PENDING",rg="DISABLED";function TA(n){return(RA(n)?n.validators:n)||null}function bP(n){return Array.isArray(n)?CA(n):n||null}function xA(n,t){return(RA(t)?t.asyncValidators:n)||null}function CP(n){return Array.isArray(n)?wA(n):n||null}function RA(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class kA{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=bP(this._rawValidators),this._composedAsyncValidatorFn=CP(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ig}get invalid(){return this.status===zb}get pending(){return this.status==af}get disabled(){return this.status===rg}get enabled(){return this.status!==rg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=bP(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=CP(t)}addValidators(t){this.setValidators(hP(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(hP(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(fP(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(fP(t,this._rawAsyncValidators))}hasValidator(t){return Nb(this._rawValidators,t)}hasAsyncValidator(t){return Nb(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
vendor: 8,550 bytes, line 1
1),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=af,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=rg,this.errors=null,this._forEachChild(i=>{i.disable(Ti(Ce({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ti(Ce({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ig,this._forEachChild(i=>{i.enable(Ti(Ce({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Ti(Ce({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ig||this.status===af)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?rg:ig}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=af,this._hasOwnPendingAsyncValidator=!0;const e=iP(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(n,t,e){if(null==t||(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length))return null;let i=n;return t.forEach(r=>{i=i instanceof OA?i.controls.hasOwnProperty(r)?i.controls[r]:null:i instanceof qz&&i.at(r)||null}),i}(this,t)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ue,this.statusChanges=new Ue}_calculateStatus(){return this._allControlsDisabled()?rg:this.errors?zb:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(af)?af:this._anyControlsHaveStatus(zb)?zb:ig}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){RA(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Nc extends kA{constructor(t=null,e,i){super(TA(e),xA(i,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){jb(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){jb(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class OA extends kA{constructor(t,e,i){super(TA(e),xA(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e instanceof Nc?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&t(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,i)=>((e.enabled||this.disabled)&&(t[i]=e.value),t))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}
1_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class qz extends kA{constructor(t,e,i){super(TA(e),xA(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((i,r)=>{this._throwIfControlMissing(r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof Nc?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,i)=>{if(void 0===t[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const Wz={provide:ro,useExisting:Nt(()=>lf)},og=(()=>Promise.resolve(null))();let lf=(()=>{class n extends ro{constructor(e,i){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new Ue,this.form=new OA({},CA(e),wA(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){og.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ng(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){og.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),jb(this._directives,e)})}addFormGroup(e){og.then(()=>{const i=this._findContainer(e.path),r=new OA({});yP(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){og.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){og.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,vP(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(b(Bi,10),b(Fc,10))},n.\u0275dir=Y({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&he("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qe([Wz]),$]}),n})();const Qz={provide:Va,useExisting:Nt(()=>$b)},EP=(()=>Promise.resolve(null))();let $b=(()=>{class n extends Va{constructor(e,i,r,o){super(),this.control=new Nc,this._registered=!1,this.update=new Ue,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=MA(0,o)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),IA(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function(n,t){return[...t.path,n]}(this.name,this._parent):[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(){ng(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){EP.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=""===i||i&&"false"!==i;EP.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable()})}}return n.\u0275fac=function(e){return new(e||n)(b(ro,9),b(Bi,10),b(Fc,10),b(Fr,10))},n.\u0275dir=Y({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[qe([Qz]),$,Sn]}),n})(),DP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),IP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})();const PA=new Z("NgModelWithFormControlWarning"),e$={provide:Va,useExisting:Nt(()=>Gb)};let Gb=(()=>{class n extends Va{constructor(e,i,r,o){super(),this._ngModelWarningConfig=o,this.update=new Ue,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=MA(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&Bb(i,this,!1),ng(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}IA(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&Bb(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")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(b(Bi,10),b(Fc,10),b(Fr,10),b(PA,8))},n.\u0275dir=Y({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[qe([e$]),$,Sn]}),n})();const t$={provide:ro,useExisting:Nt(()=>sg)};let sg=(()=>{class n extends ro{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ue,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ub(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 i=this.form.get(e.path);return ng(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}
vendor: 4,885 bytes, line 1
1removeControl(e){Bb(e.control||null,e,!1),jb(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,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,vP(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(Bb(i||null,e),r instanceof Nc&&(ng(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);yP(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function(n,t){return Ub(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){AA(this.form,this),this._oldForm&&Ub(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(b(Bi,10),b(Fc,10))},n.\u0275dir=Y({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&he("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qe([t$]),$,Sn]}),n})(),zP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[IP]]}),n})(),v$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[zP]}),n})(),b$=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:PA,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[zP]}),n})();function Se(...n){let t=n[n.length-1];return Jl(t)?(n.pop(),rl(n,t)):ol(n)}function Lc(n,t){return qn(n,t,1)}function vn(n,t){return function(i){return i.lift(new C$(n,t))}}class C${constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new w$(t,this.predicate,this.thisArg))}}class w$ extends _e{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}class $P{}class GP{}class Ll{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Ll?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Ll;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Ll?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEac
vendor: 8,027 bytes, line 1
1h(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class S${encodeKey(t){return qP(t)}encodeValue(t){return qP(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const D$=/%(\d[a-f0-9])/gi,A$={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function qP(n){return encodeURIComponent(n).replace(D$,(t,e)=>{var i;return null!=(i=A$[e])?i:t})}function WP(n){return`${n}`}class Vc{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new S$,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Vc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(WP(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(WP(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class I${constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function KP(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function QP(n){return"undefined"!=typeof Blob&&n instanceof Blob}function YP(n){return"undefined"!=typeof FormData&&n instanceof FormData}class ag{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Ll),this.context||(this.context=new I$),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+s}}else this.params=new Vc,this.urlWithParams=e}serializeBody(){return null===this.body?null:KP(this.body)||QP(this.body)||YP(this.body)||function(n){return"undefined"!=typeof URLSearchParams&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Vc?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||YP(this.body)?null:QP(this.body)?this.body.type||null:KP(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Vc?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var p;const e=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let c=t.headers||this.headers,d=t.params||this.params;const h=null!=(p=t.context)?p:this.context;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((g,_)=>g.set(_,t.setHeaders[_]),c)),t.setParams&&(d=Object.keys(t.setParams).reduce((g,_)=>g.set(_,t.setParams[_]),d)),new ag(e,i,o,{params:d,headers:c,context:h,reportProgress:a,responseType:r,withCredentials:s})}}var Di=(()=>((Di=Di||{})[Di.Sent=0]="Sent",Di[Di.UploadProgress=1]="UploadProgress",Di[Di.ResponseHeader=2]="ResponseHeader",Di[Di.DownloadProgress=3]="DownloadProgress",Di[Di.Response=4]="Response",Di[Di.User=5]="User",Di))();class HA{constructor(t,e=200,i="OK"){this.headers=t.headers||new Ll,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class UA extends HA{constructor(t={}){super(t),this.type=Di.ResponseHeader}clone(t={}){return new UA({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Wb extends HA{constructor(t={}){super(t),this.type=Di.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Wb({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class XP extends HA{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function jA(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let lg=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ag)o=e;else{let c,d;c=r.headers instanceof Ll?r.headers:new Ll(r.headers),r.params&&(d=r.params instanceof Vc?r.params:new Vc({fromObject:r.params})),o=new ag(e,i,void 0!==r.body?r.body:null,{headers:c,context:r.context,params:d,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=Se(o).pipe(Lc(c=>this.handler.handle(c)));if(e instanceof ag||"events"===r.observe)return s;const a=s.pipe(vn(c=>c instanceof Wb));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(rt(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(rt(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(rt(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(rt(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}
vendor: 14,704 bytes, line 1
1){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Vc).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,jA(r,i))}post(e,i,r={}){return this.request("POST",e,jA(r,i))}put(e,i,r={}){return this.request("PUT",e,jA(r,i))}}return n.\u0275fac=function(e){return new(e||n)(L($P))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class ZP{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const zA=new Z("HTTP_INTERCEPTORS");let x$=(()=>{class n{intercept(e,i){return i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const R$=/^\)\]\}',?\n/;let JP=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Et(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((_,v)=>r.setRequestHeader(_,v.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const _=e.detectContentTypeHeader();null!==_&&r.setRequestHeader("Content-Type",_)}if(e.responseType){const _=e.responseType.toLowerCase();r.responseType="json"!==_?_:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const _=1223===r.status?204:r.status,v=r.statusText||"OK",M=new Ll(r.getAllResponseHeaders()),w=function(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new UA({headers:M,status:_,statusText:v,url:w}),s},c=()=>{let{headers:_,status:v,statusText:M,url:w}=a(),F=null;204!==v&&(F=void 0===r.response?r.responseText:r.response),0===v&&(v=F?200:0);let V=v>=200&&v<300;if("json"===e.responseType&&"string"==typeof F){const ie=F;F=F.replace(R$,"");try{F=""!==F?JSON.parse(F):null}catch(ue){F=ie,V&&(V=!1,F={error:ue,text:F})}}V?(i.next(new Wb({body:F,headers:_,status:v,statusText:M,url:w||void 0})),i.complete()):i.error(new XP({error:F,headers:_,status:v,statusText:M,url:w||void 0}))},d=_=>{const{url:v}=a(),M=new XP({error:_,status:r.status||0,statusText:r.statusText||"Unknown Error",url:v||void 0});i.error(M)};let h=!1;const p=_=>{h||(i.next(a()),h=!0);let v={type:Di.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(v.total=_.total),"text"===e.responseType&&!!r.responseText&&(v.partialText=r.responseText),i.next(v)},g=_=>{let v={type:Di.UploadProgress,loaded:_.loaded};_.lengthComputable&&(v.total=_.total),i.next(v)};return r.addEventListener("load",c),r.addEventListener("error",d),r.addEventListener("timeout",d),r.addEventListener("abort",d),e.reportProgress&&(r.addEventListener("progress",p),null!==o&&r.upload&&r.upload.addEventListener("progress",g)),r.send(o),i.next({type:Di.Sent}),()=>{r.removeEventListener("error",d),r.removeEventListener("abort",d),r.removeEventListener("load",c),r.removeEventListener("timeout",d),e.reportProgress&&(r.removeEventListener("progress",p),null!==o&&r.upload&&r.upload.removeEventListener("progress",g)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(L(RO))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const $A=new Z("XSRF_COOKIE_NAME"),GA=new Z("XSRF_HEADER_NAME");class eF{}let O$=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=EO(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(L(tt),L(Lm),L($A))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),qA=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(L(eF),L(GA))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),P$=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(zA,[]);this.chain=i.reduceRight((r,o)=>new ZP(r,o),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(L(GP),L(Gt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),F$=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:qA,useClass:x$}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:$A,useValue:e.cookieName}:[],e.headerName?{provide:GA,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[qA,{provide:zA,useExisting:qA,multi:!0},{provide:eF,useClass:O$},{provide:$A,useValue:"XSRF-TOKEN"},{provide:GA,useValue:"X-XSRF-TOKEN"}]}),n})(),N$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[lg,{provide:$P,useClass:P$},JP,{provide:GP,useExisting:JP}],imports:[[F$.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),n})();class L$ extends R{constructor(t,e){super()}schedule(t,e=0){return this}}class Kb extends L${constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let tF=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,r){return new this.SchedulerAction(this,e).schedule(r,i)}}return n.now=()=>Date.now(),n})();class Ks extends tF{constructor(t,e=tF.now){super(t,()=>Ks.delegate&&Ks.delegate!==this?Ks.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return Ks.delegate&&Ks.delegate!==this?Ks.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const H$=new class extends Ks{}(class extends Kb{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}),Vl=new Et(n=>n.complete());function Qb(n){return n?function(n){return new Et(t=>n.schedule(()=>t.complete()))}(n):Vl}function nF(n,t){return new Et(t?e=>t.schedule(j$,0,{error:n,subscriber:e}):e=>e.error(n))}function j$({error:n,subscriber:t}){t.error(n)}class vo{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Se(this.value);case"E":return nF(this.error);case"C":return Qb()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new vo("N",t):vo.undefinedValueNotification}static createError(t){return new vo("E",void 0,t)}static createComplete(){return vo.completeNotification}}vo.completeNotification=new vo("C"),vo.undefinedValueNotification=new vo("N",void 0);class Yb extends _e{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Yb.dispatch,this.delay,new $$(t,this.destination)))}_next(t){this.scheduleMessage(vo.createNext(t))}_error(t){this.scheduleMessage(vo.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(vo.createComplete()),this.unsubscribe()}}class $${constructor(t,e){this.notification=t,this.destination=e}}class iF extends De{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new G$(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;let s;if(this.closed)throw new Do;if(this.isStopped||this.hasError?s=R.EMPTY:(this.observers.push(t),s=new yd(this,t)),r&&t.add(t=new Yb(t,r)),e)for(let a=0;a<o&&!t.closed;a++)t.next(i[a]);else for(let a=0;a<o&&!t.closed;a++)t.next(i[a].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||H$).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,i=this._windowTime,r=this._events,o=r.length;let s=0;for(;s<o&&!(t-r[s].time<i);)s++;return o>e&&(s=Math.max(s,o-e)),s>0&&r.splice(0,s),r}}class G${constructor(t,e){this.time=t,this.value=e}}function Ji(n,t){return"function"==typeof t?e=>e.pipe(Ji((i,r)=>jt(n(i,r)).pipe(rt((o,s)=>t(i,o,r,s))))):e=>e.lift(new q$(n))}class q${constructor(t){this.project=t}call(t,e){return e.subscribe(new W$(t,this.project))}}class W$ extends Ur{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new fs(this),r=this.destination;r.add(i),this.innerSubscription=Yc(t,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const Xb={schedule(n,t){const e=setTimeout(n,t);return()=>clearTimeout(e)},scheduleBeforeRender(n){if("undefined"==typeof window)return Xb.schedule(n,0);if(void 0===window.requestAnimationFrame)return Xb.schedule(n,16);const t=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(t)}};let WA;function nG(n,t,e){let i=e;return function(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&t.some((r,o)=>!("*"===r||!function(n,t){if(!WA){const e=Element.prototype;WA=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&WA.call(n,t)}(n,r)||(i=o,0))),i}class rG{constructor(t,e){this.componentFactory=e.get(Hs).resolveComponentFactory(t)}create(t){return new oG(this.componentFactory,t)}}class oG{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new iF(1),this.events=this.eventEmitters.pipe(Ji(i=>xi(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(dt),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Xb.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{null!==this.componentRef?function(n,t){return n===t||n!=n&&t!=t}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=Gt.create({providers:[],parent:this.injector}),i=function(n,t){const e=n.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=e.length;o<s;++o){const a=e[o],c=nG(a,t,r);-1!==c&&i[c].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(_n),this.implementsOnChanges=function(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Tc).attachView(this.componentRef.hostView)}
vendor: 4,475 bytes, line 1
1initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(rt(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Xb.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=e);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new ac(o,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class sG extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function cg(n,t){const e=function(n,t){return t.get(Hs).resolveComponentFactory(n).inputs}(n,t.injector),i=t.strategyFactory||new rG(n,t.injector),r=function(n){const t={};return n.forEach(({propName:e,templateName:i})=>{t[function(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=e}),t}(e);class o extends sG{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:c})=>{if(!this.hasOwnProperty(c))return;const d=this[c];delete this[c],a.setInputValue(c,d)})}return this._ngElementStrategy}attributeChangedCallback(a,c,d,h){this.ngElementStrategy.setInputValue(r[a],d)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return o.observedAttributes=Object.keys(r),e.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}class rF{}const Bl="*";function Hi(n,t){return{type:7,name:n,definitions:t,options:{}}}function An(n,t=null){return{type:4,styles:t,timings:n}}function oF(n,t=null){return{type:2,steps:n,options:t}}function Ke(n){return{type:6,styles:n,offset:null}}function cn(n,t,e){return{type:0,name:n,styles:t,options:e}}function Ku(n){return{type:5,steps:n}}function fn(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function lF(n){Promise.resolve(null).then(n)}class cf{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){lF(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>
1i()),e.length=0}}class cF{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?lF(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function uF(){return"undefined"!=typeof window&&void 0!==window.document}function QA(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Bc(n){switch(n.length){case 0:return new cf;case 1:return n[0];default:return new cF(n)}}function dF(n,t,e,i,r={},o={}){const s=[],a=[];let c=-1,d=null;if(i.forEach(h=>{const p=h.offset,g=p==c,_=g&&d||{};Object.keys(h).forEach(v=>{let M=v,w=h[v];if("offset"!==v)switch(M=t.normalizePropertyName(M,s),w){case"!":w=r[v];break;case Bl:w=o[v];break;default:w=t.normalizeStyleValue(v,M,w,s)}_[M]=w}),g||a.push(_),d=_,c=p}),s.length){const h="\n - ";throw new Error(`Unable to animate due to the following errors:${h}${s.join(h)}`)}return a}function YA(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&XA(e,"start",n)));break;case"done":n.onDone(()=>i(e&&XA(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&XA(e,"destroy",n)))}}function XA(n,t,e){const i=e.totalTime,o=ZA(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,null==i?n.totalTime:i,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function ZA(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Po(n,t,e){let i;return n instanceof Map?(i=n.get(t),i||n.set(t,i=e)):(i=n[t],i||(i=n[t]=e)),i}function hF(n){const t=n.indexOf(":");return[n.substring(1,t),n.substr(t+1)]}let JA=(n,t)=>!1,eI=(n,t)=>!1,fF=(n,t,e)=>[];const pF=QA();(pF||"undefined"!=typeof Element)&&(JA=uF()?(n,t)=>{for(;t&&t!==document.documentElement;){if(t===n)return!0;t=t.parentNode||t.host}return!1}:(n,t)=>n.contains(t),eI=(()=>{if(pF||Element.prototype.matches)return(n,t)=>n.matches(t);{const n=Element.prototype,t=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;return t?(e,i)=>t.apply(e,[i]):eI}})(),fF=(n,t,e)=>{let i=[];if(e){const r=n.querySelectorAll(t);for(let o=0;o<r.length;o++)i.push(r[o])}else{const r=n.querySelector(t);r&&i.push(r)}return i});let Qu=null,mF=!1;function tI(n){Qu||(Qu=("undefined"!=typeof document?document.body:null)||{},mF=!!Qu.style&&"WebkitAppearance"in Qu.style);let t=!0;return Qu.style&&!function(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in Qu.style,!t&&mF&&(t="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Qu.style)),t}const nI=eI,iI=JA,rI=fF;function gF(n){const t={};
1return Object.keys(n).forEach(e=>{const i=e.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=n[e]}),t}let _F=(()=>{class n{validateStyleProperty(e){return tI(e)}matchesElement(e,i){return nI(e,i)}containsElement(e,i){return iI(e,i)}query(e,i,r){return rI(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],c){return new cf(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),oI=(()=>{class n{}return n.NOOP=new _F,n})();const sI="ng-enter",Zb="ng-leave",Jb="ng-trigger",eC=".ng-trigger",vF="ng-animating",aI=".ng-animating";function Yu(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:lI(parseFloat(t[1]),t[2])}function lI(n,t){return"s"===t?1e3*n:n}function tC(n,t,e){return n.hasOwnProperty("duration")?n:function(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};r=lI(parseFloat(a[1]),a[2]);const c=a[3];null!=c&&(o=lI(parseFloat(c),a[4]));const d=a[5];d&&(s=d)}else r=n;if(!e){let a=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),a=!0),o<0&&(t.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&t.splice(c,0,`The provided timing value "${n}" is invalid.`)}return{duration:r,delay:o,easing:s}}(n,t,e)}function uf(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function Hc(n,t,e={}){if(t)for(let i in n)e[i]=n[i];else uf(n,e);return e}function CF(n,t,e){return e?t+":"+e+";":""}function wF(n){let t="";for(let e=0;e<n.style.length;e++){const i=n.style.item(e);t+=CF(0,i,n.style.getPropertyValue(i))}for(const e in n.style)n.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=CF(0,mG(e),n.style[e]));n.setAttribute("style",t)}function Ba(n,t,e){n.style&&(Object.keys(t).forEach(i=>{const r=uI(i);e&&!e.hasOwnProperty(i)&&(e[i]=n.style[r]),n.style[r]=t[i]}),QA()&&wF(n))}function Xu(n,t){n.style&&(Object.keys(t).forEach(e=>{const i=uI(e);n.style[i]=""}),QA()&&wF(n))}function ug(n){return Array.isArray(n)?1==n.length?n[0]:oF(n):n}const cI=new RegExp("{{\\s*(.+?)\\s*}}","g");function SF(n){let t=[];if("string"==typeof n){let e;for(;e=cI.exec(n);)t.push(e[1]);cI.lastIndex=0}return t}function nC(n,t,e){const i=n.toString(),r=i.replace(cI,(o,s)=>{let a=t[s];return t.hasOwnProperty(s)||(e.push(`Please provide a value for the animation param ${s}`),a=""),a.toString()});return r==i?n:r}function iC(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const pG=/-+([a-z0-9])/g;function uI(n){return n.replace(pG,(...t)=>t[1].toUpperCase())}function mG(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function EF(n,t){return 0===n||0===t}function DF(n,t,e){const i=Object.keys(e);if(i.length&&t.length){let o=t[0],s=[];if(i.forEach(a=>{o.hasOwnProperty(a)||s.push(a),o[a]=e[a]}),s.length)for(var r=1;r<t.length;r++){let a=t[r];s.forEach(function(c){a[c]=dI(n,c)})}}return t}function Fo(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function dI(n,t){return window.getComputedStyle(n)[t]}function gG(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function(n,t,e){if(":"==n[0]){const c=function(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(`The transition alias value "${n}" is not supported`),"* => *"}}(n,e);if("function"==typeof c)return void t.push(c);n=c}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(`The provided transition expression "${n}" is not supported`),t;const r=i[1],o=i[2],s=i[3];t.push(AF(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(AF(s,r))}(i,e,t)):e.push(n),e}const oC=new Set(["true","1"]),sC=new Set(["false","0"]);function AF(n,t){const e=oC.has(n)||sC.has(n),i=oC.has(t)||sC.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?oC.has(n):sC.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?oC.has(t):sC.has(t)),s&&a}}const vG=new RegExp("s*:selfs*,?","g");function hI(n,t,e){return new bG(n).build(t,e)}class bG{constructor(t){this._driver=t}build(t,e){const i=new SG(e);return this._resetContextStyleTimingState(i),Fo(this,ug(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const c=a,d=c.name;
1d.toString().split(/\s*,\s*/).forEach(h=>{c.name=h,o.push(this.visitState(c,e))}),c.name=d}else if(1==a.type){const c=this.visitTransition(a,e);i+=c.queryCount,r+=c.depCount,s.push(c)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};if(i.styles.forEach(a=>{if(aC(a)){const c=a;Object.keys(c).forEach(d=>{SF(c[d]).forEach(h=>{s.hasOwnProperty(h)||o.add(h)})})}}),o.size){const a=iC(o.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${a.join(", ")}`)}}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Fo(this,ug(t.animation),e);return{type:1,matchers:gG(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Zu(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Fo(this,i,e)),options:Zu(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Fo(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:Zu(t.options)}}visitAnimate(t,e){const i=function(n,t){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return fI(tC(n,t).duration,0,"");const i=n;if(i.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=fI(0,0,"");return o.dynamic=!0,o.strValue=i,o}return e=e||tC(i,t),fI(e.duration,e.delay,e.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Ke({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const d={};i.easing&&(d.easing=i.easing),s=Ke(d)}e.currentTime+=i.duration+i.delay;const c=this.visitStyle(s,e);c.isEmptyStep=a,r=c}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(s=>{"string"==typeof s?s==Bl?i.push(s):e.errors.push(`The provided style string value ${s} is not allowed.`):i.push(s)}):i.push(t.styles);let r=!1,o=null;return i.forEach(s=>{if(aC(s)){const a=s,c=a.easing;if(c&&(o=c,delete a.easing),!r)for(let d in a)if(a[d].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&Object.keys(s).forEach(a=>{if(!this._driver.validateStyleProperty(a))return void e.errors.push(`The provided animation property "${a}" is not a supported CSS property for animations`);const c=e.collectedStyles[e.currentQuerySelector],d=c[a];let h=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(`The CSS property "${a}" that exists between the times of "${d.startTime}ms" and "${d.endTime}ms" is also being animated in a parallel animation between the times of "${o}ms" and "${r}ms"`),h=!1),o=d.startTime),h&&(c[a]={startTime:o,endTime:r}),e.options&&function(n,t,e){const i=t.params||{},r=SF(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(`Unable to resolve the local animation param ${o} in the given list of values`)})}(s[a],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let o=0;const s=[];let a=!1,c=!1,d=0;const h=t.steps.map(F=>{const V=this._makeStyleAst(F,e);let ie=null!=V.offset?V.offset:function(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(aC(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}});else if(aC(n)&&n.hasOwnProperty("offset")){const e=n;t=parseFloat(e.offset),delete e.offset}return t}(V.styles),ue=0;return null!=ie&&(o++,ue=V.offset=ie),c=c||ue<0||ue>1,a=a||ue<d,d=ue,s.push(ue),V});c&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");const p=t.steps.length;let g=0;o>0&&o<p?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(g=1/(p-1));const _=p-1,v=e.currentTime,M=e.currentAnimateTimings,w=M.duration;return h.forEach((F,V)=>{const ie=g>0?V==_?1:g*V:s[V],ue=ie*w;
vendor: 10,233 bytes, line 1
1e.currentTime=v+M.delay+ue,M.duration=ue,this._validateStyleAst(F,e),F.offset=ie,i.styles.push(F)}),i}visitReference(t,e){return{type:8,animation:Fo(this,ug(t.animation),e),options:Zu(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Zu(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Zu(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(vG,"")),n=n.replace(/@\*/g,eC).replace(/@\w+/g,e=>eC+"-"+e.substr(1)).replace(/:animating/g,aI),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Po(e.collectedStyles,e.currentQuerySelector,{});const a=Fo(this,ug(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Zu(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:tC(t.timings,e.errors,!0);return{type:12,animation:Fo(this,ug(t.animation),e),timings:i,options:null}}}class SG{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function aC(n){return!Array.isArray(n)&&"object"==typeof n}function Zu(n){return n?(n=uf(n)).params&&(n.params=function(n){return n?uf(n):null}(n.params)):n={},n}function fI(n,t,e){return{duration:n,delay:t,easing:e}}function pI(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class lC{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const MG=new RegExp(":enter","g"),xG=new RegExp(":leave","g");function mI(n,t,e,i,r,o={},s={},a,c,d=[]){return(new RG).buildKeyframes(n,t,e,i,r,o,s,a,c,d)}class RG{buildKeyframes(t,e,i,r,o,s,a,c,d,h=[]){d=d||new lC;const p=new gI(t,e,d,r,o,h,[]);p.options=c,p.currentTimeline.setStyles([s],null,p.errors,c),Fo(this,i,p);const g=p.timelines.filter(_=>_.containsAnimation());if(g.length&&Object.keys(a).length){const _=g[g.length-1];_.allowOnlyTimelineStyles()||_.setStyles([a],null,p.errors,c)}return g.length?g.map(_=>_.buildKeyframes()):[pI(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?Yu(i.duration):null,a=null!=i.delay?Yu(i.delay):null;return 0!==s&&t.forEach(c=>{const d=e.appendInstructionToTimeline(c,s,a);o=Math.max(o,d.duration+d.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Fo(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=cC);const s=Yu(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Fo(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?Yu(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Fo(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return tC(e.params?nC(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.getCurrentStyleProperties().length&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(c=>{a.forwardTime((c.offset||0)*o),a.setStyles(c.styles,c.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Yu(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=cC);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let c=null;a.forEach((d,h)=>{e.currentQueryIndex=h;const p=e.createSubContext(t.options,d);o&&p.delayNextStep(o),d===e.element&&(c=p.currentTimeline),Fo(this,t.animation,p),p.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,p.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let c=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=i.currentStaggerTime}const h=e.currentTimeline;c&&h.delayNextStep(c);const p=h.currentTime;Fo(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-p+(r.startTime-i.currentTimeline.startTime)}}const cC={};class gI{constructor(t,e,i,r,o,s,a,c){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cC,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new uC(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=Yu(i.duration)),null!=i.delay&&(r.delay=Yu(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=nC(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new gI(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=cC,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},o=new kG(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(MG,"."+this._enterClassName)).replace(xG,"."+this._leaveClassName);let d=this._driver.query(this.element,t,1!=i);0!==i&&(d=i<0?d.slice(d.length+i,d.length):d.slice(0,i)),a.push(...d)}return!o&&0==a.length&&s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),a}}class uC{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pe
1ndingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new uC(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||Bl,this._currentKeyframe[e]=Bl}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&(this._previousKeyframe.easing=e);const o=r&&r.params||{},s=function(n,t){const e={};let i;return n.forEach(r=>{"*"===r?(i=i||Object.keys(t),i.forEach(o=>{e[o]=Bl})):Hc(r,!1,e)}),e}(t,this._globalTimelineStyles);Object.keys(s).forEach(a=>{const c=nC(s[a],o,i);this._pendingStyles[a]=c,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:Bl),this._updateStyle(a,c)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(i=>{this._currentKeyframe[i]=t[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],r=t._styleSummary[e];(!i||r.time>i.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,c)=>{const d=Hc(a,!0);Object.keys(d).forEach(h=>{const p=d[h];"!"==p?t.add(h):p==Bl&&e.add(h)}),i||(d.offset=c/this.duration),r.push(d)});const o=t.size?iC(t.values()):[],s=e.size?iC(e.values()):[];if(i){const a=r[0],c=uf(a);a.offset=0,c.offset=1,r=[a,c]}return pI(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class kG extends uC{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,c=Hc(t[0],!1);c.offset=0,o.push(c);const d=Hc(t[0],!1);d.offset=TF(a),o.push(d);const h=t.length-1;for(let p=1;p<=h;p++){let g=Hc(t[p],!1);g.offset=TF((e+g.offset*i)/s),o.push(g)}i=s,e=0,r="",t=o}return pI(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function TF(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class _I{}class PG extends _I{normalizePropertyName(t,e){return uI(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(FG[e]&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(`Please provide a CSS unit value for ${t}:${i}`)}return s+o}}const FG=(()=>function(n){const t={};return n.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function xF(n,t,e,i,r,o,s,a,c,d,h,p,g){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:c,preStyleProps:d,postStyleProps:h,totalTime:p,errors:g}}const yI={};class RF{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){const r=this._stateStyles["*"],o=this._stateStyles[t],s=r?r.buildStyles(e,i):{};return o?o.buildStyles(e,i):s}build(t,e,i,r,o,s,a,c,d,h){const p=[],g=this.ast.options&&this.ast.options.params||yI,v=this.buildStyles(i,a&&a.params||yI,p),M=c&&c.params||yI,w=this.buildStyles(r,M,p),F=new Set,V=new Map,ie=new Map,ue="void"===r,Ye={params:Ce(Ce({},g),M)},en=h?[]:mI(t,e,this.ast.animation,o,s,v,w,Ye,d,p);let ln=0;
1if(en.forEach(ai=>{ln=Math.max(ai.duration+ai.delay,ln)}),p.length)return xF(e,this._triggerName,i,r,ue,v,w,[],[],V,ie,ln,p);en.forEach(ai=>{const li=ai.element,oo=Po(V,li,{});ai.preStyleProps.forEach(Cn=>oo[Cn]=!0);const Ge=Po(ie,li,{});ai.postStyleProps.forEach(Cn=>Ge[Cn]=!0),li!==e&&F.add(li)});const bi=iC(F.values());return xF(e,this._triggerName,i,r,ue,v,w,en,bi,V,ie,ln)}}class VG{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i={},r=uf(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!=s&&(r[o]=s)}),this.styles.styles.forEach(o=>{if("string"!=typeof o){const s=o;Object.keys(s).forEach(a=>{let c=s[a];c.length>1&&(c=nC(c,r,e));const d=this.normalizer.normalizePropertyName(a,e);c=this.normalizer.normalizeStyleValue(a,d,c,e),i[d]=c})}}),i}}class HG{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states={},e.states.forEach(r=>{this.states[r.name]=new VG(r.style,r.options&&r.options.params||{},i)}),kF(this.states,"true","1"),kF(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new RF(t,r,this.states))}),this.fallbackTransition=function(n,t,e){return new RF(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function kF(n,t,e){n.hasOwnProperty(t)?n.hasOwnProperty(e)||(n[e]=n[t]):n.hasOwnProperty(e)&&(n[t]=n[e])}const jG=new lC;class zG{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],r=hI(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=r}_buildPlayer(t,e,i){const r=t.element,o=dF(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations[t];let s;const a=new Map;if(o?(s=mI(this._driver,e,o,sI,Zb,{},{},i,jG,r),s.forEach(h=>{const p=Po(a,h.element,{});h.postStyleProps.forEach(g=>p[g]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach((h,p)=>{Object.keys(h).forEach(g=>{h[g]=this._driver.computeStyle(p,g,Bl)})});const d=Bc(s.map(h=>{const p=a.get(h.element);return this._buildPlayer(h,{},p)}));return this._playersById[t]=d,d.onDestroy(()=>this.destroy(t)),this.players.push(d),d}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,r){const o=ZA(e,"","","");return YA(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const OF="ng-animate-queued",PF="ng-animate-disabled",FF=".ng-animate-disabled",WG=[],NF={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},KG={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ns="__ng_removed";class vI{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function(n){return null!=n?n:null}(i?t.value:t),i){const o=uf(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const dg="void",bI=new vI(dg);class QG{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+t,is(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function(n){return"start"==n||"done"==n}(i))throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);const o=Po(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=Po(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(is(t,Jb),is(t,Jb+"-"+e),a[e]=bI),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new CI(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(is(t,Jb),is(t,Jb+"-"+e),this._engine.statesByElement.set(t,a={}));let c=a[e];const d=new vI(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&d.absorbOptions(c.options),a[e]=d,c||(c=bI),d.value!==dg&&c.value===d.value){if(!function(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}(c.params,d.params)){const M=[],w=o.matchStyles(c.value,c.params,M),F=o.matchStyles(d.value,d.params,M);M.length?this._engine.reportError(M):this._engine.afterFlush(()=>{Xu(t,w),Ba(t,F)})}return}const g=Po(this._engine.playersByElement,t,[]);g.forEach(M=>{M.namespaceId==this.id&&M.triggerName==e&&M.queued&&M.destroy()});let _=o.matchTransition(c.value,d.value,t,d.params),v=!1;if(!_){if(!r)return;_=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:_,fromState:c,toState:d,player:s,isFallbackTransition:v}),v||(is(t,OF),s.onStart(()=>{df(t,OF)})),s.onDone(()=>{let M=this.players.indexOf(s);M>=0&&this.players.splice(M,1);const w=this._engine.playersByElement.get(t);if(w){let F=w.indexOf(s);F>=0&&w.splice(F,1)}}),this.players.push(s),g.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,eC,!0);i.forEach(r=>{if(r[ns])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t);if(o){const s=[];if(Object.keys(o).forEach(a=>{if(this._triggers[a]){const c=this.trigger(t,a,dg,r);c&&s.push(c)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&Bc(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const c=this._triggers[s].fallbackTransition,d=i[s]||bI,h=new vI(dg),p=new CI(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:c,fromState:d,toState:h,player:p,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[ns];(!o||o===NF)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){is(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>
1{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const c=ZA(o,i.triggerName,i.fromState.value,i.toState.value);c._data=t,YA(i.player,a.phase,c,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class YG{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new QG(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let r=!1;for(let o=i;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const r=Object.keys(i);for(let o=0;o<r.length;o++){const s=i[r[o]].namespaceId;if(s){const a=this._fetchNamespace(s);a&&e.add(a)}}}return e}trigger(t,e,i,r){if(dC(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!dC(e))return;const o=e[ns];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),is(t,PF)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),df(t,PF))}removeNode(t,e,i,r){if(dC(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r){this.collectedLeaveElements.push(e),e[ns]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,r,o){return dC(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,eC,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,aI,!0),e.forEach(i=>
vendor: 7,067 bytes, line 1
1this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Bc(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[ns];if(e&&e.setForRemoval){if(t[ns]=NF,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,FF)&&this.markElementAsDisabled(t,!1),this.driver.query(t,FF,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)is(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Bc(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new lC,r=[],o=new Map,s=[],a=new Map,c=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(Oe=>{h.add(Oe);const J=this.driver.query(Oe,".ng-animate-queued",!0);for(let je=0;je<J.length;je++)h.add(J[je])});const p=this.bodyNode,g=Array.from(this.statesByElement.keys()),_=BF(g,this.collectedEnterElements),v=new Map;let M=0;_.forEach((Oe,J)=>{const je=sI+M++;v.set(J,je),Oe.forEach(tn=>is(tn,je))});const w=[],F=new Set,V=new Set;for(let Oe=0;Oe<this.collectedLeaveElements.length;Oe++){const J=this.collectedLeaveElements[Oe],je=J[ns];je&&je.setForRemoval&&(w.push(J),F.add(J),je.hasAnimation?this.driver.query(J,".ng-star-inserted",!0).forEach(tn=>F.add(tn)):V.add(J))}const ie=new Map,ue=BF(g,Array.from(F));ue.forEach((Oe,J)=>{const je=Zb+M++;ie.set(J,je),Oe.forEach(tn=>is(tn,je))}),t.push(()=>{_.forEach((Oe,J)=>{const je=v.get(J);Oe.forEach(tn=>df(tn,je))}),ue.forEach((Oe,J)=>{const je=ie.get(J);Oe.forEach(tn=>df(tn,je))}),w.forEach(Oe=>{this.processLeaveNode(Oe)})});const Ye=[],en=[];for(let Oe=this._namespaceList.length-1;Oe>=0;Oe--)this._namespaceList[Oe].drainQueuedTransitions(e).forEach(je=>{const tn=je.player,Mi=je.element;if(Ye.push(tn),this.collectedEnterElements.length){const Ja=Mi[ns];if(Ja&&Ja.setForMove)return void tn.destroy()}const cs=!p||!this.driver.containsElement(p,Mi),so=ie.get(Mi),Za=v.get(Mi),Gn=this._buildInstruction(je,i,Za,so,cs);if(Gn.errors&&Gn.errors.length)en.push(Gn);else{if(cs)return tn.onStart(()=>Xu(Mi,Gn.fromStyles)),tn.onDestroy(()=>Ba(Mi,Gn.toStyles)),void r.push(tn);if(je.isFallbackTransition)return tn.onStart(()=>Xu(Mi,Gn.fromStyles)),tn.onDestroy(()=>Ba(Mi,Gn.toStyles)),void r.push(tn);Gn.timelines.forEach(Ja=>Ja.stretchStartingKeyframe=!0),i.append(Mi,Gn.timelines),s.push({instruction:Gn,player:tn,element:Mi}),Gn.queriedElements.forEach(Ja=>Po(a,Ja,[]).push(tn)),Gn.preStyleProps.forEach((Ja,o_)=>{const Fw=Object.keys(Ja);if(Fw.length){let _d=c.get(o_);_d||c.set(o_,_d=new Set),Fw.forEach(OT=>_d.add(OT))}}),Gn.postStyleProps.forEach((Ja,o_)=>{const Fw=Object.keys(Ja);let _d=d.get(o_);_d||d.set(o_,_d=new Set),Fw.forEach(OT=>_d.add(OT))})}});if(en.length){const Oe=[];en.forEach(J=>{Oe.push(`@${J.triggerName} has failed due to:\n`),J.errors.forEach(je=>Oe.push(`- ${je}\n`))}),Ye.forEach(J=>J.destroy()),this.reportError(Oe)}const ln=new Map,bi=new Map;s.forEach(Oe=>{const J=Oe.element;i.has(J)&&(bi.set(J,J),this._beforeAnimationBuild(Oe.player.namespaceId,Oe.instruction,ln))}),r.forEach(Oe=>{const J=Oe.element;this._getPreviousPlayers(J,!1,Oe.namespaceId,Oe.triggerName,null).forEach(tn=>{Po(ln,J,[]).push(tn),tn.destroy()})});const ai=w.filter(Oe=>UF(Oe,c,d)),li=new Map;VF(li,this.driver,V,d,Bl).forEach(Oe=>{UF(Oe,c,d)&&ai.push(Oe)});const Ge=new Map;_.forEach((Oe,J)=>{VF(Ge,this.driver,new Set(Oe),c,"!")}),ai.forEach(Oe=>{const J=li.get(Oe),je=Ge.get(Oe);li.set(Oe,Ce(Ce({},J),je))});const Cn=[],na=[],Xa={};s.forEach(Oe=>{const{element:J,player:je,instruction:tn}=Oe;if(i.has(J)){if(h.has(J))return je.onDestroy(()=>Ba(J,tn.toStyles)),je.disabled=!0,je.overrideTotalTime(tn.totalTime),void r.push(je);let Mi=Xa;if(bi.size>1){let so=J;const Za=[];for(;so=so.parentNode;){const Gn=bi.get(so);if(Gn){Mi=Gn;break}Za.push(so)}Za.forEach(Gn=>bi.set(Gn,Mi))}const cs=this._buildAnimation(je.namespaceId,tn,ln,o,Ge,li);if(je.setRealPlayer(cs),Mi===Xa)Cn.push(je);else{const so=this.playersByElement.get(Mi);so&&so.length&&(je.parentPlayer=Bc(so)),r.push(je)}}else Xu(J,tn.fromStyles),je.onDestroy(()=>Ba(J,tn.toStyles)),na.push(je),h.has(J)&&r.push(je)}),na.forEach(Oe=>{const J=o.get(Oe.element);if(J&&J.length){const je=Bc(J);Oe.setRealPlayer(je)}}),r.forEach(Oe=>{Oe.parentPlayer?Oe.syncPlayerEvents(Oe.parentPlayer):Oe.destroy()});for(let Oe=0;Oe<w.length;Oe++){const J=w[Oe],je=J[ns];if(df(J,Zb),je&&je.hasAnimation)continue;let tn=[];if(a.size){let cs=a.get(J);cs&&cs.length&&tn.push(...cs);let so=this.driver.query(J,aI,!0);for(let Za=0;Za<so.length;Za++){let Gn=a.get(so[Za]);Gn&&Gn.length&&tn.push(...Gn)}}const Mi=tn.filter(cs=>!cs.destroyed);Mi.length?e7(this,J,Mi):this.processLeaveNode(J)}return w.length=0,Cn.forEach(Oe=>{this.players.push(Oe),Oe.onDone(()=>{Oe.destroy();const J=this.players.indexOf(Oe);this.players.splice(J,1)}),Oe.play()}),Cn}elementContainsData(t,e){let i=!1;const r=e[ns];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const c=!o||o==dg;a.forEach(d=>{d.queued||!c&&d.triggerName!=r||s.push(d)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const d=c.element,h=d!==o,p=Po(i,d,[]);this._getPreviousPlayers(d,h,s,a,e.toState).forEach(_=>{const v=_.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),_.destroy(),p.push(_)})}Xu(o,e.fromStyles)}
1_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,c=e.element,d=[],h=new Set,p=new Set,g=e.timelines.map(v=>{const M=v.element;h.add(M);const w=M[ns];if(w&&w.removedBeforeQueried)return new cf(v.duration,v.delay);const F=M!==c,V=function(n){const t=[];return HF(n,t),t}((i.get(M)||WG).map(ln=>ln.getRealPlayer())).filter(ln=>!!ln.element&&ln.element===M),ie=o.get(M),ue=s.get(M),Ye=dF(0,this._normalizer,0,v.keyframes,ie,ue),en=this._buildPlayer(v,Ye,V);if(v.subTimeline&&r&&p.add(M),F){const ln=new CI(t,a,M);ln.setRealPlayer(en),d.push(ln)}return en});d.forEach(v=>{Po(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>function(n,t,e){let i;if(n instanceof Map){if(i=n.get(t),i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}}else if(i=n[t],i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&delete n[t]}return i}(this.playersByQueriedElement,v.element,v))}),h.forEach(v=>is(v,vF));const _=Bc(g);return _.onDestroy(()=>{h.forEach(v=>df(v,vF)),Ba(c,e.toStyles)}),p.forEach(v=>{Po(r,v,[]).push(_)}),_}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new cf(t.duration,t.delay)}}class CI{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new cf,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1h(e=>{this._queuedCallbacks[e].forEach(i=>YA(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Po(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function dC(n){return n&&1===n.nodeType}function LF(n,t){const e=n.style.display;return n.style.display=null!=t?t:"none",e}function VF(n,t,e,i,r){const o=[];e.forEach(c=>o.push(LF(c)));const s=[];i.forEach((c,d)=>{const h={};c.forEach(p=>{const g=h[p]=t.computeStyle(d,p,r);(!g||0==g.length)&&(d[ns]=KG,s.push(d))}),n.set(d,h)});let a=0;return e.forEach(c=>LF(c,o[a++])),s}function BF(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let c=o.get(a);if(c)return c;const d=a.parentNode;return c=e.has(d)?d:r.has(d)?1:s(d),o.set(a,c),c}return t.forEach(a=>{const c=s(a);1!==c&&e.get(c).push(a)}),e}const hC="$$classes";function is(n,t){if(n.classList)n.classList.add(t);else{let e=n[hC];e||(e=n[hC]={}),e[t]=!0}}function df(n,t){if(n.classList)n.classList.remove(t);else{let e=n[hC];e&&delete e[t]}}function e7(n,t,e){Bc(e).onDone(()=>n.processLeaveNode(t))}function HF(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof cF?HF(i.players,t):t.push(i)}}function UF(n,t,e){const i=e.get(n);if(!i)return!1;let r=t.get(n);return r?i.forEach(o=>r.add(o)):t.set(n,i),e.delete(n),!0}class fC{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new YG(t,e,i),this._timelineEngine=new zG(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const c=[],d=hI(this._driver,o,c);if(c.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${c.join("\n - ")}`);a=function(n,t,e){return new HG(n,t,e)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}
1process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=hF(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=hF(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function jF(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=wI(t[0]),t.length>1&&(i=wI(t[t.length-1]))):t&&(e=wI(t)),e||i?new r7(n,e,i):null}let r7=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o={}),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ba(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ba(this._element,this._initialStyles),this._endStyles&&(Ba(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Xu(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xu(this._element,this._endStyles),this._endStyles=null),Ba(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function wI(n){let t=null;const e=Object.keys(n);for(let i=0;i<e.length;i++){const r=e[i];o7(r)&&(t=t||{},t[r]=n[r])}return t}function o7(n){return"display"===n||"position"===n}const zF="animation",$F="animationend";class l7{constructor(t,e,i,r,o,s,a){this._element=t,this._name=e,this._duration=i,this._delay=r,this._easing=o,this._fillMode=s,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=c=>this._handleCallback(c)}apply(){(function(n,t){const e=EI(n,"").trim();let i=0;e.length&&(function(n,t){let e=0;for(let i=0;i<n.length;i++)","===n.charAt(i)&&e++;return e}(e)+1,t=`${e}, ${t}`),pC(n,"",t)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),WF(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){GF(this._element,this._name,"paused")}resume(){GF(this._element,this._name,"running")}setPosition(t){const e=qF(this._element,this._name);this._position=t*this._duration,pC(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),i=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),WF(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(n,t){const i=EI(n,"").split(","),r=SI(i,t);r>=0&&(i.splice(r,1),pC(n,"",i.join(",")))}(this._element,this._name))}}function GF(n,t,e){pC(n,"PlayState",e,qF(n,t))}function qF(n,t){const e=EI(n,"");return e.indexOf(",")>0?SI(e.split(","),t):SI([e],t)}function SI(n,t){for(let e=0;e<n.length;e++)if(n[e].indexOf(t)>=0)return e;return-1}function WF(n,t,e){e?n.removeEventListener($F,t):n.addEventListener($F,t)}function pC(n,t,e,i){const r=zF+t;if(null!=i){const o=n.style[r];if(o.length){const s=o.split(",");s[i]=e,e=s.join(",")}}n.style[r]=e}function EI(n,t){return n.style[zF+t]||""}class KF{constructor(t,e,i,r,o,s,a,c){this.element=t,this.keyframes=e,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=a,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+o,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>
1=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new l7(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:dI(this.element,i))})}this.currentSnapshot=t}}class p7 extends cf{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=gF(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class YF{constructor(){this._count=0}validateStyleProperty(t){return tI(t)}matchesElement(t,e){return nI(t,e)}containsElement(t,e){return iI(t,e)}query(t,e,i){return rI(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(a=>gF(a));let r=`@keyframes ${e} {\n`,o="";i.forEach(a=>{o=" ";const c=parseFloat(a.offset);r+=`${o}${100*c}% {\n`,o+=" ",Object.keys(a).forEach(d=>{const h=a[d];switch(d){case"offset":return;case"easing":return void(h&&(r+=`${o}animation-timing-function: ${h};\n`));default:return void(r+=`${o}${d}: ${h};\n`)}}),r+=`${o}}\n`}),r+="}\n";const s=document.createElement("style");return s.textContent=r,s}animate(t,e,i,r,o,s=[],a){const c=s.filter(w=>w instanceof KF),d={};EF(i,r)&&c.forEach(w=>{let F=w.currentSnapshot;Object.keys(F).forEach(V=>d[V]=F[V])});const h=function(n){let t={};return n&&(Array.isArray(n)?n:[n]).forEach(i=>
1{Object.keys(i).forEach(r=>{"offset"==r||"easing"==r||(t[r]=i[r])})}),t}(e=DF(t,e,d));if(0==i)return new p7(t,h);const p="gen_css_kf_"+this._count++,g=this.buildKeyframeElement(t,p,e);(function(n){var e;const t=null==(e=n.getRootNode)?void 0:e.call(n);return"undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot?t:document.head})(t).appendChild(g);const v=jF(t,e),M=new KF(t,e,p,i,r,o,h,v);return M.onDestroy(()=>function(n){n.parentNode.removeChild(n)}(g)),M}}class ZF{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:dI(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class v7{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(JF().toString()),this._cssKeyframesDriver=new YF}validateStyleProperty(t){return tI(t)}matchesElement(t,e){return nI(t,e)}containsElement(t,e){return iI(t,e)}query(t,e,i){return rI(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,r,o,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,r,o,s);const h={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(h.easing=o);const p={},g=s.filter(v=>v instanceof ZF);EF(i,r)&&g.forEach(v=>{let M=v.currentSnapshot;Object.keys(M).forEach(w=>p[w]=M[w])});const _=jF(t,e=DF(t,e=e.map(v=>Hc(v,!1)),p));return new ZF(t,e,h,_)}}function JF(){return uF()&&Element.prototype.animate||{}}let C7=(()=>{class n extends rF{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Ri.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?oF(e):e;return eN(this._renderer,null,i,"register",[r]),new w7(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(L(Mc),L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class w7 extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new S7(this._id,t,e||{},this._renderer)}}class S7{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return eN(this._renderer,this.element,this.id,t,e)}
1onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!=(e=null==(t=this._renderer.engine.players[+this.id])?void 0:t.getPosition())?e:0}}function eN(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const tN="@.disabled";let E7=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{s&&s.parentNode(o)&&s.removeChild(o.parentNode,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let h=this._rendererCache.get(o);return h||(h=new nN("",o,this.engine),this._rendererCache.set(o,h)),h}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const c=h=>{Array.isArray(h)?h.forEach(c):this.engine.registerTrigger(s,a,e,h.name,h)};return i.data.animation.forEach(c),new D7(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&e<this._microtaskId?this._zone.run(()=>i(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(L(Mc),L(fC),L(dt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class nN{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==tN?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class D7 extends nN{constructor(t,e,i,r){super(e,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==tN?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.substr(1),s="";return"@"!=o.charAt(0)&&([o,s]=function(n){const t=n.indexOf(".");return[n.substring(0,t),n.substr(t+1)]}
1(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}let M7=(()=>{class n extends fC{constructor(e,i,r){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(L(tt),L(oI),L(_I))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const Nr=new Z("AnimationModuleType"),iN=[{provide:rF,useClass:C7},{provide:_I,useFactory:function(){return new PG}},{provide:fC,useClass:M7},{provide:Mc,useFactory:function(n,t,e){return new E7(n,t,e)},deps:[Pb,fC,dt]}],rN=[{provide:oI,useFactory:function(){return"function"==typeof JF()?new v7:new YF}},{provide:Nr,useValue:"BrowserAnimations"},...iN],k7=[{provide:oI,useClass:_F},{provide:Nr,useValue:"NoopAnimations"},...iN];let O7=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?k7:rN}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:rN,imports:[zO]}),n})();const Ai=void 0,F7=["fr",[["AM","PM"],Ai,Ai],Ai,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],Ai,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],Ai,[["av. J.-C.","ap. J.-C."],Ai,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} '\xe0' {0}",Ai],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[Ai,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[Ai,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[Ai,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[Ai,"\xa5"],KMF:[Ai,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[Ai,"$C"],NZD:["$NZ","$"],PHP:[Ai,"\u20b1"],RHD:["$RH"],RON:[Ai,"L"],RWF:[Ai,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[Ai,"$T"],TTD:["$TT","$"],TWD:[Ai,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[Ai,"$"],XPF:["FCFP"],ZMW:[Ai,"Kw"]},"ltr",function(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 0===e||1===e?1:0===r&&0!==e&&e%1e6==0&&0===i||!(r>=0&&r<=5)?4:5}],Jn=void 0,L7=["es-US",[["a.\xa0m.","p.\xa0m."],Jn,Jn],Jn,[["D","L","M","M","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],[["D","L","M","M","J","V","S"],["dom.","lun.","mar.","mi\xe9.","jue.","vie.","s\xe1b."],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sep.","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],Jn,[["a. C.","d. C."],Jn,["antes de Cristo","despu\xe9s de Cristo"]],0,[6,0],["d/M/y","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1} {0}",Jn,"{1}, {0}",Jn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","\xa4#,##0.00","#E0"],"USD","$","d\xf3lar estadounidense",{AUD:[Jn,"$"],BRL:[Jn,"R$"],CAD:[Jn,"$"],CNY:[Jn,"\xa5"],ESP:["\u20a7"],EUR:[Jn,"\u20ac"],GBP:[Jn,"\xa3"],HKD:[Jn,"$"],ILS:[Jn,"\u20aa"],INR:[Jn,"\u20b9"],KRW:[Jn,"\u20a9"],MXN:[Jn,"$"],NZD:[Jn,"$"],PHP:[Jn,"\u20b1"],TWD:[Jn,"NT$"],VND:[Jn,"\u20ab"],XAF:[],XCD:[Jn,"$"],XOF:[]},"ltr",function(n){return 1===n?1:5}];
1var DI=function(n,t){return(DI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])})(n,t)};function No(n,t){function e(){this.constructor=n}DI(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}var zn=function(){return zn=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},zn.apply(this,arguments)};function Fe(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(h){try{d(i.next(h))}catch(p){s(p)}}function c(h){try{d(i.throw(h))}catch(p){s(p)}}function d(h){h.done?o(h.value):function(o){return o instanceof e?o:new e(function(s){s(o)})}(h.value).then(a,c)}d((i=i.apply(n,t||[])).next())})}function Ne(n,t){var i,r,o,s,e={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(d){return function(h){return function(d){if(i)throw new TypeError("Generator is already executing.");for(;e;)try{if(i=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return e.label++,{value:d[1],done:!1};case 5:e.label++,r=d[1],d=[0];continue;case 7:d=e.ops.pop(),e.trys.pop();continue;default:if(!(o=(o=e.trys).length>0&&o[o.length-1])&&(6===d[0]||2===d[0])){e=0;continue}if(3===d[0]&&(!o||d[1]>o[0]&&d[1]<o[3])){e.label=d[1];break}if(6===d[0]&&e.label<o[1]){e.label=o[1],o=d;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(d);break}o[2]&&e.ops.pop(),e.trys.pop();continue}d=t.call(n,e)}catch(h){d=[6,h],r=0}finally{i=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,h])}}}function V7(n,t){var e="function"==typeof Symbol&&n[Symbol.iterator];if(!e)return n;var r,s,i=e.call(n),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(a){s={error:a}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(s)throw s.error}}return o}function oN(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(V7(arguments[t]));return n}var AI=function(n,t){return(AI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])})(n,t)};function rs(n,t){function e(){this.constructor=n}AI(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}var Lr=function(){return Lr=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Lr.apply(this,arguments)};function Ot(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(h){try{d(i.next(h))}catch(p){s(p)}}function c(h){try{d(i.throw(h))}catch(p){s(p)}}function d(h){h.done?o(h.value):function(o){return o instanceof e?o:new e(function(s){s(o)})}(h.value).then(a,c)}d((i=i.apply(n,t||[])).next())})}function Pt(n,t){var i,r,o,s,e={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(d){return function(h){return function(d){if(i)throw new TypeError("Generator is already executing.");for(;e;)try{if(i=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return e.label++,{value:d[1],done:!1};case 5:e.label++,r=d[1],d=[0];continue;case 7:d=e.ops.pop(),e.trys.pop();continue;default:if(!(o=(o=e.trys).length>0&&o[o.length-1])&&(6===d[0]||2===d[0])){e=0;continue}if(3===d[0]&&(!o||d[1]>o[0]&&d[1]<o[3])){e.label=d[1];break}if(6===d[0]&&e.label<o[1]){e.label=o[1],o=d;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(d);break}o[2]&&e.ops.pop(),e.trys.pop();continue}d=t.call(n,e)}catch(h){d=[6,h],r=0}finally{i=o=0}
1if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,h])}}}function gC(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;var i=Array(n),r=0;for(t=0;t<e;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}var xe={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",ADFS:"adfs",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},II=[xe.OPENID_SCOPE,xe.PROFILE_SCOPE,xe.OFFLINE_ACCESS_SCOPE],sN=gC(II,[xe.EMAIL_SCOPE]),Ha=(()=>(function(n){n.CONTENT_TYPE="Content-Type",n.RETRY_AFTER="Retry-After",n.CCS_HEADER="X-AnchorMailbox",n.WWWAuthenticate="WWW-Authenticate",n.AuthenticationInfo="Authentication-Info"}(Ha||(Ha={})),Ha))(),er=(()=>(function(n){n.ID_TOKEN="idtoken",n.CLIENT_INFO="client.info",n.ADAL_ID_TOKEN="adal.idtoken",n.ERROR="error",n.ERROR_DESC="error.description",n.ACTIVE_ACCOUNT="active-account"}(er||(er={})),er))(),hg=(()=>(function(n){n.COMMON="common",n.ORGANIZATIONS="organizations",n.CONSUMERS="consumers"}(hg||(hg={})),hg))(),Ht=(()=>(function(n){n.CLIENT_ID="client_id",n.REDIRECT_URI="redirect_uri",n.RESPONSE_TYPE="response_type",n.RESPONSE_MODE="response_mode",n.GRANT_TYPE="grant_type",n.CLAIMS="claims",n.SCOPE="scope",n.ERROR="error",n.ERROR_DESCRIPTION="error_description",n.ACCESS_TOKEN="access_token",n.ID_TOKEN="id_token",n.REFRESH_TOKEN="refresh_token",n.EXPIRES_IN="expires_in",n.STATE="state",n.NONCE="nonce",n.PROMPT="prompt",n.SESSION_STATE="session_state",n.CLIENT_INFO="client_info",n.CODE="code",n.CODE_CHALLENGE="code_challenge",n.CODE_CHALLENGE_METHOD="code_challenge_method",n.CODE_VERIFIER="code_verifier",n.CLIENT_REQUEST_ID="client-request-id",n.X_CLIENT_SKU="x-client-SKU",n.X_CLIENT_VER="x-client-VER",n.X_CLIENT_OS="x-client-OS",n.X_CLIENT_CPU="x-client-CPU",n.X_CLIENT_CURR_TELEM="x-client-current-telemetry",n.X_CLIENT_LAST_TELEM="x-client-last-telemetry",n.X_MS_LIB_CAPABILITY="x-ms-lib-capability",n.POST_LOGOUT_URI="post_logout_redirect_uri",n.ID_TOKEN_HINT="id_token_hint",n.DEVICE_CODE="device_code",n.CLIENT_SECRET="client_secret",n.CLIENT_ASSERTION="client_assertion",n.CLIENT_ASSERTION_TYPE="client_assertion_type",n.TOKEN_TYPE="token_type",n.REQ_CNF="req_cnf",n.OBO_ASSERTION="assertion",n.REQUESTED_TOKEN_USE="requested_token_use",n.ON_BEHALF_OF="on_behalf_of",n.FOCI="foci",n.CCS_HEADER="X-AnchorMailbox",n.RETURN_SPA_CODE="return_spa_code"}(Ht||(Ht={})),Ht))(),Ju=(()=>(function(n){n.ACCESS_TOKEN="access_token",n.XMS_CC="xms_cc"}(Ju||(Ju={})),Ju))(),ed={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create"},hf=(()=>(function(n){n.ACCOUNT="account",n.SID="sid",n.LOGIN_HINT="login_hint",n.ID_TOKEN="id_token",n.DOMAIN_HINT="domain_hint",n.ORGANIZATIONS="organizations",n.CONSUMERS="consumers",n.ACCOUNT_ID="accountIdentifier",n.HOMEACCOUNT_ID="homeAccountIdentifier"}(hf||(hf={})),hf))(),aN={PLAIN:"plain",S256:"S256"},fg=(()=>(function(n){n.QUERY="query",n.FRAGMENT="fragment",n.FORM_POST="form_post"}(fg||(fg={})),fg))(),pg=(()=>(function(n){n.IMPLICIT_GRANT="implicit",n.AUTHORIZATION_CODE_GRANT="authorization_code",n.CLIENT_CREDENTIALS_GRANT="client_credentials",n.RESOURCE_OWNER_PASSWORD_GRANT="password",n.REFRESH_TOKEN_GRANT="refresh_token",n.DEVICE_CODE_GRANT="device_code",n.JWT_BEARER="ur
1n:ietf:params:oauth:grant-type:jwt-bearer"}(pg||(pg={})),pg))(),Ua=(()=>(function(n){n.MSSTS_ACCOUNT_TYPE="MSSTS",n.ADFS_ACCOUNT_TYPE="ADFS",n.MSAV1_ACCOUNT_TYPE="MSA",n.GENERIC_ACCOUNT_TYPE="Generic"}(Ua||(Ua={})),Ua))(),bo=(()=>(function(n){n.CACHE_KEY_SEPARATOR="-",n.CLIENT_INFO_SEPARATOR="."}(bo||(bo={})),bo))(),Ut=(()=>(function(n){n.ID_TOKEN="IdToken",n.ACCESS_TOKEN="AccessToken",n.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",n.REFRESH_TOKEN="RefreshToken"}(Ut||(Ut={})),Ut))(),Hl=(()=>(function(n){n.ACCOUNT="Account",n.CREDENTIAL="Credential",n.ID_TOKEN="IdToken",n.ACCESS_TOKEN="AccessToken",n.REFRESH_TOKEN="RefreshToken",n.APP_METADATA="AppMetadata",n.TEMPORARY="TempCache",n.TELEMETRY="Telemetry",n.UNDEFINED="Undefined",n.THROTTLING="Throttling"}(Hl||(Hl={})),Hl))(),ja=(()=>(function(n){n[n.ADFS=1001]="ADFS",n[n.MSA=1002]="MSA",n[n.MSSTS=1003]="MSSTS",n[n.GENERIC=1004]="GENERIC",n[n.ACCESS_TOKEN=2001]="ACCESS_TOKEN",n[n.REFRESH_TOKEN=2002]="REFRESH_TOKEN",n[n.ID_TOKEN=2003]="ID_TOKEN",n[n.APP_METADATA=3001]="APP_METADATA",n[n.UNDEFINED=9999]="UNDEFINED"}(ja||(ja={})),ja))(),MI="appmetadata",Qs=(()=>(function(n){n.CONFIG="config",n.CACHE="cache",n.NETWORK="network"}(Qs||(Qs={})),Qs))(),br={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},$n=(()=>(function(n){n.BEARER="Bearer",n.POP="pop",n.SSH="ssh-cert"}($n||($n={})),$n))(),_g=(()=>(function(n){n.username="username",n.password="password"}(_g||(_g={})),_g))(),td=(()=>(function(n){n[n.httpSuccess=200]="httpSuccess",n[n.httpBadRequest=400]="httpBadRequest"}(td||(td={})),td))(),Ul=(()=>(function(n){n.FAILED_AUTO_DETECTION="1",n.INTERNAL_CACHE="2",n.ENVIRONMENT_VARIABLE="3",n.IMDS="4"}(Ul||(Ul={})),Ul))(),Uc=(()=>(function(n){n.CONFIGURED_MATCHES_DETECTED="1",n.CONFIGURED_NO_AUTO_DETECTION="2",n.CONFIGURED_NOT_DETECTED="3",n.AUTO_DETECTION_REQUESTED_SUCCESSFUL="4",n.AUTO_DETECTION_REQUESTED_FAILED="5"}(Uc||(Uc={})),Uc))(),jc=(()=>(function(n){n.NO_CACHE_HIT="0",n.FORCE_REFRESH="1",n.NO_CACHED_ACCESS_TOKEN="2",n.CACHED_ACCESS_TOKEN_EXPIRED="3",n.REFRESH_CACHED_ACCESS_TOKEN="4"}(jc||(jc={})),jc))(),Cr=(()=>(function(n){n.LocalStorage="localStorage",n.SessionStorage="sessionStorage",n.MemoryStorage="memoryStorage"}(Cr||(Cr={})),Cr))(),Ys=(()=>(function(n){n.GET="GET",n.POST="POST"}(Ys||(Ys={})),Ys))(),Mn=(()=>(function(n){n.AUTHORITY="authority",n.ACQUIRE_TOKEN_ACCOUNT="acquireToken.account",n.SESSION_STATE="session.state",n.REQUEST_STATE="request.state",n.NONCE_IDTOKEN="nonce.id_token",n.ORIGIN_URI="request.origin",n.RENEW_STATUS="token.renew.status",n.URL_HASH="urlHash",n.REQUEST_PARAMS="request.params",n.SCOPES="scopes",n.INTERACTION_STATUS_KEY="interaction.status",n.CCS_CREDENTIAL="ccs.credential",n.CORRELATION_ID="request.correlationId"}(Mn||(Mn={})),Mn))(),nd=(()=>(function(n){n.WRAPPER_SKU="wrapper.sku",n.WRAPPER_VER="wrapper.version"}(nd||(nd={})),nd))(),Vr=(()=>(function(n){n[n.acquireTokenRedirect=861]="acquireTokenRedirect",n[n.acquireTokenPopup=862]="acquireTokenPopup",n[n.ssoSilent=863]="ssoSilent",n[n.acquireTokenSilent_authCode=864]="acquireTokenSilent_authCode",n[n.handleRedirectPromise=865]="handleRedirectPromise",n[n.acquireTokenSilent_silentFlow=61]="acquireTokenSilent_silentFlow",n[n.logout=961]="logout",n[n.logoutPopup=962]="logoutPopup"}(Vr||(Vr={})),Vr))(),Pe=(()=>(function(n){n.Redirect="redirect",n.Popup="popup",n.Silent="silent"}(Pe||(Pe={})),Pe))(),tr=(()=>(function(n){n.Startup="startup",n.Login="login",n.Logout="logout",n.AcquireToken="acquireToken",n.SsoSilent="ssoSilent",n.HandleRedirect="handleRedirect",n.None="none"}(tr||(tr={})),tr))(),cN={scopes:II},yg="jwk",yC=(()=>(function(n){n.React="@azure/msal-react",n.Angular="@azure/msal-angular"}(yC||(yC={})),yC))(),TI="msal.db",Br=function(){function n(){}return n.decimalToHex=function(t){for(var e=t.toString(16);e.length<2;)e="0"+e;return e},n}(),j7=function(){function n(t){this.cryptoObj=t}return n.prototype.generateGuid=function(){try{var t=new Uint8Array(16);return this.cryptoObj.getRandomValues(t),t[6]|=64,t[6]&=79,t[8]|=128,t[8]&=191,Br.decimalToHex(t[0])+Br.decimalToHex(t[1])+Br.decimalToHex(t[2])+Br.decimalToHex(t[3])+"-"+Br.decimalToHex(t[4])+Br.decimalToHex(t[5])+"-"+Br.decimalToHex(t[6])+Br.decimalToHex(t[7])+"-"+Br.decimalToHex(t[8])+Br.decimalToHex(t[9])+"-"+Br.decimalToHex(t[10])+Br.decimalToHex(t[11])+Br.decimalToHex(t[12])+Br.decimalToHex(t[13])+Br.decimalToHex(t[14])+Br.decimalToHex(t[15])}catch(a){for(var e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",i="0123456789abcdef",r=0,o="",s=0;s<36;s++)"-"!==e[s]&&"4"!==e[s]&&(r=16*Math.random()|0),"x"===e[s]?o+=i[r]:"y"===e[s]?(r&=3,o+=i[r|=8]):o+=e[s];return o}},n.isGuid=function(t){return/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)},n}(),ff=function(){function n(){}return n.stringToUtf8Arr=function(t){for(var e,i=0,r=t.length,o=0;o<r;o++)i+=(e=t.charCodeAt(o))<128?1:e<2048?2:e<65536?3:e<2097152?4:e<67108864?5:6;for(var s=new Uint8Array(i),a=0,c=0;a<i;c++)(e=t.charCodeAt(c))<128?s[a++]=e:e<2048?(s[a++]=192+(e>>>6),s[a++]=128+(63&e)):e<65536?(s[a++]=224+(e>>>12),s[a++]=128+(e>>>6&63),s[a++]=128+(63&e)):e<2097152?(s[a++]=240+(e>>>18),s[a++]=128+(e>>>12&63),s[a++]=128+(e>>>6&63),s[a++]=128+(63&e)):e<67108864?(s[a++]=248+(e>>>24),s[a++]=128+(e>>>18&63),s[a++]=128+(e>>>12&63),s[a++]=128+(e>>>6&63),s[a++]=128+(63&e)):(s[a++]=252+(e>>>30),s[a++]=128+(e>>>24&63),s[a++]=128+(e>>>18&63),s[a++]=128+(e>>>12&63),s[a++]=128+(e>>>6&63),s[a++]=128+(63&e));return s},n.stringToArrayBuffer=function(t){for(var e=new ArrayBuffer(t.length),i=new Uint8Array(e),r=0;r<t.length;r++)i[r]=t.charCodeAt(r);return e},n.utf8ArrToString=function(t){for(var e="",i=void 0,r=t.length,o=0;o<r;o++)i=t[o],e+=String.fromCharCode(i>
1251&&i<254&&o+5<r?1073741824*(i-252)+(t[++o]-128<<24)+(t[++o]-128<<18)+(t[++o]-128<<12)+(t[++o]-128<<6)+t[++o]-128:i>247&&i<252&&o+4<r?(i-248<<24)+(t[++o]-128<<18)+(t[++o]-128<<12)+(t[++o]-128<<6)+t[++o]-128:i>239&&i<248&&o+3<r?(i-240<<18)+(t[++o]-128<<12)+(t[++o]-128<<6)+t[++o]-128:i>223&&i<240&&o+2<r?(i-224<<12)+(t[++o]-128<<6)+t[++o]-128:i>191&&i<224&&o+1<r?(i-192<<6)+t[++o]-128:i);return e},n}(),uN=function(){function n(){}return n.prototype.urlEncode=function(t){return encodeURIComponent(this.encode(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))},n.prototype.urlEncodeArr=function(t){return this.base64EncArr(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},n.prototype.encode=function(t){var e=ff.stringToUtf8Arr(t);return this.base64EncArr(e)},n.prototype.base64EncArr=function(t){for(var e=(3-t.length%3)%3,i="",r=void 0,o=t.length,s=0,a=0;a<o;a++)s|=t[a]<<(16>>>(r=a%3)&24),(2===r||t.length-a==1)&&(i+=String.fromCharCode(this.uint6ToB64(s>>>18&63),this.uint6ToB64(s>>>12&63),this.uint6ToB64(s>>>6&63),this.uint6ToB64(63&s)),s=0);return 0===e?i:i.substring(0,i.length-e)+(1===e?"=":"==")},n.prototype.uint6ToB64=function(t){return t<26?t+65:t<52?t+71:t<62?t-4:62===t?43:63===t?47:65},n}(),z7=function(){function n(){}return n.prototype.decode=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("Invalid base64 string")}var i=this.base64DecToArr(e);return ff.utf8ArrToString(i)},n.prototype.base64DecToArr=function(t,e){for(var i=t.replace(/[^A-Za-z0-9\+\/]/g,""),r=i.length,o=e?Math.ceil((3*r+1>>>2)/e)*e:3*r+1>>>2,s=new Uint8Array(o),a=void 0,c=void 0,d=0,h=0,p=0;p<r;p++)if(c=3&p,d|=this.b64ToUint6(i.charCodeAt(p))<<18-6*c,3===c||r-p==1){for(a=0;a<3&&h<o;a++,h++)s[h]=d>>>(16>>>a&24)&255;d=0}return s},n.prototype.b64ToUint6=function(t){return t>64&&t<91?t-65:t>96&&t<123?t-71:t>47&&t<58?t+4:43===t?62:47===t?63:0},n}(),dN_unexpectedError_code="unexpected_error",dN_unexpectedError_desc="Unexpected error in authentication.",St=function(n){function t(e,i,r){var o=this;return o=n.call(this,i?e+": "+i:e)||this,Object.setPrototypeOf(o,t.prototype),o.errorCode=e||xe.EMPTY_STRING,o.errorMessage=i||"",o.subError=r||"",o.name="AuthError",o}return rs(t,n),t.prototype.setCorrelationId=function(e){this.correlationId=e},t.createUnexpectedError=function(e){return new t(dN_unexpectedError_code,dN_unexpectedError_desc+": "+e)},t}(Error),be_clientInfoDecodingError_code="client_info_decoding_error",be_clientInfoDecodingError_desc="The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause.",be_clientInfoEmptyError_code="client_info_empty_error",be_clientInfoEmptyError_desc="The client info was empty. Please review the trace to determine the root cause.",be_tokenParsingError_code="token_parsing_error",be_tokenParsingError_desc="Token cannot be parsed. Please review stack trace to determine root cause.",be_nullOrEmptyToken_code="null_or_empty_token",be_nullOrEmptyToken_desc="The token is null or empty. Please review the trace to determine the root cause.",be_endpointResolutionError_code="endpoints_resolution_error",be_endpointResolutionError_desc="Error: could not resolve endpoints. Please check network and try again.",be_networkError_code="network_error",be_networkError_desc="Network request failed. Please check network trace to determine root cause.",be_unableToGetOpenidConfigError_code="openid_config_error",be_unableToGetOpenidConfigError_desc="Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",be_hashNotDeserialized_code="hash_not_deserialized",be_hashNotDeserialized_desc="The hash parameters could not be deserialized. Please review the trace to determine the root cause.",be_invalidStateError_code="invalid_state",be_invalidStateError_desc="State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState().",be_stateMismatchError_code="state_mismatch",be_stateMismatchError_desc="State mismatch error. Please check your network. Continued requests may cause cache overflow.",be_stateNotFoundError_code="state_not_found",be_stateNotFoundError_desc="State not found",be_nonceMismatchError_code="nonce_mismatch",be_nonceMismatchError_desc="Nonce mismatch error. This may be caused by a race condition in concurrent requests.",be_nonceNotFoundError_code="nonce_not_found",be_nonceNotFoundError_desc="nonce not found",be_multipleMatchingTokens_code="multiple_matching_tokens",be_multipleMatchingTokens_desc="The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",be_multipleMatchingAccounts_code="multiple_matching_accounts",be_multipleMatchingAccounts_desc="The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",be_multipleMatchingAppMetadata_code="multiple_matching_appMetadata",be_multipleMatchingAppMetadata_desc="The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",be_tokenRequestCannotBeMade_code="request_cannot_be_made",be_tokenRequestCannotBeMade_desc="Token request cannot be made without authorization code or refresh token.",be_appendEmptyScopeError_code="cannot_append_empty_scope",be_appendEmptyScopeError_desc="Cannot append null or empty scope to ScopeSet. Please check the stack trace for more info.",be_removeEmptyScopeError_code="cannot_remove_empty_scope",be_removeEmptyScopeError_desc="Cannot remove null or empty scope from ScopeSet. Please check the stack trace for more info.",be_appendScopeSetError_code="cannot_append_scopeset",be_appendScopeSetError_desc="Cannot append ScopeSet due to error.",be_emptyInputScopeSetError_code="empty_input_scopeset",be_emptyInputScopeSetError_desc="Empty input ScopeSet cannot be processed.",be_DeviceCodePollingCancelled_code="device_code_polling_cancelled",be_DeviceCodePollingCancelled_desc="Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",be_DeviceCodeExpired_code="device_code_expired",be_DeviceCodeExpired_desc="Device code is expired.",be_DeviceCodeUnknownError_code="device_code_unknown_error",be_DeviceCodeUnknownError_desc="Device code stopped polling for unknown reasons.",be_NoAccountInSilentRequest_c
1ode="no_account_in_silent_request",be_NoAccountInSilentRequest_desc="Please pass an account object, silent flow is not supported without account information",be_invalidCacheRecord_code="invalid_cache_record",be_invalidCacheRecord_desc="Cache record object was null or undefined.",be_invalidCacheEnvironment_code="invalid_cache_environment",be_invalidCacheEnvironment_desc="Invalid environment when attempting to create cache entry",be_noAccountFound_code="no_account_found",be_noAccountFound_desc="No account found in cache for given key.",be_CachePluginError_code="no cache plugin set on CacheManager",be_CachePluginError_desc="ICachePlugin needs to be set before using readFromStorage or writeFromStorage",be_noCryptoObj_code="no_crypto_object",be_noCryptoObj_desc="No crypto object detected. This is required for the following operation: ",be_invalidCacheType_code="invalid_cache_type",be_invalidCacheType_desc="Invalid cache type",be_unexpectedAccountType_code="unexpected_account_type",be_unexpectedAccountType_desc="Unexpected account type.",be_unexpectedCredentialType_code="unexpected_credential_type",be_unexpectedCredentialType_desc="Unexpected credential type.",be_invalidAssertion_code="invalid_assertion",be_invalidAssertion_desc="Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",be_invalidClientCredential_code="invalid_client_credential",be_invalidClientCredential_desc="Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",be_tokenRefreshRequired_code="token_refresh_required",be_tokenRefreshRequired_desc="Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",be_userTimeoutReached_code="user_timeout_reached",be_userTimeoutReached_desc="User defined timeout for device code polling reached",be_tokenClaimsRequired_code="token_claims_cnf_required_for_signedjwt",be_tokenClaimsRequired_desc="Cannot generate a POP jwt if the token_claims are not populated",be_noAuthorizationCodeFromServer_code="authorization_code_missing_from_server_response",be_noAuthorizationCodeFromServer_desc="Server response does not contain an authorization code to proceed",be_bindingKeyNotRemovedError_code="binding_key_not_removed",be_bindingKeyNotRemovedError_desc="Could not remove the credential's binding key from storage.",be_logoutNotSupported_code="end_session_endpoint_not_supported",be_logoutNotSupported_desc="Provided authority does not support logout.",Qe=function(n){function t(e,i){var r=n.call(this,e,i)||this;return r.name="ClientAuthError",Object.setPrototypeOf(r,t.prototype),r}return rs(t,n),t.createClientInfoDecodingError=function(e){return new t(be_clientInfoDecodingError_code,be_clientInfoDecodingError_desc+" Failed with error: "+e)},t.createClientInfoEmptyError=function(){return new t(be_clientInfoEmptyError_code,""+be_clientInfoEmptyError_desc)},t.createTokenParsingError=function(e){return new t(be_tokenParsingError_code,be_tokenParsingError_desc+" Failed with error: "+e)},t.createTokenNullOrEmptyError=function(e){return new t(be_nullOrEmptyToken_code,be_nullOrEmptyToken_desc+" Raw Token Value: "+e)},t.createEndpointDiscoveryIncompleteError=function(e){return new t(be_endpointResolutionError_code,be_endpointResolutionError_desc+" Detail: "+e)},t.createNetworkError=function(e,i){return new t(be_networkError_code,be_networkError_desc+" | Fetch client threw: "+i+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToGetOpenidConfigError=function(e){return new t(be_unableToGetOpenidConfigError_code,be_unableToGetOpenidConfigError_desc+" Attempted to retrieve endpoints from: "+e)},t.createHashNotDeserializedError=function(e){return new t(be_hashNotDeserialized_code,be_hashNotDeserialized_desc+" Given Object: "+e)},t.createInvalidStateError=function(e,i){return new t(be_invalidStateError_code,be_invalidStateError_desc+" Invalid State: "+e+", Root Err: "+i)},t.createStateMismatchError=function(){return new t(be_stateMismatchError_code,be_stateMismatchError_desc)},t.createStateNotFoundError=function(e){return new t(be_stateNotFoundError_code,be_stateNotFoundError_desc+":  "+e)},t.createNonceMismatchError=function(){return new t(be_nonceMismatchError_code,be_nonceMismatchError_desc)},t.createNonceNotFoundError=function(e){return new t(be_nonceNotFoundError_code,be_nonceNotFoundError_desc+":  "+e)},t.createMultipleMatchingTokensInCacheError=function(){return new t(be_multipleMatchingTokens_code,be_multipleMatchingTokens_desc+".")},t.createMultipleMatchingAccountsInCacheError=function(){return new t(be_multipleMatchingAccounts_code,be_multipleMatchingAccounts_desc)},t.createMultipleMatchingAppMetadataInCacheError=function(){return new t(be_multipleMatchingAppMetadata_code,be_multipleMatchingAppMetadata_desc)},t.createTokenRequestCannotBeMadeError=function(){return new t(be_tokenRequestCannotBeMade_code,be_tokenRequestCannotBeMade_desc)},t.createAppendEmptyScopeToSetError=function(e){return new t(be_appendEmptyScopeError_code,be_appendEmptyScopeError_desc+" Given Scope: "+e)},t.createRemoveEmptyScopeFromSetError=function(e){return new t(be_removeEmptyScopeError_code,be_removeEmptyScopeError_desc+" Given Scope: "+e)},t.createAppendScopeSetError=function(e){return new t(be_appendScopeSetError_code,be_appendScopeSetError_desc+" Detail Error: "+e)},t.createEmptyInputScopeSetError=function(){return new t(be_emptyInputScopeSetError_code,""+be_emptyInputScopeSetError_desc)},t.createDeviceCodeCancelledError=function(){return new t(be_DeviceCodePollingCancelled_code,""+be_DeviceCodePollingCancelled_desc)},t.createDeviceCodeExpiredError=function(){return new t(be_DeviceCodeExpired_code,""+be_DeviceCodeExpired_desc)},t.createDeviceCodeUnknownError=function(){return new t(be_DeviceCodeUnknownError_code,""+be_DeviceCodeUnknownError_desc)},t.createNoAccountInSilentRequestError=function(){return new t(be_NoAccountInSilentRequest_c
vendor: 7,120 bytes, line 1
1ode,""+be_NoAccountInSilentRequest_desc)},t.createNullOrUndefinedCacheRecord=function(){return new t(be_invalidCacheRecord_code,be_invalidCacheRecord_desc)},t.createInvalidCacheEnvironmentError=function(){return new t(be_invalidCacheEnvironment_code,be_invalidCacheEnvironment_desc)},t.createNoAccountFoundError=function(){return new t(be_noAccountFound_code,be_noAccountFound_desc)},t.createCachePluginError=function(){return new t(be_CachePluginError_code,""+be_CachePluginError_desc)},t.createNoCryptoObjectError=function(e){return new t(be_noCryptoObj_code,""+be_noCryptoObj_desc+e)},t.createInvalidCacheTypeError=function(){return new t(be_invalidCacheType_code,""+be_invalidCacheType_desc)},t.createUnexpectedAccountTypeError=function(){return new t(be_unexpectedAccountType_code,""+be_unexpectedAccountType_desc)},t.createUnexpectedCredentialTypeError=function(){return new t(be_unexpectedCredentialType_code,""+be_unexpectedCredentialType_desc)},t.createInvalidAssertionError=function(){return new t(be_invalidAssertion_code,""+be_invalidAssertion_desc)},t.createInvalidCredentialError=function(){return new t(be_invalidClientCredential_code,""+be_invalidClientCredential_desc)},t.createRefreshRequiredError=function(){return new t(be_tokenRefreshRequired_code,be_tokenRefreshRequired_desc)},t.createUserTimeoutReachedError=function(){return new t(be_userTimeoutReached_code,be_userTimeoutReached_desc)},t.createTokenClaimsRequiredError=function(){return new t(be_tokenClaimsRequired_code,be_tokenClaimsRequired_desc)},t.createNoAuthCodeInServerResponseError=function(){return new t(be_noAuthorizationCodeFromServer_code,be_noAuthorizationCodeFromServer_desc)},t.createBindingKeyNotRemovedError=function(){return new t(be_bindingKeyNotRemovedError_code,be_bindingKeyNotRemovedError_desc)},t.createLogoutNotSupportedError=function(){return new t(be_logoutNotSupported_code,be_logoutNotSupported_desc)},t}(St),Re=function(){function n(){}return n.decodeAuthToken=function(t){if(n.isEmpty(t))throw Qe.createTokenNullOrEmptyError(t);var i=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(t);if(!i||i.length<4)throw Qe.createTokenParsingError("Given token is malformed: "+JSON.stringify(t));return{header:i[1],JWSPayload:i[2],JWSSig:i[3]}},n.isEmpty=function(t){return void 0===t||!t||0===t.length},n.isEmptyObj=function(t){if(t&&!n.isEmpty(t))try{var e=JSON.parse(t);return 0===Object.keys(e).length}catch(i){}return!0},n.startsWith=function(t,e){return 0===t.indexOf(e)},n.endsWith=function(t,e){return t.length>=e.length&&t.lastIndexOf(e)===t.length-e.length},n.queryStringToObject=function(t){var e={},i=t.split("&"),r=function(o){return decodeURIComponent(o.replace(/\+/g," "))};return i.forEach(function(o){if(o.trim()){var s=o.split(/=(.+)/g,2),a=s[0],c=s[1];a&&c&&(e[r(a)]=r(c))}}),e},n.trimArrayEntries=function(t){return t.map(function(e){return e.trim()})},n.removeEmptyStringsFromArray=function(t){return t.filter(function(e){return!n.isEmpty(e)})},n.jsonParseHelper=function(t){try{return JSON.parse(t)}catch(e){return null}},n.matchPattern=function(t,e){return new RegExp(t.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(e)},n}(),Me_pkceNotGenerated_code="pkce_not_created",Me_pkceNotGenerated_desc="The PKCE code challenge and verifier could not be generated.",Me_cryptoDoesNotExist_code="crypto_nonexistent",Me_cryptoDoesNotExist_desc="The crypto object or function is not available.",Me_httpMethodNotImplementedError_code="http_method_not_implemented",Me_httpMethodNotImplementedError_desc="The HTTP method given has not been implemented in this library.",Me_emptyNavigateUriError_code="empty_navigate_uri",Me_emptyNavigateUriError_desc="Navigation URI is empty. Please check stack trace for more info.",Me_hashEmptyError_code="hash_empty_error",Me_hashEmptyError_desc="Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash.",Me_hashDoesNotContainStateError_code="no_state_in_hash",Me_hashDoesNotContainStateError_desc="Hash does not contain state. Please verify that the request originated from msal.",Me_hashDoesNotContainKnownPropertiesError_code="hash_does_not_contain_known_properties",Me_hashDoesNotContainKnownPropertiesError_desc="Hash does not contain known properites. Please verify that your redirectUri is not changing the hash.",Me_unableToParseStateError_code="unable_to_parse_state",Me_unableToParseStateError_desc="Unable to parse state. Please verify that the request originated from msal.",Me_stateInteractionTypeMismatchError_code="state_interaction_type_mismatch",Me_stateInteractionTypeMismatchError_desc="Hash contains state but the interaction type does not match the caller.",Me_interactionInProgress_code="interaction_in_progress",Me_interactionInProgress_desc="Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.  For more visit: aka.ms/msaljs/browser-errors.",Me_popupWindowError_code="popup_window_error",Me_popupWindowError_desc="Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",Me_emptyWindowError_code="empty_window_error",Me_emptyWindowError_desc="window.open returned null or undefined window object.",Me_userCancelledError_code="user_cancelled",Me_userCancelledError_desc="User cancelled the flow.",Me_monitorPopupTimeoutError_code="monitor_window_timeout",Me_monitorPopupTimeoutError_desc="Token acquisition in popup failed due to timeout. For more visit: aka.ms/msaljs/browser-errors.",Me_monitorIframeTimeoutError_code="monitor_window_timeout",Me_monitorIframeTimeoutError_desc="Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors.",Me_redirectInIframeError_code="redirect_in_iframe",Me_redirectInIframeError_desc="Code flow is not supported inside an iframe. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",Me_blockTokenRequestsInHiddenIframeError_code="block_iframe_reload",Me_blockTokenRequestsInHiddenIframeError_desc="Request was blocked inside an iframe because MSAL detected an authentication response. For more visit: aka.ms/msaljs/browser-errors",Me_blockAcquireTokenInPopupsError_code="block_nested_popups",Me_blockAcquireTokenInPopupsError_desc="Request was blocked inside a popup because MSAL detected it was running in a popup.",Me_iframeClosedPrematurelyError_code="iframe_closed_prematurely",Me_iframeClosedPrematurelyError_desc="The iframe being monitored was closed prematurely.",Me_silentLogoutUnsupportedError_code="silent_logout_unsupported",Me_silentLogoutUnsupportedError_desc="Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",Me_noAccountError_code="no_account_error",Me_noAccountError_desc="No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",Me_silentPromptValueError_code="silent_prompt_value_error",Me_silentPromptValueError_desc="The value given for the prompt value is not val
1id for silent requests - must be set to 'none'.",Me_noTokenRequestCacheError_code="no_token_request_cache_error",Me_noTokenRequestCacheError_desc="No token request found in cache.",Me_unableToParseTokenRequestCacheError_code="unable_to_parse_token_request_cache_error",Me_unableToParseTokenRequestCacheError_desc="The cached token request could not be parsed.",Me_noCachedAuthorityError_code="no_cached_authority_error",Me_noCachedAuthorityError_desc="No cached authority found.",Me_authRequestNotSet_code="auth_request_not_set_error",Me_authRequestNotSet_desc="Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",Me_invalidCacheType_code="invalid_cache_type",Me_invalidCacheType_desc="Invalid cache type",Me_notInBrowserEnvironment_code="non_browser_environment",Me_notInBrowserEnvironment_desc="Login and token requests are not supported in non-browser environments.",Me_databaseNotOpen_code="database_not_open",Me_databaseNotOpen_desc="Database is not open!",Me_noNetworkConnectivity_code="no_network_connectivity",Me_noNetworkConnectivity_desc="No network connectivity. Check your internet connection.",Me_postRequestFailed_code="post_request_failed",Me_postRequestFailed_desc="Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",Me_getRequestFailed_code="get_request_failed",Me_getRequestFailed_desc="Network request failed. Please check the network trace to determine root cause.",Me_failedToParseNetworkResponse_code="failed_to_parse_response",Me_failedToParseNetworkResponse_desc="Failed to parse network response. Check network trace.",Me_unableToLoadTokenError_code="unable_to_load_token",Me_unableToLoadTokenError_desc="Error loading token to cache.",Me_signingKeyNotFoundInStorage_code="crypto_key_not_found",Me_signingKeyNotFoundInStorage_desc="Cryptographic Key or Keypair not found in browser storage.",Me_databaseUnavailable_code="database_unavailable",Me_databaseUnavailable_desc="IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",We=function(n){function t(e,i){var r=n.call(this,e,i)||this;return Object.setPrototypeOf(r,t.prototype),r.name="BrowserAuthError",r}return No(t,n),t.createPkceNotGeneratedError=function(e){return new t(Me_pkceNotGenerated_code,Me_pkceNotGenerated_desc+" Detail:"+e)},t.createCryptoNotAvailableError=function(e){return new t(Me_cryptoDoesNotExist_code,Me_cryptoDoesNotExist_desc+" Detail:"+e)},t.createHttpMethodNotImplementedError=function(e){return new t(Me_httpMethodNotImplementedError_code,Me_httpMethodNotImplementedError_desc+" Given Method: "+e)},t.createEmptyNavigationUriError=function(){return new t(Me_emptyNavigateUriError_code,Me_emptyNavigateUriError_desc)},t.createEmptyHashError=function(e){return new t(Me_hashEmptyError_code,Me_hashEmptyError_desc+" Given Url: "+e)},t.createHashDoesNotContainStateError=function(){return new t(Me_hashDoesNotContainStateError_code,Me_hashDoesNotContainStateError_desc)},t.createHashDoesNotContainKnownPropertiesError=function(){return new t(Me_hashDoesNotContainKnownPropertiesError_code,Me_hashDoesNotContainKnownPropertiesError_desc)},t.createUnableToParseStateError=function(){return new t(Me_unableToParseStateError_code,Me_unableToParseStateError_desc)},t.createStateInteractionTypeMismatchError=function(){return new t(Me_stateInteractionTypeMismatchError_code,Me_stateInteractionTypeMismatchError_desc)},t.createInteractionInProgressError=function(){return new t(Me_interactionInProgress_code,Me_interactionInProgress_desc)},t.createPopupWindowError=function(e){var i=Me_popupWindowError_desc;return i=Re.isEmpty(e)?i:i+" Details: "+e,new t(Me_popupWindowError_code,i)},t.createEmptyWindowCreatedError=function(){return new t(Me_emptyWindowError_code,Me_emptyWindowError_desc)},t.createUserCancelledError=function(){return new t(Me_userCancelledError_code,Me_userCancelledError_desc)},t.createMonitorPopupTimeoutError=function(){return new t(Me_monitorPopupTimeoutError_code,Me_monitorPopupTimeoutError_desc)},t.createMonitorIframeTimeoutError=function(){return new t(Me_monitorIframeTimeoutError_code,Me_monitorIframeTimeoutError_desc)},t.createRedirectInIframeError=function(e){return new t(Me_redirectInIframeError_code,Me_redirectInIframeError_desc+" (window.parent !== window) => "+e)},t.createBlockReloadInHiddenIframeError=function(){return new t(Me_blockTokenRequestsInHiddenIframeError_code,Me_blockTokenRequestsInHiddenIframeError_desc)},t.createBlockAcquireTokenInPopupsError=function(){return new t(Me_blockAcquireTokenInPopupsError_code,Me_blockAcquireTokenInPopupsError_desc)},t.createIframeClosedPrematurelyError=function(){return new t(Me_iframeClosedPrematurelyError_code,Me_iframeClosedPrematurelyError_desc)},t.createSilentLogoutUnsupportedError=function(){return new t(Me_silentLogoutUnsupportedError_code,Me_silentLogoutUnsupportedError_desc)},t.createNoAccountError=function(){return new t(Me_noAccountError_code,Me_noAccountError_desc)},t.createSilentPromptValueError=function(e){return new t(Me_silentPromptValueError_code,Me_silentPromptValueError_desc+" Given value: "+e)},t.createUnableToParseTokenRequestCacheError=function(){return new t(Me_unableToParseTokenRequestCacheError_code,Me_unableToParseTokenRequestCacheError_desc)},t.createNoTokenRequestCacheError=function(){return new t(Me_noTokenRequestCacheError_code,Me_noTokenRequestCacheError_desc)},t.createAuthRequestNotSetError=function(){return new t(Me_authRequestNotSet_code,Me_authRequestNotSet_desc)},t.createNoCachedAuthorityError=function(){return new t(Me_noCachedAuthorityError_code,Me_noCachedAuthorityError_desc)},t.createInvalidCacheTypeError=function(){return new t(Me_invalidCacheType_code,""+Me_invalidCacheType_desc)},t.createNonBrowserEnvironmentError=function(){return new t(Me_notInBrowserEnvironment_code,Me_notInBrowserEnvironment_desc)},t.createDatabaseNotOpenError=function(){return new t(Me_databaseNotOpen_code,Me_databaseNotOpen_desc)},t.createNoNetworkConnectivityError=function(){return new t(Me_noNetworkConnectivity_code,Me_noNetworkConnectivity_desc)},t.createPostRequestFailedError=function(e,i){return new t(Me_postRequestFailed_code,Me_postRequestFailed_desc+" | Network client threw: "+e+" | Attempted to reach: "+i.split("?")[0])},t.createGetRequestFailedError=function(e,i){return new t(Me_getRequestFailed_code,Me_getRequestFailed_desc+" | Network client threw: "+e+" | Attempted to reach: "+i.split("?")[0])},t.createFailedToParseNetworkResponseError=function(e){return new t(Me_failedToParseNetworkResponse_code,Me_failedToParseNetworkResponse_desc+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToLoadTokenError=function(e){return new t(Me_unableToLoadTokenError_code,Me_unableToLoadTokenError_desc+" | "+e)},t.createSigningKeyNotFoundInStorageError=function(e){return new t(Me_signingKeyNotFoundInStorage_code,Me_signingKeyNotFoundInStorage_desc+" | No match found for KeyId: "+e)},t.createDatabaseUnavailableError=function(){return new t(Me_databaseUnavailable_code,Me_databaseUnavailable_desc)},t}(St),G7=function(){function n(t){this.base64Encode=new uN,this.cryptoObj=t}return n.prototype.generateCodes=function(){return Fe(this,void 0,void 0,function(){var t,e;return Ne(this,function(i){switch(i.label){case 0:return t=this.generateCodeVerifier(),[4,this.generateCodeChallengeFromVerifier(t)];case 1:return e=i.sent(),[2,{verifier:t,challenge:e}]}})})},n.prototype.generateCodeVerifier=function(){try{var t=new Uint8Array(32);return this.cryptoObj.getRandomValues(t),this.base64Encode.urlEncodeArr(t)}catch(i){throw We.createPkceNotGeneratedError(i)}},n.prototype.generateCodeChallengeFromVerifier=function(t){return Fe(this,void 0,void 0,function(){var e,i;return Ne(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.cryptoObj.sha256Digest(t)];case 1:return e=r.sent(),[2,this.base64Encode.urlEncodeArr(new Uint8Array(e))];case 2:throw i=r.sent(),We.createPkceNotGeneratedError(i);case 3:return[2]}})})},n}(),xI="SHA-256",K7=new Uint8Array([1,0,1]),RI=function(){function n(t){if(this.logger=t,!this.hasCryptoAPI())throw We.createCryptoNotAvailableError("Browser crypto or msCrypto object not available.");this._keygenAlgorithmOptions={name:"RSASSA-PKCS1-v1_5",hash:xI,modulusLength:2048,publicExponent:K7}}return n.prototype.sha256Digest=function(t){return Fe(this,void 0,void 0,function(){var e;return Ne(this,function(i){return e=ff.stringToUtf8Arr(t),[2,this.hasIECrypto()?this.getMSCryptoDigest(xI,e):this.getSubtleCryptoDigest(xI,e)]})})},n.prototype.getRandomValues=function(t){var e=window.msCrypto||window.crypto;if(!e.getRandomValues)throw We.createCryptoNotAvailableError("getRandomValues does not exist.");e.getRandomValues(t)},n.prototype.generateKeyPair=function(t,e){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return[2,this.hasIECrypto()?this.msCryptoGenerateKey(t,e):window.crypto.subtle.generateKey(this._keygenAlgorithmOptions,t,e)]})})}
vendor: 12,684 bytes, line 1
1,n.prototype.exportJwk=function(t){return Fe(this,void 0,void 0,function(){return Ne(this,function(e){return[2,this.hasIECrypto()?this.msCryptoExportJwk(t):window.crypto.subtle.exportKey(yg,t)]})})},n.prototype.importJwk=function(t,e,i){return Fe(this,void 0,void 0,function(){var r,o;return Ne(this,function(s){return r=n.getJwkString(t),o=ff.stringToArrayBuffer(r),[2,this.hasIECrypto()?this.msCryptoImportKey(o,e,i):window.crypto.subtle.importKey(yg,t,this._keygenAlgorithmOptions,e,i)]})})},n.prototype.sign=function(t,e){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return[2,this.hasIECrypto()?this.msCryptoSign(t,e):window.crypto.subtle.sign(this._keygenAlgorithmOptions,t,e)]})})},n.prototype.hasCryptoAPI=function(){return this.hasIECrypto()||this.hasBrowserCrypto()},n.prototype.hasIECrypto=function(){return"msCrypto"in window},n.prototype.hasBrowserCrypto=function(){return"crypto"in window},n.prototype.getSubtleCryptoDigest=function(t,e){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return[2,window.crypto.subtle.digest(t,e)]})})},n.prototype.getMSCryptoDigest=function(t,e){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return[2,new Promise(function(r,o){var s=window.msCrypto.subtle.digest(t,e.buffer);s.addEventListener("complete",function(a){r(a.target.result)}),s.addEventListener("error",function(a){o(a)})})]})})},n.prototype.msCryptoGenerateKey=function(t,e){return Fe(this,void 0,void 0,function(){var i=this;return Ne(this,function(r){return[2,new Promise(function(o,s){var a=window.msCrypto.subtle.generateKey(i._keygenAlgorithmOptions,t,e);a.addEventListener("complete",function(c){o(c.target.result)}),a.addEventListener("error",function(c){s(c)})})]})})},n.prototype.msCryptoExportJwk=function(t){return Fe(this,void 0,void 0,function(){return Ne(this,function(e){return[2,new Promise(function(i,r){var o=window.msCrypto.subtle.exportKey(yg,t);o.addEventListener("complete",function(s){var c=ff.utf8ArrToString(new Uint8Array(s.target.result)).replace(/\r/g,"").replace(/\n/g,"").replace(/\t/g,"").split(" ").join("").replace("\0","");try{i(JSON.parse(c))}catch(d){r(d)}}),o.addEventListener("error",function(s){r(s)})})]})})},n.prototype.msCryptoImportKey=function(t,e,i){return Fe(this,void 0,void 0,function(){var r=this;return Ne(this,function(o){return[2,new Promise(function(s,a){var c=window.msCrypto.subtle.importKey(yg,t,r._keygenAlgorithmOptions,e,i);c.addEventListener("complete",function(d){s(d.target.result)}),c.addEventListener("error",function(d){a(d)})})]})})},n.prototype.msCryptoSign=function(t,e){return Fe(this,void 0,void 0,function(){var i=this;return Ne(this,function(r){return[2,new Promise(function(o,s){var a=window.msCrypto.subtle.sign(i._keygenAlgorithmOptions,t,e);a.addEventListener("complete",function(c){o(c.target.result)}),a.addEventListener("error",function(c){s(c)})})]})})},n.getJwkString=function(t){return JSON.stringify(t,Object.keys(t).sort())},n}(),Q7=function(){function n(){this.dbName=TI,this.version=1,this.tableName="msal.db.keys",this.dbOpen=!1}return n.prototype.open=function(){return Fe(this,void 0,void 0,function(){var t=this;return Ne(this,function(e){return[2,new Promise(function(i,r){var o=window.indexedDB.open(t.dbName,t.version);o.addEventListener("upgradeneeded",function(s){s.target.result.createObjectStore(t.tableName)}),o.addEventListener("success",function(s){t.db=s.target.result,t.dbOpen=!0,i()}),o.addEventListener("error",function(){return r(We.createDatabaseUnavailableError())})})]})})},n.prototype.validateDbIsOpen=function(){return Fe(this,void 0,void 0,function(){return Ne(this,function(t){switch(t.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:return[2,t.sent()];case 2:return[2]}})})},n.prototype.getItem=function(t){return Fe(this,void 0,void 0,function(){var e=this;return Ne(this,function(i){switch(i.label){case 0:return[4,this.validateDbIsOpen()];case 1:return i.sent(),[2,new Promise(function(r,o){if(!e.db)return o(We.createDatabaseNotOpenError());var c=e.db.transaction([e.tableName],"readonly").objectStore(e.tableName).get(t);c.addEventListener("success",function(d){r(d.target.result)}),c.addEventListener("error",function(d){return o(d)})})]}})})},n.prototype.setItem=function(t,e){return Fe(this,void 0,void 0,function(){var i=this;return Ne(this,function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise(function(o,s){if(!i.db)return s(We.createDatabaseNotOpenError());var d=i.db.transaction([i.tableName],"readwrite").objectStore(i.tableName).put(e,t);d.addEventListener("success",function(){return o()}),d.addEventListener("error",function(h){return s(h)})})]}})})},n.prototype.removeItem=function(t){return Fe(this,void 0,void 0,function(){var e=this;return Ne(this,function(i){switch(i.label){case 0:return[4,this.validateDbIsOpen()];case 1:return i.sent(),[2,new Promise(function(r,o){if(!e.db)return o(We.createDatabaseNotOpenError());var c=e.db.transaction([e.tableName],"readwrite").objectStore(e.tableName).delete(t);c.addEventListener("success",function(){return r()}),c.addEventListener("error",function(d){return o(d)})})]}})})},n.prototype.getKeys=function(){return Fe(this,void 0,void 0,function(){var t=this;return Ne(this,function(e){switch(e.label){case 0:return[4,this.validateDbIsOpen()];case 1:return e.sent(),[2,new Promise(function(i,r){if(!t.db)return r(We.createDatabaseNotOpenError());var a=t.db.transaction([t.tableName],"readonly").objectStore(t.tableName).getAllKeys();a.addEventListener("success",function(c){i(c.target.result)}),a.addEventListener("error",function(c){return r(c)})})]}})})},n.prototype.containsKey=function(t){return Fe(this,void 0,void 0,function(){var e=this;return Ne(this,function(i){switch(i.label){case 0:return[4,this.validateDbIsOpen()];case 1:return i.sent(),[2,new Promise(function(r,o){if(!e.db)return o(We.createDatabaseNotOpenError());var c=e.db.transaction([e.tableName],"readonly").objectStore(e.tableName).count(t);c.addEventListener("success",function(d){r(1===d.target.result)}),c.addEventListener("error",function(d){return o(d)})})]}})})},n.prototype.deleteDatabase=function(){return Fe(this,void 0,void 0,function(){return Ne(this,function(t){return[2,new Promise(function(e,i){var r=window.indexedDB.deleteDatabase(TI);r.addEventListener("success",function(){return e(!0)}),r.addEventListener("error",function(){return i(!1)})})]})})},n}(),kI=function(){function n(){this.cache=new Map}return n.prototype.getItem=function(t){return this.cache.get(t)||null},n.prototype.setItem=function(t,e){this.cache.set(t,e)},n.prototype.removeItem=function(t){this.cache.delete(t)},n.prototype.getKeys=function(){var t=[];return this.cache.forEach(function(e,i){t.push(i)}),t},n.prototype.containsKey=function(t){return this.cache.has(t)},n.prototype.clear=function(){this.cache.clear()},n}(),hN=function(){function n(t){this.inMemoryCache=new kI,this.indexedDBCache=new Q7,this.logger=t}return n.prototype.handleDatabaseAccessError=function(t){t instanceof We&&t.errorCode===Me_databaseUnavailable_code&&this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")},n.prototype.getItem=function(t){return Fe(this,void 0,void 0,function(){var e,i;return Ne(this,function(r){switch(r.label){case 0:if(e=this.inMemoryCache.getItem(t))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.getItem(t)];case 2:return[2,r.sent()];case 3:return i=r.sent(),this.handleDatabaseAccessError(i),[3,4];case 4:return[2,e]}})})},n.prototype.setItem=function(t,e){return Fe(this,void 0,void 0,function(){var i;return Ne(this,function(r){switch(r.label){case 0:this.inMemoryCache.setItem(t,e),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.indexedDBCache.setItem(t,e)];case 2:return r.sent(),[3,4];case 3:return i=r.sent(),this.handleDatabaseAccessError(i),[3,4];case 4:return[2]}})})},n.prototype.removeItem=function(t){return Fe(this,void 0,void 0,function(){var e;return Ne(this,function(i){switch(i.label){case 0:this.inMemoryCache.removeItem(t),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.indexedDBCache.removeItem(t)];case 2:return i.sent(),[3,4];case 3:return e=i.sent(),this.handleDatabaseAccessError(e),[3,4];case 4:return[2]}})})},n.prototype.getKeys=function(){return Fe(this,void 0,void 0,function(){var t,e;return Ne(this,function(i){switch(i.label){case 0:if(0!==(t=this.inMemoryCache.getKeys()).length)return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),this.logger.verbose("In-memory cache is empty, now querying persistent storage."),[4,this.indexedDBCache.getKeys()];case 2:return[2,i.sent()];case 3:return e=i.sent(),this.handleDatabaseAccessError(e),[3,4];case 4:return[2,t]}})})},n.prototype.containsKey=function(t){return Fe(this,void 0,void 0,function(){var e,i;return Ne(this,function(r){switch(r.label){case 0:if(e=this.inMemoryCache.containsKey(t))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.containsKey(t)];case 2:return[2,r.sent()];case 3:return i=r.sent(),this.handleDatabaseAccessError(i),[3,4];case 4:return[2,e]}})})},n.prototype.clear=function(){return Fe(this,void 0,void 0,function(){var t;return Ne(this,function(e){switch(e.label){case 0:this.inMemoryCache.clear(),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.indexedDBCache.deleteDatabase()];case 2:return e.sent(),[3,4];case 3:return t=e.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2]}})})},n}(),Y7=function(){function n(t){this.logger=t,this.browserCrypto=new RI(this.logger),this.b64Encode=new uN,this.b64Decode=new z7,this.guidGenerator=new j7(this.browserCrypto),this.pkceGenerator=new G7(this.browserCrypto),this.cache={asymmetricKeys:new hN(this.logger),symmetricKeys:new hN(this.logger)}}return n.prototype.createNewGuid=function(){return this.guidGenerator.generateGuid()},n.prototype.base64Encode=function(t){return this.b64Encode.encode(t)},n.prototype.base64Decode=function(t){return this.b64Decode.decode(t)},n.prototype.generatePkceCodes=function(){return Fe(this,void 0,void 0,function(){return Ne(this,function(t){return[2,this.pkceGenerator.generateCodes()]})})},n.prototype.getPublicKeyThumbprint=function(t){return Fe(this,void 0,void 0,function(){var e,i,o,s,a,c,d;return Ne(this,function(h){switch(h.label){case 0:return[4,this.browserCrypto.generateKeyPair(n.EXTRACTABLE,n.POP_KEY_USAGES)];case 1:return e=h.sent(),[4,this.browserCrypto.exportJwk(e.publicKey)];case 2:return i=h.sent(),o=RI.getJwkString({e:i.e,kty:i.kty,n:i.n}),[4,this.browserCrypto.sha256Digest(o)];case 3:return s=h.sent(),a=this.b64Encode.urlEncodeArr(new Uint8Array(s)),[4,this.browserCrypto.exportJwk(e.privateKey)];case 4:return c=h.sent(),[4,this.browserCrypto.importJwk(c,!1,["sign"])];case 5:return d=h.sent(),[4,this.cache.asymmetricKeys.setItem(a,{privateKey:d,publicKey:e.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri})];case 6:return h.sent(),[2,a]}})})},n.prototype.removeTokenBindingKey=function(t){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){switch(i.label){case 0:return[4,this.cache.asymmetricKeys.removeItem(t)];case 1:return i.sent(),[4,this.cache.asymmetricKeys.containsKey(t)];case 2:return[2,!i.sent()]}})})},n.prototype.clearKeystore=function(){return Fe(this,void 0,void 0,function(){var t,e,i;return Ne(this,function(r){switch(r.label){case 0:return t=Object.keys(this.cache),(e=this.cache[t[0]])?[4,e.deleteDatabase()]:[3,2];case 1:return i=r.sent(),[3,3];case 2:i=!1,r.label=3;case 3:return[2,i]}})})},n.prototype.signJwt=function(t,e){return Fe(this,void 0,void 0,function(){var i,r,o,a,c,d,h,p,g;return Ne(this,function(_){switch(_.label){case 0:return[4,this.cache.asymmetricKeys.getItem(e)];case 1:if(!(i=_.sent()))throw We.createSigningKeyNotFoundInStorageError(e);return[4,this.browserCrypto.exportJwk(i.publicKey)];case 2:return r=_.sent(),o=RI.getJwkString(r),a=this.b64Encode.urlEncode(JSON.stringify({alg:r.alg,type:yg})),t.cnf={jwk:JSON.parse(o)},c=this.b64Encode.urlEncode(JSON.stringify(t)),h=ff.stringToArrayBuffer(d=a+"."+c),[4,this.browserCrypto.sign(i.privateKey,h)];case 3:return p=_.sent(),g=this.b64Encode.urlEncodeArr(new Uint8Array(p)),[2,d+"."+g]}})})},n.POP_KEY_USAGES=["sign","verify"],n.EXTRACTABLE=!0,n}(),Ui=(()=>(function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Info=2]="Info",n[n.Verbose
1=3]="Verbose",n[n.Trace=4]="Trace"}(Ui||(Ui={})),Ui))(),fN=function(){function n(t,e,i){this.level=Ui.Info,this.localCallback=t.loggerCallback||function(){},this.piiLoggingEnabled=t.piiLoggingEnabled||!1,this.level="number"==typeof t.logLevel?t.logLevel:Ui.Info,this.correlationId=t.correlationId||"",this.packageName=e||xe.EMPTY_STRING,this.packageVersion=i||xe.EMPTY_STRING}return n.prototype.clone=function(t,e,i){return new n({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:i||this.correlationId},t,e)},n.prototype.logMessage=function(t,e){if(!(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)){var r,i=(new Date).toUTCString();r=Re.isEmpty(e.correlationId)?Re.isEmpty(this.correlationId)?"["+i+"]":"["+i+"] : ["+this.correlationId+"]":"["+i+"] : ["+e.correlationId+"]",this.executeCallback(e.logLevel,r+" : "+this.packageName+"@"+this.packageVersion+" : "+Ui[e.logLevel]+" - "+t,e.containsPii||!1)}},n.prototype.executeCallback=function(t,e,i){this.localCallback&&this.localCallback(t,e,i)},n.prototype.error=function(t,e){this.logMessage(t,{logLevel:Ui.Error,containsPii:!1,correlationId:e||""})},n.prototype.errorPii=function(t,e){this.logMessage(t,{logLevel:Ui.Error,containsPii:!0,correlationId:e||""})},n.prototype.warning=function(t,e){this.logMessage(t,{logLevel:Ui.Warning,containsPii:!1,correlationId:e||""})},n.prototype.warningPii=function(t,e){this.logMessage(t,{logLevel:Ui.Warning,containsPii:!0,correlationId:e||""})},n.prototype.info=function(t,e){this.logMessage(t,{logLevel:Ui.Info,containsPii:!1,correlationId:e||""})},n.prototype.infoPii=function(t,e){this.logMessage(t,{logLevel:Ui.Info,containsPii:!0,correlationId:e||""})},n.prototype.verbose=function(t,e){this.logMessage(t,{logLevel:Ui.Verbose,containsPii:!1,correlationId:e||""})},n.prototype.verbosePii=function(t,e){this.logMessage(t,{logLevel:Ui.Verbose,containsPii:!0,correlationId:e||""})},n.prototype.trace=function(t,e){this.logMessage(t,{logLevel:Ui.Trace,containsPii:!1,correlationId:e||""})},n.prototype.tracePii=function(t,e){this.logMessage(t,{logLevel:Ui.Trace,containsPii:!0,correlationId:e||""})},n.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},n}(),vC={createNewGuid:function(){throw St.createUnexpectedError("Crypto interface - createNewGuid() has not been implemented")},base64Decode:function(){throw St.createUnexpectedError("Crypto interface - base64Decode() has not been implemented")},base64Encode:function(){throw St.createUnexpectedError("Crypto interface - base64Encode() has not been implemented")},generatePkceCodes:function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(t){throw St.createUnexpectedError("Crypto interface - generatePkceCodes() has not been implemented")})})},getPublicKeyThumbprint:function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(t){throw St.createUnexpectedError("Crypto interface - getPublicKeyThumbprint() has not been implemented")})})},removeTokenBindingKey:function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(t){throw St.createUnexpectedError("Crypto interface - removeTokenBindingKey() has not been implemented")})})},clearKeystore:function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(t){throw St.createUnexpectedError("Crypto interface - clearKeystore() has not been implemented")})})},signJwt:function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(t){throw St.createUnexpectedError("Crypto interface - signJwt() has not been implemented")})})}},vg=function(n){function t(e,i,r){var o=n.call(this,e,i,r)||this;return o.name="ServerError",Object.setPrototypeOf(o,t.prototype),o}return rs(t,n),t}(St),pN=["interaction_required","consent_required","login_required"],X7=["message_only","additional_action","basic_action","user_password_expired","consent_required"],OI_noTokensFoundError_code="no_tokens_found",OI_noTokensFoundError_desc="No refresh token found in the cache. Please sign-in.",id=function(n){function t(e,i,r){var o=n.call(this,e,i,r)||this;return o.name="InteractionRequiredAuthError",Object.setPrototypeOf(o,t.prototype),o}return rs(t,n),t.isInteractionRequiredError=function(e,i,r){var o=!!e&&pN.indexOf(e)>-1,s=!!r&&X7.indexOf(r)>-1,a=!!i&&pN.some(function(c){return i.indexOf(c)>-1});return o||a||s},t.createNoTokensFoundError=function(){return new t(OI_noTokensFoundError_code,OI_noTokensFoundError_desc)},t}(St);function bC(n,t){if(Re.isEmpty(n))throw Qe.createClientInfoEmptyError();try{var e=t.base64Decode(n);return JSON.parse(e)}catch(i){throw Qe.createClientInfoDecodingError(i)}}function bg(n){if(Re.isEmpty(n))throw Qe.createClientInfoDecodingError("Home account ID was empty.");var t=n.split(bo.CLIENT_INFO_SEPARATOR,2);return{uid:t[0],utid:t.length<2?xe.EMPTY_STRING:t[1]}}var jl=(()=>(function(n){n[n.Default=0]="Default",n[n.Adfs=1]="Adfs"}(jl||(jl={})),jl))(),Co=function(){function n(){}return n.prototype.generateAccountId=function(){return[this.homeAccountId,this.environment].join(bo.CACHE_KEY_SEPARATOR).toLowerCase()},n.prototype.generateAccountKey=function(){return n.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})},n.prototype.generateType=function(){switch(this.authorityType){case Ua.ADFS_ACCOUNT_TYPE:return ja.ADFS;case Ua.MSAV1_ACCOUNT_TYPE:return ja.MSA;case Ua.MSSTS_ACCOUNT_TYPE:return ja.MSSTS;
1case Ua.GENERIC_ACCOUNT_TYPE:return ja.GENERIC;default:throw Qe.createUnexpectedAccountTypeError()}},n.prototype.getAccountInfo=function(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,idTokenClaims:this.idTokenClaims}},n.generateAccountCacheKey=function(t){return[t.homeAccountId,t.environment||"",t.tenantId||""].join(bo.CACHE_KEY_SEPARATOR).toLowerCase()},n.createAccount=function(t,e,i,r,o,s,a,c){var d,h,p,g,_,v,M=new n;M.authorityType=Ua.MSSTS_ACCOUNT_TYPE,M.clientInfo=t,M.homeAccountId=e;var w=c||r&&r.getPreferredCache();if(!w)throw Qe.createInvalidCacheEnvironmentError();return M.environment=w,M.realm=(null===(d=null==i?void 0:i.claims)||void 0===d?void 0:d.tid)||"",M.oboAssertion=o,i&&(M.idTokenClaims=i.claims,M.localAccountId=(null===(h=null==i?void 0:i.claims)||void 0===h?void 0:h.oid)||(null===(p=null==i?void 0:i.claims)||void 0===p?void 0:p.sub)||"",M.username=(null===(g=null==i?void 0:i.claims)||void 0===g?void 0:g.preferred_username)||((null===(_=null==i?void 0:i.claims)||void 0===_?void 0:_.emails)?i.claims.emails[0]:""),M.name=null===(v=null==i?void 0:i.claims)||void 0===v?void 0:v.name),M.cloudGraphHostName=s,M.msGraphHost=a,M},n.createGenericAccount=function(t,e,i,r,o,s,a){var c,d,h,p,g=new n;g.authorityType=i&&i.authorityType===jl.Adfs?Ua.ADFS_ACCOUNT_TYPE:Ua.GENERIC_ACCOUNT_TYPE,g.homeAccountId=t,g.realm="",g.oboAssertion=r;var _=a||i&&i.getPreferredCache();if(!_)throw Qe.createInvalidCacheEnvironmentError();return e&&(g.localAccountId=(null===(c=null==e?void 0:e.claims)||void 0===c?void 0:c.oid)||(null===(d=null==e?void 0:e.claims)||void 0===d?void 0:d.sub)||"",g.username=(null===(h=null==e?void 0:e.claims)||void 0===h?void 0:h.upn)||"",g.name=(null===(p=null==e?void 0:e.claims)||void 0===p?void 0:p.name)||"",g.idTokenClaims=null==e?void 0:e.claims),g.environment=_,g.cloudGraphHostName=o,g.msGraphHost=s,g},n.generateHomeAccountId=function(t,e,i,r,o){var s,a=(null===(s=null==o?void 0:o.claims)||void 0===s?void 0:s.sub)?o.claims.sub:xe.EMPTY_STRING;if(e===jl.Adfs)return a;if(t)try{var c=bC(t,r);if(!Re.isEmpty(c.uid)&&!Re.isEmpty(c.utid))return""+c.uid+bo.CLIENT_INFO_SEPARATOR+c.utid}catch(d){}return i.verbose("No client info in response"),a},n.isAccountEntity=function(t){return!!t&&t.hasOwnProperty("homeAccountId")&&t.hasOwnProperty("environment")&&t.hasOwnProperty("realm")&&t.hasOwnProperty("localAccountId")&&t.hasOwnProperty("username")&&t.hasOwnProperty("authorityType")},n.accountInfoIsEqual=function(t,e,i){if(!t||!e)return!1;var r=!0;if(i){var o=t.idTokenClaims||{},s=e.idTokenClaims||{};r=o.iat===s.iat&&o.nonce===s.nonce}return t.homeAccountId===e.homeAccountId&&t.localAccountId===e.localAccountId&&t.username===e.username&&t.tenantId===e.tenantId&&t.environment===e.environment&&r},n}(),Cg=function(){function n(){}return n.prototype.generateAccountId=function(){return n.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},n.prototype.generateCredentialId=function(){return n.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},n.prototype.generateTarget=function(){return n.generateTargetForCacheKey(this.target)},n.prototype.generateCredentialKey=function(){return n.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId,this.tokenType)},n.prototype.generateType=function(){switch(this.credentialType){case Ut.ID_TOKEN:return ja.ID_TOKEN;case Ut.ACCESS_TOKEN:case Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME:return ja.ACCESS_TOKEN;case Ut.REFRESH_TOKEN:return ja.REFRESH_TOKEN;default:throw Qe.createUnexpectedCredentialTypeError()}},n.getCredentialType=function(t){return-1!==t.indexOf(Ut.ACCESS_TOKEN.toLowerCase())?-1!==t.indexOf(Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())?Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME:Ut.ACCESS_TOKEN:-1!==t.indexOf(Ut.ID_TOKEN.toLowerCase())?Ut.ID_TOKEN:-1!==t.indexOf(Ut.REFRESH_TOKEN.toLowerCase())?Ut.REFRESH_TOKEN:xe.NOT_DEFINED}
1,n.generateCredentialCacheKey=function(t,e,i,r,o,s,a,c){var d=[this.generateAccountIdForCacheKey(t,e),this.generateCredentialIdForCacheKey(i,r,o,a),this.generateTargetForCacheKey(s)];return c&&c!==$n.BEARER&&d.push(c.toLowerCase()),d.join(bo.CACHE_KEY_SEPARATOR).toLowerCase()},n.generateAccountIdForCacheKey=function(t,e){return[t,e].join(bo.CACHE_KEY_SEPARATOR).toLowerCase()},n.generateCredentialIdForCacheKey=function(t,e,i,r){return[t,t===Ut.REFRESH_TOKEN&&r||e,i||""].join(bo.CACHE_KEY_SEPARATOR).toLowerCase()},n.generateTargetForCacheKey=function(t){return(t||"").toLowerCase()},n}(),Ft_redirectUriNotSet_code="redirect_uri_empty",Ft_redirectUriNotSet_desc="A redirect URI is required for all calls, and none has been set.",Ft_postLogoutUriNotSet_code="post_logout_uri_empty",Ft_postLogoutUriNotSet_desc="A post logout redirect has not been set.",Ft_claimsRequestParsingError_code="claims_request_parsing_error",Ft_claimsRequestParsingError_desc="Could not parse the given claims request object.",Ft_authorityUriInsecure_code="authority_uri_insecure",Ft_authorityUriInsecure_desc="Authority URIs must use https.  Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",Ft_urlParseError_code="url_parse_error",Ft_urlParseError_desc="URL could not be parsed into appropriate segments.",Ft_urlEmptyError_code="empty_url_error",Ft_urlEmptyError_desc="URL was empty or null.",Ft_emptyScopesError_code="empty_input_scopes_error",Ft_emptyScopesError_desc="Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",Ft_clientIdSingleScopeError_code="clientid_input_scopes_error",Ft_clientIdSingleScopeError_desc="Client ID can only be provided as a single scope.",Ft_invalidPrompt_code="invalid_prompt_value",Ft_invalidPrompt_desc="Supported prompt values are 'login', 'select_account', 'consent', 'create' and 'none'.  Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",Ft_invalidClaimsRequest_code="invalid_claims",Ft_invalidClaimsRequest_desc="Given claims parameter must be a stringified JSON object.",Ft_tokenRequestEmptyError_code="token_request_empty",Ft_tokenRequestEmptyError_desc="Token request was empty and not found in cache.",Ft_logoutRequestEmptyError_code="logout_request_empty",Ft_logoutRequestEmptyError_desc="The logout request was null or undefined.",Ft_invalidCodeChallengeMethod_code="invalid_code_challenge_method",Ft_invalidCodeChallengeMethod_desc='code_challenge_method passed is invalid. Valid values are "plain" and "S256".',Ft_invalidCodeChallengeParams_code="pkce_params_missing",Ft_invalidCodeChallengeParams_desc="Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",Ft_invalidCloudDiscoveryMetadata_code="invalid_cloud_discovery_metadata",Ft_invalidCloudDiscoveryMetadata_desc="Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",Ft_invalidAuthorityMetadata_code="invalid_authority_metadata",Ft_invalidAuthorityMetadata_desc="Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",Ft_untrustedAuthority_code="untrusted_authority",Ft_untrustedAuthority_desc="The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",Ft_missingSshJwk_code="missing_ssh_jwk",Ft_missingSshJwk_desc="Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",Ft_missingSshKid_code="missing_ssh_kid",Ft_missingSshKid_desc="Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",Ft_missingNonceAuthenticationHeader_code="missing_nonce_authentication_header",Ft_missingNonceAuthenticationHeader_desc="Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",Ft_invalidAuthenticationHeader_code="invalid_authentication_header",Ft_invalidAuthenticationHeader_desc="Invalid authentication header provided",Bn=function(n){function t(e,i){var r=n.call(this,e,i)||this;return r.name="ClientConfigurationError",Object.setPrototypeOf(r,t.prototype),r}return rs(t,n),t.createRedirectUriEmptyError=function(){return new t(Ft_redirectUriNotSet_code,Ft_redirectUriNotSet_desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(Ft_postLogoutUriNotSet_code,Ft_postLogoutUriNotSet_desc)},t.createClaimsRequestParsingError=function(e){return new t(Ft_claimsRequestParsingError_code,Ft_claimsRequestParsingError_desc+" Given value: "+e)},t.createInsecureAuthorityUriError=function(e){return new t(Ft_authorityUriInsecure_code,Ft_authorityUriInsecure_desc+" Given URI: "+e)},t.createUrlParseError=function(e){return new t(Ft_urlParseError_code,Ft_urlParseError_desc+" Given Error: "+e)},t.createUrlEmptyError=function(){return new t(Ft_urlEmptyError_code,Ft_urlEmptyError_desc)},t.createEmptyScopesArrayError=function(){return new t(Ft_emptyScopesError_code,""+Ft_emptyScopesError_desc)},t.createClientIdSingleScopeError=function(e){return new t(Ft_clientIdSingleScopeError_code,Ft_clientIdSingleScopeError_desc+" Given Scopes: "+e)},t.createInvalidPromptError=function(e){return new t(Ft_invalidPrompt_code,Ft_invalidPrompt_desc+" Given value: "+e)},t.createInvalidClaimsRequestError=function(){return new t(Ft_invalidClaimsRequest_c
vendor: 4,207 bytes, line 1
1ode,Ft_invalidClaimsRequest_desc)},t.createEmptyLogoutRequestError=function(){return new t(Ft_logoutRequestEmptyError_code,Ft_logoutRequestEmptyError_desc)},t.createEmptyTokenRequestError=function(){return new t(Ft_tokenRequestEmptyError_code,Ft_tokenRequestEmptyError_desc)},t.createInvalidCodeChallengeMethodError=function(){return new t(Ft_invalidCodeChallengeMethod_code,Ft_invalidCodeChallengeMethod_desc)},t.createInvalidCodeChallengeParamsError=function(){return new t(Ft_invalidCodeChallengeParams_code,Ft_invalidCodeChallengeParams_desc)},t.createInvalidCloudDiscoveryMetadataError=function(){return new t(Ft_invalidCloudDiscoveryMetadata_code,Ft_invalidCloudDiscoveryMetadata_desc)},t.createInvalidAuthorityMetadataError=function(){return new t(Ft_invalidAuthorityMetadata_code,Ft_invalidAuthorityMetadata_desc)},t.createUntrustedAuthorityError=function(){return new t(Ft_untrustedAuthority_code,Ft_untrustedAuthority_desc)},t.createMissingSshJwkError=function(){return new t(Ft_missingSshJwk_code,Ft_missingSshJwk_desc)},t.createMissingSshKidError=function(){return new t(Ft_missingSshKid_code,Ft_missingSshKid_desc)},t.createMissingNonceAuthenticationHeadersError=function(){return new t(Ft_missingNonceAuthenticationHeader_code,Ft_missingNonceAuthenticationHeader_desc)},t.createInvalidAuthenticationHeaderError=function(e,i){return new t(Ft_invalidAuthenticationHeader_code,Ft_invalidAuthenticationHeader_desc+". Invalid header: "+e+". Details: "+i)},t}(Qe),za=function(){function n(t){var e=this,i=t?Re.trimArrayEntries(gC(t)):[],r=i?Re.removeEmptyStringsFromArray(i):[];this.validateInputScopes(r),this.scopes=new Set,r.forEach(function(o){return e.scopes.add(o)})}return n.fromString=function(t){return new n((t||"").split(" "))},n.prototype.validateInputScopes=function(t){if(!t||t.length<1)throw Bn.createEmptyScopesArrayError()},n.prototype.containsScope=function(t){var i=new n(this.printScopesLowerCase().split(" "));return!Re.isEmpty(t)&&i.scopes.has(t.toLowerCase())},n.prototype.containsScopeSet=function(t){var e=this;return!(!t||t.scopes.size<=0)&&this.scopes.size>=t.scopes.size&&t.asArray().every(function(i){return e.containsScope(i)})},n.prototype.containsOnlyOIDCScopes=function(){var t=this,e=0;return sN.forEach(function(i){t.containsScope(i)&&(e+=1)}),this.scopes.size===e},n.prototype.appendScope=function(t){Re.isEmpty(t)||this.scopes.add(t.trim())},n.prototype.appendScopes=function(t){var e=this;try{t.forEach(function(i){return e.appendScope(i)})}catch(i){throw Qe.createAppendScopeSetError(i)}},n.prototype.removeScope=function(t){if(Re.isEmpty(t))throw Qe.createRemoveEmptyScopeFromSetError(t);this.scopes.delete(t.trim())},n.prototype.removeOIDCScopes=function(){var t=this;sN.forEach(function(e){t.scopes.delete(e)})},n.prototype.unionScopeSets=function(t){if(!t)throw Qe.createEmptyInputScopeSetError();var e=new Set;return t.scopes.forEach(function(i){return e.add(i.toLowerCase())}),this.scopes.forEach(function(i){return e.add(i.toLowerCase())}),e},n.prototype.intersectingScopeSets=function(t){if(!t)throw Qe.createEmptyInputScopeSetError();t.containsOnlyOIDCScopes()||t.removeOIDCScopes();var e=this.unionScopeSets(t),i=t.getScopeCount(),r=this.getScopeCount();return e.size<r+i},n.prototype.getScopeCount=function(){return this.scopes.size},n.prototype.asArray=function(){var t=[];return this.scopes.forEach(function(e){return t.push(e)}),t},n.prototype.printScopes=function(){return this.scopes?this.asArray().join(" "):""},n.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},n}(),zc=function(){function n(t,e){if(Re.isEmpty(t))throw Qe.createTokenNullOrEmptyError(t);this.rawToken=t,this.claims=n.extractTokenClaims(t,e)}return n.extractTokenClaims=function(t,e){var i=Re.decodeAuthToken(t);try{var o=e.base64Decode(i.JWSPayload);return JSON.parse(o)}catch(s){throw Qe.createTokenParsingError(s)}},n}(),Xs=function(){function n(t,e){this.clientId=t,this.cryptoImpl=e}return n.prototype.getAllAccounts=function(){var t=this,e=this.getAccountsFilteredBy(),i=Object.keys(e).map(function(s){return e[s]});return i.length<1?[]:i.map(function(s){var c=n.toObject(new Co,s).getAccountInfo(),d=t.readIdTokenFromCache(t.clientId,c
1);return d&&!c.idTokenClaims&&(c.idTokenClaims=new zc(d.secret,t.cryptoImpl).claims),c})},n.prototype.saveCacheRecord=function(t){return Ot(this,void 0,void 0,function(){return Pt(this,function(e){switch(e.label){case 0:if(!t)throw Qe.createNullOrUndefinedCacheRecord();return t.account&&this.setAccount(t.account),t.idToken&&this.setIdTokenCredential(t.idToken),t.accessToken?[4,this.saveAccessToken(t.accessToken)]:[3,2];case 1:e.sent(),e.label=2;case 2:return t.refreshToken&&this.setRefreshTokenCredential(t.refreshToken),t.appMetadata&&this.setAppMetadata(t.appMetadata),[2]}})})},n.prototype.saveAccessToken=function(t){return Ot(this,void 0,void 0,function(){var e,i,r,o,s=this;return Pt(this,function(a){switch(a.label){case 0:return e=this.getCredentialsFilteredBy({clientId:t.clientId,credentialType:t.credentialType,environment:t.environment,homeAccountId:t.homeAccountId,realm:t.realm,tokenType:t.tokenType}),i=za.fromString(t.target),(r=Object.keys(e.accessTokens).map(function(c){return e.accessTokens[c]}))?(o=[],r.forEach(function(c){za.fromString(c.target).intersectingScopeSets(i)&&o.push(s.removeCredential(c))}),[4,Promise.all(o)]):[3,2];case 1:a.sent(),a.label=2;case 2:return this.setAccessTokenCredential(t),[2]}})})},n.prototype.getAccountsFilteredBy=function(t){return this.getAccountsFilteredByInternal(t?t.homeAccountId:"",t?t.environment:"",t?t.realm:"")},n.prototype.getAccountsFilteredByInternal=function(t,e,i){var r=this,o=this.getKeys(),s={};return o.forEach(function(a){var c=r.getAccount(a);!c||t&&!r.matchHomeAccountId(c,t)||e&&!r.matchEnvironment(c,e)||i&&!r.matchRealm(c,i)||(s[a]=c)}),s},n.prototype.getCredentialsFilteredBy=function(t){return this.getCredentialsFilteredByInternal(t.homeAccountId,t.environment,t.credentialType,t.clientId,t.familyId,t.realm,t.target,t.oboAssertion,t.tokenType,t.keyId)},n.prototype.getCredentialsFilteredByInternal=function(t,e,i,r,o,s,a,c,d,h){var p=this,g=this.getKeys(),_={idTokens:{},accessTokens:{},refreshTokens:{}};return g.forEach(function(v){var M=Cg.getCredentialType(v);if(M!==xe.NOT_DEFINED){var w=p.getSpecificCredential(v,M);if(w&&(!c||p.matchOboAssertion(w,c))&&(!t||p.matchHomeAccountId(w,t))&&(!e||p.matchEnvironment(w,e))&&(!s||p.matchRealm(w,s))&&(!i||p.matchCredentialType(w,i))&&(!r||p.matchClientId(w,r))&&(!o||p.matchFamilyId(w,o))&&(!a||p.matchTarget(w,a))){if(i===Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME){if(d&&!p.matchTokenType(w,d))return;switch(d){case $n.POP:if(-1===v.indexOf($n.POP))return void p.removeItem(v,Hl.CREDENTIAL);break;case $n.SSH:if(h&&!p.matchKeyId(w,h))return}}switch(M){case Ut.ID_TOKEN:_.idTokens[v]=w;break;case Ut.ACCESS_TOKEN:case Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME:_.accessTokens[v]=w;break;case Ut.REFRESH_TOKEN:_.refreshTokens[v]=w}}}}),_},n.prototype.getAppMetadataFilteredBy=function(t){return this.getAppMetadataFilteredByInternal(t.environment,t.clientId)},n.prototype.getAppMetadataFilteredByInternal=function(t,e){var i=this,r=this.getKeys(),o={};return r.forEach(function(s){if(i.isAppMetadata(s)){var a=i.getAppMetadata(s);!a||t&&!i.matchEnvironment(a,t)||e&&!i.matchClientId(a,e)||(o[s]=a)}}),o},n.prototype.getAuthorityMetadataByAlias=function(t){var e=this,i=this.getAuthorityMetadataKeys(),r=null;return i.forEach(function(o){if(e.isAuthorityMetadata(o)&&-1!==o.indexOf(e.clientId)){var s=e.getAuthorityMetadata(o);!s||-1!==s.aliases.indexOf(t)&&(r=s)}}),r},n.prototype.removeAllAccounts=function(){return Ot(this,void 0,void 0,function(){var t,e,i=this;return Pt(this,function(r){switch(r.label){case 0:return t=this.getKeys(),e=[],t.forEach(function(o){!i.getAccount(o)||e.push(i.removeAccount(o))}),[4,Promise.all(e)];case 1:return r.sent(),[2,!0]}})})},n.prototype.removeAccount=function(t){return Ot(this,void 0,void 0,function(){var e;return Pt(this,function(i){switch(i.label){case 0:if(!(e=this.getAccount(t)))throw Qe.createNoAccountFoundError();return[4,this.removeAccountContext(e)];case 1:return[2,i.sent()&&this.removeItem(t,Hl.ACCOUNT)]}})})},n.prototype.removeAccountContext=function(t){return Ot(this,void 0,void 0,function(){var e,i,r,o=this;return Pt(this,function(s){switch(s.label){case 0:return e=this.getKeys(),i=t.generateAccountId(),r=[],e.forEach(function(a){var c=Cg.getCredentialType(a);if(c!==xe.NOT_DEFINED){var d=o.getSpecificCredential(a,c);d&&i===d.generateAccountId()&&r.push(o.removeCredential(d))}}),[4,Promise.all(r)];case 1:return s.sent(),[2,!0]}})})},n.prototype.removeCredential=function(t){return Ot(this,void 0,void 0,function(){var e,r;return Pt(this,function(o){switch(o.label){case 0:if(e=t.generateCredentialKey(),t.credentialType.toLowerCase()!==Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(t.tokenType!==$n.POP)return[3,4];if(!(r=t.keyId))return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.cryptoImpl.removeTokenBindingKey(r)];case 2:return o.sent(),[3,4];case 3:throw o.sent(),Qe.createBindingKeyNotRemovedError();case 4:return[2,this.removeItem(e,Hl.CREDENTIAL)]}})})},n.prototype.removeAppMetadata=function(){var t=this;
1return this.getKeys().forEach(function(i){t.isAppMetadata(i)&&t.removeItem(i,Hl.APP_METADATA)}),!0},n.prototype.readCacheRecord=function(t,e,i,r,o,s){var a=this.readAccountFromCache(t),c=this.readIdTokenFromCache(e,t),d=this.readAccessTokenFromCache(e,t,i,o,s),h=this.readRefreshTokenFromCache(e,t,!1),p=this.readAppMetadataFromCache(r,e);return a&&c&&(a.idTokenClaims=new zc(c.secret,this.cryptoImpl).claims),{account:a,idToken:c,accessToken:d,refreshToken:h,appMetadata:p}},n.prototype.readAccountFromCache=function(t){var e=Co.generateAccountCacheKey(t);return this.getAccount(e)},n.prototype.readIdTokenFromCache=function(t,e){var r=this.getCredentialsFilteredBy({homeAccountId:e.homeAccountId,environment:e.environment,credentialType:Ut.ID_TOKEN,clientId:t,realm:e.tenantId}),o=Object.keys(r.idTokens).map(function(a){return r.idTokens[a]}),s=o.length;if(s<1)return null;if(s>1)throw Qe.createMultipleMatchingTokensInCacheError();return o[0]},n.prototype.readAccessTokenFromCache=function(t,e,i,r,o){var a={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:r&&r!==$n.BEARER?Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME:Ut.ACCESS_TOKEN,clientId:t,realm:e.tenantId,target:i.printScopesLowerCase(),tokenType:r,keyId:o},c=this.getCredentialsFilteredBy(a),d=Object.keys(c.accessTokens).map(function(p){return c.accessTokens[p]}),h=d.length;if(h<1)return null;if(h>1)throw Qe.createMultipleMatchingTokensInCacheError();return d[0]},n.prototype.readRefreshTokenFromCache=function(t,e,i){var s=this.getCredentialsFilteredBy({homeAccountId:e.homeAccountId,environment:e.environment,credentialType:Ut.REFRESH_TOKEN,clientId:t,familyId:i?"1":void 0}),a=Object.keys(s.refreshTokens).map(function(d){return s.refreshTokens[d]});return a.length<1?null:a[0]},n.prototype.readAppMetadataFromCache=function(t,e){var r=this.getAppMetadataFilteredBy({environment:t,clientId:e}),o=Object.keys(r).map(function(a){return r[a]}),s=o.length;if(s<1)return null;if(s>1)throw Qe.createMultipleMatchingAppMetadataInCacheError();return o[0]},n.prototype.isAppMetadataFOCI=function(t,e){var i=this.readAppMetadataFromCache(t,e);return!(!i||"1"!==i.familyId)},n.prototype.matchHomeAccountId=function(t,e){return!(!t.homeAccountId||e!==t.homeAccountId)},n.prototype.matchOboAssertion=function(t,e){return!(!t.oboAssertion||e!==t.oboAssertion)},n.prototype.matchEnvironment=function(t,e){var i=this.getAuthorityMetadataByAlias(e);return!!(i&&i.aliases.indexOf(t.environment)>-1)},n.prototype.matchCredentialType=function(t,e){return t.credentialType&&e.toLowerCase()===t.credentialType.toLowerCase()},n.prototype.matchClientId=function(t,e){return!(!t.clientId||e!==t.clientId)},n.prototype.matchFamilyId=function(t,e){return!(!t.familyId||e!==t.familyId)},n.prototype.matchRealm=function(t,e){return!(!t.realm||e!==t.realm)},n.prototype.matchTarget=function(t,e){if(t.credentialType!==Ut.ACCESS_TOKEN&&t.credentialType!==Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME||!t.target)return!1;var r=za.fromString(t.target),o=za.fromString(e);return o.containsOnlyOIDCScopes()?o.removeScope(xe.OFFLINE_ACCESS_SCOPE):o.removeOIDCScopes(),r.containsScopeSet(o)},n.prototype.matchTokenType=function(t,e){return!(!t.tokenType||t.tokenType!==e)},n.prototype.matchKeyId=function(t,e){return!(!t.keyId||t.keyId!==e)},n.prototype.isAppMetadata=function(t){return-1!==t.indexOf(MI)},n.prototype.isAuthorityMetadata=function(t){return-1!==t.indexOf("authority-metadata")},n.prototype.generateAuthorityMetadataCacheKey=function(t){return"authority-metadata-"+this.clientId+"-"+t},n.prototype.getSpecificCredential=function(t,e){switch(e){case Ut.ID_TOKEN:return this.getIdTokenCredential(t);case Ut.ACCESS_TOKEN:case Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME:return this.getAccessTokenCredential(t);case Ut.REFRESH_TOKEN:return this.getRefreshTokenCredential(t);default:return null}},n.toObject=function(t,e){for(var i in e)t[i]=e[i];return t},n}(),Z7=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return rs(t,n),t.prototype.setAccount=function(){throw St.createUnexpectedError("Storage interface - setAccount() has not been implemented for the cacheStorage interface.")},t.prototype.getAccount=function(){throw St.createUnexpectedError("Storage interface - getAccount() has not been implemented for the cacheStorage interface.")},t.prototype.setIdTokenCredential=function(){throw St.createUnexpectedError("Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getIdTokenCredential=function(){throw St.createUnexpectedError("Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAccessTokenCredential=function(){throw St.createUnexpectedError("Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getAccessTokenCredential=function(){throw St.createUnexpectedError("Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setRefreshTokenCredential=function(){throw St.createUnexpectedError("Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getRefreshTokenCredential=function(){throw St.createUnexpectedError("Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAppMetadata=function(){throw St.createUnexpectedError("Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAppMetadata=function(){throw St.createUnexpectedError("Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.setServerTelemetry=function(){throw St.createUnexpectedError("Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.getServerTelemetry=function(){throw St.createUnexpectedError("Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.setAuthorityMetadata=function(){throw St.createUnexpectedError("Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadata=function(){throw St.createUnexpectedError("Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadataKeys=function(){throw St.createUnexpectedError("Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.")},t.prototype.setThrottlingCache=function(){throw St.createUnexpectedError("Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.getThrottlingCache=function(){throw St.createUnexpectedError("Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.removeItem=function(){throw St.createUnexpectedError("Storage interface - removeItem() has not been implemented for the cacheStorage interface.")},t.prototype.containsKey=function(){throw St.createUnexpectedError("Storage interface - containsKey() has not been implemented for the cacheStorage interface.")},t.prototype.getKeys=function(){throw St.createUnexpectedError("Storage interface - getKeys() has not been implemented for the cacheStorage interface.")},t.prototype.clear=function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(i){throw St.createUnexpectedError("Storage interface - clear() has not been implemented for the cacheStorage interface.")})})},t}(Xs),CC=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return rs(t,n),t.createIdTokenEntity=function(e,i,r,o,s,a){var c=new t;return c.credentialType=Ut.ID_TOKEN,c.homeAccountId=e,c.environment=i,c.clientId=o,c.secret=r,c.realm=s,c.oboAssertion=a,c},t.isIdTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===Ut.ID_TOKEN},t}(Cg),$a=function(){function n(){}return n.nowSeconds=function(){return Math.round((new Date).getTime()/1e3)},n.isTokenExpired=function(t,e){var i=Number(t)||0;return n.nowSeconds()+e>i},n.wasClockTurnedBack=function(t){return Number(t)>n.nowSeconds()},n.delay=function(t,e){return new Promise(function(i){return setTimeout(function(){return i(e)},t)})},n}(),wC=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return rs(t,n),t.createAccessTokenEntity=function(e,i,r,o,s,a,c,d,h,p,g,_,v){var M,w=new t;w.homeAccountId=e,w.credentialType=Ut.ACCESS_TOKEN,w.secret=r;var F=$a.nowSeconds();if(w.cachedAt=F.toString(),w.expiresOn=c.toString(),w.extendedExpiresOn=d.toString(),p&&(w.refreshOn=p.toString()),w.environment=i,w.clientId=o,w.realm=s,w.target=a,w.oboAssertion=_,w.tokenType=Re.isEmpty(g)?$n.BEARER:g,w.tokenType!==$n.BEARER)switch(w.credentialType=Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME,w.tokenType){case $n.POP:var V=zc.extractTokenClaims(r,h);if(!(null===(M=null==V?void 0:V.cnf)||void 0===M?void 0:M.kid))throw Qe.createTokenClaimsRequiredError();w.keyId=V.cnf.kid;break;case $n.SSH:w.keyId=v}return w},t.isAccessTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.hasOwnProperty("target")&&(e.credentialType===Ut.ACCESS_TOKEN||e.credentialType===Ut.ACCESS_TOKEN_WITH_AUTH_SCHEME)},t}(Cg),PI=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return rs(t,n),t.createRefreshTokenEntity=function(e,i,r,o,s,a){var c=new t;return c.clientId=o,c.credentialType=Ut.REFRESH_TOKEN,c.environment=i,c.homeAccountId=e,c.secret=r,c.oboAssertion=a,s&&(c.familyId=s),c},t.isRefreshTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===Ut.REFRESH_TOKEN},t}(Cg),FI=function(){function n(){}return n.prototype.generateAppMetadataKey=function(){return n.generateAppMetadataCacheKey(this.environment,this.clientId)},n.generateAppMetadataCacheKey=function(t,e){return[MI,t,e].join(bo.CACHE_KEY_SEPARATOR).toLowerCase()}
1,n.createAppMetadataEntity=function(t,e,i){var r=new n;return r.clientId=t,r.environment=e,i&&(r.familyId=i),r},n.isAppMetadataEntity=function(t,e){return!!e&&0===t.indexOf(MI)&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("environment")},n}(),SC=function(){function n(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return n.isServerTelemetryEntity=function(t,e){var i=0===t.indexOf(br.CACHE_KEY),r=!0;return e&&(r=e.hasOwnProperty("failedRequests")&&e.hasOwnProperty("errors")&&e.hasOwnProperty("cacheHits")),i&&r},n}(),NI=function(){function n(){this.expiresAt=$a.nowSeconds()+86400}return n.prototype.updateCloudDiscoveryMetadata=function(t,e){this.aliases=t.aliases,this.preferred_cache=t.preferred_cache,this.preferred_network=t.preferred_network,this.aliasesFromNetwork=e},n.prototype.updateEndpointMetadata=function(t,e){this.authorization_endpoint=t.authorization_endpoint,this.token_endpoint=t.token_endpoint,this.end_session_endpoint=t.end_session_endpoint,this.issuer=t.issuer,this.endpointsFromNetwork=e},n.prototype.updateCanonicalAuthority=function(t){this.canonical_authority=t},n.prototype.resetExpiresAt=function(){this.expiresAt=$a.nowSeconds()+86400},n.prototype.isExpired=function(){return this.expiresAt<=$a.nowSeconds()},n.isAuthorityMetadataEntity=function(t,e){return!!e&&0===t.indexOf("authority-metadata")&&e.hasOwnProperty("aliases")&&e.hasOwnProperty("preferred_cache")&&e.hasOwnProperty("preferred_network")&&e.hasOwnProperty("canonical_authority")&&e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("aliasesFromNetwork")&&e.hasOwnProperty("endpointsFromNetwork")&&e.hasOwnProperty("expiresAt")},n}(),mN=function(){function n(){}return n.isThrottlingEntity=function(t,e){var i=!1;t&&(i=0===t.indexOf("throttling"));var r=!0;return e&&(r=e.hasOwnProperty("throttleTime")),i&&r},n}(),pf=function(){function n(){}return n.setRequestState=function(t,e,i){var r=n.generateLibraryState(t,i);return Re.isEmpty(e)?r:""+r+xe.RESOURCE_DELIM+e},n.generateLibraryState=function(t,e){if(!t)throw Qe.createNoCryptoObjectError("generateLibraryState");var i={id:t.createNewGuid()};e&&(i.meta=e);var r=JSON.stringify(i);return t.base64Encode(r)},n.parseRequestState=function(t,e){if(!t)throw Qe.createNoCryptoObjectError("parseRequestState");if(Re.isEmpty(e))throw Qe.createInvalidStateError(e,"Null, undefined or empty state");try{var i=e.split(xe.RESOURCE_DELIM),r=i[0],o=i.length>1?i.slice(1).join(xe.RESOURCE_DELIM):"",s=t.base64Decode(r),a=JSON.parse(s);return{userRequestState:Re.isEmpty(o)?"":o,libraryState:a}}catch(c){throw Qe.createInvalidStateError(e,c)}},n}(),wo=(()=>(function(n){n.HOME_ACCOUNT_ID="home_account_id",n.UPN="UPN"}(wo||(wo={})),wo))(),ss_redirectUriNotSet_code="redirect_uri_empty",ss_redirectUriNotSet_desc="A redirect URI is required for all calls, and none has been set.",ss_postLogoutUriNotSet_code="post_logout_uri_empty",ss_postLogoutUriNotSet_desc="A post logout redirect has not been set.",ss_storageNotSupportedError_code="storage_not_supported",ss_storageNotSupportedError_desc="Given storage configuration option was not supported.",ss_noRedirectCallbacksSet_code="no_redirect_callbacks",ss_noRedirectCallbacksSet_desc="No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics.",ss_stubPcaInstanceCalled_code="stubbed_public_client_application_called",ss_stubPcaInstanceCalled_desc="Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",ss_inMemRedirectUnavailable_code="in_mem_redirect_unavailable",ss_inMemRedirectUnavailable_desc="Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true.",wg=function(n){function t(e,i){var r=n.call(this,e,i)||this;return r.name="BrowserConfigurationAuthError",Object.setPrototypeOf(r,t.prototype),r}return No(t,n),t.createRedirectUriEmptyError=function(){return new t(ss_redirectUriNotSet_code,ss_redirectUriNotSet_desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(ss_postLogoutUriNotSet_code,ss_postLogoutUriNotSet_desc)},t.createStorageNotSupportedError=function(e){return new t(ss_storageNotSupportedError_code,ss_storageNotSupportedError_desc+" Given Location: "+e)},t.createRedirectCallbacksNotSetError=function(){return new t(ss_noRedirectCallbacksSet_code,ss_noRedirectCallbacksSet_desc)},t.createStubPcaInstanceCalledError=function(){return new t(ss_stubPcaInstanceCalled_code,ss_stubPcaInstanceCalled_desc)},t.createInMemoryRedirectUnavailableError=function(){return new t(ss_inMemRedirectUnavailable_code,ss_inMemRedirectUnavailable_desc)},t}(St),gN=function(){function n(t){this.validateWindowStorage(t),this.windowStorage=window[t]}return n.prototype.validateWindowStorage=function(t){if(t!==Cr.LocalStorage&&t!==Cr.SessionStorage)throw wg.createStorageNotSupportedError(t);if(!window[t])throw wg.createStorageNotSupportedError(t)},n.prototype.getItem=function(t){return this.windowStorage.getItem(t)},n.prototype.setItem=function(t,e){this.windowStorage.setItem(t,e)},n.prototype.removeItem=function(t){this.windowStorage.removeItem(t)},n.prototype.getKeys=function(){return Object.keys(this.windowStorage)},n.prototype.containsKey=function(t){return this.windowStorage.hasOwnProperty(t)},n}(),pn=function(){function n(t){if(this._urlString=t,Re.isEmpty(this._urlString))throw Bn.createUrlEmptyError();Re.isEmpty(this.getHash())&&(this._urlString=n.canonicalizeUri(t))}return Object.defineProperty(n.prototype,"urlString",{get:function(){return this._urlString}
vendor: 8,207 bytes, line 1
1,enumerable:!1,configurable:!0}),n.canonicalizeUri=function(t){if(t){var e=t.toLowerCase();return Re.endsWith(e,"?")?e=e.slice(0,-1):Re.endsWith(e,"?/")&&(e=e.slice(0,-2)),Re.endsWith(e,"/")||(e+="/"),e}return t},n.prototype.validateAsUri=function(){var t;try{t=this.getUrlComponents()}catch(e){throw Bn.createUrlParseError(e)}if(!t.HostNameAndPort||!t.PathSegments)throw Bn.createUrlParseError("Given url string: "+this.urlString);if(!t.Protocol||"https:"!==t.Protocol.toLowerCase())throw Bn.createInsecureAuthorityUriError(this.urlString)},n.appendQueryString=function(t,e){return Re.isEmpty(e)?t:t.indexOf("?")<0?t+"?"+e:t+"&"+e},n.removeHashFromUrl=function(t){return n.canonicalizeUri(t.split("#")[0])},n.prototype.replaceTenantPath=function(t){var e=this.getUrlComponents(),i=e.PathSegments;return t&&0!==i.length&&(i[0]===hg.COMMON||i[0]===hg.ORGANIZATIONS)&&(i[0]=t),n.constructAuthorityUriFromObject(e)},n.prototype.getHash=function(){return n.parseHash(this.urlString)},n.prototype.getUrlComponents=function(){var t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),e=this.urlString.match(t);if(!e)throw Bn.createUrlParseError("Given url string: "+this.urlString);var i={Protocol:e[1],HostNameAndPort:e[4],AbsolutePath:e[5],QueryString:e[7]},r=i.AbsolutePath.split("/");return r=r.filter(function(o){return o&&o.length>0}),i.PathSegments=r,!Re.isEmpty(i.QueryString)&&i.QueryString.endsWith("/")&&(i.QueryString=i.QueryString.substring(0,i.QueryString.length-1)),i},n.getDomainFromUrl=function(t){var e=RegExp("^([^:/?#]+://)?([^/?#]*)"),i=t.match(e);if(!i)throw Bn.createUrlParseError("Given url string: "+t);return i[2]},n.getAbsoluteUrl=function(t,e){if(t[0]===xe.FORWARD_SLASH){var r=new n(e).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+t}return t},n.parseHash=function(t){var e=t.indexOf("#"),i=t.indexOf("#/");return i>-1?t.substring(i+2):e>-1?t.substring(e+1):""},n.constructAuthorityUriFromObject=function(t){return new n(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))},n.getDeserializedHash=function(t){if(Re.isEmpty(t))return{};var e=n.parseHash(t),i=Re.queryStringToObject(Re.isEmpty(e)?t:e);if(!i)throw Qe.createHashNotDeserializedError(JSON.stringify(i));return i},n.hashContainsKnownProperties=function(t){if(Re.isEmpty(t)||t.indexOf("=")<0)return!1;var e=n.getDeserializedHash(t);return!!(e.code||e.error_description||e.error||e.state)},n}(),_N=function(){function n(){}return n.extractBrowserRequestState=function(t,e){if(Re.isEmpty(e))return null;try{return pf.parseRequestState(t,e).libraryState.meta}catch(r){throw Qe.createInvalidStateError(e,r)}},n.parseServerResponseFromHash=function(t){if(!t)return{};var e=new pn(t);return pn.getDeserializedHash(e.getHash())},n}(),yN=function(n){function t(e,i,r,o){var s=n.call(this,e,r)||this;return s.COOKIE_LIFE_MULTIPLIER=864e5,s.cacheConfig=i,s.logger=o,s.internalStorage=new kI,s.browserStorage=s.setupBrowserStorage(s.cacheConfig.cacheLocation),s.temporaryCacheStorage=s.setupTemporaryCacheStorage(s.cacheConfig.cacheLocation),s.migrateCacheEntries(),s}return No(t,n),t.prototype.setupBrowserStorage=function(e){switch(e){case Cr.LocalStorage:case Cr.SessionStorage:try{return new gN(e)}catch(i){this.logger.verbose(i);break}}return this.cacheConfig.cacheLocation=Cr.MemoryStorage,new kI},t.prototype.setupTemporaryCacheStorage=function(e){switch(e){case Cr.LocalStorage:case Cr.SessionStorage:try{return new gN(Cr.SessionStorage)}catch(i){return this.logger.verbose(i),this.internalStorage}default:return this.internalStorage}},t.prototype.migrateCacheEntries=function(){var e=this,r=xe.CACHE_PREFIX+"."+er.CLIENT_INFO,o=xe.CACHE_PREFIX+"."+er.ERROR,s=xe.CACHE_PREFIX+"."+er.ERROR_DESC,p=[this.browserStorage.getItem(xe.CACHE_PREFIX+"."+er.ID_TOKEN),this.browserStorage.getItem(r),this.browserStorage.getItem(o),this.browserStorage.getItem(s)];[er.ID_TOKEN,er.CLIENT_INFO,er.ERROR,er.ERROR_DESC].forEach(function(_,v){return e.migrateCacheEntry(_,p[v])})},t.prototype.migrateCacheEntry=function(e,i){i&&this.setTemporaryCache(e,i,!0)},t.prototype.validateAndParseJson=function(e){try{var i=JSON.parse(e);return i&&"object"==typeof i?i:null}catch(r){return null}},t.prototype.getItem=function(e){return this.browserStorage.getItem(e)},t.prototype.setItem=function(e,i){this.browserStorage.setItem(e,i)},t.prototype.getAccount=function(e){var i=this.getItem(e);if(!i)return null;var r=this.validateAndParseJson(i);return r&&Co.isAccountEntity(r)?Xs.toObject(new Co,r):null},t.prototype.setAccount=function(e){this.logger.trace("BrowserCacheManager.setAccount called");var i=e.generateAccountKey();this.setItem(i,JSON.stringify(e))},t.prototype.getIdTokenCredential=function(e){var i=this.getItem(e);if(!i)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null;var r=this.validateAndParseJson(i);return r&&CC.isIdTokenEntity(r)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),Xs.toObject(new CC,r)):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null)},t.prototype.setIdTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");var i=e.generateCredentialKey();this.setItem(i,JSON.stringify(e))},t.prototype.getAccessTokenCredential=function(e){var i=this.getItem(e);if(!i)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null;var r=this.validateAndParseJson(i);return r&&wC.isAccessTokenEntity(r)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),Xs.toObject(new wC,r)):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null)},t.prototype.setAccessTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");var i=e.generateCredentialKey();this.setItem(i,JSON.stringify(e))},t.prototype.getRefreshTokenCredential=function(e){var i=this.getItem(e);if(!i)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null;var r=this.validateAndParseJson(i);return r&&PI.isRefreshTokenEntity(r)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),Xs.toObject(new PI,r)):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null)},t.prototype.setRefreshTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");var i=e.generateCredentialKey();this.setItem(i,JSON.stringify(e))},t.prototype.getAppMetadata=function(e){var i=this.getItem(e);if(!i)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;var r=this.validateAndParseJson(i);return r&&FI.isAppMetadataEntity(e,r)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),Xs.toObject(new FI,r)):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)},t.prototype.setAppMetadata=function(e){this.logger.trace("BrowserCacheManager.setAppMetadata called");var i=e.generateAppMetadataKey();this.setItem(i,JSON.stringify(e))},t.prototype.getServerTelemetry=function(e){var i=this.getItem(e);if(!i)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;var r=this.validateAndParseJson(i);return r&&SC.isServerTelemetryEntity(e,r)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),Xs.toObject(new SC,r)):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)},t.prototype.setServerTelemetry=function(e,i){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(e,JSON.stringify(i))},t.prototype.getAuthorityMetadata=function(e){var i=this.internalStorage.getItem(e);if(!i)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;var r=this.validateAndParseJson(i);return r&&NI.isAuthorityMetadataEntity(e,r)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),Xs.toObject(new NI,r)):null},t.prototype.getAuthorityMetadataKeys=function(){var e=this;return this.internalStorage.getKeys().filter(function(r){return e.isAuthorityMetadata(r)}
1)},t.prototype.setWrapperMetadata=function(e,i){this.internalStorage.setItem(nd.WRAPPER_SKU,e),this.internalStorage.setItem(nd.WRAPPER_VER,i)},t.prototype.getWrapperMetadata=function(){return[this.internalStorage.getItem(nd.WRAPPER_SKU)||"",this.internalStorage.getItem(nd.WRAPPER_VER)||""]},t.prototype.setAuthorityMetadata=function(e,i){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(e,JSON.stringify(i))},t.prototype.getActiveAccount=function(){var e=this.generateCacheKey(er.ACTIVE_ACCOUNT),i=this.browserStorage.getItem(e);return i&&this.getAccountInfoByFilter({localAccountId:i})[0]||null},t.prototype.setActiveAccount=function(e){var i=this.generateCacheKey(er.ACTIVE_ACCOUNT);e?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(i,e.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(i))},t.prototype.getAccountInfoByFilter=function(e){return this.getAllAccounts().filter(function(r){return!(e.username&&e.username.toLowerCase()!==r.username.toLowerCase()||e.homeAccountId&&e.homeAccountId!==r.homeAccountId||e.localAccountId&&e.localAccountId!==r.localAccountId||e.tenantId&&e.tenantId!==r.tenantId||e.environment&&e.environment!==r.environment)})},t.prototype.getThrottlingCache=function(e){var i=this.getItem(e);if(!i)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;var r=this.validateAndParseJson(i);return r&&mN.isThrottlingEntity(e,r)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),Xs.toObject(new mN,r)):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)},t.prototype.setThrottlingCache=function(e,i){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(e,JSON.stringify(i))},t.prototype.getTemporaryCache=function(e,i){var r=i?this.generateCacheKey(e):e;if(this.cacheConfig.storeAuthStateInCookie){var o=this.getItemCookie(r);if(o)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),o}var s=this.temporaryCacheStorage.getItem(r);if(!s){if(this.cacheConfig.cacheLocation===Cr.LocalStorage){var a=this.browserStorage.getItem(r);if(a)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),a}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),s},t.prototype.setTemporaryCache=function(e,i,r){var o=r?this.generateCacheKey(e):e;this.temporaryCacheStorage.setItem(o,i),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(o,i))},t.prototype.removeItem=function(e){return this.browserStorage.removeItem(e),this.temporaryCacheStorage.removeItem(e),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(e)),!0},t.prototype.containsKey=function(e){return this.browserStorage.containsKey(e)||this.temporaryCacheStorage.containsKey(e)},t.prototype.getKeys=function(){return oN(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},t.prototype.clear=function(){return Fe(this,void 0,void 0,function(){var e=this;return Ne(this,function(i){switch(i.label){case 0:return[4,this.removeAllAccounts()];case 1:return i.sent(),this.removeAppMetadata(),this.getKeys().forEach(function(r){(e.browserStorage.containsKey(r)||e.temporaryCacheStorage.containsKey(r))&&(-1!==r.indexOf(xe.CACHE_PREFIX)||-1!==r.indexOf(e.clientId))&&e.removeItem(r)}),this.internalStorage.clear(),[2]}})})},t.prototype.setItemCookie=function(e,i,r){var o=encodeURIComponent(e)+"="+encodeURIComponent(i)+";path=/;";r&&(o+="expires="+this.getCookieExpirationTime(r)+";"),this.cacheConfig.secureCookies&&(o+="Secure;"),document.cookie=o},t.prototype.getItemCookie=function(e){for(var i=encodeURIComponent(e)+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){for(var s=r[o];" "===s.charAt(0);)s=s.substring(1);if(0===s.indexOf(i))return decodeURIComponent(s.substring(i.length,s.length))}return""},t.prototype.clearMsalCookies=function(){var e=this,i=xe.CACHE_PREFIX+"."+this.clientId;document.cookie.split(";").forEach(function(o){for(;" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(i)){var s=o.split("=")[0];
vendor: 4,972 bytes, line 1
1e.clearItemCookie(s)}})},t.prototype.clearItemCookie=function(e){this.setItemCookie(e,"",-1)},t.prototype.getCookieExpirationTime=function(e){var i=new Date;return new Date(i.getTime()+e*this.COOKIE_LIFE_MULTIPLIER).toUTCString()},t.prototype.getCache=function(){return this.browserStorage},t.prototype.setCache=function(){},t.prototype.generateCacheKey=function(e){return this.validateAndParseJson(e)?JSON.stringify(e):Re.startsWith(e,xe.CACHE_PREFIX)||Re.startsWith(e,er.ADAL_ID_TOKEN)?e:xe.CACHE_PREFIX+"."+this.clientId+"."+e},t.prototype.generateAuthorityKey=function(e){var i=pf.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(Mn.AUTHORITY+"."+i)},t.prototype.generateNonceKey=function(e){var i=pf.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(Mn.NONCE_IDTOKEN+"."+i)},t.prototype.generateStateKey=function(e){var i=pf.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(Mn.REQUEST_STATE+"."+i)},t.prototype.getCachedAuthority=function(e){var i=this.generateStateKey(e),r=this.getTemporaryCache(i);if(!r)return null;var o=this.generateAuthorityKey(r);return this.getTemporaryCache(o)},t.prototype.updateCacheEntries=function(e,i,r,o,s){this.logger.trace("BrowserCacheManager.updateCacheEntries called");var a=this.generateStateKey(e);this.setTemporaryCache(a,e,!1);var c=this.generateNonceKey(e);this.setTemporaryCache(c,i,!1);var d=this.generateAuthorityKey(e);if(this.setTemporaryCache(d,r,!1),s){var h={credential:s.homeAccountId,type:wo.HOME_ACCOUNT_ID};this.setTemporaryCache(Mn.CCS_CREDENTIAL,JSON.stringify(h),!0)}else Re.isEmpty(o)||(h={credential:o,type:wo.UPN},this.setTemporaryCache(Mn.CCS_CREDENTIAL,JSON.stringify(h),!0))},t.prototype.resetRequestCache=function(e){var i=this;this.logger.trace("BrowserCacheManager.resetRequestCache called"),Re.isEmpty(e)||this.getKeys().forEach(function(r){-1!==r.indexOf(e)&&i.removeItem(r)}),e&&(this.removeItem(this.generateStateKey(e)),this.removeItem(this.generateNonceKey(e)),this.removeItem(this.generateAuthorityKey(e))),this.removeItem(this.generateCacheKey(Mn.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(Mn.ORIGIN_URI)),this.removeItem(this.generateCacheKey(Mn.URL_HASH)),this.removeItem(this.generateCacheKey(Mn.CORRELATION_ID)),this.removeItem(this.generateCacheKey(Mn.CCS_CREDENTIAL)),this.setInteractionInProgress(!1)},t.prototype.cleanRequestByState=function(e){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),e){var i=this.generateStateKey(e),r=this.temporaryCacheStorage.getItem(i);this.logger.infoPii("BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: "+r),this.resetRequestCache(r||"")}this.clearMsalCookies()},t.prototype.cleanRequestByInteractionType=function(e){var i=this;this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(function(r){if(-1!==r.indexOf(Mn.REQUEST_STATE)){var o=i.temporaryCacheStorage.getItem(r);if(o){var s=_N.extractBrowserRequestState(i.cryptoImpl,o);s&&s.interactionType===e&&(i.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: "+o),i.resetRequestCache(o))}}}),this.clearMsalCookies()},t.prototype.cacheCodeRequest=function(e,i){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");var r=i.base64Encode(JSON.stringify(e));this.setTemporaryCache(Mn.REQUEST_PARAMS,r,!0)},t.prototype.getCachedRequest=function(e,i){this.logger.trace("BrowserCacheManager.getCachedRequest called");var r=this.getTemporaryCache(Mn.REQUEST_PARAMS,!0);if(!r)throw We.createNoTokenRequestCacheError();var o=this.validateAndParseJson(i.base64Decode(r));if(!o)throw We.createUnableToParseTokenRequestCacheError();if(this.removeItem(this.generateCacheKey(Mn.REQUEST_PARAMS)),Re.isEmpty(o.authority)){var s=this.generateAuthorityKey(e),a=this.getTemporaryCache(s);if(!a)throw We.createNoCachedAuthorityError();o.authority=a}return o},t.prototype.isInteractionInProgress=function(e){var i=this.getInteractionInProgress();return e?i===this.clientId:!!i},t.prototype.getInteractionInProgress=function(){return this.getTemporaryCache(xe.CACHE_PREFIX+"."+Mn.INTERACTION_STATUS_KEY,!1)},t.prototype.setInteractionInProgress=function(e){var i=this.getInteractionInProgress(),r=xe.CACHE_PREFIX+"."+Mn.INTERACTION_STATUS_KEY;e&&!i?this.setTemporaryCache(r,this.clientId,!1):!e&&i===this.clientId&&this.removeItem(r)},t.prototype.getLegacyLoginHint=function(){var e=this.getTemporaryCache(er.ADAL_ID_TOKEN);e&&(this.browserStorage.removeItem(er.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));var i=this.getTemporaryCache(er.ID_TOKEN,!0);i&&(this.removeItem(this.generateCacheKey(er.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));var r=i||e;if(r){var o=new zc(r,this.cryptoImpl);if(o.claims&&o.claims.preferred_username)return this.logger.verbose("No SSO params used and ADAL
1/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),o.claims.preferred_username;if(o.claims&&o.claims.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),o.claims.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null},t}(Xs),Sg=(()=>(function(n){n.AAD="AAD",n.OIDC="OIDC"}(Sg||(Sg={})),Sg))(),bN={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},nq={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:Ui.Info,correlationId:""},iq={sendGetRequestAsync:function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(t){throw St.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented")})})},sendPostRequestAsync:function(){return Ot(this,void 0,void 0,function(){return Pt(this,function(t){throw St.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented")})})}},rq={sku:xe.SKU,version:"5.2.0",cpu:"",os:""},oq={clientSecret:"",clientAssertion:void 0};function aq(n){return Lr({clientCapabilities:[]},n)}var lq={sendGetRequestAsync:function(){return Promise.reject(St.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented for the Network interface."))},sendPostRequestAsync:function(){return Promise.reject(St.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented for the Network interface."))}},cq=function(){function n(){}return n.prototype.sendGetRequestAsync=function(t,e){return Fe(this,void 0,void 0,function(){var i,r,o;return Ne(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,fetch(t,{method:Ys.GET,headers:this.getFetchHeaders(e)})];case 1:return i=s.sent(),[3,3];case 2:throw r=s.sent(),window.navigator.onLine?We.createGetRequestFailedError(r,t):We.createNoNetworkConnectivityError();case 3:return s.trys.push([3,5,,6]),o={headers:this.getHeaderDict(i.headers)},[4,i.json()];case 4:return[2,(o.body=s.sent(),o.status=i.status,o)];case 5:throw s.sent(),We.createFailedToParseNetworkResponseError(t);case 6:return[2]}})})},n.prototype.sendPostRequestAsync=function(t,e){return Fe(this,void 0,void 0,function(){var i,r,o,s;return Ne(this,function(a){switch(a.label){case 0:i=e&&e.body||"",a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch(t,{method:Ys.POST,headers:this.getFetchHeaders(e),body:i})];case 2:return r=a.sent(),[3,4];case 3:throw o=a.sent(),window.navigator.onLine?We.createPostRequestFailedError(o,t):We.createNoNetworkConnectivityError();case 4:return a.trys.push([4,6,,7]),s={headers:this.getHeaderDict(r.headers)},[4,r.json()];case 5:return[2,(s.body=a.sent(),s.status=r.status,s)];case 6:throw a.sent(),We.createFailedToParseNetworkResponseError(t);case 7:return[2]}})})},n.prototype.getFetchHeaders=function(t){var e=new Headers;if(!t||!t.headers)return e;var i=t.headers;
1return Object.keys(i).forEach(function(r){e.append(r,i[r])}),e},n.prototype.getHeaderDict=function(t){var e={};return t.forEach(function(i,r){e[r]=i}),e},n}(),uq=function(){function n(){}return n.prototype.sendGetRequestAsync=function(t,e){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return[2,this.sendRequestAsync(t,Ys.GET,e)]})})},n.prototype.sendPostRequestAsync=function(t,e){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return[2,this.sendRequestAsync(t,Ys.POST,e)]})})},n.prototype.sendRequestAsync=function(t,e,i){var r=this;return new Promise(function(o,s){var a=new XMLHttpRequest;if(a.open(e,t,!0),r.setXhrHeaders(a,i),a.onload=function(){(a.status<200||a.status>=300)&&s(e===Ys.POST?We.createPostRequestFailedError("Failed with status "+a.status,t):We.createGetRequestFailedError("Failed with status "+a.status,t));try{var c=JSON.parse(a.responseText),d={headers:r.getHeaderDict(a),body:c,status:a.status};o(d)}catch(h){s(We.createFailedToParseNetworkResponseError(t))}},a.onerror=function(){window.navigator.onLine?s(e===Ys.POST?We.createPostRequestFailedError("Failed with status "+a.status,t):We.createGetRequestFailedError("Failed with status "+a.status,t)):s(We.createNoNetworkConnectivityError())},e===Ys.POST&&i&&i.body)a.send(i.body);else{if(e!==Ys.GET)throw We.createHttpMethodNotImplementedError(e);a.send()}})},n.prototype.setXhrHeaders=function(t,e){if(e&&e.headers){var i=e.headers;
vendor: 14,589 bytes, line 1
1Object.keys(i).forEach(function(r){t.setRequestHeader(r,i[r])})}},n.prototype.getHeaderDict=function(t){var i=t.getAllResponseHeaders().trim().split(/[\r\n]+/),r={};return i.forEach(function(o){var s=o.split(": "),a=s.shift(),c=s.join(": ");a&&c&&(r[a]=c)}),r},n}(),oi=function(){function n(){}return n.clearHash=function(t){t.location.hash=xe.EMPTY_STRING,"function"==typeof t.history.replaceState&&t.history.replaceState(null,xe.EMPTY_STRING,""+t.location.origin+t.location.pathname+t.location.search)},n.replaceHash=function(t){var e=t.split("#");e.shift(),window.location.hash=e.length>0?e.join("#"):""},n.isInIframe=function(){return window.parent!==window},n.isInPopup=function(){return"undefined"!=typeof window&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf("msal.")},n.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},n.getHomepage=function(){var e=new pn(window.location.href).getUrlComponents();return e.Protocol+"//"+e.HostNameAndPort+"/"},n.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new cq:new uq},n.blockReloadInHiddenIframes=function(){if(pn.hashContainsKnownProperties(window.location.hash)&&n.isInIframe())throw We.createBlockReloadInHiddenIframeError()},n.blockRedirectInIframe=function(t,e){var i=n.isInIframe();if(t===Pe.Redirect&&i&&!e)throw We.createRedirectInIframeError(i)},n.blockAcquireTokenInPopups=function(){if(n.isInPopup())throw We.createBlockAcquireTokenInPopupsError()},n.blockNonBrowserEnvironment=function(t){if(!t)throw We.createNonBrowserEnvironmentError()},n.detectIEOrEdge=function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE "),i=t.indexOf("Trident/"),r=t.indexOf("Edge/");return e>0||i>0||r>0},n}(),dq=function(){function n(){}return n.prototype.navigateInternal=function(t,e){return n.defaultNavigateWindow(t,e)},n.prototype.navigateExternal=function(t,e){return n.defaultNavigateWindow(t,e)},n.defaultNavigateWindow=function(t,e){return e.noHistory?window.location.replace(t):window.location.assign(t),new Promise(function(i){setTimeout(function(){i(!0)},e.timeout)})},n}(),VI="2.19.0",nt=(()=>(function(n){n.ACCOUNT_ADDED="msal:accountAdded",n.ACCOUNT_REMOVED="msal:accountRemoved",n.LOGIN_START="msal:loginStart",n.LOGIN_SUCCESS="msal:loginSuccess",n.LOGIN_FAILURE="msal:loginFailure",n.ACQUIRE_TOKEN_START="msal:acquireTokenStart",n.ACQUIRE_TOKEN_SUCCESS="msal:acquireTokenSuccess",n.ACQUIRE_TOKEN_FAILURE="msal:acquireTokenFailure",n.ACQUIRE_TOKEN_NETWORK_START="msal:acquireTokenFromNetworkStart",n.SSO_SILENT_START="msal:ssoSilentStart",n.SSO_SILENT_SUCCESS="msal:ssoSilentSuccess",n.SSO_SILENT_FAILURE="msal:ssoSilentFailure",n.HANDLE_REDIRECT_START="msal:handleRedirectStart",n.HANDLE_REDIRECT_END="msal:handleRedirectEnd",n.POPUP_OPENED="msal:popupOpened",n.LOGOUT_START="msal:logoutStart",n.LOGOUT_SUCCESS="msal:logoutSuccess",n.LOGOUT_FAILURE="msal:logoutFailure",n.LOGOUT_END="msal:logoutEnd"}(nt||(nt={})),nt))(),gq=function(){function n(t,e){this.eventCallbacks=new Map,this.logger=t,this.browserCrypto=e,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}return n.prototype.addEventCallback=function(t){if("undefined"!=typeof window){var e=this.browserCrypto.createNewGuid();return this.eventCallbacks.set(e,t),this.logger.verbose("Event callback registered with id: "+e),e}return null},n.prototype.removeEventCallback=function(t){this.eventCallbacks.delete(t),this.logger.verbose("Event callback "+t+" removed.")},n.prototype.enableAccountStorageEvents=function(){"undefined"!=typeof window&&(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))},n.prototype.disableAccountStorageEvents=function(){"undefined"!=typeof window&&(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))},n.prototype.emitEvent=function(t,e,i,r){var o=this;if("undefined"!=typeof window){var s={eventType:t,interactionType:e||null,payload:i||null,error:r||null,timestamp:Date.now()};this.logger.info("Emitting event: "+t),this.eventCallbacks.forEach(function(a,c){o.logger.verbose("Emitting event to callback "+c+": "+t),a.apply(null,[s])})}},n.prototype.handleAccountCacheChange=function(t){try{var e=t.newValue||t.oldValue;if(!e)return;var i=JSON.parse(e);if("object"!=typeof i||!Co.isAccountEntity(i))return;var o=Xs.toObject(new Co,i).getAccountInfo();!t.oldValue&&t.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(nt.ACCOUNT_ADDED,void 0,o)):!t.newValue&&t.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(nt.ACCOUNT_REMOVED,void 0,o))}catch(s){return}},n}(),EC=function(){function n(){}return n.generateThrottlingStorageKey=function(t){return"throttling."+JSON.stringify(t)},n.preProcess=function(t,e){var i,r=n.generateThrottlingStorageKey(e),o=t.getThrottlingCache(r);if(o){if(o.throttleTime<Date.now())return void t.removeItem(r,Hl.THROTTLING);throw new vg((null===(i=o.errorCodes)||void 0===i?void 0:i.join(" "))||xe.EMPTY_STRING,o.errorMessage,o.subError)}},n.postProcess=function(t,e,i){if(n.checkResponseStatus(i)||n.checkResponseForRetryAfter(i)){var r={throttleTime:n.calculateThrottleTime(parseInt(i.headers[Ha.RETRY_AFTER])),error:i.body.error,errorCodes:i.body.error_codes,errorMessage:i.body.error_description,subError:i.body.suberror};t.setThrottlingCache(n.generateThrottlingStorageKey(e),r)}},n.checkResponseStatus=function(t){return 429===t.status||t.status>=500&&t.status<600},n.checkResponseForRetryAfter=function(t){return!!t.headers&&t.headers.hasOwnProperty(Ha.RETRY_AFTER)&&(t.status<200||t.status>=300)},n.calculateThrottleTime=function(t){var e=t<=0?0:t,i=Date.now()/1e3;return Math.floor(1e3*Math.min(i+(e||60),i+3600))},n.removeThrottle=function(t,e,i,r){var s=this.generateThrottlingStorageKey({clientId:e,authority:i.authority,scopes:i.scopes,homeAccountIdentifier:r,authenticationScheme:i.authenticationScheme,resourceRequestMethod:i.resourceRequestMethod,resourceRequestUri:i.resourceRequestUri,shrClaims:i.shrClaims,sshJwk:i.sshJwk,sshKid:i.sshKid});return t.removeItem(s,Hl.THROTTLING)},n}(),_q=function(){function n(t,e){this.networkClient=t,this.cacheManager=e}return n.prototype.sendPostRequest=function(t,e,i){return Ot(this,void 0,void 0,function(){var r,o;return Pt(this,function(s){switch(s.label){case 0:EC.preProcess(this.cacheManager,t),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(e,i)];case 2:return r=s.sent(),[3,4];case 3:throw(o=s.sent())instanceof St?o:Qe.createNetworkError(e,o);case 4:return EC.postProcess(this.cacheManager,t,r),[2,r]}})})},n}(),BI=function(){function n(t){this.config=function(n){var t=n.authOptions,e=n.systemOptions,i=n.loggerOptions,r=n.storageInterface,o=n.networkInterface,s=n.cryptoInterface,a=n.clientCredentials,c=n.libraryInfo,d=n.serverTelemetryManager,h=n.persistencePlugin,p=n.serializableCache,g=Lr(Lr({},nq),i);return{authOptions:aq(t),systemOptions:Lr(Lr({},bN),e),loggerOptions:g,storageInterface:r||new Z7(t.clientId,vC),networkInterface:o||iq,cryptoInterface:s||vC,clientCredentials:a||oq,libraryInfo:Lr(Lr({},rq),c),serverTelemetryManager:d||null,persistencePlugin:h||null,serializableCache:p||null}}(t),this.logger=new fN(this.config.loggerOptions,"@azure/msal-common","5.2.0"),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new _q(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority}return n.prototype.createTokenRequestHeaders=function(t){var e={};if(e[Ha.CONTENT_TYPE]=xe.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&t)switch(t.type){case wo.HOME_ACCOUNT_ID:try{var i=bg(t.credential);e[Ha.CCS_HEADER]="Oid:"+i.uid+"@"+i.utid}catch(r){this.logger.verbose("Could not parse home account ID for CCS Header: "+r)}break;case wo.UPN:e[Ha.CCS_HEADER]="UPN: "+t.credential}return e},n.prototype.executePostToTokenEndpoint=function(t,e,i,r){return Ot(this,void 0,void 0,function(){var o;return Pt(this,function(s){switch(s.label){case 0:return[4,this.networkManager.sendPostRequest(r,t,{body:e,headers:i})];case 1:return o=s.sent(),this.config.serverTelemetryManager&&o.status<500&&429!==o.status&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,o]}})})},n.prototype.updateAuthority=function(t){if(!t.discoveryComplete())throw Qe.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=t},n}(),rd=function(){function n(){}return n.validateRedirectUri=function(t){if(Re.isEmpty(t))throw Bn.createRedirectUriEmptyError()},n.validatePrompt=function(t){var e=[];for(var i in ed)e.push(ed[i]);if(e.indexOf(t)<0)throw Bn.createInvalidPromptError(t)},n.validateClaims=function(t){try{JSON.parse(t)}catch(e){throw Bn.createInvalidClaimsRequestError()}},n.validateCodeChallengeParams=function(t,e){if(Re.isEmpty(t)||Re.isEmpty(e))throw Bn.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(e)},n.validateCodeChallengeMethod=function(t){if([aN.PLAIN,aN.S256].indexOf(t)<0)throw Bn.createInvalidCodeChallengeMethodError()},n.sanitizeEQParams=function(t,e){return t?(e.forEach(function(i,r){t[r]&&delete t[r]}),t):{}},n}(),mf=function(){function n(){this.parameters=new Map}return n.prototype.addResponseTypeCode=function(){this.parameters.set(Ht.RESPONSE_TYPE,encodeURIComponent(xe.CODE_RESPONSE_TYPE))},n.prototype.addResponseMode=function(t){this.parameters.set(Ht.RESPONSE_MODE,encodeURIComponent(t||fg.QUERY))},n.prototype.addScopes=function(t,e){void 0===e&&(e=!0);var i=e?gC(t||[],II):t||[],r=new za(i);this.parameters.set(Ht.SCOPE,encodeURIComponent(r.printScopes()))},n.prototype.addClientId=function(t){this.parameters.set(Ht.CLIENT_ID,encodeURIComponent(t))},n.prototype.addRedirectUri=function(t){rd.validateRedirectUri(t),this.parameters.set(Ht.REDIRECT_URI,encodeURIComponent(t))},n.prototype.addPostLogoutRedirectUri=function(t){rd.validateRedirectUri(t),this.parameters.set(Ht.POST_LOGOUT_URI,encodeURIComponent(t))},n.prototype.addIdTokenHint=function(t){this.parameters.set(Ht.ID_TOKEN_HINT,encodeURIComponent(t))},n.prototype.addDomainHint=function(t){this.parameters.set(hf.DOMAIN_HINT,encodeURIComponent(t))},n.prototype.addLoginHint=function(t){this.parameters.set(hf.LOGIN_HINT,encodeURIComponent(t))},n.prototype.addCcsUpn=function(t){this.parameters.set(Ha.CCS_HEADER,encodeURIComponent("UPN:"+t))},n.prototype.addCcsOid=function(t){this.parameters.set(Ha.CCS_HEADER,encodeURIComponent("Oid:"+t.uid+"@"+t.utid))},n.prototype.addSid=function(t){this.parameters.set(hf.SID,encodeURIComponent(t))},n.prototype.addClaims=function(t,e){var i=this.addClientCapabilitiesToClaims(t,e);rd.validateClaims(i),this.parameters.set(Ht.CLAIMS,encodeURIComponent(i))},n.prototype.addCorrelationId=function(t){this.parameters.set(Ht.CLIENT_REQUEST_ID,encodeURIComponent(t))},n.prototype.addLibraryInfo=function(t){this.parameters.set(Ht.X_CLIENT_SKU,t.sku),this.parameters.set(Ht.X_CLIENT_VER,t.version),this.parameters.set(Ht.X_CLIENT_OS,t.os),this.parameters.set(Ht.X_CLIENT_CPU,t.cpu)},n.prototype.addPrompt=function(t){rd.validatePrompt(t),this.parameters.set(""+Ht.PROMPT,encodeURIComponent(t))},n.prototype.addState=function(t){Re.isEmpty(t)||this.parameters.set(Ht.STATE,encodeURIComponent(t))},n.prototype.addNonce=function(t){this.parameters.set(Ht.NONCE,encodeURIComponent(t))},n.prototype.addCodeChallengeParams=function(t,e){if(rd.validateCodeChallengeParams(t,e),!t||!e)throw Bn.createInvalidCodeChallengeParamsError();this.parameters.set(Ht.CODE_CHALLENGE,encodeURIComponent(t)),this.parameters.set(Ht.CODE_CHALLENGE_METHOD,encodeURIComponent(e))},n.prototype.addAuthorizationCode=function(t){this.parameters.set(Ht.CODE,encodeURIComponent(t))},n.prototype.addDeviceCode=function(t){this.parameters.set(Ht.DEVICE_CODE,encodeURIComponent(t))},n.prototype.addRefreshToken=function(t){this.parameters.set(Ht.REFRESH_TOKEN,encodeURIComponent(t))},n.prototype.addCodeVerifier=function(t){this.parameters.set(Ht.CODE_VERIFIER,encodeURIComponent(t))},n.prototype.addClientSecret=function(t){this.parameters.set(Ht.CLIENT_SECRET,encodeURIComponent(t))},n.prototype.addClientAssertion=function(t){this.parameters.set(Ht.CLIENT_ASSERTION,encodeURIComponent(t))},n.prototype.addClientAssertionType=function(t){this.parameters.set(Ht.CLIENT_ASSERTION_TYPE,encodeURIComponent(t))},n.prototype.addOboAssertion=function(t){this.parameters.set(Ht.OBO_ASSERTION,encodeURIComponent(t))},n.prototype.addRequestTokenUse=function(t){this.parameters.set(Ht.REQUESTED_TOKEN_USE,encodeURIComponent(t))},n.prototype.addGrantType=function(t){this.parameters.set(Ht.GRANT_TYPE,encodeURIComponent(t))},n.prototype.addClientInfo=function(){this.parameters.set("client_info","1")},n.prototype.addExtraQueryParameters=function(t){var e=this;rd.sanitizeEQParams(t,this.parameters),Object.keys(t).forEach(function(i){e.parameters.set(i,t[i])})},n.prototype.addClientCapabilitiesToClaims=function(t,e){var i;if(t)try{i=JSON.parse(t)}catch(r){throw Bn.createInvalidClaimsRequestError()}else i={};return e&&e.length>0&&(i.hasOwnProperty(Ju.ACCESS_TOKEN)||(i[Ju.ACCESS_TOKEN]={}),i[Ju.ACCESS_TOKEN][Ju.XMS_CC]={values:e}),JSON.stringify(i)},n.prototype.addUsername=function(t){this.parameters.set(_g.username,t)},n.prototype.addPassword=function(t){this.parameters.set(_g.password,t)},n.prototype.addPopToken=function(t){Re.isEmpty(t)||(this.parameters.set(Ht.TOKEN_TYPE,$n.POP),this.parameters.set(Ht.REQ_CNF,encodeURIComponent(t)))},n.prototype.addSshJwk=function(t){Re.isEmpty(t)||(this.parameters.set(Ht.TOKEN_TYPE,$n.SSH),this.parameters.set(Ht.REQ_CNF,encodeURIComponent(t)))},n.prototype.addServerTelemetry=function(t){this.parameters.set(Ht.X_CLIENT_CURR_TELEM,t.generateCurrentRequestHeaderValue()),this.parameters.set(Ht.X_CLIENT_LAST_TELEM,t.generateLastRequestHeaderValue())},n.prototype.addThrottling=function(){this.parameters.set(Ht.X_MS_LIB_CAPABILITY,"retry-after, h429")},n.prototype.createQueryString=function(){var t=new Array;
1return this.parameters.forEach(function(e,i){t.push(i+"="+e)}),t.join("&")},n}(),yq=function(t,e,i,r,o){this.account=t||null,this.idToken=e||null,this.accessToken=i||null,this.refreshToken=r||null,this.appMetadata=o||null},DC=(()=>(function(n){n.SW="sw",n.UHW="uhw"}(DC||(DC={})),DC))(),HI=function(){function n(t){this.cryptoUtils=t}return n.prototype.generateCnf=function(t){return Ot(this,void 0,void 0,function(){var e;return Pt(this,function(i){switch(i.label){case 0:return[4,this.generateKid(t)];case 1:return e=i.sent(),[2,this.cryptoUtils.base64Encode(JSON.stringify(e))]}})})},n.prototype.generateKid=function(t){return Ot(this,void 0,void 0,function(){return Pt(this,function(i){switch(i.label){case 0:return[4,this.cryptoUtils.getPublicKeyThumbprint(t)];case 1:return[2,{kid:i.sent(),xms_ksl:DC.SW}]}})})},n.prototype.signPopToken=function(t,e){var i;return Ot(this,void 0,void 0,function(){var r;return Pt(this,function(o){if(r=zc.extractTokenClaims(t,this.cryptoUtils),!(null===(i=null==r?void 0:r.cnf)||void 0===i?void 0:i.kid))throw Qe.createTokenClaimsRequiredError();return[2,this.signPayload(t,r.cnf.kid,e)]})})},n.prototype.signPayload=function(t,e,i,r){return Ot(this,void 0,void 0,function(){var o,s,a,c,d,h;return Pt(this,function(p){switch(p.label){case 0:return o=i.resourceRequestMethod,a=i.shrClaims,c=i.shrNonce,d=(s=i.resourceRequestUri)?new pn(s):void 0,h=null==d?void 0:d.getUrlComponents(),[4,this.cryptoUtils.signJwt(Lr({at:t,ts:$a.nowSeconds(),m:null==o?void 0:o.toUpperCase(),u:null==h?void 0:h.HostNameAndPort,nonce:c||this.cryptoUtils.createNewGuid(),p:null==h?void 0:h.AbsolutePath,q:(null==h?void 0:h.QueryString)?[[],h.QueryString]:void 0,client_claims:a||void 0},r),e)];case 1:return[2,p.sent()]}})})},n}(),vq=function(){function n(t,e){this.cache=t,this.hasChanged=e}return Object.defineProperty(n.prototype,"cacheHasChanged",{get:function(){return this.hasChanged},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),n}(),AC=function(){function n(t,e,i,r,o,s){this.clientId=t,this.cacheStorage=e,this.cryptoObj=i,this.logger=r,this.serializableCache=o,this.persistencePlugin=s}return n.prototype.validateServerAuthorizationCodeResponse=function(t,e,i){if(!t.state||!e)throw Qe.createStateNotFoundError(t.state?"Cached State":"Server State");if(decodeURIComponent(t.state)!==decodeURIComponent(e))throw Qe.createStateMismatchError();if(t.error||t.error_description||t.suberror)throw id.isInteractionRequiredError(t.error,t.error_description,t.suberror)?new id(t.error||xe.EMPTY_STRING,t.error_description,t.suberror):new vg(t.error||xe.EMPTY_STRING,t.error_description,t.suberror);t.client_info&&bC(t.client_info,i)},n.prototype.validateTokenResponse=function(t){if(t.error||t.error_description||t.suberror){if(id.isInteractionRequiredError(t.error,t.error_description,t.suberror))throw new id(t.error,t.error_description,t.suberror);throw new vg(t.error,t.error_codes+" - ["+t.timestamp+"]: "+t.error_description+" - Correlation ID: "+t.correlation_id+" - Trace ID: "+t.trace_id,t.suberror)}},n.prototype.handleServerTokenResponse=function(t,e,i,r,o,s,a){return Ot(this,void 0,void 0,function(){var c,d,h,p,g;return Pt(this,function(v){switch(v.label){case 0:if(t.id_token&&(c=new zc(t.id_token||xe.EMPTY_STRING,this.cryptoObj),o&&!Re.isEmpty(o.nonce)&&c.claims.nonce!==o.nonce))throw Qe.createNonceMismatchError();this.homeAccountIdentifier=Co.generateHomeAccountId(t.client_info||xe.EMPTY_STRING,e.authorityType,this.logger,this.cryptoObj,c),!!o&&!!o.state&&(d=pf.parseRequestState(this.cryptoObj,o.state)),t.key_id=t.key_id||r.sshKid||void 0,h=this.generateCacheRecord(t,e,i,c,r.scopes,s,o),v.label=1;case 1:return v.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),p=new vq(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(p)]):[3,3];case 2:v.sent(),v.label=3;case 3:return a&&h.account&&(g=h.account.generateAccountKey(),!this.cacheStorage.getAccount(g))?(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,n.generateAuthenticationResult(this.cryptoObj,e,h,!1,r,c,d)]):[4,this.cacheStorage.saveCacheRecord(h)];case 4:return v.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&p?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(p)]):[3,7];case 6:v.sent(),v.label=7;
1case 7:return[7];case 8:return[2,n.generateAuthenticationResult(this.cryptoObj,e,h,!1,r,c,d,t.spa_code)]}})})},n.prototype.generateCacheRecord=function(t,e,i,r,o,s,a){var d,h,c=e.getPreferredCache();if(Re.isEmpty(c))throw Qe.createInvalidCacheEnvironmentError();!Re.isEmpty(t.id_token)&&r&&(d=CC.createIdTokenEntity(this.homeAccountIdentifier,c,t.id_token||xe.EMPTY_STRING,this.clientId,r.claims.tid||xe.EMPTY_STRING,s),h=this.generateAccountEntity(t,r,e,s,a));var p=null;if(!Re.isEmpty(t.access_token)){var g=t.scope?za.fromString(t.scope):new za(o||[]),_=("string"==typeof t.expires_in?parseInt(t.expires_in,10):t.expires_in)||0,v=("string"==typeof t.ext_expires_in?parseInt(t.ext_expires_in,10):t.ext_expires_in)||0,M=("string"==typeof t.refresh_in?parseInt(t.refresh_in,10):t.refresh_in)||void 0,w=i+_,F=w+v,V=M&&M>0?i+M:void 0;p=wC.createAccessTokenEntity(this.homeAccountIdentifier,c,t.access_token||xe.EMPTY_STRING,this.clientId,r?r.claims.tid||xe.EMPTY_STRING:e.tenant,g.printScopes(),w,F,this.cryptoObj,V,t.token_type,s,t.key_id)}var ie=null;Re.isEmpty(t.refresh_token)||(ie=PI.createRefreshTokenEntity(this.homeAccountIdentifier,c,t.refresh_token||xe.EMPTY_STRING,this.clientId,t.foci,s));var ue=null;return Re.isEmpty(t.foci)||(ue=FI.createAppMetadataEntity(this.clientId,c,t.foci)),new yq(h,d,p,ie,ue)},n.prototype.generateAccountEntity=function(t,e,i,r,o){var a=o?o.cloud_graph_host_name:"",c=o?o.msgraph_host:"";if(i.authorityType===jl.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),Co.createGenericAccount(this.homeAccountIdentifier,e,i,r,a,c);if(Re.isEmpty(t.client_info)&&"AAD"===i.protocolMode)throw Qe.createClientInfoEmptyError();return t.client_info?Co.createAccount(t.client_info,this.homeAccountIdentifier,e,i,r,a,c):Co.createGenericAccount(this.homeAccountIdentifier,e,i,r,a,c)},n.generateAuthenticationResult=function(t,e,i,r,o,s,a,c){var d,h,p;return Ot(this,void 0,void 0,function(){var g,_,v,M,w;return Pt(this,function(ue){switch(ue.label){case 0:return g="",_=[],v=null,w=xe.EMPTY_STRING,i.accessToken?i.accessToken.tokenType!==$n.POP?[3,2]:[4,new HI(t).signPopToken(i.accessToken.secret,o)]:[3,4];case 1:return g=ue.sent(),[3,3];case 2:g=i.accessToken.secret,ue.label=3;case 3:_=za.fromString(i.accessToken.target).asArray(),v=new Date(1e3*Number(i.accessToken.expiresOn)),M=new Date(1e3*Number(i.accessToken.extendedExpiresOn)),ue.label=4;case 4:return i.appMetadata&&(w="1"===i.appMetadata.familyId?"1":xe.EMPTY_STRING),[2,{authority:e.canonicalAuthority,uniqueId:(null==s?void 0:s.claims.oid)||(null==s?void 0:s.claims.sub)||xe.EMPTY_STRING,tenantId:(null==s?void 0:s.claims.tid)||xe.EMPTY_STRING,scopes:_,account:i.account?i.account.getAccountInfo():null,idToken:s?s.rawToken:xe.EMPTY_STRING,idTokenClaims:s?s.claims:{},accessToken:g,fromCache:r,expiresOn:v,correlationId:o.correlationId,extExpiresOn:M,familyId:w,tokenType:(null===(d=i.accessToken)||void 0===d?void 0:d.tokenType)||xe.EMPTY_STRING,state:a?a.userRequestState:xe.EMPTY_STRING,cloudGraphHostName:(null===(h=i.account)||void 0===h?void 0:h.cloudGraphHostName)||xe.EMPTY_STRING,msGraphHost:(null===(p=i.account)||void 0===p?void 0:p.msGraphHost)||xe.EMPTY_STRING,code:c}]}})})},n}(),bq=function(n){function t(e){var i=n.call(this,e)||this;return i.includeRedirectUri=!0,i}return rs(t,n),t.prototype.getAuthCodeUrl=function(e){return Ot(this,void 0,void 0,function(){var i;return Pt(this,function(r){return i=this.createAuthCodeUrlQueryString(e),[2,pn.appendQueryString(this.authority.authorizationEndpoint,i)]})})},t.prototype.acquireToken=function(e,i){return Ot(this,void 0,void 0,function(){var r,o,s;return Pt(this,function(a){switch(a.label){case 0:if(this.logger.info("in acquireToken call"),!e||Re.isEmpty(e.code))throw Qe.createTokenRequestCannotBeMadeError();return r=$a.nowSeconds(),[4,this.executeTokenRequest(this.authority,e)];case 1:return o=a.sent(),(s=new AC(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(o.body),[4,s.handleServerTokenResponse(o.body,this.authority,r,e,i)];case 2:return[2,a.sent()]}})})},t.prototype.handleFragmentResponse=function(e,i){var r=new AC(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),o=new pn(e),s=pn.getDeserializedHash(o.getHash());if(r.validateServerAuthorizationCodeResponse(s,i,this.cryptoUtils),!s.code)throw Qe.createNoAuthCodeInServerResponseError();return Lr(Lr({},s),{code:s.code})},t.prototype.getLogoutUri=function(e){if(!e)throw Bn.createEmptyLogoutRequestError();var i=this.createLogoutUrlQueryString(e);return pn.appendQueryString(this.authority.endSessionEndpoint,i)},t.prototype.executeTokenRequest=function(e,i){return Ot(this,void 0,void 0,function(){var r,o,s,a,c,d,h;return Pt(this,function(p){switch(p.label){case 0:return r={clientId:this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:i.scopes,authenticationScheme:i.authenticationScheme,resourceRequestMethod:i.resourceRequestMethod,resourceRequestUri:i.resourceRequestUri,shrClaims:i.shrClaims,sshJwk:i.sshJwk,sshKid:i.sshKid},[4,this.createTokenRequestBody(i)];case 1:if(o=p.sent(),s=this.createTokenQueryParameters(i),a=void 0,i.clientInfo)try{c=bC(i.clientInfo,this.cryptoUtils),a={credential:""+c.uid+bo.CLIENT_INFO_SEPARATOR+c.utid,type:wo.HOME_ACCOUNT_ID}}catch(g){this.logger.verbose("Could not parse client info for CCS Header: "+g)}return d=this.createTokenRequestHeaders(a||i.ccsCredential),h=Re.isEmpty(s)?e.tokenEndpoint:e.tokenEndpoint+"?"+s,[2,this.executePostToTokenEndpoint(h,o,d,r)]}})})},t.prototype.createTokenQueryParameters=function(e){var i=new mf;return e.tokenQueryParameters&&i.addExtraQueryParameters(e.tokenQueryParameters),i.createQueryString()},t.prototype.createTokenRequestBody=function(e){return Ot(this,void 0,void 0,function(){var i,r,s,a,c,d,h;return Pt(this,function(p){switch(p.label){case 0:return(i=new mf).addClientId(this.config.authOptions.clientId),this.includeRedirectUri?i.addRedirectUri(e.redirectUri):rd.validateRedirectUri(e.redirectUri),i.addScopes(e.scopes),i.addAuthorizationCode(e.code),i.addLibraryInfo(this.config.libraryInfo),i.addThrottling(),this.serverTelemetryManager&&i.addServerTelemetry(this.serverTelemetryManager),e.codeVerifier&&i.addCodeVerifier(e.codeVerifier),this.config.clientCredentials.clientSecret&&i.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(i.addClientAssertion((r=this.config.clientCredentials.clientAssertion).assertion),i.addClientAssertionType(r.assertionType)),i.addGrantType(pg.AUTHORIZATION_CODE_GRANT),i.addClientInfo(),e.authenticationScheme!==$n.POP?[3,2]:[4,new HI(this.cryptoUtils).generateCnf(e)];case 1:return s=p.sent(),i.addPopToken(s),[3,3];case 2:if(e.authenticationScheme===$n.SSH){if(!e.sshJwk)throw Bn.createMissingSshJwkError();i.addSshJwk(e.sshJwk)}p.label=3;case 3:if(a=e.correlationId||this.config.cryptoInterface.createNewGuid(),i.addCorrelationId(a),(!Re.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&i.addClaims(e.claims,this.config.authOptions.clientCapabilities),c=void 0,e.clientInfo)try{d=bC(e.clientInfo,this.cryptoUtils),c={credential:""+d.uid+bo.CLIENT_INFO_SEPARATOR+d.utid,type:wo.HOME_ACCOUNT_ID}}catch(g){this.logger.verbose("Could not parse client info for CCS Header: "+g)}else c=e.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&c)switch(c.type){case wo.HOME_ACCOUNT_ID:try{d=bg(c.credential),i.addCcsOid(d)}catch(g){this.logger.verbose("Could not parse home account ID for CCS Header: "+g)}break;case wo.UPN:i.addCcsUpn(c.credential)}return e.tokenBodyParameters&&i.addExtraQueryParameters(e.tokenBodyParameters),e.enableSpaAuthorizationCode&&(!e.tokenBodyParameters||!e.tokenBodyParameters[Ht.RETURN_SPA_CODE])&&i.addExtraQueryParameters(((h={})[Ht.RETURN_SPA_CODE]="1",h)),[2,i.createQueryString()]}})})},t.prototype.createAuthCodeUrlQueryString=function(e){var i=new mf;i.addClientId(this.config.authOptions.clientId);var r=gC(e.scopes||[],e.extraScopesToConsent||[]);i.addScopes(r),i.addRedirectUri(e.redirectUri);var o=e.correlationId||this.config.cryptoInterface.createNewGuid();if(i.addCorrelationId(o),i.addResponseMode(e.responseMode),i.addResponseTypeCode(),i.addLibraryInfo(this.config.libraryInfo),i.addClientInfo(),e.codeChallenge&&e.codeChallengeMethod&&i.addCodeChallengeParams(e.codeChallenge,e.codeChallengeMethod),e.prompt&&i.addPrompt(e.prompt),e.domainHint&&i.addDomainHint(e.domainHint),e.prompt!==ed.SELECT_ACCOUNT)if(e.sid&&e.prompt===ed.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),i.addSid(e.sid);else if(e.account){var s=this.extractAccountSid(e.account);if(s&&e.prompt===ed.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),i.addSid(s);try{var a=bg(e.account.homeAccountId);i.addCcsOid(a)}catch(c){this.logger.verbose("Could not parse home account ID for CCS Header: "+c)}}else if(e.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),i.addLoginHint(e.loginHint),i.addCcsUpn(e.loginHint);else if(e.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),i.addLoginHint(e.account.username);try{a=bg(e.account.homeAccountId),i.addCcsOid(a)}catch(c){this.logger.verbose("Could not parse home account ID for CCS Header: "+c)}}}else e.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),i.addLoginHint(e.loginHint),i.addCcsUpn(e.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return e.nonce&&i.addNonce(e.nonce),e.state&&i.addState(e.state),(!Re.isEmpty(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&i.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.extraQueryParameters&&i.addExtraQueryParameters(e.extraQueryParameters),i.createQueryString()},t.prototype.createLogoutUrlQueryString=function(e){var i=new mf;return e.postLogoutRedirectUri&&i.addPostLogoutRedirectUri(e.postLogoutRedirectUri),e.correlationId&&i.addCorrelationId(e.correlationId),e.idTokenHint&&i.addIdTokenHint(e.idTokenHint),e.state&&i.addState(e.state),e.extraQueryParameters&&i.addExtraQueryParameters(e.extraQueryParameters),i.createQueryString()},t.prototype.extractAccountSid=function(e){return e.idTokenClaims&&e.idTokenClaims.sid||null},t}(BI);function Cq(n){return n.hasOwnProperty("authorization_endpoint")&&n.hasOwnProperty("token_endpoint")&&n.hasOwnProperty("issuer")}var Sq=function(){function n(t){this.networkInterface=t}return n.prototype.detectRegion=function(t,e){return Ot(this,void 0,void 0,function(){var i,r,o,s;return Pt(this,function(a){switch(a.label){case 0:if(i=t)return[3,8];a.label=1;case 1:return a.trys.push([1,6,,7]),[4,this.getRegionFromIMDS(xe.IMDS_VERSION)];case 2:return(r=a.sent()).status===td.httpSuccess&&(i=r.body,e.region_source=Ul.IMDS),r.status!==td.httpBadRequest?[3,5]:[4,this.getCurrentVersion()];case 3:return(o=a.sent())?[4,this.getRegionFromIMDS(o)]:(e.region_source=Ul.FAILED_AUTO_DETECTION,[2,null]);case 4:(s=a.sent()).status===td.httpSuccess&&(i=s.body,e.region_source=Ul.IMDS),a.label=5;case 5:return[3,7];
1case 6:return a.sent(),e.region_source=Ul.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:e.region_source=Ul.ENVIRONMENT_VARIABLE,a.label=9;case 9:return i||(e.region_source=Ul.FAILED_AUTO_DETECTION),[2,i||null]}})})},n.prototype.getRegionFromIMDS=function(t){return Ot(this,void 0,void 0,function(){return Pt(this,function(e){return[2,this.networkInterface.sendGetRequestAsync(xe.IMDS_ENDPOINT+"?api-version="+t+"&format=text",n.IMDS_OPTIONS,xe.IMDS_TIMEOUT)]})})},n.prototype.getCurrentVersion=function(){return Ot(this,void 0,void 0,function(){var t;return Pt(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.networkInterface.sendGetRequestAsync(xe.IMDS_ENDPOINT+"?format=json",n.IMDS_OPTIONS)];case 1:return(t=e.sent()).status===td.httpBadRequest&&t.body&&t.body["newest-versions"]&&t.body["newest-versions"].length>0?[2,t.body["newest-versions"][0]]:[2,null];case 2:return e.sent(),[2,null];case 3:return[2]}})})},n.IMDS_OPTIONS={headers:{Metadata:"true"}},n}(),CN=function(){function n(t,e,i,r){this.canonicalAuthority=t,this._canonicalAuthority.validateAsUri(),this.networkInterface=e,this.cacheManager=i,this.authorityOptions=r,this.regionDiscovery=new Sq(e),this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0}}return Object.defineProperty(n.prototype,"authorityType",{get:function(){var t=this.canonicalAuthorityUrlComponents.PathSegments;return t.length&&t[0].toLowerCase()===xe.ADFS?jl.Adfs:jl.Default},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(t){this._canonicalAuthority=new pn(t),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.authorization_endpoint);return this.replaceTenant(t)}throw Qe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.token_endpoint);return this.replaceTenant(t)}throw Qe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));return this.replaceTenant(t)}throw Qe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw Qe.createLogoutNotSupportedError();var t=this.replacePath(this.metadata.end_session_endpoint);return this.replaceTenant(t)}throw Qe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete()){var t=this.replacePath(this.metadata.issuer);return this.replaceTenant(t)}throw Qe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")}
1,enumerable:!1,configurable:!0}),n.prototype.replaceTenant=function(t){return t.replace(/{tenant}|{tenantid}/g,this.tenant)},n.prototype.replacePath=function(t){var e=t,r=new pn(this.metadata.canonical_authority).getUrlComponents().PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach(function(s,a){var c=r[a];s!==c&&(e=e.replace("/"+c+"/","/"+s+"/"))}),e},Object.defineProperty(n.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===jl.Adfs||this.protocolMode===Sg.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),n.prototype.discoveryComplete=function(){return!!this.metadata},n.prototype.resolveEndpointsAsync=function(){return Ot(this,void 0,void 0,function(){var t,e,i,r;return Pt(this,function(o){switch(o.label){case 0:return(t=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort))||(t=new NI).updateCanonicalAuthority(this.canonicalAuthority),[4,this.updateCloudDiscoveryMetadata(t)];case 1:return e=o.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,t.preferred_network),[4,this.updateEndpointMetadata(t)];case 2:return i=o.sent(),e!==Qs.CACHE&&i!==Qs.CACHE&&(t.resetExpiresAt(),t.updateCanonicalAuthority(this.canonicalAuthority)),r=this.cacheManager.generateAuthorityMetadataCacheKey(t.preferred_cache),this.cacheManager.setAuthorityMetadata(r,t),this.metadata=t,[2]}})})},n.prototype.updateEndpointMetadata=function(t){var e;return Ot(this,void 0,void 0,function(){var i,r,o;return Pt(this,function(s){switch(s.label){case 0:return(i=this.getEndpointMetadataFromConfig())?(t.updateEndpointMetadata(i,!1),[2,Qs.CONFIG]):this.isAuthoritySameType(t)&&t.endpointsFromNetwork&&!t.isExpired()?[2,Qs.CACHE]:[4,this.getEndpointMetadataFromNetwork()];case 1:return(i=s.sent())?(null===(e=this.authorityOptions.azureRegionConfiguration)||void 0===e?void 0:e.azureRegion)?[4,this.regionDiscovery.detectRegion(this.authorityOptions.azureRegionConfiguration.environmentRegion,this.regionDiscoveryMetadata)]:[3,3]:[3,4];case 2:r=s.sent(),o=this.authorityOptions.azureRegionConfiguration.azureRegion===xe.AZURE_REGION_AUTO_DISCOVER_FLAG?r:this.authorityOptions.azureRegionConfiguration.azureRegion,this.regionDiscoveryMetadata.region_outcome=this.authorityOptions.azureRegionConfiguration.azureRegion===xe.AZURE_REGION_AUTO_DISCOVER_FLAG?r?Uc.AUTO_DETECTION_REQUESTED_SUCCESSFUL:Uc.AUTO_DETECTION_REQUESTED_FAILED:r?this.authorityOptions.azureRegionConfiguration.azureRegion===r?Uc.CONFIGURED_MATCHES_DETECTED:Uc.CONFIGURED_NOT_DETECTED:Uc.CONFIGURED_NO_AUTO_DETECTION,o&&(this.regionDiscoveryMetadata.region_used=o,i=n.replaceWithRegionalInformation(i,o)),s.label=3;case 3:return t.updateEndpointMetadata(i,!0),[2,Qs.NETWORK];case 4:throw Qe.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}})})},n.prototype.isAuthoritySameType=function(t){return new pn(t.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length},n.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch(t){throw Bn.createInvalidAuthorityMetadataError()}return null},n.prototype.getEndpointMetadataFromNetwork=function(){return Ot(this,void 0,void 0,function(){var t;return Pt(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint)];case 1:return[2,Cq((t=e.sent()).body)?t.body:null];case 2:return e.sent(),[2,null];case 3:return[2]}})})},n.prototype.updateCloudDiscoveryMetadata=function(t){return Ot(this,void 0,void 0,function(){var e;return Pt(this,function(i){switch(i.label){case 0:return(e=this.getCloudDiscoveryMetadataFromConfig())?(t.updateCloudDiscoveryMetadata(e,!1),[2,Qs.CONFIG]):this.isAuthoritySameType(t)&&t.aliasesFromNetwork&&!t.isExpired()?[2,Qs.CACHE]:[4,this.getCloudDiscoveryMetadataFromNetwork()];case 1:if(e=i.sent())return t.updateCloudDiscoveryMetadata(e,!0),[2,Qs.NETWORK];throw Bn.createUntrustedAuthorityError()}})})},n.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityOptions.cloudDiscoveryMetadata)try{var t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),e=n.getCloudDiscoveryMetadataFromNetworkResponse(t.metadata,this.hostnameAndPort);if(e)return e}catch(i){throw Bn.createInvalidCloudDiscoveryMetadataError()}return this.isInKnownAuthorities()?n.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort):null},n.prototype.getCloudDiscoveryMetadataFromNetwork=function(){return Ot(this,void 0,void 0,function(){var t,e,i,r;return Pt(this,function(o){switch(o.label){case 0:t=""+xe.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",e=null,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(t)];case 2:return i=o.sent(),r=function(n){return n.hasOwnProperty("tenant_discovery_endpoint")&&n.hasOwnProperty("metadata")}(i.body)?i.body.metadata:[],0===r.length?[2,null]:(e=n.getCloudDiscoveryMetadataFromNetworkResponse(r,this.hostnameAndPort),[3,4]);case 3:return o.sent(),[2,null];case 4:return e||(e=n.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,e]}})})},n.prototype.isInKnownAuthorities=function(){var t=this;return this.authorityOptions.knownAuthorities.filter(function(i){return pn.getDomainFromUrl(i).toLowerCase()===t.hostnameAndPort}).length>0},n.createCloudDiscoveryMetadataFromHost=function(t){return{preferred_network:t,preferred_cache:t,aliases:[t]}},n.getCloudDiscoveryMetadataFromNetworkResponse=function(t,e){for(var i=0;i<t.length;i++){var r=t[i];if(r.aliases.indexOf(e)>-1)return r}return null},n.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw Qe.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},n.prototype.isAlias=function(t){return this.metadata.aliases.indexOf(t)>-1}
vendor: 7,930 bytes, line 1
1,n.isPublicCloudAuthority=function(t){return xe.KNOWN_PUBLIC_CLOUDS.indexOf(t)>=0},n.buildRegionalAuthorityString=function(t,e,i){var r=new pn(t);r.validateAsUri();var o=r.getUrlComponents(),s=e+"."+o.HostNameAndPort;this.isPublicCloudAuthority(o.HostNameAndPort)&&(s=e+"."+xe.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var a=pn.constructAuthorityUriFromObject(Lr(Lr({},r.getUrlComponents()),{HostNameAndPort:s})).urlString;return i?a+"?"+i:a},n.replaceWithRegionalInformation=function(t,e){return t.authorization_endpoint=n.buildRegionalAuthorityString(t.authorization_endpoint,e),t.token_endpoint=n.buildRegionalAuthorityString(t.token_endpoint,e,"allowestsrnonmsi=true"),t.end_session_endpoint&&(t.end_session_endpoint=n.buildRegionalAuthorityString(t.end_session_endpoint,e)),t},n}(),UI=function(){function n(){}return n.createDiscoveredInstance=function(t,e,i,r){return Ot(this,void 0,void 0,function(){var o,s;return Pt(this,function(a){switch(a.label){case 0:o=n.createInstance(t,e,i,r),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,o.resolveEndpointsAsync()];case 2:return a.sent(),[2,o];case 3:throw s=a.sent(),Qe.createEndpointDiscoveryIncompleteError(s);case 4:return[2]}})})},n.createInstance=function(t,e,i,r){if(Re.isEmpty(t))throw Bn.createUrlEmptyError();return new CN(t,e,i,r)},n}(),Eq=function(){function n(t,e){this.cacheOutcome=jc.NO_CACHE_HIT,this.cacheManager=e,this.apiId=t.apiId,this.correlationId=t.correlationId,this.wrapperSKU=t.wrapperSKU||xe.EMPTY_STRING,this.wrapperVer=t.wrapperVer||xe.EMPTY_STRING,this.telemetryCacheKey=br.CACHE_KEY+bo.CACHE_KEY_SEPARATOR+t.clientId}return n.prototype.generateCurrentRequestHeaderValue=function(){var t=""+this.apiId+br.VALUE_SEPARATOR+this.cacheOutcome,e=[this.wrapperSKU,this.wrapperVer].join(br.VALUE_SEPARATOR),r=[t,this.getRegionDiscoveryFields()].join(br.VALUE_SEPARATOR);return[br.SCHEMA_VERSION,r,e].join(br.CATEGORY_SEPARATOR)},n.prototype.generateLastRequestHeaderValue=function(){var t=this.getLastRequests(),e=n.maxErrorsToSend(t),i=t.failedRequests.slice(0,2*e).join(br.VALUE_SEPARATOR),r=t.errors.slice(0,e).join(br.VALUE_SEPARATOR),o=t.errors.length,a=[o,e<o?br.OVERFLOW_TRUE:br.OVERFLOW_FALSE].join(br.VALUE_SEPARATOR);return[br.SCHEMA_VERSION,t.cacheHits,i,r,a].join(br.CATEGORY_SEPARATOR)},n.prototype.cacheFailedRequest=function(t){var e=this.getLastRequests();e.errors.length>=br.MAX_CACHED_ERRORS&&(e.failedRequests.shift(),e.failedRequests.shift(),e.errors.shift()),e.failedRequests.push(this.apiId,this.correlationId),Re.isEmpty(t.subError)?Re.isEmpty(t.errorCode)?t&&t.toString()?e.errors.push(t.toString()):e.errors.push(br.UNKNOWN_ERROR):e.errors.push(t.errorCode):e.errors.push(t.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e)},n.prototype.incrementCacheHits=function(){var t=this.getLastRequests();return t.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t),t.cacheHits},n.prototype.getLastRequests=function(){var t=new SC;return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||t},n.prototype.clearTelemetryCache=function(){var t=this.getLastRequests(),e=n.maxErrorsToSend(t);if(e===t.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{var r=new SC;r.failedRequests=t.failedRequests.slice(2*e),r.errors=t.errors.slice(e),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r)}},n.maxErrorsToSend=function(t){var e,i=0,r=0,o=t.errors.length;for(e=0;e<o;e++){var a=t.failedRequests[2*e+1]||xe.EMPTY_STRING,c=t.errors[e]||xe.EMPTY_STRING;if(!((r+=(t.failedRequests[2*e]||xe.EMPTY_STRING).toString().length+a.toString().length+c.length+3)<br.MAX_LAST_HEADER_BYTES))break;i+=1}return i},n.prototype.getRegionDiscoveryFields=function(){var t=[];return t.push(this.regionUsed||""),t.push(this.regionSource||""),t.push(this.regionOutcome||""),t.join(",")},n.prototype.updateRegionDiscoveryMetadata=function(t){this.regionUsed=t.region_used,this.regionSource=t.region_source,this.regionOutcome=t.region_outcome},n.prototype.setCacheOutcome=function(t){this.cacheOutcome=t},n}(),Dq=function(){function n(t,e,i,r,o,s){this.config=t,this.browserStorage=e,this.browserCrypto=i,this.networkClient=this.config.system.networkClient,this.eventHandler=o,this.correlationId=s||this.browserCrypto.createNewGuid(),this.logger=r.clone("msal.js.browser",VI,this.correlationId)}return n.prototype.clearCacheOnLogout=function(t){return Fe(this,void 0,void 0,function(){return Ne(this,function(e){switch(e.label){case 0:if(!t)return[3,5];Co.accountInfoIsEqual(t,this.browserStorage.getActiveAccount(),!1)&&(this.logger.verbose("Setting active account to null"),this.browserStorage.setActiveAccount(null)),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.browserStorage.removeAccount(Co.generateAccountCacheKey(t))];case 2:return e.sent(),this.logger.verbose("Cleared cache items belonging to the account provided in the logout request."),[3,4];case 3:return e.sent(),this.logger.error("Account provided in logout request was not found. Local cache unchanged."),[3,4];case 4:return[3,9];case 5:return e.trys.push([5,8,,9]),[4,this.browserStorage.clear()];case 6:return e.sent(),[4,this.browserCrypto.clearKeystore()];case 7:return e.sent(),this.logger.verbose("No account provided in logout request, clearing all cache items."),[3,9];case 8:return e.sent(),this.logger.error("Attempted to clear all MSAL cache items and failed. Local cache unchanged."),[3,9];case 9:return[2]}})})},n.prototype.initializeBaseRequest=function(t){this.logger.verbose("Initializing BaseAuthRequest");var e=t.authority||this.config.auth.authority,i=oN(t&&t.scopes||[]);if(t.authenticationScheme){if(t.authenticationScheme===$n.SSH){if(!t.sshJwk)throw Bn.createMissingSshJwkError();if(!t.sshKid)throw Bn.createMissingSshKidError()}this.logger.verbose('Authentication Scheme set to "'+t.authenticationScheme+'" as configured in Auth request')}else t.authenticationScheme=$n.BEARER,this.logger.verbose('Authentication Scheme wasn\'t explicitly set in request, defaulting to "Bearer" request');return zn(zn({},t),{correlationId:this.correlationId,authority:e,scopes:i})},n.prototype.getRedirectUri=function(t){this.logger.verbose("getRedirectUri called");var e=t||this.config.auth.redirectUri||oi.getCurrentUri();return pn.getAbsoluteUrl(e,oi.getCurrentUri())},n.prototype.initializeServerTelemetryManager=function(t,e){this.logger.verbose("initializeServerTelemetryManager called");var i={clientId:this.config.auth.clientId,correlationId:this.correlationId,apiId:t,forceRefresh:e||!1,wrapperSKU:this.browserStorage.getWrapperMetadata()[0],wrapperVer:this.browserStorage.getWrapperMetadata()[1]};return new Eq(i,this.browserStorage)},n}(),Eg=function(n){function t(e,i,r,o,s,a,c){var d=n.call(this,e,i,r,o,s,c)||this;return d.navigationClient=a,d}return No(t,n),t.prototype.initializeAuthorizationCodeRequest=function(e){return Fe(this,void 0,void 0,function(){var i,r;return Ne(this,function(o){switch(o.label){case 0:return this.logger.verbose("initializeAuthorizationRequest called",e.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return i=o.sent(),r=zn(zn({},e),{redirectUri:e.redirectUri,code:"",codeVerifier:i.verifier}),e.codeChallenge=i.challenge,e.codeChallengeMethod=xe.S256_CODE_CHALLENGE_METHOD,[2,r]}})})},t.prototype.initializeLogoutRequest=function(e){if(this.logger.verbose("initializeLogoutRequest called",null==e?void 0:e.correlationId),this.browserStorage.isInteractionInProgress())throw We.createInteractionInProgressError();var i=zn({correlationId:this.browserCrypto.createNewGuid()},e);return e&&null===e.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",i.correlationId):e&&e.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",i.correlationId),i.postLogoutRedirectUri=pn.getAbsoluteUrl(e.postLogoutRedirectUri,oi.getCurrentUri())
1):null===this.config.auth.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",i.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",i.correlationId),i.postLogoutRedirectUri=pn.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,oi.getCurrentUri())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",i.correlationId),i.postLogoutRedirectUri=pn.getAbsoluteUrl(oi.getCurrentUri(),oi.getCurrentUri())),i},t.prototype.createAuthCodeClient=function(e,i){return Fe(this,void 0,void 0,function(){var r;return Ne(this,function(o){switch(o.label){case 0:return[4,this.getClientConfiguration(e,i)];case 1:return r=o.sent(),[2,new bq(r)]}})})},t.prototype.getClientConfiguration=function(e,i){return Fe(this,void 0,void 0,function(){var r;return Ne(this,function(o){switch(o.label){case 0:return this.logger.verbose("getClientConfiguration called"),[4,this.getDiscoveredAuthority(i)];case 1:return r=o.sent(),[2,{authOptions:{clientId:this.config.auth.clientId,authority:r,clientCapabilities:this.config.auth.clientCapabilities},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:this.config.system.loggerOptions.loggerCallback,piiLoggingEnabled:this.config.system.loggerOptions.piiLoggingEnabled,logLevel:this.config.system.loggerOptions.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:e,libraryInfo:{sku:"msal.js.browser",version:VI,cpu:"",os:""}}]}})})},t.prototype.validateAndExtractStateFromHash=function(e,i,r){this.logger.verbose("validateAndExtractStateFromHash called",r);var o=pn.getDeserializedHash(e);if(!o.state)throw We.createHashDoesNotContainStateError();var s=_N.extractBrowserRequestState(this.browserCrypto,o.state);if(!s)throw We.createUnableToParseStateError();if(s.interactionType!==i)throw We.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",r),o.state},t.prototype.getDiscoveredAuthority=function(e){return Fe(this,void 0,void 0,function(){var i;return Ne(this,function(r){switch(r.label){case 0:return this.logger.verbose("getDiscoveredAuthority called"),i={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata},e?(this.logger.verbose("Creating discovered authority with request authority"),[4,UI.createDiscoveredInstance(e,this.config.system.networkClient,this.browserStorage,i)]):[3,2];case 1:case 3:return[2,r.sent()];case 2:return this.logger.verbose("Creating discovered authority with configured authority"),[4,UI.createDiscoveredInstance(this.config.auth.authority,this.config.system.networkClient,this.browserStorage,i)]}})})},t.prototype.preflightInteractiveRequest=function(e,i){if(this.logger.verbose("preflightInteractiveRequest called, validating app environment",null==e?void 0:e.correlationId),oi.blockReloadInHiddenIframes(),this.browserStorage.isInteractionInProgress(!1))throw We.createInteractionInProgressError();return this.initializeAuthorizationRequest(e,i)},t.prototype.initializeAuthorizationRequest=function(e,i){this.logger.verbose("initializeAuthorizationRequest called");var r=this.getRedirectUri(e.redirectUri),s=pf.setRequestState(this.browserCrypto,e&&e.state||"",{interactionType:i}),a=zn(zn({},this.initializeBaseRequest(e)),{redirectUri:r,state:s,nonce:e.nonce||this.browserCrypto.createNewGuid(),responseMode:fg.FRAGMENT}),c=e.account||this.browserStorage.getActiveAccount();if(c&&(this.logger.verbose("Setting validated request account"),this.logger.verbosePii("Setting validated request account: "+c),a.account=c),Re.isEmpty(a.loginHint)&&!c){var d=this.browserStorage.getLegacyLoginHint();d&&(a.loginHint=d)}return this.browserStorage.updateCacheEntries(a.state,a.nonce,a.authority,a.loginHint||"",a.account||null),a},t}(Dq),gf=function(){function n(t,e){this.browserStorage=t,this.logger=e,this.unloadWindow=this.unloadWindow.bind(this)}return n.prototype.openPopup=function(t,e){try{var i=void 0;if(e.popup?(i=e.popup,this.logger.verbosePii("Navigating popup window to: "+t),i.location.assign(t)):void 0===e.popup&&(this.logger.verbosePii("Opening popup window to: "+t),i=n.openSizedPopup(t,e.popupName,e.popupWindowAttributes,this.logger)),!i)throw We.createEmptyWindowCreatedError();return i.focus&&i.focus(),this.currentWindow=i,window.addEventListener("beforeunload",this.unloadWindow),i}catch(r){throw this.logger.error("error opening popup "+r.message),this.browserStorage.setInteractionInProgress(!1),We.createPopupWindowError(r.toString())}}
1,n.openSizedPopup=function(t,e,i,r){var o,s,a,c,d=window.screenLeft?window.screenLeft:window.screenX,h=window.screenTop?window.screenTop:window.screenY,p=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,g=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,_=null===(o=i.popupSize)||void 0===o?void 0:o.width,v=null===(s=i.popupSize)||void 0===s?void 0:s.height,M=null===(a=i.popupPosition)||void 0===a?void 0:a.top,w=null===(c=i.popupPosition)||void 0===c?void 0:c.left;return(!_||_<0||_>p)&&(r.verbose("Default popup window width used. Window width not configured or invalid."),_=483),(!v||v<0||v>g)&&(r.verbose("Default popup window height used. Window height not configured or invalid."),v=600),(!M||M<0||M>g)&&(r.verbose("Default popup window top position used. Window top not configured or invalid."),M=Math.max(0,g/2-300+h)),(!w||w<0||w>p)&&(r.verbose("Default popup window left position used. Window left not configured or invalid."),w=Math.max(0,p/2-241.5+d)),window.open(t,e,"width="+_+", height="+v+", top="+M+", left="+w+", scrollbars=yes")},n.prototype.unloadWindow=function(t){this.browserStorage.cleanRequestByInteractionType(Pe.Popup),this.currentWindow&&this.currentWindow.close(),t.preventDefault()},n.prototype.cleanPopup=function(t){t&&t.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)},n.prototype.monitorPopupForSameOrigin=function(t){var e=this;return new Promise(function(i,r){var o=setInterval(function(){if(t.closed)return e.cleanPopup(),clearInterval(o),void r(We.createUserCancelledError());var s=xe.EMPTY_STRING;try{s=t.location.href}catch(a){}Re.isEmpty(s)||"about:blank"===s||(clearInterval(o),i())},50)})},n.generatePopupName=function(t,e){return"msal."+t+"."+e.scopes.join("-")+"."+e.authority+"."+e.correlationId},n.generateLogoutPopupName=function(t,e){return"msal."+t+"."+(e.account&&e.account.homeAccountId)+"."+e.correlationId},n}(),jI=function(){function n(t,e,i,r){this.authModule=t,this.browserStorage=e,this.authCodeRequest=i,this.browserRequestLogger=r}return n.prototype.handleCodeResponse=function(t,e,i,r){return Fe(this,void 0,void 0,function(){var o,s,a,c,d,h,p;return Ne(this,function(g){switch(g.label){case 0:if(this.browserRequestLogger.verbose("InteractionHandler.handleCodeResponse called"),Re.isEmpty(t))throw We.createEmptyHashError(t);if(o=this.browserStorage.generateStateKey(e),!(s=this.browserStorage.getTemporaryCache(o)))throw Qe.createStateNotFoundError("Cached State");return a=this.authModule.handleFragmentResponse(t,s),c=this.browserStorage.generateNonceKey(s),d=this.browserStorage.getTemporaryCache(c),this.authCodeRequest.code=a.code,a.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(a.cloud_instance_host_name,i,r)]:[3,2];case 1:g.sent(),g.label=2;case 2:return a.nonce=d||void 0,a.state=s,a.client_info?this.authCodeRequest.clientInfo=a.client_info:(h=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=h),[4,this.authModule.acquireToken(this.authCodeRequest,a)];case 3:return p=g.sent(),this.browserStorage.cleanRequestByState(e),[2,p]}})})},n.prototype.updateTokenEndpointAuthority=function(t,e,i){return Fe(this,void 0,void 0,function(){var o;return Ne(this,function(s){switch(s.label){case 0:return[4,UI.createDiscoveredInstance("https://"+t+"/"+e.tenant+"/",i,this.browserStorage,e.options)];case 1:return o=s.sent(),this.authModule.updateAuthority(o),[2]}})})},n.prototype.checkCcsCredentials=function(){var t=this.browserStorage.getTemporaryCache(Mn.CCS_CREDENTIAL,!0);if(t)try{return JSON.parse(t)}catch(e){this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: "+t)}return null},n}(),Aq=function(n){function t(e,i,r,o){var s=n.call(this,e,i,r,o)||this;return s.popupUtils=new gf(i,o),s}return No(t,n),t.prototype.initiateAuthRequest=function(e,i){if(Re.isEmpty(e))throw this.browserRequestLogger.error("Navigate url is empty"),We.createEmptyNavigationUriError();return this.browserStorage.setInteractionInProgress(!0),this.browserRequestLogger.infoPii("Navigate to: "+e),this.popupUtils.openPopup(e,i)},t.prototype.monitorPopupForHash=function(e){var i=this;return this.popupUtils.monitorPopupForSameOrigin(e).then(function(){var r=e.location.hash;if(oi.clearHash(e),i.popupUtils.cleanPopup(e),!r)throw We.createEmptyHashError(e.location.href);if(pn.hashContainsKnownProperties(r))return r;throw We.createHashDoesNotContainKnownPropertiesError()})},t}(jI),wN=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return No(t,n),t.prototype.acquireToken=function(e){try{var i=this.preflightInteractiveRequest(e,Pe.Popup),r=gf.generatePopupName(this.config.auth.clientId,i),o=e.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(i,r,o);this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");var s=gf.openSizedPopup("about:blank",r,o,this.logger);return this.acquireTokenPopupAsync(i,r,o,s)}catch(a){return Promise.reject(a)}},t.prototype.logout=function(e){try{this.logger.verbose("logoutPopup called");
vendor: 10,858 bytes, line 1
1var i=this.initializeLogoutRequest(e),r=gf.generateLogoutPopupName(this.config.auth.clientId,i),o=e&&e.authority,s=e&&e.mainWindowRedirectUri,a=(null==e?void 0:e.popupWindowAttributes)||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(i,r,a,o,void 0,s);this.logger.verbose("asyncPopup set to false, opening popup");var c=gf.openSizedPopup("about:blank",r,a,this.logger);return this.logoutPopupAsync(i,r,a,o,c,s)}catch(d){return Promise.reject(d)}},t.prototype.acquireTokenPopupAsync=function(e,i,r,o){return Fe(this,void 0,void 0,function(){var s,a,c,d,h,g,_,v,w;return Ne(this,function(F){switch(F.label){case 0:this.logger.verbose("acquireTokenPopupAsync called"),s=this.initializeServerTelemetryManager(Vr.acquireTokenPopup),F.label=1;case 1:return F.trys.push([1,7,,8]),[4,this.initializeAuthorizationCodeRequest(e)];case 2:return a=F.sent(),[4,this.createAuthCodeClient(s,e.authority)];case 3:return c=F.sent(),this.logger.verbose("Auth code client created"),[4,c.getAuthCodeUrl(e)];case 4:return d=F.sent(),h=new Aq(c,this.browserStorage,a,this.logger),g=h.initiateAuthRequest(d,{popup:o,popupName:i,popupWindowAttributes:r}),this.eventHandler.emitEvent(nt.POPUP_OPENED,Pe.Popup,{popupWindow:g},null),[4,h.monitorPopupForHash(g)];case 5:return _=F.sent(),v=this.validateAndExtractStateFromHash(_,Pe.Popup,e.correlationId),EC.removeThrottle(this.browserStorage,this.config.auth.clientId,a),[4,h.handleCodeResponse(_,v,c.authority,this.networkClient)];case 6:return[2,F.sent()];case 7:throw w=F.sent(),o&&o.close(),w instanceof St&&w.setCorrelationId(this.correlationId),s.cacheFailedRequest(w),this.browserStorage.cleanRequestByState(e.state),w;case 8:return[2]}})})},t.prototype.logoutPopupAsync=function(e,i,r,o,s,a){return Fe(this,void 0,void 0,function(){var c,d,h,p,g,_,v,M,w;return Ne(this,function(F){switch(F.label){case 0:this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(nt.LOGOUT_START,Pe.Popup,e),c=this.initializeServerTelemetryManager(Vr.logoutPopup),F.label=1;case 1:return F.trys.push([1,8,,9]),[4,this.clearCacheOnLogout(e.account)];case 2:return F.sent(),this.browserStorage.setInteractionInProgress(!0),[4,this.createAuthCodeClient(c,o)];case 3:d=F.sent(),this.logger.verbose("Auth code client created"),h=d.getLogoutUri(e),this.eventHandler.emitEvent(nt.LOGOUT_SUCCESS,Pe.Popup,e),p=new gf(this.browserStorage,this.logger),g=p.openPopup(h,{popupName:i,popupWindowAttributes:r,popup:s}),this.eventHandler.emitEvent(nt.POPUP_OPENED,Pe.Popup,{popupWindow:g},null),F.label=4;case 4:return F.trys.push([4,6,,7]),[4,p.monitorPopupForSameOrigin(g)];case 5:return F.sent(),this.logger.verbose("Popup successfully redirected to postLogoutRedirectUri"),[3,7];case 6:return _=F.sent(),this.logger.verbose("Error occurred while monitoring popup for same origin. Session on server may remain active. Error: "+_),[3,7];case 7:return p.cleanPopup(g),a?(v={apiId:Vr.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},M=pn.getAbsoluteUrl(a,oi.getCurrentUri()),this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecing main window to: "+M),this.navigationClient.navigateInternal(M,v)):this.logger.verbose("No main window navigation requested"),[3,9];case 8:throw w=F.sent(),s&&s.close(),w instanceof St&&w.setCorrelationId(this.correlationId),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(nt.LOGOUT_FAILURE,Pe.Popup,null,w),this.eventHandler.emitEvent(nt.LOGOUT_END,Pe.Popup),c.cacheFailedRequest(w),w;case 9:return this.eventHandler.emitEvent(nt.LOGOUT_END,Pe.Popup),[2]}})})},t}(Eg),SN=function(n){function t(e,i,r,o,s){var a=n.call(this,e,i,r,o)||this;return a.browserCrypto=s,a}return No(t,n),t.prototype.initiateAuthRequest=function(e,i){return Fe(this,void 0,void 0,function(){var r;return Ne(this,function(s){switch(s.label){case 0:return this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest called"),Re.isEmpty(e)?[3,7]:(i.redirectStartPage&&(this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(Mn.ORIGIN_URI,i.redirectStartPage,!0)),this.browserStorage.setInteractionInProgress(!0),this.browserStorage.setTemporaryCache(Mn.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.browserRequestLogger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+e),r={apiId:Vr.acquireTokenRedirect,timeout:i.redirectTimeout,noHistory:!1},"function"!=typeof i.onRedirectNavigate?[3,4]:(this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1===i.onRedirectNavigate(e)?[3,2]:(this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),[4,i.navigationClient.navigateExternal(e,r)])));case 1:case 5:return s.sent(),[2];case 2:return this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation"),[2];case 3:return[3,6];case 4:return this.browserRequestLogger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),[4,i.navigationClient.navigateExternal(e,r)];case 6:return[3,8];case 7:throw this.browserRequestLogger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),We.createEmptyNavigationUriError();case 8:return[2]}})})},t.prototype.handleCodeResponse=function(e,i,r,o,s){return Fe(this,void 0,void 0,function(){var a,c,d,h,p,g,_;return Ne(this,function(v){switch(v.label){case 0:if(this.browserRequestLogger.verbose("RedirectHandler.handleCodeResponse called"),Re.isEmpty(e))throw We.createEmptyHashError(e);if(this.browserStorage.setInteractionInProgress(!1),a=this.browserStorage.generateStateKey(i),!(c=this.browserStorage.getTemporaryCache(a)))throw Qe.createStateNotFoundError("Cached State");return d=this.authModule.handleFragmentResponse(e,c),h=this.browserStorage.generateNonceKey(c),p=this.browserStorage.getTemporaryCache(h),this.authCodeRequest.code=d.code,d.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(d.cloud_instance_host_name,r,o)]:[3,2];case 1:v.sent(),v.label=2;case 2:return d.nonce=p||void 0,d.state=c,d.client_info?this.authCodeRequest.clientInfo=d.client_info:(g=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=g),s&&EC.removeThrottle(this.browserStorage,s,this.authCodeRequest),[4,this.authModule.acquireToken(this.authCodeRequest,d)];case 3:return _=v.sent(),this.browserStorage.cleanRequestByState(i),[2,_]}})})},t}(jI),zI=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return No(t,n),t.prototype.acquireToken=function(e){return Fe(this,void 0,void 0,function(){var i,r,o,s,a,c,d,h;return Ne(this,function(p){switch(p.label){case 0:i=this.preflightInteractiveRequest(e,Pe.Redirect),r=this.initializeServerTelemetryManager(Vr.acquireTokenRedirect),p.label=1;case 1:return p.trys.push([1,6,,7]),[4,this.initializeAuthorizationCodeRequest(i)];case 2:return o=p.sent(),[4,this.createAuthCodeClient(r,i.authority)];case 3:return s=p.sent(),this.logger.verbose("Auth code client created"),a=new SN(s,this.browserStorage,o,this.logger,this.browserCrypto),[4,s.getAuthCodeUrl(i)];case 4:return c=p.sent(),d=this.getRedirectStartPage(e.redirectStartPage),this.logger.verbosePii("Redirect start page: "+d),[4,a.initiateAuthRequest(c,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:d,onRedirectNavigate:e.onRedirectNavigate})];case 5:return[2,p.sent()];case 6:throw(h=p.sent())instanceof St&&h.setCorrelationId(this.correlationId),r.cacheFailedRequest(h),this.browserStorage.cleanRequestByState(i.state),h;case 7:return[2]}})})},t.prototype.handleRedirectPromise=function(e){return Fe(this,void 0,void 0,function(){var i,r,o,s,a,c,d,h,p,g,_;return Ne(this,function(v){switch(v.label){case 0:i=this.initializeServerTelemetryManager(Vr.handleRedirectPromise),v.label=1;case 1:if(v.trys.push([1,10,,11]),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(r=this.getRedirectResponseHash(e||window.location.hash)))return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(Pe.Redirect),[2,null];o=void 0;try{o=this.validateAndExtractStateFromHash(r,Pe.Redirect),oi.clearHash(window),this.logger.verbose("State extracted from hash")}catch(M){return this.logger.info("handleRedirectPromise was unable to extract state due to: "+M),this.browserStorage.cleanRequestByInteractionType(Pe.Redirect),[2,null]}return s=this.browserStorage.getTemporaryCache(Mn.ORIGIN_URI,!0)||"",a=pn.removeHashFromUrl(s),c=pn.removeHashFromUrl(window.location.href),a===c&&this.config.auth.navigateToLoginRequestUrl?(this.logger.verbose("Current page is loginRequestUrl, handling hash"),[4,this.handleHash(r,o,i)]):[3,3];case 2:return d=v.sent(),s.indexOf("#")>-1&&oi.replaceHash(s),[2,d];case 3:return this.config.auth.navigateToLoginRequestUrl?[3,4]:(this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"),[2,this.handleHash(r,o,i)]);case 4:return!oi.isInIframe()||this.config.system.allowRedirectInIframe?(this.browserStorage.setTemporaryCache(Mn.URL_HASH,r,!0),h={apiId:Vr.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},p=!0,s&&"null"!==s?[3,6]:(g=oi.getHomepage(),this.browserStorage.setTemporaryCache(Mn.ORIGIN_URI,g,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(g,h)])):[3,9];case 5:return p=v.sent(),[3,8];case 6:return this.logger.verbose("Navigating to loginRequestUrl: "+s),[4,this.navigationClient.navigateInternal(s,h)];case 7:p=v.sent(),v.label=8;case 8:if(!p)return[2,this.handleHash(r,o,i)];v.label=9;case 9:return[2,null];case 10:throw(_=v.sent())instanceof St&&_.setCorrelationId(this.correlationId),i.cacheFailedRequest(_),this.browserStorage.cleanRequestByInteractionType(Pe.Redirect),_;case 11:return[2]}})})},t.prototype.getRedirectResponseHash=function(e){this.logger.verbose("getRedirectResponseHash called");var i=pn.hashContainsKnownProperties(e),r=this.browserStorage.getTemporaryCache(Mn.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(Mn.URL_HASH)),i?(this.logger.verbose("Hash contains known properties, returning response hash"),e):(this.logger.verbose("Hash does not contain known properties, returning c
1ached hash"),r)},t.prototype.handleHash=function(e,i,r){return Fe(this,void 0,void 0,function(){var o,s,a;return Ne(this,function(d){switch(d.label){case 0:if(o=this.browserStorage.getCachedRequest(i,this.browserCrypto),this.logger.verbose("handleHash called, retrieved cached request"),!(s=this.browserStorage.getCachedAuthority(i)))throw We.createNoCachedAuthorityError();return[4,this.createAuthCodeClient(r,s)];case 1:return a=d.sent(),this.logger.verbose("Auth code client created"),[4,new SN(a,this.browserStorage,o,this.logger,this.browserCrypto).handleCodeResponse(e,i,a.authority,this.networkClient,this.config.auth.clientId)];case 2:return[2,d.sent()]}})})},t.prototype.logout=function(e){return Fe(this,void 0,void 0,function(){var i,r,o,s,a,d;return Ne(this,function(h){switch(h.label){case 0:this.logger.verbose("logoutRedirect called"),i=this.initializeLogoutRequest(e),r=this.initializeServerTelemetryManager(Vr.logout),h.label=1;case 1:return h.trys.push([1,10,,11]),this.eventHandler.emitEvent(nt.LOGOUT_START,Pe.Redirect,e),[4,this.clearCacheOnLogout(i.account)];case 2:return h.sent(),o={apiId:Vr.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},[4,this.createAuthCodeClient(r,e&&e.authority)];case 3:return s=h.sent(),this.logger.verbose("Auth code client created"),a=s.getLogoutUri(i),this.eventHandler.emitEvent(nt.LOGOUT_SUCCESS,Pe.Redirect,i),e&&"function"==typeof e.onRedirectNavigate?!1===e.onRedirectNavigate(a)?[3,5]:(this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),[4,this.navigationClient.navigateExternal(a,o)]):[3,7];case 4:return h.sent(),[2];case 5:this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"),h.label=6;case 6:return[3,9];case 7:return[4,this.navigationClient.navigateExternal(a,o)];case 8:return h.sent(),[2];case 9:return[3,11];case 10:throw(d=h.sent())instanceof St&&d.setCorrelationId(this.correlationId),r.cacheFailedRequest(d),this.eventHandler.emitEvent(nt.LOGOUT_FAILURE,Pe.Redirect,null,d),this.eventHandler.emitEvent(nt.LOGOUT_END,Pe.Redirect),d;case 11:return this.eventHandler.emitEvent(nt.LOGOUT_END,Pe.Redirect),[2]}})})},t.prototype.getRedirectStartPage=function(e){var i=e||window.location.href;return pn.getAbsoluteUrl(i,oi.getCurrentUri())},t}(Eg),Iq=function(n){function t(e,i,r,o,s){var a=n.call(this,e,i,r,o)||this;return a.navigateFrameWait=s,a}return No(t,n),t.prototype.initiateAuthRequest=function(e){return Fe(this,void 0,void 0,function(){var i;return Ne(this,function(r){switch(r.label){case 0:if(Re.isEmpty(e))throw this.browserRequestLogger.info("Navigate url is empty"),We.createEmptyNavigationUriError();return this.navigateFrameWait?[4,this.loadFrame(e)]:[3,2];case 1:return i=r.sent(),[3,3];case 2:i=this.loadFrameSync(e),r.label=3;case 3:return[2,i]}})})},t.prototype.monitorIframeForHash=function(e,i){var r=this;return new Promise(function(o,s){i<6e3&&r.browserRequestLogger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower ("+i+"ms) than the default (6000ms). This may result in timeouts.");var c=window.performance.now()+i,d=setInterval(function(){if(window.performance.now()>c)return r.removeHiddenIframe(e),clearInterval(d),void s(We.createMonitorIframeTimeoutError());var h=xe.EMPTY_STRING,p=e.contentWindow;try{h=p?p.location.href:xe.EMPTY_STRING}catch(_){}if(!Re.isEmpty(h)){var g=p?p.location.hash:xe.EMPTY_STRING;if(pn.hashContainsKnownProperties(g))return r.removeHiddenIframe(e),clearInterval(d),void o(g)}},50)})},t.prototype.loadFrame=function(e){var i=this;return new Promise(function(r,o){var s=i.createHiddenIframe();setTimeout(function(){s?(s.src=e,r(s)):o("Unable to load iframe")},i.navigateFrameWait)})},t.prototype.loadFrameSync=function(e){var i=this.createHiddenIframe();return i.src=e,i},t.prototype.createHiddenIframe=function(){var e=document.createElement("iframe");return e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.getElementsByTagName("body")[0].appendChild(e),e},t.prototype.removeHiddenIframe=function(e){document.body===e.parentNode&&document.body.removeChild(e)},t}(jI),EN=function(n){function t(e,i,r,o,s,a,c,d){var h=n.call(this,e,i,r,o,s,a,d)||this;return h.apiId=c,h}return No(t,n),t.prototype.acquireToken=function(e){return Fe(this,void 0,void 0,function(){var i,r,o,s,a,c;return Ne(this,function(d){switch(d.label){case 0:if(this.logger.verbose("acquireTokenByIframe called"),Re.isEmpty(e.loginHint)&&Re.isEmpty(e.sid)&&(!e.account||Re.isEmpty(e.account.username))&&this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."),e.prompt&&e.prompt!==ed.NONE)throw We.createSilentPromptValueError(e.prompt);i=this.initializeAuthorizationRequest(zn(zn({},e),{prompt:ed.NONE}),Pe.Silent),r=this.initializeServerTelemetryManager(this.apiId),d.label=1;case 1:return d.trys.push([1,6,,7]),[4,this.initializeAuthorizationCodeRequest
1(i)];case 2:return o=d.sent(),[4,this.createAuthCodeClient(r,i.authority)];case 3:return s=d.sent(),this.logger.verbose("Auth code client created"),[4,s.getAuthCodeUrl(i)];case 4:return a=d.sent(),[4,this.silentTokenHelper(a,o,s,this.logger)];case 5:return[2,d.sent()];case 6:throw(c=d.sent())instanceof St&&c.setCorrelationId(this.correlationId),r.cacheFailedRequest(c),this.browserStorage.cleanRequestByState(i.state),c;case 7:return[2]}})})},t.prototype.logout=function(){return Promise.reject(We.createSilentLogoutUnsupportedError())},t.prototype.silentTokenHelper=function(e,i,r,o){return Fe(this,void 0,void 0,function(){var s,a,c,d;return Ne(this,function(h){switch(h.label){case 0:return[4,(s=new Iq(r,this.browserStorage,i,o,this.config.system.navigateFrameWait)).initiateAuthRequest(e)];case 1:return a=h.sent(),[4,s.monitorIframeForHash(a,this.config.system.iframeHashTimeout)];case 2:return c=h.sent(),d=this.validateAndExtractStateFromHash(c,Pe.Silent,i.correlationId),[2,s.handleCodeResponse(c,d,r.authority,this.networkClient)]}})})},t}(Eg),DN=function(n){function t(e){return n.call(this,e)||this}return rs(t,n),t.prototype.acquireToken=function(e){return Ot(this,void 0,void 0,function(){var i,r,o;return Pt(this,function(s){switch(s.label){case 0:return i=$a.nowSeconds(),[4,this.executeTokenRequest(e,this.authority)];case 1:return r=s.sent(),(o=new AC(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(r.body),[2,o.handleServerTokenResponse(r.body,this.authority,i,e,void 0,void 0,!0)]}})})},t.prototype.acquireTokenByRefreshToken=function(e){return Ot(this,void 0,void 0,function(){var o;return Pt(this,function(s){if(!e)throw Bn.createEmptyTokenRequestError();if(!e.account)throw Qe.createNoAccountInSilentRequestError();if(this.cacheManager.isAppMetadataFOCI(e.account.environment,this.config.authOptions.clientId))try{return[2,this.acquireTokenWithCachedRefreshToken(e,!0)]}catch(a){if(o=a instanceof vg&&"invalid_grant"===a.errorCode&&"client_mismatch"===a.subError,a instanceof id&&a.errorCode===OI_noTokensFoundError_code||o)return[2,this.acquireTokenWithCachedRefreshToken(e,!1)];throw a}return[2,this.acquireTokenWithCachedRefreshToken(e,!1)]})})},t.prototype.acquireTokenWithCachedRefreshToken=function(e,i){return Ot(this,void 0,void 0,function(){var r,o;return Pt(this,function(s){if(!(r=this.cacheManager.readRefreshTokenFromCache(this.config.authOptions.clientId,e.account,i)))throw id.createNoTokensFoundError();return o=Lr(Lr({},e),{refreshToken:r.secret,authenticationScheme:e.authenticationScheme||$n.BEARER,ccsCredential:{credential:e.account.homeAccountId,type:wo.HOME_ACCOUNT_ID}}),[2,this.acquireToken(o)]})})},t.prototype.executeTokenRequest=function(e,i){return Ot(this,void 0,void 0,function(){var r,o,s,a,c;return Pt(this,function(d){switch(d.label){case 0:return[4,this.createTokenRequestBody(e)];case 1:return r=d.sent(),o=this.createTokenQueryParameters(e),s=this.createTokenRequestHeaders(e.ccsCredential),a={clientId:this.config.authOptions.clientId,authority:i.canonicalAuthority,scopes:e.scopes,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshJwk:e.sshJwk,sshKid:e.sshKid},c=pn.appendQueryString(i.tokenEndpoint,o),[2,this.executePostToTokenEndpoint(c,r,s,a)]}})})},t.prototype.createTokenQueryParameters=function(e){var i=new mf;return e.tokenQueryParameters&&i.addExtraQueryParameters(e.tokenQueryParameters),i.createQueryString()},t.prototype.createTokenRequestBody=function(e){return Ot(this,void 0,void 0,function(){var i,r,o,a,c;return Pt(this,function(d){switch(d.label){case 0:return(i=new mf).addClientId(this.config.authOptions.clientId),i.addScopes(e.scopes),i.addGrantType(pg.REFRESH_TOKEN_GRANT),i.addClientInfo(),i.addLibraryInfo(this.config.libraryInfo),i.addThrottling(),this.serverTelemetryManager&&i.addServerTelemetry(this.serverTelemetryManager),r=e.correlationId||this.config.cryptoInterface.createNewGuid(),i.addCorrelationId(r),i.addRefreshToken(e.refreshToken),this.config.clientCredentials.clientSecret&&i.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(i.addClientAssertion((o=this.config.clientCredentials.clientAssertion).assertion),i.addClientAssertionType(o.assertionType)),e.authenticationScheme!==$n.POP?[3,2]:[4,new HI(this.cryptoUtils).generateCnf(e)];case 1:return a=d.sent(),i.addPopToken(a),[3,3];case 2:if(e.authenticationScheme===$n.SSH){if(!e.sshJwk)throw Bn.createMissingSshJwkError();i.addSshJwk(e.sshJwk)}d.label=3;case 3:if((!Re.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&i.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.ccsCredential)switch(e.ccsCredential.type){case wo.HOME_ACCOUNT_ID:try{c=bg(e.ccsCredential.credential),i.addCcsOid(c)}catch(h){this.logger.verbose("Could not parse home account ID for CCS Header: "+h)}break;case wo.UPN:i.addCcsUpn(e.ccsCredential.credential)}return[2,i.createQueryString()]}})})},t}(BI),Mq=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return No(t,n),t.prototype.acquireToken=function(e){return Fe(this,void 0,void 0,function(){var i,r,o,s=this;return Ne(this,function(a){switch(a.label){case 0:return i=zn(zn({}
1,e),this.initializeBaseRequest(e)),r=this.initializeServerTelemetryManager(Vr.acquireTokenSilent_silentFlow),[4,this.createRefreshTokenClient(r,i.authority)];case 1:return o=a.sent(),this.logger.verbose("Refresh token client created"),[2,o.acquireTokenByRefreshToken(i).catch(function(c){throw c instanceof St&&c.setCorrelationId(s.correlationId),r.cacheFailedRequest(c),c})]}})})},t.prototype.logout=function(){return Promise.reject(We.createSilentLogoutUnsupportedError())},t.prototype.createRefreshTokenClient=function(e,i){return Fe(this,void 0,void 0,function(){var r;return Ne(this,function(o){switch(o.label){case 0:return[4,this.getClientConfiguration(e,i)];case 1:return r=o.sent(),[2,new DN(r)]}})})},t}(Eg),Tq=function(){function n(t,e,i,r){this.isBrowserEnvironment="undefined"!=typeof window,this.config=t,this.storage=e,this.logger=i,this.cryptoObj=r}return n.prototype.loadExternalTokens=function(t,e,i){if(this.logger.info("TokenCache - loadExternalTokens called"),!e.id_token)throw We.createUnableToLoadTokenError("Please ensure server response includes id token.");if(t.account)this.loadIdToken(e.id_token,t.account.homeAccountId,t.account.environment,t.account.tenantId,i),this.loadAccessToken(t,e,t.account.homeAccountId,t.account.environment,t.account.tenantId,i);else{if(!t.authority)throw We.createUnableToLoadTokenError("Please provide a request with an account or a request with authority.");var o=new CN(t.authority,this.config.system.networkClient,this.storage,{protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata});if(i.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),this.loadIdToken(e.id_token,i.clientInfo,o.hostnameAndPort,o.tenant,i),this.loadAccessToken(t,e,i.clientInfo,o.hostnameAndPort,o.tenant,i);else{if(!e.client_info)throw We.createUnableToLoadTokenError("Please provide clientInfo in the response or options.");this.logger.trace("TokenCache - homeAccountId from response"),this.loadIdToken(e.id_token,e.client_info,o.hostnameAndPort,o.tenant,i),this.loadAccessToken(t,e,e.client_info,o.hostnameAndPort,o.tenant,i)}}},n.prototype.loadIdToken=function(t,e,i,r,o){var s=CC.createIdTokenEntity(e,i,t,this.config.auth.clientId,r),a=new zc(t,this.cryptoObj),c=o.clientInfo?Co.createAccount(o.clientInfo,e,a,void 0,void 0,void 0,void 0,i):Co.createGenericAccount(e,a,void 0,void 0,void 0,void 0,i);if(!this.isBrowserEnvironment)throw We.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");this.logger.verbose("TokenCache - loading id token"),this.storage.setAccount(c),this.storage.setIdTokenCredential(s)},n.prototype.loadAccessToken=function(t,e,i,r,o,s){if(e.access_token){if(!e.expires_in)throw We.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");if(!s.extendedExpiresOn)throw We.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");var a=new za(t.scopes).printScopes(),h=wC.createAccessTokenEntity(i,r,e.access_token,this.config.auth.clientId,o,a,e.expires_in,s.extendedExpiresOn,this.cryptoObj);if(!this.isBrowserEnvironment)throw We.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(h)}else this.logger.verbose("TokenCache - No access token provided for caching")},n}(),xq=function(){function n(t){this.isBrowserEnvironment="undefined"!=typeof window,this.config=function(n,t){var e=n.auth,i=n.cache,r=n.system,o={clientId:"",authority:""+xe.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:"",authorityMetadata:"",redirectUri:"",postLogoutRedirectUri:"",navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:Sg.AAD},s={cacheLocation:Cr.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1},a={loggerCallback:function(){},logLevel:Ui.Info,piiLoggingEnabled:!1},c=zn(zn({},bN),{loggerOptions:a,networkClient:t?oi.getBrowserNetworkClient():lq,navigationClient:new dq,loadFrameTimeout:0,windowHashTimeout:r&&r.loadFrameTimeout||6e4,iframeHashTimeout:r&&r.loadFrameTimeout||6e3,navigateFrameWait:t&&oi.detectIEOrEdge()?500:0,redirectNavigationTimeout:3e4,asyncPopups:!1,allowRedirectInIframe:!1});return{auth:zn(zn({},o),e),cache:zn(zn({},s),i),system:zn(zn({},c),r)}}(t,this.isBrowserEnvironment),this.logger=new fN(this.config.system.loggerOptions,"@azure/msal-browser",VI),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.browserCrypto=this.isBrowserEnvironment?new Y7(this.logger):vC,this.eventHandler=new gq(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new yN(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):function(n,t){return new yN(n,{cacheLocation:Cr.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1},vC,t)}(this.config.auth.clientId,this.logger),this.tokenCache=new Tq(this.config,this.browserStorage,this.logger,this.browserCrypto)}return n.prototype.handleRedirectPromise=function(t){return Fe(this,void 0,void 0,function(){var e,i,r,o,s,a=this;return Ne(this,function(c){return this.logger.verbose("handleRedirectPromise called"),e=this.getAllAccounts(),this.isBrowserEnvironment?(void 0===(r=this.redirectResponse.get(i=t||xe.EMPTY_STRING))?(this.eventHandler.emitEvent(nt.HANDLE_REDIRECT_START,Pe.Redirect),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),o=this.browserStorage.getTemporaryCache(Mn.CORRELATION_ID,!0)||"",s=new zI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,o),r=s.handleRedirectPromise(t).then(function(d){return d&&(e.length<a.getAllAccounts().length?(a.eventHandler.emitEvent(nt.LOGIN_SUCCESS,Pe.Redirect,d),a.logger.verbose("handleRedirectResponse returned result, login success")):(a.eventHandler.emitEvent(nt.ACQUIRE_TOKEN_SUCCESS,Pe.Redirect,d),a.logger.verbose("handleRedirectResponse returned result, acquire token success"))),a.eventHandler.emitEvent(nt.HANDLE_REDIRECT_END,Pe.Redirect),d}).catch(function(d){throw a.eventHandler.emitEvent(e.length>0?nt.ACQUIRE_TOKEN_FAILURE:nt.LOGIN_FAILURE,Pe.Redirect,null,d),a.eventHandler.emitEvent(nt.HANDLE_REDIRECT_END,Pe.Redirect),d}),this.redirectResponse.set(i,r)):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),[2,r]):(this.logger.verbose("handleRedirectPromise returns null, not browser environment"),[2,null])})})},n.prototype.acquireTokenRedirect=function(t){return Fe(this,void 0,void 0,function(){var e,r=this;return Ne(this,function(o){return this.preflightBrowserEnvironmentCheck(Pe.Redirect),this.logger.verbose("acquireTokenRedirect called"),e=this.getAllAccounts().length>0,this.eventHandler.emitEvent(e?nt.ACQUIRE_TOKEN_START:nt.LOGIN_START,Pe.Redirect,t),[2,new zI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,t.correlationId).acquireToken(t).cat
1ch(function(s){throw r.eventHandler.emitEvent(e?nt.ACQUIRE_TOKEN_FAILURE:nt.LOGIN_FAILURE,Pe.Redirect,null,s),s})]})})},n.prototype.acquireTokenPopup=function(t){var e=this;try{this.preflightBrowserEnvironmentCheck(Pe.Popup),this.logger.verbose("acquireTokenPopup called",t.correlationId)}catch(o){return Promise.reject(o)}var i=this.getAllAccounts();return this.eventHandler.emitEvent(i.length>0?nt.ACQUIRE_TOKEN_START:nt.LOGIN_START,Pe.Popup,t),new wN(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,t.correlationId).acquireToken(t).then(function(o){var s=i.length<e.getAllAccounts().length;return e.eventHandler.emitEvent(s?nt.LOGIN_SUCCESS:nt.ACQUIRE_TOKEN_SUCCESS,Pe.Popup,o),o}).catch(function(o){return e.eventHandler.emitEvent(i.length>0?nt.ACQUIRE_TOKEN_FAILURE:nt.LOGIN_FAILURE,Pe.Popup,null,o),Promise.reject(o)})},n.prototype.ssoSilent=function(t){return Fe(this,void 0,void 0,function(){var i,r;return Ne(this,function(o){switch(o.label){case 0:this.preflightBrowserEnvironmentCheck(Pe.Silent),this.logger.verbose("ssoSilent called",t.correlationId),this.eventHandler.emitEvent(nt.SSO_SILENT_START,Pe.Silent,t),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,new EN(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,Vr.ssoSilent,t.correlationId).acquireToken(t)];case 2:return i=o.sent(),this.eventHandler.emitEvent(nt.SSO_SILENT_SUCCESS,Pe.Silent,i),[2,i];case 3:throw r=o.sent(),this.eventHandler.emitEvent(nt.SSO_SILENT_FAILURE,Pe.Silent,null,r),r;case 4:return[2]}})})},n.prototype.acquireTokenByRefreshToken=function(t){return Fe(this,void 0,void 0,function(){var i=this;return Ne(this,function(r){return this.eventHandler.emitEvent(nt.ACQUIRE_TOKEN_NETWORK_START,Pe.Silent,t),oi.blockReloadInHiddenIframes(),[2,new Mq(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,t.correlationId).acquireToken(t).catch(function(o){if(o instanceof vg&&"invalid_grant"===o.errorCode&&!(o instanceof id))return i.logger.verbose("Refresh token expired or invalid, attempting acquire token by iframe",t.correlationId),new EN(i.config,i.browserStorage,i.browserCrypto,i.logger,i.eventHandler,i.navigationClient,Vr.acquireTokenSilent_authCode,t.correlationId).acquireToken(t);throw o})]})})},n.prototype.logout=function(t){return Fe(this,void 0,void 0,function(){return Ne(this,function(e){return this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead."),[2,this.logoutRedirect(t)]})})},n.prototype.logoutRedirect=function(t){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return this.preflightBrowserEnvironmentCheck(Pe.Redirect),[2,new zI(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,null==t?void 0:t.correlationId).logout(t)]})})},n.prototype.logoutPopup=function(t){try{return this.preflightBrowserEnvironmentCheck(Pe.Popup),new wN(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,null==t?void 0:t.correlationId).logout(t)}catch(i){return Promise.reject(i)}},n.prototype.getAllAccounts=function(){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts():[]},n.prototype.getAccountByUsername=function(t){var e=this.getAllAccounts();return!Re.isEmpty(t)&&e&&e.length?(this.logger.verbose("Account matching username found, returning"),this.logger.verbosePii("Returning signed-in accounts matching username: "+t),e.filter(function(i){return i.username.toLowerCase()===t.toLowerCase()})[0]||null):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)},n.prototype.getAccountByHomeId=function(t){var e=this.getAllAccounts();return!Re.isEmpty(t)&&e&&e.length?(this.logger.verbose("Account matching homeAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching homeAccountId: "+t),e.filter(function(i){return i.homeAccountId===t})[0]||null):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)},n.prototype.getAccountByLocalId=function(t){var e=this.getAllAccounts();return!Re.isEmpty(t)&&e&&e.length?(this.logger.verbose("Account matching localAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching localAccountId: "+t),e.filter(function(i){return i.localAccountId===t})[0]||null):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)},n.prototype.setActiveAccount=function(t){this.browserStorage.setActiveAccount(t)},n.prototype.getActiveAccount=function(){return this.browserStorage.getActiveAccount()},n.prototype.preflightBrowserEnvironmentCheck=function(t){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),oi.blockNonBrowserEnvironment(this.isBrowserEnvironment),oi.blockRedirectInIframe(t,this.config.system.allowRedirectInIframe),oi.blockReloadInHiddenIframes(),oi.blockAcquireTokenInPopups(),t===Pe.Redirect&&this.config.cache.cac
1heLocation===Cr.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw wg.createInMemoryRedirectUnavailableError()},n.prototype.addEventCallback=function(t){return this.eventHandler.addEventCallback(t)},n.prototype.removeEventCallback=function(t){this.eventHandler.removeEventCallback(t)},n.prototype.enableAccountStorageEvents=function(){this.eventHandler.enableAccountStorageEvents()},n.prototype.disableAccountStorageEvents=function(){this.eventHandler.disableAccountStorageEvents()},n.prototype.getTokenCache=function(){return this.tokenCache},n.prototype.getLogger=function(){return this.logger},n.prototype.setLogger=function(t){this.logger=t},n.prototype.initializeWrapperLibrary=function(t,e){this.browserStorage.setWrapperMetadata(t,e)},n.prototype.setNavigationClient=function(t){this.navigationClient=t},n.prototype.getConfiguration=function(){return this.config},n}(),Rq=function(n){function t(e){return n.call(this,e)||this}return rs(t,n),t.prototype.acquireToken=function(e){return Ot(this,void 0,void 0,function(){var i;return Pt(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this.acquireCachedToken(e)];case 1:return[2,o.sent()];case 2:if((i=o.sent())instanceof Qe&&i.errorCode===be_tokenRefreshRequired_code)return[2,new DN(this.config).acquireTokenByRefreshToken(e)];throw i;case 3:return[2]}})})},t.prototype.acquireCachedToken=function(e){var i,r,o,s;return Ot(this,void 0,void 0,function(){var a,c,h;return Pt(this,function(p){switch(p.label){case 0:if(!e)throw Bn.createEmptyTokenRequestError();if(e.forceRefresh)throw null===(i=this.serverTelemetryManager)||void 0===i||i.setCacheOutcome(jc.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),Qe.createRefreshRequiredError();if(!Re.isEmptyObj(e.claims))throw this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because claims are requested."),Qe.createRefreshRequiredError();if(!e.account)throw Qe.createNoAccountInSilentRequestError();if(a=new za(e.scopes||[]),c=e.authority||this.authority.getPreferredCache(),!(h=this.cacheManager.readCacheRecord(e.account,this.config.authOptions.clientId,a,c,e.authenticationScheme||$n.BEARER,e.sshKid)).accessToken)throw null===(r=this.serverTelemetryManager)||void 0===r||r.setCacheOutcome(jc.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),Qe.createRefreshRequiredError();if($a.wasClockTurnedBack(h.accessToken.cachedAt)||$a.isTokenExpired(h.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw null===(o=this.serverTelemetryManager)||void 0===o||o.setCacheOutcome(jc.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),Qe.createRefreshRequiredError();if(h.accessToken.refreshOn&&$a.isTokenExpired(h.accessToken.refreshOn,0))throw null===(s=this.serverTelemetryManager)||void 0===s||s.setCacheOutcome(jc.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),Qe.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(h,e)];case 1:return[2,p.sent()]}})})},t.prototype.generateResultFromCacheRecord=function(e,i){return Ot(this,void 0,void 0,function(){var r;return Pt(this,function(o){switch(o.label){case 0:return e.idToken&&(r=new zc(e.idToken.secret,this.config.cryptoInterface)),[4,AC.generateAuthenticationResult(this.cryptoUtils,this.authority,e,!0,i,r)];case 1:return[2,o.sent()]}})})},t}(BI),kq=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return No(t,n),t.prototype.acquireToken=function(e){return Fe(this,void 0,void 0,function(){var i,r,o,s;return Ne(this,function(a){switch(a.label){case 0:return i=this.initializeServerTelemetryManager(Vr.acquireTokenSilent_silentFlow),[4,this.createSilentFlowClient(i,e.authority)];case 1:r=a.sent(),this.logger.verbose("Silent auth client created"),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,r.acquireCachedToken(e)];case 3:return o=a.sent(),this.eventHandler.emitEvent(nt.ACQUIRE_TOKEN_SUCCESS,Pe.Silent,o),[2,o];case 4:throw(s=a.sent())instanceof We&&s.errorCode===Me_signingKeyNotFoundInStorage_code&&this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),s;case 5:return[2]}})})},t.prototype.logout=function(){return Promise.reject(We.createSilentLogoutUnsupportedError())},t.prototype.createSilentFlowClient=function(e,i){return Fe(this,void 0,void 0,function(){var r;return Ne(this,function(o){switch(o.label){case 0:return[4,this.getClientConfiguration(e,i)];case 1:return r=o.sent(),[2,new Rq(r)]}})})},t.prototype.initializeSilentRequest=function(e,i){return zn(zn(zn({}
1,e),this.initializeBaseRequest(e)),{account:i,forceRefresh:e.forceRefresh||!1})},t}(Eg),Oq=function(n){function t(e){var i=n.call(this,e)||this;return i.activeSilentTokenRequests=new Map,i}return No(t,n),t.prototype.loginRedirect=function(e){return Fe(this,void 0,void 0,function(){return Ne(this,function(i){return this.logger.verbose("loginRedirect called"),[2,this.acquireTokenRedirect(e||cN)]})})},t.prototype.loginPopup=function(e){return this.logger.verbose("loginPopup called"),this.acquireTokenPopup(e||cN)},t.prototype.acquireTokenSilent=function(e){return Fe(this,void 0,void 0,function(){var i,o,s,a,c=this;return Ne(this,function(d){if(this.preflightBrowserEnvironmentCheck(Pe.Silent),this.logger.verbose("acquireTokenSilent called",e.correlationId),!(i=e.account||this.getActiveAccount()))throw We.createNoAccountError();return o=JSON.stringify({clientId:this.config.auth.clientId,authority:e.authority||"",scopes:e.scopes,homeAccountIdentifier:i.homeAccountId,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshJwk:e.sshJwk,sshKid:e.sshKid}),void 0===(s=this.activeSilentTokenRequests.get(o))?(this.logger.verbose("acquireTokenSilent called for the first time, storing active request",e.correlationId),a=this.acquireTokenSilentAsync(e,i).then(function(h){return c.activeSilentTokenRequests.delete(o),h}).catch(function(h){throw c.activeSilentTokenRequests.delete(o),h}),this.activeSilentTokenRequests.set(o,a),[2,a]):(this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",e.correlationId),[2,s])})})},t.prototype.acquireTokenSilentAsync=function(e,i){return Fe(this,void 0,void 0,function(){var r,o,s=this;return Ne(this,function(a){return r=new kq(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,e.correlationId),o=r.initializeSilentRequest(e,i),this.eventHandler.emitEvent(nt.ACQUIRE_TOKEN_START,Pe.Silent,e),[2,r.acquireToken(o).catch(function(){return Fe(s,void 0,void 0,function(){var c,d;return Ne(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,this.acquireTokenByRefreshToken(o)];case 1:return c=h.sent(),this.eventHandler.emitEvent(nt.ACQUIRE_TOKEN_SUCCESS,Pe.Silent,c),[2,c];case 2:throw d=h.sent(),this.eventHandler.emitEvent(nt.ACQUIRE_TOKEN_FAILURE,Pe.Silent,null,d),d;case 3:return[2]}})})})]})})},t}(xq),Pq=function(){function n(){}return n.getInteractionStatusFromEvent=function(t,e){switch(t.eventType){case nt.LOGIN_START:return tr.Login;case nt.SSO_SILENT_START:return tr.SsoSilent;case nt.ACQUIRE_TOKEN_START:if(t.interactionType===Pe.Redirect||t.interactionType===Pe.Popup)return tr.AcquireToken;break;case nt.HANDLE_REDIRECT_START:return tr.HandleRedirect;case nt.LOGOUT_START:return tr.Logout;case nt.SSO_SILENT_SUCCESS:case nt.SSO_SILENT_FAILURE:if(e&&e!==tr.SsoSilent)break;return tr.None;case nt.LOGOUT_END:if(e&&e!==tr.Logout)break;return tr.None;case nt.HANDLE_REDIRECT_END:if(e&&e!==tr.HandleRedirect)break;return tr.None;case nt.LOGIN_SUCCESS:case nt.LOGIN_FAILURE:case nt.ACQUIRE_TOKEN_SUCCESS:case nt.ACQUIRE_TOKEN_FAILURE:if(t.interactionType===Pe.Redirect||t.interactionType===Pe.Popup){if(e&&e!==tr.Login&&e!==tr.AcquireToken)break;return tr.None}}return null},n}();class So extends De{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Do;return this._value}next(t){super.next(this._value=t)}}function Ga(n){return function(e){const i=new Fq(n),r=e.lift(i);return i.caught=r}}class Fq{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Nq(t,this.selector,this.caught))}}class Nq extends Ur{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const i=new fs(this);this.add(i);const r=Yc(e,i);r!==i&&this.add(r)}}}class Lq extends _e{notifyNext(t,e,i,r,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}
vendor: 4,270 bytes, line 1
1class Vq extends _e{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Bq(n,t,e,i,r=new Vq(n,e,i)){if(!r.closed)return t instanceof Et?t.subscribe(r):ec(t)(r)}const AN={};function IN(...n){let t,e;return Jl(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&ce(n[0])&&(n=n[0]),ol(n,e).lift(new Hq(t))}class Hq{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Uq(t,this.resultSelector))}}class Uq extends Lq{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(AN),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i<e;i++)this.add(Bq(this,t[i],void 0,i))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,i){const r=this.values,s=this.toRespond?r[i]===AN?--this.toRespond:this.toRespond:0;r[i]=e,0===s&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const IC=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();function _f(...n){return Zc(1)(Se(...n))}function yf(n){return new Et(t=>{let e;try{e=n()}catch(r){return void t.error(r)}return(e?jt(e):Qb()).subscribe(t)})}const MN=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function On(n){return t=>0===n?Qb():t.lift(new zq(n))}class zq{constructor(t){if(this.total=t,this.total<0)throw new MN}call(t,e){return e.subscribe(new $q(t,this.total))}}class $q extends _e{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function nr(...n){const t=n[n.length-1];return Jl(t)?(n.pop(),e=>_f(n,e,t)):e=>_f(n,e)}function TN(n,t){let e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new Gq(n,t,e))}}class Gq{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new qq(t,this.accumulator,this.seed,this.hasSeed))}}class qq extends _e{constructor(t,e,i,r){super(t),this.accumulator=e,this._seed=i,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=i,this.destination.next(i)}}function $I(n){return function(e){return 0===n?Qb():e.lift(new Wq(n))}}class Wq{constructor(t){if(this.total=t,this.total<0)throw new MN}call(t,e){return e.subscribe(new Kq(t,this.total))}}class Kq extends _e{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,r=this.count++;e.length<i?e.push(t):e[r%i]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;o<i;o++){const s=e++%i;t.next(r[s])}}t.complete()}}function xN(n=Xq){return t=>t.lift(new Qq(n))}class Qq{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Yq(t,this.errorFactory))}}class Yq extends _e{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Xq(){return new IC}function RN(n=null){return t=>t.lift(new Zq(n))}class Zq{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Jq(t,this.defaultValue))}}
1class Jq extends _e{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function vf(n,t){const e=arguments.length>=2;return i=>i.pipe(n?vn((r,o)=>n(r,o,i)):us,On(1),e?RN(t):xN(()=>new IC))}function zl(){}function ir(n,t,e){return function(r){return r.lift(new tW(n,t,e))}}class tW{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new nW(t,this.nextOrObserver,this.error,this.complete))}}class nW extends _e{constructor(t,e,i,r){super(t),this._tapNext=zl,this._tapError=zl,this._tapComplete=zl,this._tapError=i||zl,this._tapComplete=r||zl,oe(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||zl,this._tapError=e.error||zl,this._tapComplete=e.complete||zl)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function kN(n){return t=>t.lift(new iW(n))}class iW{constructor(t){this.callback=t}call(t,e){return e.subscribe(new rW(t,this.callback))}}class rW extends _e{constructor(t,e){super(t),this.add(new R(e))}}class $l{constructor(t,e){this.id=t,this.url=e}}class GI extends $l{constructor(t,e,i="imperative",r=null){super(t,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class od extends $l{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ON extends $l{constructor(t,e,i){super(t,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oW extends $l{constructor(t,e,i){super(t,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sW extends $l{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aW extends $l{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lW extends $l{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class cW extends $l{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uW extends $l{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class PN{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class FN{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dW{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hW{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fW{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pW{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class NN{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Wt="primary";class mW{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function bf(n){return new mW(n)}const LN="ngNavigationCancelingError";function qI(n){const t=Error("NavigationCancelingError: "+n);return t[LN]=!0,t}function _W(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.length<n.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=n[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,i.length),posParams:r}}function qa(n,t){const e=n?Object.keys(n):void 0,i=t?Object.keys(t):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!VN(n[r],t[r]))return!1;return!0}function VN(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;const e=[...n].sort(),i=[...t].sort();return e.every((r,o)=>i[o]===r)}return n===t}function BN(n){return Array.prototype.concat.apply([],n)}function HN(n){return n.length>0?n[n.length-1]:null}function wr(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Wa(n){return jv(n)?n:Dm(n)?jt(Promise.resolve(n)):Se(n)}const bW={exact:function zN(n,t,e){if(!ad(n.segments,t.segments)||!MC(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!zN(n.children[i],t.children[i],e))return!1;return!0},subset:$N},UN={exact:function(n,t){return qa(n,t)},subset:function(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>VN(n[e],t[e]))},ignored:()=>!0};function jN(n,t,e){return bW[e.paths](n.root,t.root,e.matrixParams)&&UN[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function $N(n,t,e){return GN(n,t,t.segments,e)}function GN(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);
1return!(!ad(r,e)||t.hasChildren()||!MC(r,e,i))}if(n.segments.length===e.length){if(!ad(n.segments,e)||!MC(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!$N(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(ad(n.segments,r)&&MC(n.segments,r,i)&&n.children[Wt])&&GN(n.children[Wt],t,o,i)}}function MC(n,t,e){return t.every((i,r)=>UN[e](n[r].parameters,i.parameters))}class sd{constructor(t,e,i){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bf(this.queryParams)),this._queryParamMap}toString(){return DW.serialize(this)}}class Jt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,wr(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return TC(this)}}class Dg{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=bf(this.parameters)),this._parameterMap}toString(){return YN(this)}}function ad(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}class qN{}class WN{parse(t){const e=new PW(t);return new sd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Ag(t.root,!0)}`,i=function(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${xC(e)}=${xC(r)}`).join("&"):`${xC(e)}=${xC(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams),r="string"==typeof t.fragment?`#${function(n){return encodeURI(n)}(t.fragment)}`:"";return`${e}${i}${r}`}}const DW=new WN;function TC(n){return n.segments.map(t=>YN(t)).join("/")}function Ag(n,t){if(!n.hasChildren())return TC(n);if(t){const e=n.children[Wt]?Ag(n.children[Wt],!1):"",i=[];return wr(n.children,(r,o)=>{o!==Wt&&i.push(`${o}:${Ag(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function(n,t){let e=[];return wr(n.children,(i,r)=>{r===Wt&&(e=e.concat(t(i,r)))}),wr(n.children,(i,r)=>{r!==Wt&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===Wt?[Ag(n.children[Wt],!1)]:[`${r}:${Ag(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Wt]?`${TC(n)}/${e[0]}`:`${TC(n)}/(${e.join("//")})`}}function KN(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xC(n){return KN(n).replace(/%3B/gi,";")}function WI(n){return KN(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function RC(n){return decodeURIComponent(n)}function QN(n){return RC(n.replace(/\+/g,"%20"))}function YN(n){return`${WI(n.path)}${function(n){return Object.keys(n).map(t=>`;${WI(t)}=${WI(n[t])}`).join("")}(n.parameters)}`}const TW=/^[^\/()?;=#]+/;function kC(n){const t=n.match(TW);return t?t[0]:""}const xW=/^[^=?&#]+/,kW=/^[^&#]+/;class PW{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Jt([],{}):new Jt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[Wt]=new Jt(t,e)),i}parseSegment(){const t=kC(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Dg(RC(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=kC(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=kC(this.remaining);r&&(i=r,this.capture(i))}t[RC(e)]=RC(i)}parseQueryParam(t){const e=function(n){const t=n.match(xW);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function(n){const t=n.match(kW);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=QN(e),o=QN(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=kC(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let o;i.indexOf(":")>-1?(o=i.substr(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Wt);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[Wt]:new Jt([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class XN{constructor(t){this._root=t}get root(){return this._root.value}
vendor: 7,583 bytes, line 1
1parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=KI(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=KI(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=QI(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return QI(t,this._root).map(e=>e.value)}}function KI(n,t){if(n===t.value)return t;for(const e of t.children){const i=KI(n,e);if(i)return i}return null}function QI(n,t){if(n===t.value)return[t];for(const e of t.children){const i=QI(n,e);if(i.length)return i.unshift(t),i}return[]}class Gl{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Cf(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class ZN extends XN{constructor(t,e){super(t),this.snapshot=e,YI(this,t)}toString(){return this.snapshot.toString()}}function JN(n,t){const e=function(n,t){const s=new OC([],{},{},"",{},Wt,t,null,n.root,-1,{});return new tL("",new Gl(s,[]))}(n,t),i=new So([new Dg("",{})]),r=new So({}),o=new So({}),s=new So({}),a=new So(""),c=new ql(i,r,s,a,o,Wt,t,e.root);return c.snapshot=e.root,new ZN(new Gl(c,[]),e)}class ql{constructor(t,e,i,r,o,s,a,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this._futureSnapshot=c}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(rt(t=>bf(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(rt(t=>bf(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function eL(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(n){return n.reduce((t,e)=>({params:Ce(Ce({},t.params),e.params),data:Ce(Ce({},t.data),e.data),resolve:Ce(Ce({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(i))}class OC{constructor(t,e,i,r,o,s,a,c,d,h,p){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._urlSegment=d,this._lastPathIndex=h,this._resolve=p}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=bf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class tL extends XN{constructor(t,e){super(e),this.url=t,YI(this,e)}toString(){return nL(this._root)}}function YI(n,t){t.value._routerState=n,t.children.forEach(e=>YI(n,e))}function nL(n){const t=n.children.length>0?` { ${n.children.map(nL).join(", ")} } `:"";return`${n.value}${t}`}function XI(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,qa(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),qa(t.params,e.params)||n.params.next(e.params),function(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!qa(n[e],t[e]))return!1;return!0}(t.url,e.url)||n.url.next(e.url),qa(t.data,e.data)||n.data.next(e.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function ZI(n,t){const e=qa(n.params,t.params)&&function(n,t){return ad(n,t)&&n.every((e,i)=>qa(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||ZI(n.parent,t.parent))}function Ig(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Ig(n,i,r);return Ig(n,i)})}(n,t,e);return new Gl(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Ig(n,a)),s}}const i=function(n){return new ql(new So(n.url),new So(n.params),new So(n.queryParams),new So(n.fragment),new So(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Ig(n,o));return new Gl(i,r)}}function PC(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Mg(n){return"object"==typeof n&&null!=n&&n.outlets}function JI(n,t,e,i,r){let o={};return i&&wr(i,(s,a)=>{o[a]=Array.isArray(s)?s.map(c=>`${c}`):`${s}`}),new sd(e.root===n?t:iL(e.root,n,t),o,r)}function iL(n,t,e){const i={};return wr(n.children,(r,o)=>{i[o]=r===t?e:iL(r,t,e)}),new Jt(n.segments,i)}class rL{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&PC(i[0]))throw new Error("Root segment cannot have matrix parameters");const r=i.find(Mg);if(r&&r!==HN(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class eM{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function oL(n,t,e){if(n||(n=new Jt([],{})),0===n.segments.length&&n.hasChildren())return FC(n,t,e);const i=function(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<n.segments.length;){if(i>=e.length)return o;const s=n.segments[r],a=e[i];if(Mg(a))break;const c=`${a}`,d=i<e.length-1?e[i+1]:null;if(r>0&&void 0===c)break;if(c&&d&&"object"==typeof d&&void 0===d.outlets){if(!aL(c,d,s))return o;i+=2}else{if(!aL(c,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<n.segments.length){const o=new Jt(n.segments.slice(0,i.pathIndex),{});return o.children[Wt]=new Jt(n.segments.slice(i.pathIndex),n.children),FC(o,0,r)}return i.match&&0===r.length?new Jt(n.segments,{}):i.match&&!n.hasChildren()?tM(n,t,e):i.match?FC(n,0,r):tM(n,t,e)}function FC(n,t,e){if(0===e.length)return new Jt(n.segments,{});{const i=function(n){return Mg(n[0])?n[0].outlets:{[Wt]:n}}(e),r={};return wr(i,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=oL(n.children[s],t,o))}),wr(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new Jt(n.segments,r)}}function tM(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r<e.length;){const o=e[r];if(Mg(o)){const c=qW(o.outlets);return new Jt(i,c)}if(0===r&&PC(e[0])){i.push(new Dg(n.segments[t].path,sL(e[0]))),r++;continue}const s=Mg(o)?o.outlets[Wt]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&PC(a)?(i.push(new Dg(s,sL(a))),r+=2):(i.push(new Dg(s,{})),r++)}return new Jt(i,{})}function qW(n){const t={};return wr(n,(e,i)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=tM(new Jt([],{}),0,e))}),t}function sL(n){const t={};return wr(n,(e,i)=>t[i]=`${e}`),t}function aL(n,t,e){return n==e.path&&qa(t,e.parameters)}class KW{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}
1activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),XI(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=Cf(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),wr(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Cf(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=Cf(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=Cf(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new pW(o.value.snapshot))}),t.children.length&&this.forwardEvent(new hW(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(XI(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),XI(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=function(n){for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),c=a?a.module.componentFactoryResolver:null;s.attachRef=null,s.route=r,s.resolver=c,s.outlet&&s.outlet.activateWith(r,c),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,i)}}class nM{constructor(t,e){this.routes=t,this.module=e}}function $c(n){return"function"==typeof n}function ld(n){return n instanceof sd}const Tg=Symbol("INITIAL_VALUE");function xg(){return Ji(n=>IN(n.map(t=>t.pipe(On(1),nr(Tg)))).pipe(TN((t,e)=>{let i=!1;return e.reduce((r,o,s)=>r!==Tg?r:(o===Tg&&(i=!0),i||!1!==o&&s!==e.length-1&&!ld(o)?r:o),t)},Tg),vn(t=>t!==Tg),rt(t=>ld(t)?t:!0===t),On(1)))}class tK{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Rg,this.attachRef=null}}class Rg{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const i=this.getOrCreateContext(t);i.outlet=e,this.contexts.set(t,i)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new tK,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let lL=(()=>{class n{constructor(e,i,r,o,s){this.parentContexts=e,this.location=i,this.resolver=r,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Ue,this.deactivateEvents=new Ue,this.attachEvents=new Ue,this.detachEvents=new Ue,this.name=o||Wt,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const s=(i=i||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,c=new nK(e,a,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,c),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(b(Rg),b(_i),b(Hs),ur("name"),b(_n))},n.\u0275dir=Y({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();
1class nK{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===ql?this.route:t===Rg?this.childContexts:this.parent.get(t,e)}}let cL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=lt({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,i){1&e&&we(0,"router-outlet")},directives:[lL],encapsulation:2}),n})();function uL(n,t=""){for(let e=0;e<n.length;e++){const i=n[e];iK(i,rK(t,i))}}function iK(n,t){n.children&&uL(n.children,t)}function rK(n,t){return t?n||t.path?n&&!t.path?`${n}/`:!n&&t.path?t.path:`${n}/${t.path}`:"":n}function iM(n){const t=n.children&&n.children.map(iM),e=t?Ti(Ce({},n),{children:t}):Ce({},n);return!e.component&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Wt&&(e.component=cL),e}function as(n){return n.outlet||Wt}function dL(n,t){const e=n.filter(i=>as(i)===t);return e.push(...n.filter(i=>as(i)!==t)),e}const hL={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function NC(n,t,e){var a;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?Ce({},hL):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(t.matcher||_W)(e,n,t);if(!r)return Ce({},hL);const o={};wr(r.posParams,(c,d)=>{o[d]=c.path});const s=r.consumed.length>0?Ce(Ce({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s,positionalParamSegments:null!=(a=r.posParams)?a:{}}}function LC(n,t,e,i,r="corrected"){if(e.length>0&&function(n,t,e){return e.some(i=>VC(n,t,i)&&as(i)!==Wt)}(n,e,i)){const s=new Jt(t,function(n,t,e,i){const r={};r[Wt]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&as(o)!==Wt){const s=new Jt([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[as(o)]=s}return r}(n,t,i,new Jt(e,n.children)));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function(n,t,e){return e.some(i=>VC(n,t,i))}(n,e,i)){const s=new Jt(n.segments,function(n,t,e,i,r,o){const s={};for(const a of i)if(VC(n,e,a)&&!r[as(a)]){const c=new Jt([],{});c._sourceSegment=n,c._segmentIndexShift="legacy"===o?n.segments.length:t.length,s[as(a)]=c}return Ce(Ce({},r),s)}(n,t,e,i,n.children,r));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}const o=new Jt(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}function VC(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function fL(n,t,e,i){return!!(as(n)===i||i!==Wt&&VC(t,e,n))&&("**"===n.path||NC(t,n,e).matched)}function pL(n,t,e){return 0===t.length&&!n.children[e]}class kg{constructor(t){this.segmentGroup=t||null}}class mL{constructor(t){this.urlTree=t}}function BC(n){return new Et(t=>t.error(new kg(n)))}function gL(n){return new Et(t=>t.error(new mL(n)))}function cK(n){return new Et(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class hK{constructor(t,e,i,r,o){this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Fa)}apply(){const t=LC(this.urlTree.root,[],[],this.config).segmentGroup,e=new Jt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Wt).pipe(rt(o=>this.createUrlTree(rM(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ga(o=>{if(o instanceof mL)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof kg?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Wt).pipe(rt(r=>this.createUrlTree(rM(r),t.queryParams,t.fragment))).pipe(Ga(r=>{throw r instanceof kg?this.noMatchError(r):r}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,i){const r=t.segments.length>0?new Jt([],{[Wt]:t}):t;return new sd(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(rt(o=>new Jt([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return jt(r).pipe(Lc(o=>
1{const s=i.children[o],a=dL(e,o);return this.expandSegmentGroup(t,a,s,o).pipe(rt(c=>({segment:c,outlet:o})))}),TN((o,s)=>(o[s.outlet]=s.segment,o),{}),function(n,t){const e=arguments.length>=2;return i=>i.pipe(n?vn((r,o)=>n(r,o,i)):us,$I(1),e?RN(t):xN(()=>new IC))}())}expandSegment(t,e,i,r,o,s){return jt(i).pipe(Lc(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(Ga(d=>{if(d instanceof kg)return Se(null);throw d}))),vf(a=>!!a),Ga((a,c)=>{if(a instanceof IC||"EmptyError"===a.name){if(pL(e,r,o))return Se(new Jt([],{}));throw new kg(e)}throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return fL(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):BC(e):BC(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?gL(o):this.lineralizeSegments(i,o).pipe(qn(s=>{const a=new Jt(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:c,lastChild:d,positionalParamSegments:h}=NC(e,r,o);if(!a)return BC(e);const p=this.applyRedirectCommands(c,r.redirectTo,h);return r.redirectTo.startsWith("/")?gL(p):this.lineralizeSegments(r,p).pipe(qn(g=>this.expandSegment(t,e,i,g.concat(o.slice(d)),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){if("**"===i.path)return i.loadChildren?(i._loadedConfig?Se(i._loadedConfig):this.configLoader.load(t.injector,i)).pipe(rt(g=>(i._loadedConfig=g,new Jt(r,{})))):Se(new Jt(r,{}));const{matched:s,consumedSegments:a,lastChild:c}=NC(e,i,r);if(!s)return BC(e);const d=r.slice(c);return this.getChildConfig(t,i,r).pipe(qn(p=>{const g=p.module,_=p.routes,{segmentGroup:v,slicedSegments:M}=LC(e,a,d,_),w=new Jt(v.segments,v.children);if(0===M.length&&w.hasChildren())return this.expandChildren(g,_,w).pipe(rt(ue=>new Jt(a,ue)));if(0===_.length&&0===M.length)return Se(new Jt(a,{}));const F=as(i)===o;return this.expandSegment(g,w,_,M,F?Wt:o,!0).pipe(rt(ie=>new Jt(a.concat(ie.segments),ie.children)))}))}getChildConfig(t,e,i){return e.children?Se(new nM(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Se(e._loadedConfig):this.runCanLoadGuards(t.injector,e,i).pipe(qn(r=>r?this.configLoader.load(t.injector,e).pipe(rt(o=>(e._loadedConfig=o,o))):function(n){return new Et(t=>t.error(qI(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):Se(new nM([],t))}runCanLoadGuards(t,e,i){const r=e.canLoad;if(!r||0===r.length)return Se(!0);const o=r.map(s=>{const a=t.get(s);let c;if(function(n){return n&&$c(n.canLoad)}(a))c=a.canLoad(e,i);else{if(!$c(a))throw new Error("Invalid CanLoad guard");c=a(e,i)}return Wa(c)});return Se(o).pipe(xg(),ir(s=>{if(!ld(s))return;const a=qI(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw a.url=s,a}),rt(s=>!0===s))}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Se(i);if(r.numberOfChildren>1||!r.children[Wt])return cK(t.redirectTo);r=r.children[Wt]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreatreUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new sd(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return wr(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return wr(e.children,(a,c)=>{s[c]=this.createSegmentGroup(t,a,i,r)}),new Jt(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}function rM(n){const t={};for(const i of Object.keys(n.children)){const o=rM(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function(n){if(1===n.numberOfChildren&&n.children[Wt]){const t=n.children[Wt];return new Jt(n.segments.concat(t.segments),t.children)}return n}(new Jt(n.segments,t))}class _L{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class HC{constructor(t,e){this.component=t,this.route=e}}function mK(n,t,e){const i=n._root;return Og(i,t?t._root:null,e,[i.value])}function UC(n,t,e){const i=function(n){if(!n)return null;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:e).get(n)}function Og(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Cf(t);
1return n.children.forEach(s=>{(function(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const c=function(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!ad(n.url,t.url);case"pathParamsOrQueryParamsChange":return!ad(n.url,t.url)||!qa(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ZI(n,t)||!qa(n.queryParams,t.queryParams);default:return!ZI(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new _L(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Og(n,t,o.component?a?a.children:null:e,i,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new HC(a.outlet.component,s))}else s&&Pg(t,a,r),r.canActivateChecks.push(new _L(i)),Og(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),wr(o,(s,a)=>Pg(s,e.getContext(a),r)),r}function Pg(n,t,e){const i=Cf(n),r=n.value;wr(i,(o,s)=>{Pg(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new HC(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class MK{}function yL(n){return new Et(t=>t.error(n))}class xK{constructor(t,e,i,r,o,s){this.rootComponentType=t,this.config=e,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){const t=LC(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Wt);if(null===e)return null;const i=new OC([],Object.freeze({}),Object.freeze(Ce({},this.urlTree.queryParams)),this.urlTree.fragment,{},Wt,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Gl(i,e),o=new tL(this.url,r);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(t){const e=t.value,i=eL(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,i)}processChildren(t,e){const i=[];for(const o of Object.keys(e.children)){const s=e.children[o],a=dL(t,o),c=this.processSegmentGroup(a,s,o);if(null===c)return null;i.push(...c)}const r=vL(i);return function(n){n.sort((t,e)=>t.value.outlet===Wt?-1:e.value.outlet===Wt?1:t.value.outlet.localeCompare(e.value.outlet))}(r),r}processSegment(t,e,i,r){for(const o of t){const s=this.processSegmentAgainstRoute(o,e,i,r);if(null!==s)return s}return pL(e,i,r)?[]:null}processSegmentAgainstRoute(t,e,i,r){if(t.redirectTo||!fL(t,e,i,r))return null;let o,s=[],a=[];if("**"===t.path){const _=i.length>0?HN(i).parameters:{};o=new OC(i,_,Object.freeze(Ce({},this.urlTree.queryParams)),this.urlTree.fragment,wL(t),as(t),t.component,t,bL(e),CL(e)+i.length,SL(t))}else{const _=NC(e,t,i);if(!_.matched)return null;s=_.consumedSegments,a=i.slice(_.lastChild),o=new OC(s,_.parameters,Object.freeze(Ce({},this.urlTree.queryParams)),this.urlTree.fragment,wL(t),as(t),t.component,t,bL(e),CL(e)+s.length,SL(t))}const c=function(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(t),{segmentGroup:d,slicedSegments:h}=LC(e,s,a,c.filter(_=>void 0===_.redirectTo),this.relativeLinkResolution);if(0===h.length&&d.hasChildren()){const _=this.processChildren(c,d);return null===_?null:[new Gl(o,_)]}if(0===c.length&&0===h.length)return[new Gl(o,[])];const p=as(t)===r,g=this.processSegment(c,d,h,p?Wt:r);return null===g?null:[new Gl(o,g)]}}function OK(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function vL(n){const t=[],e=new Set;for(const i of n){if(!OK(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=vL(i.children);t.push(new Gl(i.value,r))}return t.filter(i=>!e.has(i))}function bL(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function CL(n){let t=n,e=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift?t._segmentIndexShift:0;return e-1}function wL(n){return n.data||{}}function SL(n){return n.resolve||{}}function oM(n){return Ji(t=>{const e=n(t);return e?jt(e).pipe(rt(()=>t)):Se(t)})}class UK extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const sM=new Z("ROUTES");class EL{constructor(t,e,i,r){this.injector=t,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const r=this.loadModuleFactory(e.loadChildren).pipe(rt(o=>{this.onLoadEndListener&&this.onLoadEndListener(e);const s=o.create(t);return new nM(BN(s.injector.get(sM,void 0,Ze.Self|Ze.Optional)).map(iM),s)}),Ga(o=>{throw e._loader$=void 0,o}));return e._loader$=new Cd(r,()=>new De).pipe(sl()),e._loader$}loadModuleFactory(t){return Wa(t()).pipe(qn(e=>e instanceof bR?Se(e):jt(this.compiler.compileModuleAsync(e))))}}class zK{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function $K(n){throw n}function GK(n,t,e){return t.parse("/")}function DL(n,t){return Se(null)}const qK={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},WK={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rr=(()=>{class n{constructor(e,i,r,o,s,a,c){this.rootComponentType=e,this.urlSerializer
1=i,this.rootContexts=r,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new De,this.errorHandler=$K,this.malformedUriErrorHandler=GK,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:DL,afterPreactivation:DL},this.urlHandlingStrategy=new zK,this.routeReuseStrategy=new UK,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Fa),this.console=s.get(ib);const p=s.get(dt);this.isNgZoneEnabled=p instanceof dt&&dt.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new sd(new Jt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new EL(s,a,g=>this.triggerEvent(new PN(g)),g=>this.triggerEvent(new FN(g))),this.routerState=JN(this.currentUrlTree,this.rootComponentType),this.transitions=new So({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null==(e=this.location.getState())?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(vn(r=>0!==r.id),rt(r=>Ti(Ce({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Ji(r=>{let o=!1,s=!1;return Se(r).pipe(ir(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Ti(Ce({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Ji(a=>{const c=this.browserUrlTree.toString(),d=!this.navigated||a.extractedUrl.toString()!==c||c!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||d)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return jC(a.source)&&(this.browserUrlTree=a.extractedUrl),Se(a).pipe(Ji(p=>{const g=this.transitions.getValue();return i.next(new GI(p.id,this.serializeUrl(p.extractedUrl),p.source,p.restoredState)),g!==this.transitions.getValue()?Vl:Promise.resolve(p)}),function(n,t,e,i){return Ji(r=>function(n,t,e,i,r){return new hK(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(rt(o=>Ti(Ce({},r),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ir(p=>{this.currentNavigation=Ti(Ce({},this.currentNavigation),{finalUrl:p.urlAfterRedirects})}),function(n,t,e,i,r){return qn(o=>function(n,t,e,i,r="emptyOnly",o="legacy"){try{const s=new xK(n,t,e,i,r,o).recognize();return null===s?yL(new MK):Se(s)}catch(s){return yL(s)}}(n,t,o.urlAfterRedirects,e(o.urlAfterRedirects),i,r).pipe(rt(s=>Ti(Ce({},o),{targetSnapshot:s}))))}(this.rootComponentType,this.config,p=>this.serializeUrl(p),this.paramsInheritanceStrategy,this.relativeLinkResolution),ir(p=>{if("eager"===this.urlUpdateStrategy){if(!p.extras.skipLocationChange){const _=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl);this.setBrowserUrl(_,p)}this.browserUrlTree=p.urlAfterRedirects}const g=new sW(p.id,this.serializeUrl(p.extractedUrl),this.serializeUrl(p.urlAfterRedirects),p.targetSnapshot);i.next(g)}));if(d&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:g,extractedUrl:_,source:v,restoredState:M,extras:w}=a,F=new GI(g,this.serializeUrl(_),v,M);i.next(F);const V=JN(_,this.rootComponentType).snapshot;return Se(Ti(Ce({},a),{targetSnapshot:V,urlAfterRedirects:_,extras:Ti(Ce({},w),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Vl}),oM(a=>{const{targetSnapshot:c,id:d,extractedUrl:h,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:_}}=a;return this.hooks.beforePreactivation(c,{navigationId:d,appliedUrlTree:h,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!_})}),ir(a=>{const c=new aW(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(c)}),rt(a=>Ti(Ce({},a),{guards:mK(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function(n,t){return qn(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?Se(Ti(Ce({},e),{guardsResult:!0})):function(n,t,e,i){return jt(n).pipe(qn(r=>function(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Se(o.map(a=>{const c=UC(a,t,r);let d;if(function(n){return n&&$c(n.canDeactivate)}(c))d=Wa(c.canDeactivate(n,t,e,i));else{if(!$c(c))throw new Error("Invalid CanDeactivate guard");d=Wa(c(n,t,e,i))}return d.pipe(vf())})).pipe(xg()):Se(!0)}(r.component,r.route,e,t,i)),vf(r=>!0!==r,!0))}(s,i,r,n).pipe(qn(a=>a&&function(n){return"boolean"==typeof n}(a)?function(n,t,e,i){return jt(t).pipe(Lc(r=>_f(function(n,t){return null!==n&&t&&t(new dW(n)),Se(!0)}(r.route.parent,i),function(n,t){return null!==n&&t&&t(new fW(n)),Se(!0)}(r.route,i),function(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>yf(()=>Se(s.guards.map(c=>{const d=UC(c,s.node,e);let h;if(function(n){return n&&$c(n.canActivateChild)}(d))h=Wa(d.canActivateChild(i,n));else{if(!$c(d))throw new Error("Invalid CanActivateChild guard");h=Wa(d(i,n))}return h.pipe(vf())})).pipe(xg())));return Se(o).pipe(xg())}(n,r.path,e),function(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Se(!0);const r=i.map(o=>yf(()=>{const s=UC(o,t,e);let a;if(function(n){return n&&$c(n.canActivate)}(s))a=Wa(s.canActivate(t,n));else{if(!$c(s))throw new Error("Invalid CanActivate guard");a=Wa(s(t,n))}return a.pipe(vf())}));return Se(r).pipe(xg())}(n,r.route,e))),vf(r=>!0!==r,!0))}(i,o,n,t):Se(a)),rt(a=>Ti(Ce({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),ir(a=>{if(ld(a.guardsResult)){const d=qI(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw d.url=a.guardsResult,d}const c=new lW(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(c)}),vn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),oM(a=>{if(a.guards.canActivateChecks.length)return Se(a).pipe(ir(c=>{const d=new cW(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}),Ji(c=>{let d=!1;return Se(c).pipe(function(n,t){return qn(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return Se(e);let o=0;return jt(r).pipe(Lc(s=>function(n,t,e,i){return function(n,t,e,i){const r=Object.keys(n);if(0===r.length)return Se({});const o={};return jt(r).pipe(qn(s=>function(n,t,e,i){const r=UC(n,t,i);return Wa(r.resolve?r.resolve(t,e):r(t,e))}(n[s],t,e,i).pipe(ir(a=>{o[s]=a}))),$I(1),qn(()=>Object.keys(o).length===r.length?Se(o):Vl))}(n._resolve,n,t,i).pipe(rt(o=>(n._resolvedData=o,n.data=Ce(Ce({},n.data),eL(n,e).resolve),null)))}(s.route,i,n,t)),ir(()=>o++),$I(1),qn(s=>o===r.length?Se(e):Vl))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ir({next:()=>d=!0,complete:()=>{d||(this.restoreHistory(c),this.cancelNavigationTransition(c,"At least one route resolver didn't emit any value."))}}))}),ir(c=>{const d=new uW(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(c.urlAfterRedirects),c.targetSnapshot);this.triggerEvent(d)}))}),oM(a=>{const{targetSnapshot:c,id:d,extractedUrl:h,rawUrl:p,extras:{skipLocationChange:g,replaceUrl:_}}=a;return this.hooks.afterPreactivation(c,{navigationId:d,appliedUrlTree:h,rawUrlTree:p,skipLocationChange:!!g,replaceUrl:!!_})}),rt(a=>{const c=function(n,t,e){const i=Ig(n,t._root,e?e._root:void 0);return new ZN(i,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Ti(Ce({},a),{targetRouterState:c})}),ir(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>rt(i=>(new KW(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),ir({next(){o=!0},complete(){o=!0}}),kN(()=>{var a;o||s||this.cancelNavigationTransition(r,`Navigation ID ${r.id} is not equal to the current navigation id ${this.navigationId}`),(null==(a=this.currentNavigation)?void 0:a.id)===r.id&&(this.currentNavigation=null)}),Ga(a=>
1{if(s=!0,function(n){return n&&n[LN]}(a)){const c=ld(a.url);c||(this.navigated=!0,this.restoreHistory(r,!0));const d=new ON(r.id,this.serializeUrl(r.extractedUrl),a.message);i.next(d),c?setTimeout(()=>{const h=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),p={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||jC(r.source)};this.scheduleNavigation(h,"imperative",null,p,{resolve:r.resolve,reject:r.reject,promise:r.promise})},0):r.resolve(!1)}else{this.restoreHistory(r,!0);const c=new oW(r.id,this.serializeUrl(r.extractedUrl),a);i.next(c);try{r.resolve(this.errorHandler(a))}catch(d){r.reject(d)}}return Vl}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Ce(Ce({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var a;const r={replaceUrl:!0},o=(null==(a=e.state)?void 0:a.navigationId)?e.state:null;if(o){const c=Ce({},o);delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(r.state=c)}const s=this.parseUrl(e.url);this.scheduleNavigation(s,i,o,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){uL(e),this.config=e.map(iM),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=i,d=r||this.routerState.root,h=c?this.currentUrlTree.fragment:s;let p=null;switch(a){case"merge":p=Ce(Ce({},this.currentUrlTree.queryParams),o);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=o||null}return null!==p&&(p=this.removeEmptyProps(p)),function(n,t,e,i,r){if(0===e.length)return JI(t.root,t.root,t,i,r);const o=function(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new rL(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return wr(o.outlets,(c,d)=>{a[d]="string"==typeof c?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,c)=>{0==c&&"."===a||(0==c&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new rL(e,t,i)}(e);if(o.toRoot())return JI(t.root,new Jt([],{}),t,i,r);const s=function(n,t,e){if(n.isAbsolute)return new eM(t.root,!0,0);if(-1===e.snapshot._lastPathIndex){const o=e.snapshot._urlSegment;return new eM(o,o===t.root,0)}const i=PC(n.commands[0])?0:1;return function(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new eM(i,!1,r-o)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+i,n.numberOfDoubleDots)}(o,t,n),a=s.processChildren?FC(s.segmentGroup,s.index,o.commands):oL(s.segmentGroup,s.index,o.commands);return JI(s.segmentGroup,a,t,i,r)}(d,this.currentUrlTree,e,p,null!=h?h:null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=ld(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function(n){for(let t=0;t<n.length;t++){const e=n[t];if(null==e)throw new Error(`The requested path contains ${e} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let i;try{i=this.urlSerializer.parse(e)}catch(r){i=this.malformedUriErrorHandler(r,this.urlSerializer,e)}return i}isActive(e,i){let r;if(r=!0===i?Ce({},qK):!1===i?Ce({},WK):i,ld(e))return jN(this.currentUrlTree,e,r);const o=this.parseUrl(e);return jN(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.keys(e).reduce((i,r)=>{const o=e[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new od(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,o,s){var F,V,ie;if(this.disposed)return Promise.resolve(!1);const a=this.transitions.value,c=jC(i)&&a&&!jC(a.source),d=a.rawUrl.toString()===e.toString(),h=a.id===(null==(F=this.currentNavigation)?void 0:F.id);if(c&&d&&h)return Promise.resolve(!0);let g,_,v;s?(g=s.resolve,_=s.reject,v=s.promise):v=new Promise((ue,Ye)=>{g=ue,_=Ye});const M=++this.navigationId;let w;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),w=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!=(V=this.browserPageId)?V:0:(null!=(ie=this.browserPageId)?ie:0)+1):w=0,this.setTransition({id:M,targetPageId:w,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:g,reject:_,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(ue=>Promise.reject(ue))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o=Ce(Ce({},i.extras.state),this.generateNgRouterState(i.id,i.targetPageId));this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){var r,o;
1if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null==(r=this.currentNavigation)?void 0:r.finalUrl)||0===s?this.currentUrlTree===(null==(o=this.currentNavigation)?void 0:o.finalUrl)&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i){const r=new ON(e.id,this.serializeUrl(e.extractedUrl),i);this.triggerEvent(r),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){Ic()},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();function jC(n){return"imperative"!==n}class AL{}class IL{preload(t,e){return Se(null)}}let ML=(()=>{class n{constructor(e,i,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new EL(r,i,c=>e.triggerEvent(new PN(c)),c=>e.triggerEvent(new FN(c)))}setUpPreloading(){this.subscription=this.router.events.pipe(vn(e=>e instanceof od),Lc(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Fa);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const s=o._loadedConfig;r.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?r.push(this.preloadConfig(e,o)):o.children&&r.push(this.processRoutes(e,o.children));return jt(r).pipe(Zc(),rt(o=>{}))}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>(i._loadedConfig?Se(i._loadedConfig):this.loader.load(e.injector,i)).pipe(qn(o=>(i._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(L(rr),L(rb),L(Gt),L(AL))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),cM=(()=>{class n{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof GI?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof od&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof NN&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new NN(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){Ic()},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const cd=new Z("ROUTER_CONFIGURATION"),TL=new Z("ROUTER_FORROOT_GUARD"),ZK=[kc,{provide:qN,useClass:WN},{provide:rr,useFactory:function(n,t,e,i,r,o,s={},a,c){const d=new rr(null,n,t,e,i,r,BN(o));return a&&(d.urlHandlingStrategy=a),c&&(d.routeReuseStrategy=c),function(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(s,d),s.enableTracing&&d.events.subscribe(h=>{var p,g;null==(p=console.group)||p.call(console,`Router Event: ${h.constructor.name}`),console.log(h.toString()),console.log(h),null==(g=console.groupEnd)||g.call(console)}
1),d},deps:[qN,Rg,kc,Gt,rb,sM,cd,[class{},new Ln],[class{},new Ln]]},Rg,{provide:ql,useFactory:function(n){return n.routerState.root},deps:[rr]},ML,IL,class{preload(t,e){return e().pipe(Ga(()=>Se(null)))}},{provide:cd,useValue:{enableTracing:!1}}];function JK(){return new bD("Router",rr)}let xL=(()=>{class n{constructor(e,i){}static forRoot(e,i){return{ngModule:n,providers:[ZK,RL(e),{provide:TL,useFactory:n9,deps:[[rr,new Ln,new Mr]]},{provide:cd,useValue:i||{}},{provide:ef,useFactory:t9,deps:[Gu,[new wl(YD),new Ln],cd]},{provide:cM,useFactory:e9,deps:[rr,k6,cd]},{provide:AL,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:IL},{provide:bD,multi:!0,useFactory:JK},[uM,{provide:Fm,multi:!0,useFactory:a9,deps:[uM]},{provide:kL,useFactory:l9,deps:[uM]},{provide:ek,multi:!0,useExisting:kL}]]}}static forChild(e){return{ngModule:n,providers:[RL(e)]}}}return n.\u0275fac=function(e){return new(e||n)(L(TL,8),L(rr,8))},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})();function e9(n,t,e){return e.scrollOffset&&t.setOffset(e.scrollOffset),new cM(n,t,e)}function t9(n,t,e={}){return e.useHash?new mj(n,t):new fO(n,t)}function n9(n){return"guarded"}function RL(n){return[{provide:TS,multi:!0,useValue:n},{provide:sM,multi:!0,useValue:n}]}let uM=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new De}appInitializer(){return this.injector.get(hj,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let i=null;const r=new Promise(a=>i=a),o=this.injector.get(rr),s=this.injector.get(cd);return"disabled"===s.initialNavigation?(o.setUpLocationChangeListener(),i(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?Se(null):(this.initNavigation=!0,i(!0),this.resultOfPreactivationDone),o.initialNavigation()):i(!0),r})}bootstrapListener(e){const i=this.injector.get(cd),r=this.injector.get(ML),o=this.injector.get(cM),s=this.injector.get(rr),a=this.injector.get(Tc);e===a.components[0]&&(("enabledNonBlocking"===i.initialNavigation||void 0===i.initialNavigation)&&s.initialNavigation(),r.setUpPreloading(),o.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(L(Gt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();function a9(n){return n.appInitializer.bind(n)}function l9(n){return n.bootstrapListener.bind(n)}const kL=new Z("Router Initializer"),zC=new Z("MSAL_INSTANCE"),dM=new Z("MSAL_GUARD_CONFIG"),hM=new Z("MSAL_INTERCEPTOR_CONFIG"),OL="@azure/msal-angular",fM="2.0.5";let Sf=(()=>{class n{constructor(e,i){this.instance=e,this.location=i;const r=this.location.path(!0).split("#").pop();r&&(this.redirectHash=`#${r}`),this.instance.initializeWrapperLibrary(yC.Angular,fM)}acquireTokenPopup(e){return jt(this.instance.acquireTokenPopup(e))}acquireTokenRedirect(e){return jt(this.instance.acquireTokenRedirect(e))}acquireTokenSilent(e){return jt(this.instance.acquireTokenSilent(e))}handleRedirectObservable(e){return jt(this.instance.handleRedirectPromise(e||this.redirectHash))}loginPopup(e){return jt(this.instance.loginPopup(e))}loginRedirect(e){return jt(this.instance.loginRedirect(e))}logout(e){return jt(this.instance.logout(e))}logoutRedirect(e){return jt(this.instance.logoutRedirect(e))}logoutPopup(e){return jt(this.instance.logoutPopup(e))}ssoSilent(e){return jt(this.instance.ssoSilent(e))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(OL,fM)),this.logger}setLogger(e){this.logger=e.clone(OL,fM),this.instance.setLogger(e)}}return n.\u0275fac=function(e){return new(e||n)(L(zC),L(kc))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),pM=(()=>{class n{constructor(e,i){this.msalInstance=e,this.authService=i,this._msalSubject=new De,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new So(tr.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(r=>{this._msalSubject.next(r);const o=Pq.getInteractionStatusFromEvent(r,this._inProgress.value);null!==o&&(this.authService.getLogger().verbose(`BroadcastService - ${r.eventType} results in setting inProgress from ${this._inProgress.value} to ${o}`),this._inProgress.next(o))})}}return n.\u0275fac=function(e){return new(e||n)(L(zC),L(Sf))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),PL=(()=>{class n{constructor(e,i,r,o,s){this.msalGuardConfig=e,this.msalBroadcastService=i,this.authService=r,this.location=o,this.router=s,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(e){return this.router.parseUrl(e)}
1getDestinationUrl(e){this.authService.getLogger().verbose("Guard - getting destination url");const i=document.getElementsByTagName("base"),r=this.location.normalize(i.length?i[0].href:window.location.origin),o=this.location.prepareExternalUrl(e);return o.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${r}/${o}`):`${r}${e}`}loginInteractively(e){const i="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,e):Object.assign({},this.msalGuardConfig.authRequest);if(this.msalGuardConfig.interactionType===Pe.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(i).pipe(rt(o=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(o.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const r=this.getDestinationUrl(e.url);return this.authService.loginRedirect(Object.assign({redirectStartPage:r},i)).pipe(rt(()=>!1))}activateHelper(e){if(this.msalGuardConfig.interactionType!==Pe.Popup&&this.msalGuardConfig.interactionType!==Pe.Redirect)throw new wg("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),"undefined"==typeof window)return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),Se(!0);if(pn.hashContainsKnownProperties(window.location.hash)&&oi.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),Se(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const i=this.location.path(!0);return this.authService.handleRedirectObservable().pipe(Lc(()=>{if(!this.authService.instance.getAllAccounts().length)return e?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(e)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),Se(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),e){const r=this.includesCode(e.url),o=!!e.root&&!!e.root.fragment&&this.includesCode(`#${e.root.fragment}`),s=0===this.location.prepareExternalUrl(e.url).indexOf("#");if(r&&(o||s))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),i.indexOf("#")>-1?Se(this.parseUrl(this.location.path())):Se(this.parseUrl(""))}return Se(!0)}),Ga(r=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${r.message}`),this.loginFailedRoute&&parseInt(Y0.major,10)>9&&e?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),Se(this.loginFailedRoute)):Se(!1))))}includesCode(e){return e.lastIndexOf("/code")===e.length-"/code".length||e.indexOf("#code=")>-1||e.indexOf("&code=")>-1}canActivate(e,i){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(i)}canActivateChild(e,i){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(i)}canLoad(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return n.\u0275fac=function(e){return new(e||n)(L(dM),L(pM),L(Sf),L(kc),L(rr))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),u9=(()=>{class n{constructor(e,i,r,o){this.msalInterceptorConfig=e,this.authService=i,this.location=r,this._document=o}intercept(e,i){if(this.msalInterceptorConfig.interactionType!==Pe.Popup&&this.msalInterceptorConfig.interactionType!==Pe.Redirect)throw new wg("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");const r=this.getScopesForEndpoint(e.url,e.method);if(!r||0===r.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),i.handle(e);let o;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),o=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),o=this.authService.instance.getAllAccounts()[0]);const s="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,e,{account:o}):Object.assign(Object.assign({},this.msalInterceptorConfig.authRequest),{account:o});return this.authService.getLogger().info(`Interceptor - ${r.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${r}] scopes found for ${e.url}`),this.authService.acquireTokenSilent(Object.assign(Object.assign({},s),{scopes:r,account:o})).pipe(Ga(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.acquireTokenInteractively(s,r))),Ji(a=>a.accessToken?Se(a):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.acquireTokenInteractively(s,r))),Ji(a=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const c=e.headers.set("Authorization",`Bearer ${a.accessToken}`),d=e.clone({headers:c});return i.handle(d)}))}acquireTokenInteractively(e,i){if(this.msalInterceptorConfig.interactionType===Pe.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring b
1y popup"),this.authService.acquireTokenPopup(Object.assign(Object.assign({},e),{scopes:i}));this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const r=window.location.href;return this.authService.acquireTokenRedirect(Object.assign(Object.assign({},e),{scopes:i,redirectStartPage:r})),Vl}getScopesForEndpoint(e,i){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const r=this.location.normalize(e),o=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),s=this.matchResourcesToEndpoint(o,r);return s.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,s.absoluteResources,i):s.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,s.relativeResources,i):null}matchResourcesToEndpoint(e,i){const r={absoluteResources:[],relativeResources:[]};return e.forEach(o=>{const s=this.location.normalize(o);Re.matchPattern(s,i)&&r.absoluteResources.push(o);const a=this.getAbsoluteUrl(o),c=new pn(a).getUrlComponents(),d=this.getAbsoluteUrl(i),h=new pn(d).getUrlComponents(),p=c.QueryString?`${c.AbsolutePath}?${c.QueryString}`:this.location.normalize(c.AbsolutePath);c.HostNameAndPort===h.HostNameAndPort&&Re.matchPattern(p,d)&&""!==p&&"/*"!==p&&r.relativeResources.push(o)}),r}getAbsoluteUrl(e){const i=this._document.createElement("a");return i.href=e,i.href}matchScopesToEndpoint(e,i,r){const o=[];return i.forEach(s=>{const a=[],c=e.get(s);null!==c?(c.forEach(d=>{if("string"==typeof d)a.push(d);else{const h=r.toLowerCase();d.httpMethod.toLowerCase()===h&&(null===d.scopes?o.push(null):d.scopes.forEach(g=>{a.push(g)}))}}),a.length>0&&o.push(a)):o.push(null)}),o.length>0?(o.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),o[0]):null}}return n.\u0275fac=function(e){return new(e||n)(L(hM),L(Sf),L(kc),L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),d9=(()=>{class n{static forRoot(e,i,r){return{ngModule:n,providers:[{provide:zC,useValue:e},{provide:dM,useValue:i},{provide:hM,useValue:r},Sf]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[PL,pM],imports:[[vr]]}),n})();function Eo(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const $C=new Ks(Kb);function Vg(n,t=$C){return e=>e.lift(new S9(n,t))}class S9{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new E9(t,this.dueTime,this.scheduler))}}class E9 extends _e{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(D9,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function D9(n){n.debouncedNext()}function NL(n){return t=>t.lift(new A9(n))}class A9{constructor(t){this.total=t}call(t,e){return e.subscribe(new I9(t,this.total))}}class I9 extends _e{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function vM(n,t){return e=>e.lift(new M9(n,t))}class M9{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new T9(t,this.compare,this.keySelector))}}class T9 extends _e{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:r}=this;e=r?r(t):t}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}function Zt(n){return t=>t.lift(new x9(n))}class x9{constructor(t){this.notifier=t}call(t,e){const i=new R9(t),r=Yc(this.notifier,new fs(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class R9 extends Ur{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function it(n){return null!=n&&"false"!=`${n}`}function Gc(n,t=0){return function(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function GC(n){return Array.isArray(n)?n:[n]}function Ii(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Wl(n){return n instanceof He?n.nativeElement:n}let bM;try{bM="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){bM=!1}let If,si=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function(n){return n===TO}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!bM)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(L(Lm))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Af=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})();const LL=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function VL(){if(If)return If;if("object"!=typeof document||!document)return If=new Set(LL),If;let n=document.createElement("input");return If=new Set(LL.filter(t=>(n.setAttribute("type",t),n.type===t))),If}let Bg,qC,ud,CM;function Mf(n){return function(){if(null==Bg&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Bg=!0}))}finally{Bg=Bg||!1}return Bg}()?n:!!n.capture}function BL(){if(null==ud){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ud=!1,ud;if("scrollBehavior"in document.documentElement.style)ud=!0;else{const n=Element.prototype.scrollTo;ud=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ud}function Hg(){if("object"!=typeof document||!document)return 0;if(null==qC){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),qC=0,0===n.scrollLeft&&(n.scrollLeft=1,qC=0===n.scrollLeft?1:2),n.remove()}return qC}function HL(n){if(function(){if(null==CM){const n="undefined"!=typeof document?document.head:null;CM=!(!n||!n.createShadowRoot&&!n.attachShadow)}return CM}()){const t=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function wM(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function qc(n){return n.composedPath?n.composedPath()[0]:n.target}function SM(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}let UL=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),N9=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Wl(e);return new Et(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new De,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(L(UL))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),EM=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new Ue,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=it(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Gc(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Vg(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null==(e=this._currentSubscription)||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(b(N9),b(He),b(dt))},n.\u0275dir=Y({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),WC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[UL]}),n})();function KC(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const zL="cdk-describedby-message-container",$L="cdk-describedby-message",QC="cdk-describedby-host";let B9=0;const Ka=new Map;let Lo=null,H9=(()=>{class n{constructor(e){this._document=e}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=DM(i,r);"string"!=typeof i?(GL(i),Ka.set(o,{messageElement:i,referenceCount:0})):Ka.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=DM(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const s=Ka.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}Lo&&0===Lo.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const e=this._document.querySelectorAll(`[${QC}]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(QC);Lo&&this._deleteMessagesContainer(),Ka.clear()}_createMessageElement(e,i){const r=this._document.createElement("div");GL(r),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),Lo.appendChild(r),Ka.set(DM(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){var r;const i=Ka.get(e);null==(r=null==i?void 0:i.messageElement)||r.remove(),Ka.delete(e)}_createMessagesContainer(){if(!Lo){const e=this._document.getElementById(zL);null==e||e.remove(),Lo=this._document.createElement("div"),Lo.id=zL,Lo.style.visibility="hidden",Lo.classList.add("cdk-visually-hidden"),this._document.body.appendChild(Lo)}}_deleteMessagesContainer(){Lo&&(Lo.remove(),Lo=null)}_removeCdkDescribedByReferenceIds(e){const i=KC(e,"aria-describedby").filter(r=>0!=r.indexOf($L));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=Ka.get(i);(function(n,t,e){const i=KC(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(QC,""),r.referenceCount++}_removeMessageReference(e,i){const r=Ka.get(i);r.referenceCount--,function(n,t,e){const r=KC(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(QC)}_isElementDescribedByMessage(e,i){const r=KC(e,"aria-describedby"),o=Ka.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}
1_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function DM(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function GL(n){n.id||(n.id=`${$L}-${B9++}`)}class qL{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new De,this._typeaheadSubscription=R.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new De,this.change=new De,t instanceof kl&&t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ir(e=>this._pressedLetters.push(e)),Vg(t),vn(()=>this._pressedLetters.length>0),rt(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r<i.length+1;r++){const o=(this._activeItemIndex+r)%i.length,s=i[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||Eo(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),r=e[i];this._activeItem=null==r?null:r,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof kl?this._items.toArray():this._items}}class U9 extends qL{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class YC extends qL{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let AM=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function(n){try{return n.frameElement}catch(t){return null}}(function(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===KL(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=KL(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIRE
1FOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function(n){return!function(n){return function(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function(n){return function(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||WL(n))}(e)&&!this.isDisabled(e)&&((null==i?void 0:i.ignoreVisibility)||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(L(si))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function WL(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function KL(n){if(!WL(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class Z9{constructor(t,e,i,r,o=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return null==i||i.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i<e.length;i++){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=e.length-1;i>=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(On(1)).subscribe(t)}}let QL=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new Z9(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(L(AM),L(dt),L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function IM(n){return 0===n.offsetX&&0===n.offsetY}function MM(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}
1const J9=new Z("cdk-input-modality-detector-options"),eQ={ignoreKeys:[18,17,224,91,16]},Tf=Mf({passive:!0,capture:!0});let tQ=(()=>{class n{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new So(null),this._lastTouchMs=0,this._onKeydown=s=>{var a,c;(null==(c=null==(a=this._options)?void 0:a.ignoreKeys)?void 0:c.some(d=>d===s.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=qc(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(IM(s)?"keyboard":"mouse"),this._mostRecentTarget=qc(s))},this._onTouchstart=s=>{MM(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=qc(s))},this._options=Ce(Ce({},eQ),o),this.modalityDetected=this._modality.pipe(NL(1)),this.modalityChanged=this.modalityDetected.pipe(vM()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Tf),r.addEventListener("mousedown",this._onMousedown,Tf),r.addEventListener("touchstart",this._onTouchstart,Tf)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Tf),document.removeEventListener("mousedown",this._onMousedown,Tf),document.removeEventListener("touchstart",this._onTouchstart,Tf))}}return n.\u0275fac=function(e){return new(e||n)(L(si),L(dt),L(tt),L(J9,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const iQ=new Z("cdk-focus-monitor-default-options"),XC=Mf({passive:!0,capture:!0});let Zs=(()=>{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new De,this._rootNodeFocusAndBlurListener=a=>{const c=qc(a),d="focus"===a.type?this._onFocus:this._onBlur;for(let h=c;h;h=h.parentElement)d.call(this,a,h)},this._document=o,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(e,i=!1){const r=Wl(e);if(!this._platform.isBrowser||1!==r.nodeType)return Se(null);const o=HL(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new De,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Wl(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Wl(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,i,c)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=qc(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r.subject,null))}_emitOrigin(e,i){this._ngZone.run(()=>e.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,XC),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,XC)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Zt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,XC),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,XC),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}}return n.\u0275fac=function(e){return new(e||n)(L(dt),L(si),L(tQ),L(tt,8),L(iQ,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const XL="cdk-high-contrast-black-on-white",ZL="cdk-high-contrast-white-on-black",TM="cdk-high-contrast-active";let JL=(()=>{class n{constructor(e,i){this._platform=e,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}
1_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(TM),e.remove(XL),e.remove(ZL),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(e.add(TM),e.add(XL)):2===i&&(e.add(TM),e.add(ZL))}}}return n.\u0275fac=function(e){return new(e||n)(L(si),L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),e2=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(L(JL))},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[Af,WC]]}),n})();const rQ=new Z("cdk-dir-doc",{providedIn:"root",factory:function(){return Cu(tt)}});let Js=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new Ue,e){const r=e.documentElement?e.documentElement.dir:null,o=(e.body?e.body.dir:null)||r;this.value="ltr"===o||"rtl"===o?o:"ltr"}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(L(rQ,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ug=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})();const sQ=["*",[["mat-option"],["ng-container"]]],aQ=["*","mat-option, ng-container"];function lQ(n,t){if(1&n&&we(0,"mat-pseudo-checkbox",4),2&n){const e=P();O("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function cQ(n,t){if(1&n&&(D(0,"span",5),le(1),I()),2&n){const e=P();T(1),Dn("(",e.group.label,")")}}const uQ=["*"],pQ=new Z("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let at=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!SM()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(L(JL),L(pQ,8),L(tt))},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[Ug],Ug]}),n})();function xf(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=it(t)}}}function dd(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function ea(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=it(t)}}}function jg(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Gc(e):this.defaultTabIndex}}}function r2(n){return class extends n{constructor(...t){super(...t),this.stateChanges=new De,this.errorState=!1}updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}}}const mQ=new Z("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Cu(yr)}});class Qa{constructor(){this._localeChanges=new De,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),r=this.isValid(e);return i&&r?!this.compareDate(t,e):i==r}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const xM=new Z("mat-date-formats"),_Q=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function RM(n,t){const e=Array(n);for(let i=0;i<n;i++)e[i]=t(i);return e}let yQ=(()=>{class n extends Qa{constructor(e,i){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return RM(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return RM(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){const i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return RM(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let o=this._createDateWithOverflow(e,i,r);return o.getMonth(),o}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const r=new Intl.DateTimeFormat(this.locale,Ti(Ce({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,12*i)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(_Q.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,r){const o=new Date;return o.setFullYear(e,i,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,i){const r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}}return n.\u0275fac=function(e){return new(e||n)(L(mQ,8),L(si))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const vQ={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let bQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[{provide:Qa,useClass:yQ}],imports:[[Af]]}),n})(),CQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[{provide:xM,useValue:vQ}],imports:[[bQ]]}),n})(),ZC=(()=>
1{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),o2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),n})();function s2(n,t,e="mat"){n.changes.pipe(nr(n)).subscribe(({length:i})=>{zg(t,`${e}-2-line`,!1),zg(t,`${e}-3-line`,!1),zg(t,`${e}-multi-line`,!1),2===i||3===i?zg(t,`${e}-${i}-line`,!0):i>3&&zg(t,`${e}-multi-line`,!0)})}function zg(n,t,e){n.nativeElement.classList.toggle(t,e)}let JC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at],at]}),n})();class wQ{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const a2={enterDuration:225,exitDuration:150},kM=Mf({passive:!0}),l2=["mousedown","touchstart"],c2=["mouseup","mouseleave","touchend","touchcancel"];class u2{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Wl(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Ce(Ce({},a2),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,c=e-r.top,d=o.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=a-s+"px",h.style.top=c-s+"px",h.style.height=2*s+"px",h.style.width=2*s+"px",null!=i.color&&(h.style.backgroundColor=i.color),h.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(h),function(n){window.getComputedStyle(n).getPropertyValue("opacity")}(h),h.style.transform="scale(1)";const p=new wQ(this,h,i);return p.state=0,this._activeRipples.add(p),i.persistent||(this._mostRecentTransientRipple=p),this._runTimeoutOutsideZone(()=>{const g=p===this._mostRecentTransientRipple;p.state=1,!i.persistent&&(!g||!this._isPointerDown)&&p.fadeOut()},d),p}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,r=Ce(Ce({},a2),t.config.animation);i.style.transitionDuration=`${r.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Wl(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(l2))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(c2),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=IM(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!MM(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,kM)})})}_removeTriggerEvents(){this._triggerElement&&(l2.forEach(t=>{this._triggerElement.removeEventListener(t,this,kM)}),this._pointerUpEventsRegistered&&c2.forEach(t=>{this._triggerElement.removeEventListener(t,this,kM)}))}}const d2=new Z("mat-ripple-global-options");let Ya=(()=>{class n{constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new u2(this,i,e,r)}get disabled(){return this._disabled}
1set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Ce(Ce(Ce({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,Ce(Ce({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Ce(Ce({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(dt),b(si),b(d2,8),b(Nr,8))},n.\u0275dir=Y({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Dt("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),hd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at,Af],at]}),n})(),h2=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(b(Nr,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Dt("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),n})(),OM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at]]}),n})();const PM=new Z("MAT_OPTION_PARENT_COMPONENT"),AQ=xf(class{});let IQ=0,MQ=(()=>{class n extends AQ{constructor(e){var i;super(),this._labelId="mat-optgroup-label-"+IQ++,this._inert=null!=(i=null==e?void 0:e.inertGroups)&&i}}return n.\u0275fac=function(e){return new(e||n)(b(PM,8))},n.\u0275dir=Y({type:n,inputs:{label:"label"},features:[$]}),n})();const FM=new Z("MatOptgroup");let TQ=(()=>{class n extends MQ{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275cmp=lt({type:n,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,i){2&e&&(pt("role",i._inert?null:"group")("aria-disabled",i._inert?null:i.disabled.toString())("aria-labelledby",i._inert?null:i._labelId),Dt("mat-optgroup-disabled",i.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[qe([{provide:FM,useExisting:n}]),$],ngContentSelectors:aQ,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(e,i){1&e&&(kn(sQ),D(0,"span",0),le(1),bt(2),I(),bt(3,1)),2&e&&(O("id",i._labelId),T(1),Dn("",i.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})(),xQ=0;class f2{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let RQ=(()=>{class n{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+xQ++,this.onSelectionChange=new Ue,this._stateChanges=new De}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=it(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Eo(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}
1_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new f2(this,e))}}return n.\u0275fac=function(e){Ic()},n.\u0275dir=Y({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),NM=(()=>{class n extends RQ{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(_n),b(PM,8),b(FM,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&he("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Pa("id",i.id),pt("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Dt("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[$],ngContentSelectors:uQ,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(kn(),W(0,lQ,1,2,"mat-pseudo-checkbox",0),D(1,"span",1),bt(2),I(),W(3,cQ,2,1,"span",2),we(4,"div",3)),2&e&&(O("ngIf",i.multiple),T(3),O("ngIf",i.group&&i.group._inert),T(1),O("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},directives:[ts,Ya,h2],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),n})(),ew=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[hd,vr,at,OM]]}),n})();const PQ=["mat-button",""],FQ=["*"],LQ=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],VQ=dd(xf(ea(class{constructor(n){this._elementRef=n}})));let tw=(()=>{class n extends VQ{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of LQ)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(Zs),b(Nr,8))},n.\u0275cmp=lt({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&Vt(Ya,5),2&e){let r;ye(r=ve())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(pt("disabled",i.disabled||null),Dt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[$],attrs:PQ,ngContentSelectors:FQ,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(kn(),D(0,"span",0),bt(1),I(),we(2,"span",1),we(3,"span",2)),2&e&&(T(2),Dt("mat-button-ripple-round",i.isRoundButton||i.isIconButton),O("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[Ya],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
1.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),nw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[hd,at],at]}),n})(),BQ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at],at]}),n})();class VM{constructor(t=!1,e,i=!0){this._multiple=t,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new De,e&&e.length&&(t?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())
1),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let BM=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),g2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at],at]}),n})();const _2=["*"],y2='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{dis
1play:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',HQ=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],UQ=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],jQ=["text"];function zQ(n,t){if(1&n&&we(0,"mat-pseudo-checkbox",5),2&n){const e=P();O("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}const $Q=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],GQ=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],qQ=xf(ea(class{})),WQ=ea(class{}),v2=new Z("MatList"),KQ=new Z("MatNavList");let QQ=(()=>{class n extends qQ{constructor(e){super(),this._elementRef=e,this._stateChanges=new De,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(b(He))},n.\u0275cmp=lt({type:n,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[qe([{provide:v2,useExisting:n}]),$,Sn],ngContentSelectors:_2,decls:1,vars:0,template:function(e,i){1&e&&(kn(),bt(0))},styles:[y2],encapsulation:2,changeDetection:0}),n})(),b2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),n})(),C2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),n})(),YQ=(()=>{class n extends WQ{constructor(e,i,r,o){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new De,this._disabled=!1,this._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),this._list=r||o;const s=this._getHostElement();"button"===s.nodeName.toLowerCase()&&!s.hasAttribute("type")&&s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Zt(this._destroyed)).subscribe(()=>{i.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=it(e)}ngAfterContentInit(){s2(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(_n),b(KQ,8),b(v2,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,r){if(1&e&&(kt(r,b2,5),kt(r,C2,5),kt(r,o2,5)),2&e){let o;ye(o=ve())&&(i._avatar=o.first),ye(o=ve())&&(i._icon=o.first),ye(o=ve())&&(i._lines=o)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,i){2&e&&Dt("mat-list-item-disabled",i.disabled)("mat-list-item-avatar",i._avatar||i._icon)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[$],ngContentSelectors:UQ,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,i){1&e&&(kn(HQ),D(0,"div",0),we(1,"div",1),bt(2),D(3,"div",2),bt(4,1),I(),bt(5,2),I()),2&e&&(T(1),O("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},directives:[Ya],encapsulation:2,changeDetection:0}),n})();const XQ=ea(class{}),ZQ=ea(class{}),JQ={provide:Fr,useExisting:Nt(()=>iw),multi:!0};class eY{constructor(t,e,i){this.source=t,this.option=e,this.options=i}}let HM=(()=>
1{class n extends ZQ{constructor(e,i,r){super(),this._element=e,this._changeDetector=i,this.selectionList=r,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.selectedChange=new Ue,this.checkboxPosition="after",this._inputsInitialized=!1}get color(){return this._color||this.selectionList.color}set color(e){this._color=e}get value(){return this._value}set value(e){this.selected&&!this.selectionList.compareWith(e,this.value)&&this._inputsInitialized&&(this.selected=!1),this._value=e}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(e){const i=it(e);i!==this._disabled&&(this._disabled=i,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(e){const i=it(e);i!==this._selected&&(this._setSelected(i),(i||this.selectionList.multiple)&&this.selectionList._reportValueChange())}ngOnInit(){const e=this.selectionList;e._value&&e._value.some(r=>e.compareWith(r,this._value))&&this._setSelected(!0);const i=this._selected;Promise.resolve().then(()=>{(this._selected||i)&&(this.selected=!0,this._changeDetector.markForCheck())}),this._inputsInitialized=!0}ngAfterContentInit(){s2(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const e=this._hasFocus,i=this.selectionList._removeOptionFromList(this);e&&i&&i.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){!this.disabled&&(this.selectionList.multiple||!this.selected)&&(this.toggle(),this.selectionList._emitChangeEvent([this]))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(e){return e!==this._selected&&(this._selected=e,e?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(_n),b(Nt(()=>iw)))},n.\u0275cmp=lt({type:n,selectors:[["mat-list-option"]],contentQueries:function(e,i,r){if(1&e&&(kt(r,b2,5),kt(r,C2,5),kt(r,o2,5)),2&e){let o;ye(o=ve())&&(i._avatar=o.first),ye(o=ve())&&(i._icon=o.first),ye(o=ve())&&(i._lines=o)}},viewQuery:function(e,i){if(1&e&&Vt(jQ,5),2&e){let r;ye(r=ve())&&(i._text=r.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&he("focus",function(){return i._handleFocus()})("blur",function(){return i._handleBlur()})("click",function(){return i._handleClick()}),2&e&&(pt("aria-selected",i.selected)("aria-disabled",i.disabled)("tabindex",-1),Dt("mat-list-item-disabled",i.disabled)("mat-list-item-with-avatar",i._avatar||i._icon)("mat-primary","primary"===i.color)("mat-accent","primary"!==i.color&&"warn"!==i.color)("mat-warn","warn"===i.color)("mat-list-single-selected-option",i.selected&&!i.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",disabled:"disabled",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[$],ngContentSelectors:GQ,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(e,i){1&e&&(kn($Q),D(0,"div",0),we(1,"div",1),W(2,zQ,1,2,"mat-pseudo-checkbox",2),D(3,"div",3,4),bt(5),I(),bt(6,1),I()),2&e&&(Dt("mat-list-item-content-reverse","after"==i.checkboxPosition),T(1),O("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()),T(1),O("ngIf",i.selectionList.multiple))},directives:[Ya,ts,h2],encapsulation:2,changeDetection:0}),n})(),iw=(()=>{class n extends XQ{constructor(e,i,r,o){super(),this._element=e,this._changeDetector=r,this._focusMonitor=o,this._multiple=!0,this._contentInitialized=!1,this.selectionChange=new Ue,this.tabIndex=0,this.color="accent",this.compareWith=(s,a)=>s===a,this._disabled=!1,this.selectedOptions=new VM(this._multiple),this._tabIndex=-1,this._onChange=s=>{},this._destroyed=new De,this._onTouched=()=>{}}get disabled(){return this._disabled}set disabled(e){this._disabled=it(e),this._markOptionsForCheck()}get multiple(){return this._multiple}set multiple(e){const i=it(e);i!==this._multiple&&(this._multiple=i,this.selectedOptions=new VM(this._multiple,this.selectedOptions.selected))}ngAfterContentInit(){var e;this._contentInitialized=!0,this._keyManager=new YC(this.options).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe(Zt(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.options.changes.pipe(nr(null),Zt(this._destroyed)).subscribe(()=>{this._updateTabIndex()}),this.selectedOptions.changed.pipe(Zt(this._destroyed)).subscribe(i=>{if(i.added)for(let r of i.added)r.selected=!0;if(i.removed)for(let r of i.removed)r.selected=!1}),null==(e=this._focusMonitor)||e.monitor(this._element).pipe(Zt(this._destroyed)).subscribe(i=>{var r;if("keyboard"===i||"program"===i){let o=0;for(let s=0;s<this.options.length;s++)if(null==(r=this.options.get(s))?void 0:r.selected){o=s;break}this._keyManager.setActiveItem(o)}})}ngOnChanges(e){const i=e.disableRipple,r=e.color;(i&&!i.firstChange||r&&!r.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){var e;null==(e=this._focusMonitor)||e.stopMonitoring(this._element),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_setFocusedOption(e){this._keyManager.updateActiveItem(e)}_removeOptionFromList(e){const i=this._getOptionIndex(e);return i>-1&&this._keyManager.activeItemIndex===i&&(i>0?this._keyManager.updateActiveItem(i-1):0===i&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(i+1,this.options.length-1))),this._keyManager.activeItem}_keydown(e){const i=e.keyCode,r=this._keyManager,o=r.activeItemIndex,s=Eo(e);switch(i){case 32:case 13:!s&&!r.isTyping()&&(this._toggleFocusedOption(),e.preventDefault());break;default:if(65===i&&this.multiple&&Eo(e,"ctrlKey")&&!r.isTyping()){const a=this.options.some(c=>!c.disabled&&!c.selected);this._setAllOptionsSelected(a,!0,!0),e.preventDefault()}else r.onKeydown(e)}this.multiple&&(38===i||40===i)&&e.shiftKey&&r.activeItemIndex!==o&&this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new eY(this,e[0],e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_setOptionsFromValues(e){this.options.forEach(i=>
1i._setSelected(!1)),e.forEach(i=>{const r=this.options.find(o=>!o.selected&&this.compareWith(o.value,i));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_toggleFocusedOption(){let e=this._keyManager.activeItemIndex;if(null!=e&&this._isValidIndex(e)){let i=this.options.toArray()[e];i&&!i.disabled&&(this._multiple||!i.selected)&&(i.toggle(),this._emitChangeEvent([i]))}}_setAllOptionsSelected(e,i,r){const o=[];return this.options.forEach(s=>{(!i||!s.disabled)&&s._setSelected(e)&&o.push(s)}),o.length&&(this._reportValueChange(),r&&this._emitChangeEvent(o)),o}_isValidIndex(e){return e>=0&&e<this.options.length}_getOptionIndex(e){return this.options.toArray().indexOf(e)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_allowFocusEscape(){this._tabIndex=-1,setTimeout(()=>{this._tabIndex=0,this._changeDetector.markForCheck()})}_updateTabIndex(){this._tabIndex=0===this.options.length?-1:0}}return n.\u0275fac=function(e){return new(e||n)(b(He),ur("tabindex"),b(_n),b(Zs))},n.\u0275cmp=lt({type:n,selectors:[["mat-selection-list"]],contentQueries:function(e,i,r){if(1&e&&kt(r,HM,5),2&e){let o;ye(o=ve())&&(i.options=o)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(e,i){1&e&&he("keydown",function(o){return i._keydown(o)}),2&e&&pt("aria-multiselectable",i.multiple)("aria-disabled",i.disabled.toString())("tabindex",i._tabIndex)},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[qe([JQ]),$,Sn],ngContentSelectors:_2,decls:1,vars:0,template:function(e,i){1&e&&(kn(),bt(0))},styles:[y2],encapsulation:2,changeDetection:0}),n})(),tY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[JC,hd,at,OM,vr],JC,at,OM,g2]}),n})();function Wc(n,t,e,i){return oe(e)&&(i=e,e=void 0),i?Wc(n,t,e).pipe(rt(r=>ce(r)?i(...r):i(r))):new Et(r=>{w2(n,t,function(s){r.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},r,e)})}function w2(n,t,e,i,r){let o;if(function(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const s=n;n.addEventListener(t,e,r),o=()=>s.removeEventListener(t,e,r)}else if(function(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const s=n;n.on(t,e),o=()=>s.off(t,e)}else if(function(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const s=n;n.addListener(t,e),o=()=>s.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let s=0,a=n.length;s<a;s++)w2(n[s],t,e,i,r)}i.add(o)}new class extends Ks{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,o=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r<o&&(t=e.shift()));if(this.active=!1,i){for(;++r<o&&(t=e.shift());)t.unsubscribe();throw i}}}(class extends Kb{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let lY=1;const cY=Promise.resolve(),rw={};function S2(n){return n in rw&&(delete rw[n],!0)}const E2={setImmediate(n){const t=lY++;return rw[t]=!0,cY.then(()=>S2(t)&&n()),t},clearImmediate(n){S2(n)}},UM=new class extends Ks{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,o=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r<o&&(t=e.shift()));if(this.active=!1,i){for(;++r<o&&(t=e.shift());)t.unsubscribe();throw i}}}(class extends Kb{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=E2.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(E2.clearImmediate(e),t.scheduled=void 0)}});class fY{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new pY(t,this.durationSelector))}}class pY extends Ur{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:r}=this;e=r(t)}catch(r){return this.destination.error(r)}const i=Yc(e,new fs(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function D2(n){return!ce(n)&&n-parseFloat(n)+1>=0}function gY(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}function A2(n,t=$C){return function(n){return function(e){return e.lift(new fY(n))}}(()=>function(n=0,t,e){let i=-1;return D2(t)?i=Number(t)<1?1:Number(t):Jl(t)&&(e=t),Jl(e)||(e=$C),new Et(r=>{const o=D2(n)?n:+n-e.now();return e.schedule(gY,o,{index:0,period:i,subscriber:r})})}(n,t))}let Gg=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new De,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Et(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(A2(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Se()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
1h((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(vn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Wl(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Wc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(L(dt),L(si),L(tt,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ow=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new De,this._elementScrolled=new Et(s=>this.ngZone.runOutsideAngular(()=>Wc(this.elementRef.nativeElement,"scroll").pipe(Zt(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=Hg()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Hg()?e.left=e.right:1==Hg()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;BL()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==e?e=s?r:i:"end"==e&&(e=s?i:r),s&&2==Hg()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&1==Hg()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(Gg),b(dt),b(Js,8))},n.\u0275dir=Y({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),qg=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new De,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(A2(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHe
1ight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(L(si),L(dt),L(tt,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Kl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})(),jM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[Ug,Af,Kl],Ug,Kl]}),n})();function Ql(n){return!!n&&(n instanceof Et||"function"==typeof n.lift&&"function"==typeof n.subscribe)}let kY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[jM]]}),n})(),QY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[kY,at],at]}),n})(),L2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),n})(),XY=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at],at]}),n})(),ZY=0;const JM=new Z("CdkAccordion");let JY=(()=>{class n{constructor(){this._stateChanges=new De,this._openCloseAllActions=new De,this.id="cdk-accordion-"+ZY++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=it(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[qe([{provide:JM,useExisting:n}]),Sn]}),n})(),eX=0,tX=(()=>{class n{constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=R.EMPTY,this.closed=new Ue,this.opened=new Ue,this.destroyed=new Ue,this.expandedChange=new Ue,this.id="cdk-accordion-child-"+eX++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=it(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=it(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(b(JM,12),b(_n),b(BM))},n.\u0275dir=Y({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[qe([{provide:JM,useValue:void 0}])]}),n})(),nX=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})();class eT{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class mw extends eT{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class Qg extends eT{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef
1=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class iX extends eT{constructor(t){super(),this.element=t instanceof He?t.nativeElement:t}}class tT{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof mw?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Qg?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof iX?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class rX extends tT{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let nT=(()=>{class n extends tT{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Ue,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(b(Hs),b(_i),b(tt))},n.\u0275dir=Y({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[$]}),n})(),Yg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})();const oX=["body"];function sX(n,t){}const aX=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],lX=["mat-expansion-panel-header","*","mat-action-row"];function cX(n,t){1&n&&we(0,"span",2),2&n&&O("@indicatorRotate",P()._getExpandedState())}const uX=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],dX=["mat-panel-title","mat-panel-description","*"],iT=new Z("MAT_ACCORDION"),V2="225ms cubic-bezier(0.4,0.0,0.2,1)",B2={indicatorRotate:Hi("indicatorRotate",[cn("collapsed, void",Ke({transform:"rotate(0deg)"})),cn("expanded",Ke({transform:"rotate(180deg)"})),fn("expanded <=> collapsed, void => collapsed",An(V2))]),bodyExpansion:Hi("bodyExpansion",[cn("collapsed, void",Ke({height:"0px",visibility:"hidden"})),cn("expanded",Ke({height:"*",visibility:"visible"})),fn("expanded <=> collapsed, void => collapsed",An(V2))])};let hX=(()=>{class n{constructor(e){this._template=e}}return n.\u0275fac=function(e){return new(e||n)(b(gi))},n.\u0275dir=Y({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),fX=0;const H2=new Z("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let rT=(()=>{class n extends tX{constructor(e,i,r,o,s,a,c){super(e,i,r),this._viewContainerRef
1=o,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new Ue,this.afterCollapse=new Ue,this._inputChanges=new De,this._headerId="mat-expansion-panel-header-"+fX++,this._bodyAnimationDone=new De,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(vM((d,h)=>d.fromState===h.fromState&&d.toState===h.toState)).subscribe(d=>{"void"!==d.fromState&&("expanded"===d.toState?this.afterExpand.emit():"collapsed"===d.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=it(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(nr(null),vn(()=>this.expanded&&!this._portal),On(1)).subscribe(()=>{this._portal=new Qg(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(b(iT,12),b(_n),b(BM),b(_i),b(tt),b(Nr,8),b(H2,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&kt(r,hX,5),2&e){let o;ye(o=ve())&&(i._lazyContent=o.first)}},viewQuery:function(e,i){if(1&e&&Vt(oX,5),2&e){let r;ye(r=ve())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&Dt("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[qe([{provide:iT,useValue:void 0}]),$,Sn],ngContentSelectors:lX,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(kn(aX),bt(0),D(1,"div",0,1),he("@bodyExpansion.done",function(o){return i._bodyAnimationDone.next(o)}),D(3,"div",2),bt(4,1),W(5,sX,0,0,"ng-template",3),I(),bt(6,2),I()),2&e&&(T(1),O("@bodyExpansion",i._getExpandedState())("id",i.id),pt("aria-labelledby",i._headerId),T(4),O("cdkPortalOutlet",i._portal))},directives:[nT],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[B2.bodyExpansion]},changeDetection:0}),n})();class pX{}const mX=jg(pX);let oT=(()=>{class n extends mX{constructor(e,i,r,o,s,a,c){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=a,this._parentChangeSubscription=R.EMPTY;const d=e.accordion?e.accordion._stateChanges.pipe(vn(h=>!(!h.hideToggle&&!h.togglePosition))):Vl;
1this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=xi(e.opened,e.closed,d,e._inputChanges.pipe(vn(h=>!!(h.hideToggle||h.disabled||h.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(vn(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Eo(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(b(rT,1),b(He),b(Zs),b(_n),b(H2,8),b(Nr,8),ur("tabindex"))},n.\u0275cmp=lt({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&he("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),2&e&&(pt("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),Li("height",i._getHeaderHeight()),Dt("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[$],ngContentSelectors:dX,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(kn(uX),D(0,"span",0),bt(1),bt(2,1),bt(3,2),I(),W(4,cX,1,1,"span",1)),2&e&&(T(4),O("ngIf",i._showToggle()))},directives:[ts],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[B2.indicatorRotate]},changeDetection:0}),n})(),U2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),j2=(()=>{class n extends JY{constructor(){super(...arguments),this._ownHeaders=new kl,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=it(e)}ngAfterContentInit(){this._headers.changes.pipe(nr(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new YC(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275dir=Y({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&kt(r,oT,5),2&e){let o;ye(o=ve())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&Dt("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[qe([{provide:iT,useExisting:n}]),$]}),n})(),gX=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[vr,at,nX,Yg]]}),n})();const _X=["connectionContainer"],yX=["inputContainer"],vX=["label"];function bX(n,t){1&n&&(mr(0),D(1,"div",14),we(2,"div",15),we(3,"div",16),we(4,"div",17),I(),D(5,"div",18),we(6,"div",15),we(7,"div",16),we(8,"div",17),I(),gr())}function CX(n,t){if(1&n){const e=qt();D(0,"div",19),he("cdkObserveContent",function(){return Ie(e),P().updateOutlineGap()}),bt(1,1),I()}2&n&&O("cdkObserveContentDisabled","outline"!=P().appearance)}function wX(n,t){if(1&n&&(mr(0),bt(1,2),D(2,"span"),le(3),I(),gr()),2&n){const e=P(2);T(3),st(e._control.placeholder)}}function SX(n,t){1&n&&bt(0,3,["*ngSwitchCase","true"])}function EX(n,t){1&n&&(D(0,"span",23),le(1," *"),I())}function DX(n,t){if(1&n){const e=qt();D(0,"label",20,21),he("cdkObserveContent",function(){return Ie(e),P().updateOutlineGap()}),W(2,wX,4,1,"ng-container",12),W(3,SX,1,0,"ng-content",12),W(4,EX,2,0,"span",22),I()}if(2&n){const e=P();
1Dt("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),O("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),pt("for",e._control.id)("aria-owns",e._control.id),T(2),O("ngSwitchCase",!1),T(1),O("ngSwitchCase",!0),T(1),O("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function AX(n,t){1&n&&(D(0,"div",24),bt(1,4),I())}function IX(n,t){if(1&n&&(D(0,"div",25),we(1,"span",26),I()),2&n){const e=P();T(1),Dt("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function MX(n,t){1&n&&(D(0,"div"),bt(1,5),I()),2&n&&O("@transitionMessages",P()._subscriptAnimationState)}function TX(n,t){if(1&n&&(D(0,"div",30),le(1),I()),2&n){const e=P(2);O("id",e._hintLabelId),T(1),st(e.hintLabel)}}function xX(n,t){if(1&n&&(D(0,"div",27),W(1,TX,2,2,"div",28),bt(2,6),we(3,"div",29),bt(4,7),I()),2&n){const e=P();O("@transitionMessages",e._subscriptAnimationState),T(1),O("ngIf",e.hintLabel)}}const RX=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],kX=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],OX=new Z("MatError"),PX={transitionMessages:Hi("transitionMessages",[cn("enter",Ke({opacity:1,transform:"translateY(0%)"})),fn("void => enter",[Ke({opacity:0,transform:"translateY(-5px)"}),An("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n}),n})();const FX=new Z("MatHint");let sT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["mat-label"]]}),n})(),NX=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Y({type:n,selectors:[["mat-placeholder"]]}),n})();const LX=new Z("MatPrefix"),VX=new Z("MatSuffix");let z2=0;const HX=dd(class{constructor(n){this._elementRef=n}},"primary"),G2=new Z("MAT_FORM_FIELD_DEFAULT_OPTIONS"),_w=new Z("MatFormField");let aT=(()=>{class n extends HX{constructor(e,i,r,o,s,a,c){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new De,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+z2++,this._labelId="mat-form-field-label-"+z2++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==c,this.appearance=o&&o.appearance?o.appearance:"legacy",this._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=it(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(nr(null)).subscribe(()=>
1{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Zt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Zt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),xi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(nr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(nr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Zt(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Wc(this._label.nativeElement,"transitionend").pipe(On(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];
1if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let i=0,r=0;const o=this._connectionContainerRef.nativeElement,s=o.querySelectorAll(".mat-form-field-outline-start"),a=o.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const c=o.getBoundingClientRect();if(0===c.width&&0===c.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const d=this._getStartEnd(c),h=e.children,p=this._getStartEnd(h[0].getBoundingClientRect());let g=0;for(let _=0;_<h.length;_++)g+=h[_].offsetWidth;i=Math.abs(p-d)-5,r=g>0?.75*g+10:0}for(let c=0;c<s.length;c++)s[c].style.width=`${i}px`;for(let c=0;c<a.length;c++)a[c].style.width=`${r}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(_n),b(Js,8),b(G2,8),b(si),b(dt),b(Nr,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(kt(r,gw,5),kt(r,gw,7),kt(r,sT,5),kt(r,sT,7),kt(r,NX,5),kt(r,OX,5),kt(r,FX,5),kt(r,LX,5),kt(r,VX,5)),2&e){let o;ye(o=ve())&&(i._controlNonStatic=o.first),ye(o=ve())&&(i._controlStatic=o.first),ye(o=ve())&&(i._labelChildNonStatic=o.first),ye(o=ve())&&(i._labelChildStatic=o.first),ye(o=ve())&&(i._placeholderChild=o.first),ye(o=ve())&&(i._errorChildren=o),ye(o=ve())&&(i._hintChildren=o),ye(o=ve())&&(i._prefixChildren=o),ye(o=ve())&&(i._suffixChildren=o)}},viewQuery:function(e,i){if(1&e&&(Vt(_X,7),Vt(yX,5),Vt(vX,5)),2&e){let r;ye(r=ve())&&(i._connectionContainerRef=r.first),ye(r=ve())&&(i._inputContainerRef=r.first),ye(r=ve())&&(i._label=r.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,i){2&e&&Dt("mat-form-field-appearance-standard","standard"==i.appearance)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-appearance-legacy","legacy"==i.appearance)("mat-form-field-invalid",i._control.errorState)("mat-form-field-can-float",i._canLabelFloat())("mat-form-field-should-float",i._shouldLabelFloat())("mat-form-field-has-label",i._hasFloatingLabel())("mat-form-field-hide-placeholder",i._hideControlPlaceholder())("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-focused",i._control.focused)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))("_mat-animation-noopable",!i._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[qe([{provide:_w,useExisting:n}]),$],ngContentSelectors:kX,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,i){1&e&&(kn(RX),D(0,"div",0),D(1,"div",1,2),he("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),W(3,bX,9,0,"ng-container",3),W(4,CX,2,1,"div",4),D(5,"div",5,6),bt(7),D(8,"span",7),W(9,DX,5,16,"label",8),I(),I(),W(10,AX,2,0,"div",9),I(),W(11,IX,2,4,"div",10),D(12,"div",11),W(13,MX,2,1,"div",12),W(14,xX,5,2,"div",13),I(),I()),2&e&&(T(3),O("ngIf","outline"==i.appearance),T(1),O("ngIf",i._prefixChildren.length),T(5),O("ngIf",i._hasFloatingLabel()),T(1),O("ngIf",i._suffixChildren.length),T(1),O("ngIf","outline"!=i.appearance),T(1),O("ngSwitch",i._getDisplayedMessages()),T(1),O("ngSwitchCase","error"),T(1),O("ngSwitchCase","hint"))}
1,directives:[ts,nf,Tb,EM],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}
1.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[PX.transitionMessages]},changeDetection:0}),n})(),yw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[vr,at,WC],at]}),n})();const q2=Mf({passive:!0});let UX=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Vl;const i=Wl(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new De,s="cdk-text-field-autofilled",a=c=>{"cdk-text-field-autofill-start"!==c.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===c.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,q2),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,q2)}}),o}stopMonitoring(e){const i=Wl(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}
1ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(L(si),L(dt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),W2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[Af]]}),n})();const K2=new Z("MAT_INPUT_VALUE_ACCESSOR"),jX=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let zX=0;const $X=r2(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i}});let lT=(()=>{class n extends $X{constructor(e,i,r,o,s,a,c,d,h,p){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=d,this._formField=p,this._uid="mat-input-"+zX++,this.focused=!1,this.stateChanges=new De,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(v=>VL().has(v));const g=this._elementRef.nativeElement,_=g.nodeName.toLowerCase();this._inputValueAccessor=c||g,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&h.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",v=>{const M=v.target;!M.value&&0===M.selectionStart&&0===M.selectionEnd&&(M.setSelectionRange(1,1),M.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===_,this._isTextarea="textarea"===_,this._isInFormField=!!p,this._isNativeSelect&&(this.controlType=g.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=it(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,o;return null!=(o=null!=(r=this._required)?r:null==(i=null==(e=this.ngControl)?void 0:e.control)?void 0:i.hasValidator(bA.required))&&o}set required(e){this._required=it(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&VL().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=it(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var i,r;const e=(null==(r=null==(i=this._formField)?void 0:i._hideControlPlaceholder)?void 0:r.call(i))?null:this.placeholder;if(e!==this._previousPlaceholder){const o=this._elementRef.nativeElement;this._previousPlaceholder=e,e?o.setAttribute("placeholder",e):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){jX.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(si),b(Va,10),b(lf,8),b(sg,8),b(ZC),b(K2,10),b(UX),b(dt),b(_w,8))},n.\u0275dir=Y({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(e,i){1&e&&he("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Pa("disabled",i.disabled)("required",i.required),pt("id",i.id)("data-placeholder",i.placeholder)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Dt("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[qe([{provide:gw,useExisting:n}]),$,Sn]}),n})(),GX=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[ZC],imports:[[W2,yw,at],W2,yw]}),n})();const qX=["input"],WX=function(n){return{enterDuration:n}},KX=["*"],QX=new Z("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let Q2=0;const XX={provide:Fr,useExisting:Nt(()=>cT),multi:!0};class Y2{constructor(t,e){this.source=t,this.value=e}}const X2=new Z("MatRadioGroup");let ZX=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+Q2++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new Ue}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=it(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=it(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}
1_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Y2(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(b(_n))},n.\u0275dir=Y({type:n,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),n})(),cT=(()=>{class n extends ZX{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275dir=Y({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&kt(r,Nt(function(){return uT}),5),2&e){let o;ye(o=ve())&&(i._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[qe([XX,{provide:X2,useExisting:n}]),$]}),n})();class JX{constructor(t){this._elementRef=t}}const eZ=ea(jg(JX));let tZ=(()=>{class n extends eZ{constructor(e,i,r,o,s,a,c,d){super(i),this._changeDetector=r,this._focusMonitor=o,this._radioDispatcher=s,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++Q2,this.id=this._uniqueId,this.change=new Ue,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,d&&(this.tabIndex=Gc(d,0)),this._removeUniqueSelectionListener=s.listen((h,p)=>{h!==this.id&&p===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=it(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(it(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=it(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Y2(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return n.\u0275fac=function(e){Ic()},n.\u0275dir=Y({type:n,viewQuery:function(e,i){if(1&e&&Vt(qX,5),2&e){let r;ye(r=ve())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[$]}),n})(),uT=(()=>{class n extends tZ{constructor(e,i,r,o,s,a,c,d){super(e,i,r,o,s,a,c,d)}}return n.\u0275fac=function(e){return new(e||n)(b(X2,8),b(He),b(_n),b(Zs),b(BM),b(Nr,8),b(QX,8),ur("tabindex"))},n.\u0275cmp=lt({type:n,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&he("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(pt("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Dt("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[$],ngContentSelectors:KX,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(kn(),D(0,"label",0,1),D(2,"span",2),we(3,"span",3),we(4,"span",4),D(5,"input",5,6),he("change",function(o){return i._onInputInteraction(o)})("click",function(o){return i._onInputClick(o)}),I(),D(7,"span",7),we(8,"span",8),I(),I(),D(9,"span",9),D(10,"span",10),le(11,"\xa0"),I(),bt(12),I(),I()),2&e){const r=Vn(1);pt("for",i.inputId),T(5),O("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex)("required",i.required),pt("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),T(2),O("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Oo(18,WX,i._noopAnimations?0:150)),T(2),Dt("mat-radio-label-before","before"==i.labelPosition)}},directives:[Ya],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;
1left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),n})(),nZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[hd,at],at]}),n})();const Z2=BL();class iZ{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ii(-this._previousScrollPosition.left),t.style.top=Ii(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Z2&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Z2&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class rZ{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class J2{enable(){}disable(){}attach(){}}function dT(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function eV(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right)}class oZ{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();dT(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let sZ=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler
1=i,this._ngZone=r,this.noop=()=>new J2,this.close=s=>new rZ(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new iZ(this._viewportRuler,this._document),this.reposition=s=>new oZ(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(L(Gg),L(qg),L(dt),L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class vw{constructor(t){if(this.scrollStrategy=new J2,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class aZ{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let tV=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),lZ=(()=>{class n extends tV{constructor(e){super(e),this._keydownListener=i=>{const r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--)if(r[o]._keydownEvents.observers.length>0){r[o]._keydownEvents.next(i);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cZ=(()=>{class n extends tV{constructor(e,i){super(e),this._platform=i,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=qc(r)},this._clickListener=r=>{const o=qc(r),s="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const a=this._attachedOverlays.slice();for(let c=a.length-1;c>-1;c--){const d=a[c];if(!(d._outsidePointerEvents.observers.length<1)&&d.hasAttached()){if(d.overlayElement.contains(o)||d.overlayElement.contains(s))break;d._outsidePointerEvents.next(r)}}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(e){return new(e||n)(L(tt),L(si))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hT=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null==(e=this._containerElement)||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||SM()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(e),SM()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return n.\u0275fac=function(e){return new(e||n)(L(tt),L(si))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class uZ{constructor(t,e,i,r,o,s,a,c,d){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=d,this._backdropElement=null,this._backdropClick=new De,this._attachments=new De,this._detachments=new De,this._locationChanges=R.EMPTY,this._backdropClickHandler=h=>
1this._backdropClick.next(h),this._keydownEvents=new De,this._outsidePointerEvents=new De,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(On(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var e;const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null==(e=this._host)||e.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Ce(Ce({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Ti(Ce({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ii(this._config.width),t.height=Ii(this._config.height),t.minWidth=Ii(this._config.minWidth),t.minHeight=Ii(this._config.minHeight),t.maxWidth=Ii(this._config.maxWidth),t.maxHeight=Ii(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(!t)return;let e;const i=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",i),this._disposeBackdrop(t)),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",i)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const r=GC(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Zt(xi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.remove(),this._backdropElement===t&&(this._backdropElement=null))}}const nV="cdk-overlay-connected-position-bounding-box",dZ=/([A-Za-z%]+)$/;
vendor: 10,472 bytes, line 1
1class hZ{constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new De,this._resizeSubscription=R.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(nV),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=[];let o;for(let s of this._preferredPositions){let a=this._getOriginPoint(t,s),c=this._getOverlayPoint(a,e,s),d=this._getOverlayFit(c,e,i,s);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(d,c,i)?r.push({position:s,origin:a,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!o||o.overlayFit.visibleArea<d.visibleArea)&&(o={overlayFit:d,overlayPoint:c,originPoint:a,position:s,overlayRect:e})}if(r.length){let s=null,a=-1;for(const c of r){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>a&&(a=d,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&fd(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nV),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,r;if("center"==e.originX)i=t.left+t.width/2;else{const o=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?o:s}return r="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:r}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=rV(e);let{x:s,y:a}=t,c=this._getOffset(r,"x"),d=this._getOffset(r,"y");c&&(s+=c),d&&(a+=d);let g=0-a,_=a+o.height-i.height,v=this._subtractOverflows(o.width,0-s,s+o.width-i.width),M=this._subtractOverflows(o.height,g,_),w=v*M;return{visibleArea:w,isCompletelyWithinViewport:o.width*o.height===w,fitsInViewportVertically:M===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=iV(this._overlayRef.getConfig().minHeight),a=iV(this._overlayRef.getConfig().minWidth),d=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&d}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=rV(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),c=Math.max(o.top-i.top-t.y,0),d=Math.max(o.left-i.left-t.x,0);let h=0,p=0;return h=r.width<=o.width?d||-s:t.x<this._viewportMargin?o.left-i.left-t.x:0,p=r.height<=o.height?c||-a:t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:h,y:p},{x:t.x+h,y:t.y+p}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),r=new aZ(t,i);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,r=this._isRtl();let o,s,a,h,p,g;if("top"===e.overlayY)s=t.y,o=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)a=i.height-t.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const _=Math.min(i.bottom-t.y+i.top,t.y),v=this._lastBoundingBoxSize.height;o=2*_,s=t.y-_,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-v/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)g=i.width-t.x+this._viewportMargin,h=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)p=t.x,h=i.right-t.x;else{const _=Math.min(i.right-t.x+i.left,t.x),v=this._lastBoundingBoxSize.width;h=2*_,p=t.x-_,h>v&&!this._isInitialRender&&!this._growAfterOpen&&(p=t.x-v/2)}return{top:s,left:p,bottom:a,right:g,width:h,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ii(i.height),r.top=Ii(i.top),r.bottom=Ii(i.bottom),r.width=Ii(i.width),r.left=Ii(i.left),r.right=Ii(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ii(o)),s&&(r.maxWidth=Ii(s))}this._lastBoundingBoxSize=i,fd(this._boundingBox.style,r)}_resetBoundingBoxStyles(){fd(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){fd(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const h=this._viewportRuler.getViewportScrollPosition();fd(i,this._getExactOverlayY(e,t,h)),fd(i,this._getExactOverlayX(e,t,h))}else i.position="static";let a="",c=this._getOffset(e,"x"),d=this._getOffset(e,"y");c&&(a+=`translateX(${c}px) `),d&&(a+=`translateY(${d}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ii(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ii(s.maxWidth):o&&(i.maxWidth="")),fd(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=s,"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ii(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ii(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:eV(t,i),isOriginOutsideView:dT(t,i),isOverlayClipped:eV(e,i),isOverlayOutsideView:dT(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}
1_addPanelClasses(t){this._pane&&GC(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof He)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function fd(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function iV(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(dZ);return e&&"px"!==e?null:parseFloat(t)}return n||null}function rV(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const oV="cdk-global-overlay-wrapper";class fZ{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(oV),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,c=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),d=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=c?"0":this._leftOffset,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,c?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(oV),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let pZ=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new fZ}flexibleConnectedTo(e){return new hZ(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(L(qg),L(tt),L(si),L(hT))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mZ=0,ls=(()=>{class n{constructor(e,i,r,o,s,a,c,d,h,p,g){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=c,this._document=d,this._directionality=h,this._location=p,this._outsideClickDispatcher=g}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new vw(e);return s.direction=s.direction||this._directionality.value,new uZ(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+mZ++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Tc)),new rX(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(L(sZ),L(hT),L(Hs),L(pZ),L(lZ),L(Gt),L(dt),L(tt),L(Js),L(kc),L(cZ))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();const yZ={provide:new Z("cdk-connected-overlay-scroll-strategy"),deps:[ls],useFactory:function(n){return()=>n.scrollStrategies.reposition()}};let pd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[ls,yZ],imports:[[Ug,Yg,jM],jM]}),n})();function fT(n,t=$C){const i=function(n){return n instanceof Date&&!isNaN(+n)}(n)?+n-t.now():Math.abs(n);return r=>r.lift(new bZ(i,t))}
1class bZ{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new pT(t,this.delay,this.scheduler))}}class pT extends _e{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,r=t.scheduler,o=t.destination;for(;i.length>0&&i[0].time-r.now()<=0;)i.shift().notification.observe(o);if(i.length>0){const s=Math.max(0,i[0].time-r.now());this.schedule(t,s)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(pT.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new CZ(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(vo.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(vo.createComplete()),this.unsubscribe()}}class CZ{constructor(t,e){this.time=t,this.notification=e}}const wZ=["panel"];function SZ(n,t){if(1&n&&(D(0,"div",0,1),bt(2),I()),2&n){const e=t.id,i=P();O("id",i.id)("ngClass",i._classList),pt("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const EZ=["*"];let DZ=0;class AZ{constructor(t,e){this.source=t,this.option=e}}const IZ=ea(class{}),sV=new Z("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let TZ=(()=>{class n extends IZ{constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._activeOptionChanges=R.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new Ue,this.opened=new Ue,this.closed=new Ue,this.optionActivated=new Ue,this._classList={},this.id="mat-autocomplete-"+DZ++,this.inertGroups=(null==o?void 0:o.SAFARI)||!1,this._autoActiveFirstOption=!!r.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=it(e)}set classList(e){this._classList=e&&e.length?function(n,t=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(t);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new U9(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new AZ(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return n.\u0275fac=function(e){return new(e||n)(b(_n),b(He),b(sV),b(si))},n.\u0275dir=Y({type:n,viewQuery:function(e,i){if(1&e&&(Vt(gi,7),Vt(wZ,5)),2&e){let r;ye(r=ve())&&(i.template=r.first),ye(r=ve())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[$]}),n})(),aV=(()=>{class n extends TZ{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275cmp=lt({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(kt(r,FM,5),kt(r,NM,5)),2&e){let o;ye(o=ve())&&(i.optionGroups=o),ye(o=ve())&&(i.options=o)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[qe([{provide:PM,useExisting:n}]),$],ngContentSelectors:EZ,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(kn(),W(0,SZ,3,4,"ng-template"))},directives:[tf],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),n})();const lV=new Z("mat-autocomplete-scroll-strategy"),RZ={provide:lV,deps:[ls],useFactory:function(n){return()=>n.scrollStrategies.reposition()}},kZ={provide:Fr,useExisting:Nt(()=>Xg),multi:!0};let OZ=(()=>{class n{constructor(e,i,r,o,s,a,c,d,h,p,g){this._element=e,this._overlay=i,this._viewContainerRef
1=r,this._zone=o,this._changeDetectorRef=s,this._dir=c,this._formField=d,this._document=h,this._viewportRuler=p,this._defaults=g,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=R.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new De,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=yf(()=>this.autocomplete&&this.autocomplete.options?xi(...this.autocomplete.options.map(_=>_.onSelectionChange)):this._zone.onStable.pipe(On(1),Ji(()=>this.optionSelections))),this._scrollStrategy=a}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=it(e)}ngAfterViewInit(){const e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return xi(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(vn(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(vn(()=>this._overlayAttached)):Se()).pipe(rt(e=>e instanceof f2?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return xi(Wc(this._document,"click"),Wc(this._document,"auxclick"),Wc(this._document,"touchend")).pipe(vn(e=>{const i=qc(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._setTriggerValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode;if(27===i&&!Eo(e)&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const r=this.autocomplete._keyManager.activeItem,o=38===i||40===i;this.panelOpen||9===i?this.autocomplete._keyManager.onKeydown(e):o&&this._canOpen()&&this.openPanel(),(o||this.autocomplete._keyManager.activeItem!==r)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return xi(this._zone.onStable.pipe(On(1)),this.autocomplete.options.changes.pipe(ir(()=>this._positionStrategy.reapplyLastPosition()),fT(0))).pipe(Ji(()=>{const r=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),r!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),On(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,r=null!=i?i:"";this._formField?this._formField._control.value=r:this._element.nativeElement.value=r,this._previousValue=r}_setValueAndClose(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>
1{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){var r;let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Qg(this.autocomplete.template,this._viewContainerRef,{id:null==(r=this._formField)?void 0:r.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(o=>{(27===o.keyCode&&!Eo(o)||38===o.keyCode&&Eo(o,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),o.stopPropagation(),o.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new vw({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null==(e=this._defaults)?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let s;s="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null==(e=this._document)?void 0:e.defaultView)||window}_scrollToOption(e){const i=this.autocomplete,r=function(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;s<n+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}(e,i.options,i.optionGroups);if(0===e&&1===r)i._setScrollTop(0);else if(i.panel){const o=i.options.toArray()[e];if(o){const s=o._getHostElement(),a=function(n,t,e,i){return n<e?n:n+t>e+i?Math.max(0,n-i+t):e}(s.offsetTop,s.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(a)}}}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(ls),b(_i),b(dt),b(_n),b(lV),b(Js,8),b(_w,9),b(tt,8),b(qg),b(sV,8))},n.\u0275dir=Y({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Sn]}),n})(),Xg=(()=>{class n extends OZ{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275dir=Y({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&he("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&pt("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",!i.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[qe([kZ]),$]}),n})(),PZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[RZ],imports:[[pd,ew,at,vr],Kl,ew,at]}),n})();const BZ={provide:new Z("mat-select-scroll-strategy"),deps:[ls],useFactory:function(n){return()=>n.scrollStrategies.reposition()}};let uV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[BZ],imports:[[vr,pd,ew,at],Kl,yw,ew,at]}),n})();const HZ=["*"];let bw;function Zg(n){var t;return(null==(t=function(){if(void 0===bw&&(bw=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(bw=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return bw}())?void 0:t.createHTML(n))||n}function dV(n){return Error(`Unable to find icon with the name "${n}"`)}function hV(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function fV(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class md{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Cw=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClasse
vendor: 7,796 bytes, line 1
1sByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new md(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(rn.HTML,r);if(!s)throw fV(r);const a=Zg(s);return this._addSvgIconConfig(e,i,new md("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new md(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(rn.HTML,i);if(!o)throw fV(i);const s=Zg(o);return this._addSvgIconSetConfig(e,new md("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(rn.RESOURCE_URL,e);if(!i)throw hV(e);const r=this._cachedIconsByUrl.get(i);return r?Se(ww(r)):this._loadSvgIconFromConfig(new md(e,null)).pipe(ir(o=>this._cachedIconsByUrl.set(i,o)),rt(o=>ww(o)))}getNamedSvgIcon(e,i=""){const r=pV(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):nF(dV(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Se(ww(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(rt(i=>ww(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?Se(r):vA(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Ga(a=>{const d=`Loading icon set URL: ${this._sanitizer.sanitize(rn.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(d)),Se(null)})))).pipe(rt(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw dV(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ir(i=>e.svgText=i),rt(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Se(null):this._fetchIcon(e).pipe(ir(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Zg("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Zg("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){var d;const{url:i,options:r}=e,o=null!=(d=null==r?void 0:r.withCredentials)&&d;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const s=this._sanitizer.sanitize(rn.RESOURCE_URL,i);if(!s)throw hV(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const c=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(rt(h=>Zg(h)),kN(()=>this._inProgressUrlFetches.delete(s)),d_());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(pV(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,e);if(o)return $Z(o)?new md(o.url,null,o.options):new md(o,null)}}}return n.\u0275fac=function(e){return new(e||n)(L(lg,8),L(sf),L(tt,8),L(qo))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ww(n){return n.cloneNode(!0)}function pV(n,t){return n+":"+t}function $Z(n){return!(!n.url||!n.options)}const GZ=dd(class{constructor(n){this._elementRef=n}}),qZ=new Z("mat-icon-location",{providedIn:"root",factory:function(){const n=Cu(tt),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),mV=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],KZ=mV.map(n=>`[${n}]`).join(", "),QZ=/^url\(['"]?#(.*?)['"]?\)$/;let gV=(()=>{class n extends GZ{constructor(e,i,r,o,s){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._currentIconFetch=R.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=it(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=e.querySelectorAll("style");for(let o=0;o<i.length;o++)i[o].textContent+=" ";const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}
1_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();i!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),i&&e.classList.add(i),this._previousFontSetClass=i),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(KZ),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)mV.forEach(s=>{const a=i[o],c=a.getAttribute(s),d=c?c.match(QZ):null;if(d){let h=r.get(a);h||(h=[],r.set(a,h)),h.push({name:s,value:d[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(On(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(Cw),ur("aria-hidden"),b(qZ),b(qo))},n.\u0275cmp=lt({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(pt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),Dt("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[$],ngContentSelectors:HZ,decls:1,vars:0,template:function(e,i){1&e&&(kn(),bt(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),YZ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at],at]}),n})();const XZ=["input"],ZZ=function(n){return{enterDuration:n}},JZ=["*"],eJ=new Z("mat-checkbox-default-options",{providedIn:"root",factory:_V});function _V(){return{color:"accent",clickAction:"check-indeterminate"}}let tJ=0;const yV=_V(),nJ={provide:Fr,useExisting:Nt(()=>mT),multi:!0};class iJ{}const rJ=jg(dd(ea(xf(class{constructor(n){this._elementRef=n}}))));let mT=(()=>{class n extends rJ{constructor(e,i,r,o,s,a,c){super(e),this._changeDetectorRef=i,this._focusMonitor=r,this._ngZone=o,this._animationMode=a,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++tJ,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new Ue,this.indeterminateChange=new Ue,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||yV,this.color=this.defaultColor=this._options.color||yV.color,this.tabIndex=parseInt(s)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=it(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=it(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=it(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._elementRef.nativeElement;if(i!==e&&(this._currentAnimationClass.length>0&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){const e=new iJ;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(e){var r;const i=null==(r=this._options)?void 0:r.clickAction;e.stopPropagation(),this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";let r="";switch(e){case 0:if(1===i)r="unchecked-checked";else{if(3!=i)return"";r="unchecked-indeterminate"}break;case 2:r=1===i?"unchecked-checked":"unchecked-indeterminate";break;case 1:r=2===i?"checked-unchecked":"checked-indeterminate";break;case 3:r=1===i?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${r}`}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(_n),b(Zs),b(dt),ur("tabindex"),b(Nr,8),b(eJ,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,i){if(1&e&&(Vt(XZ,5),Vt(Ya,5)),2&e){let r;ye(r=ve())&&(i._inputElement=r.first),ye(r=ve())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Pa("id",i.id),pt("tabindex",null),Dt("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[qe([nJ]),$],ngContentSelectors:JZ,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(kn(),D(0,"label",0,1),D(2,"span",2),D(3,"input",3,4),he("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),I(),D(5,"span",5),we(6,"span",6),I(),we(7,"span",7),D(8,"span",8),hn(),D(9,"svg",9),we(10,"path",10),I(),ft(),we(11,"span",11),I(),I(),D(12,"span",12,13),he("cdkObserveContent",function(){return i._onLabelTextChange()}),D(14,"span",14),le(15,"\xa0"),I(),bt(16),I(),I()),2&e){const r=Vn(1),o=Vn(13);pt("for",i.inputId),T(2),Dt("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),T(1),O("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),pt("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),T(2),O("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Oo(19,ZZ,"NoopAnimations"===i._animationMode?0:150))}},directives:[Ya,EM],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}
150%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;
1transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),vV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})(),aJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[hd,at,WC,vV],at,vV]}),n})(),uJ=(()=>{class n{constructor(){this.changes=new De,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,i){return`${e} \u2013 ${i}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const bJ={provide:new Z("mat-datepicker-scroll-strategy"),deps:[ls],useFactory:function(n){return()=>n.scrollStrategies.reposition()}};let DJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[uJ,bJ],imports:[[vr,nw,pd,e2,Yg,at],Kl]}),n})(),IJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[vr,at],at]}),n})();function MJ(n,t){if(1&n&&(hn(),we(0,"circle",3)),2&n){const e=P();Li("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),pt("r",e._getCircleRadius())}}
1function TJ(n,t){if(1&n&&(hn(),we(0,"circle",3)),2&n){const e=P();Li("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),pt("r",e._getCircleRadius())}}function xJ(n,t){if(1&n&&(hn(),we(0,"circle",3)),2&n){const e=P();Li("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),pt("r",e._getCircleRadius())}}function RJ(n,t){if(1&n&&(hn(),we(0,"circle",3)),2&n){const e=P();Li("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),pt("r",e._getCircleRadius())}}const PJ=dd(class{constructor(n){this._elementRef=n}},"primary"),SV=new Z("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});class Zl extends PJ{constructor(t,e,i,r,o){super(t),this._document=i,this._diameter=100,this._value=0,this.mode="determinate";const s=Zl._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),s.has(i.head)||s.set(i.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!o&&!o._forceAnimations,o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Gc(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Gc(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Gc(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=HL(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate-animation")}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,i=Zl._diameters;let r=i.get(t);if(!r||!r.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),t.appendChild(o),r||(r=new Set,i.set(t,r)),r.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMET
1ER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Zl._diameters=new WeakMap,Zl.\u0275fac=function(t){return new(t||Zl)(b(He),b(si),b(tt,8),b(Nr,8),b(SV))},Zl.\u0275cmp=lt({type:Zl,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(pt("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Li("width",e.diameter,"px")("height",e.diameter,"px"),Dt("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[$],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(hn(),D(0,"svg",0),W(1,MJ,1,9,"circle",1),W(2,TJ,1,7,"circle",2),I()),2&t&&(Li("width",e.diameter,"px")("height",e.diameter,"px"),O("ngSwitch","indeterminate"===e.mode),pt("viewBox",e._getViewBox()),T(1),O("ngSwitchCase",!0),T(1),O("ngSwitchCase",!1))},directives:[nf,Tb],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let EV=(()=>{class n extends Zl{constructor(e,i,r,o,s){super(e,i,r,o,s),this.mode="indeterminate"}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(si),b(tt,8),b(Nr,8),b(SV))},n.\u0275cmp=lt({type:n,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,i){2&e&&(Li("width",i.diameter,"px")("height",i.diameter,"px"),Dt("_mat-animation-noopable",i._noopAnimations))},inputs:{color:"color"},features:[$],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,i){1&e&&(hn(),D(0,"svg",0),W(1,xJ,1,9,"circle",1),W(2,RJ,1,7,"circle",2),I()),2&e&&(Li("width",i.diameter,"px")("height",i.diameter,"px"),O("ngSwitch","indeterminate"===i.mode),pt("viewBox",i._getViewBox()),T(1),O("ngSwitchCase",!0),T(1),O("ngSwitchCase",!1))},directives:[nf,Tb],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}
1@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0}),n})(),LJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[at,vr],at]}),n})();const DV=new Set;let Ff,VJ=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):HJ}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function(n){if(!DV.has(n))try{Ff||(Ff=document.createElement("style"),Ff.setAttribute("type","text/css"),document.head.appendChild(Ff)),Ff.sheet&&(Ff.sheet.insertRule(`@media ${n} {body{ }}`,0),DV.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(L(si))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function HJ(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let UJ=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new De}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return AV(GC(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=IN(AV(GC(e)).map(s=>this._registerQuery(s).observable));return o=_f(o.pipe(On(1)),o.pipe(NL(1),Vg(0))),o.pipe(rt(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{a.matches=a.matches||c,a.breakpoints[d]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new Et(s=>{const a=c=>this._zone.run(()=>s.next(c));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(nr(i),rt(({matches:s})=>({query:e,matches:s})),Zt(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(L(VJ),L(dt))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function AV(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const zJ={tooltipState:Hi("state",[cn("initial, void, hidden",Ke({opacity:0,transform:"scale(0)"})),cn("visible",Ke({transform:"scale(1)"})),fn("* => visible",An("200ms cubic-bezier(0, 0, 0.2, 1)",Ku([Ke({opacity:0,transform:"scale(0)",offset:0}),Ke({opacity:.5,transform:"scale(0.99)",offset:.5}),Ke({opacity:1,transform:"scale(1)",offset:1})]))),fn("* => hidden",An("100ms cubic-bezier(0, 0, 0.2, 1)",Ke({opacity:0})))])},IV="tooltip-panel",MV=Mf({passive:!0}),TV=new Z("mat-tooltip-scroll-strategy"),WJ={provide:TV,deps:[ls],useFactory:function(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},KJ=new Z("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let YJ=(()=>{class n{constructor(e,i,r,o,s,a,c,d,h,p,g,_){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef
1=o,this._ngZone=s,this._platform=a,this._ariaDescriber=c,this._focusMonitor=d,this._dir=p,this._defaultOptions=g,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new De,this._handleKeydown=v=>{this._isTooltipVisible()&&27===v.keyCode&&!Eo(v)&&(v.preventDefault(),v.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=h,this._document=_,g&&(g.position&&(this.position=g.position),g.touchGestures&&(this.touchGestures=g.touchGestures)),p.change.pipe(Zt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{i.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null==(i=this._tooltipInstance)||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=it(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Zt(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,MV)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new mw(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=i.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Zt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(Zt(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${IV}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Zt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Zt(this._destroyed)).subscribe(()=>{var r;return null==(r=this._tooltipInstance)?void 0:r._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(Ce(Ce({},r.main),o.main)),this._addOffset(Ce(Ce({},r.fallback),o.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(On(1),Zt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const c=`${this._cssClassPrefix}-${IV}-`;a.removePanelClass(c+this._currentPosition),a.addPanelClass(c+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsM
1ouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,MV)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Ic()},n.\u0275dir=Y({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),xV=(()=>{class n extends YJ{constructor(e,i,r,o,s,a,c,d,h,p,g,_){super(e,i,r,o,s,a,c,d,h,p,g,_),this._tooltipComponent=ZJ}}return n.\u0275fac=function(e){return new(e||n)(b(ls),b(He),b(Gg),b(_i),b(dt),b(si),b(H9),b(Zs),b(TV),b(Js,8),b(KJ,8),b(tt))},n.\u0275dir=Y({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[$]}),n})(),XJ=(()=>{class n{constructor(e){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new De}show(e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const i=e.toState;"hidden"===i&&!this.isVisible()&&this._onHide.next(),("visible"===i||"hidden"===i)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(e){return new(e||n)(b(_n))},n.\u0275dir=Y({type:n}),n})(),ZJ=(()=>{class n extends XJ{constructor(e,i){super(e),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(e){return new(e||n)(b(_n),b(UJ))},n.\u0275cmp=lt({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){2&e&&Li("zoom","visible"===i._visibility?1:null)},features:[$],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,i){if(1&e&&(D(0,"div",0),he("@state.start",function(){return i._animationStart()})("@state.done",function(o){return i._animationDone(o)}),pe(1,"async"),le(2),I()),2&e){let r;Dt("mat-tooltip-handset",null==(r=Te(1,5,i._isHandset))?null:r.matches),O("ngClass",i.tooltipClass)("@state",i._visibility),T(2),st(i.message)}},directives:[tf],pipes:[rf],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[zJ.tooltipState]},changeDetection:0}),n})(),RV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[WJ],imports:[[e2,vr,pd,at],at,Kl]}),n})(),kV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})(),hee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[kV,hd,at,WC],kV,at]}),n})();const NV=new Z("mat-chips-default-options");let Dee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[ZC,{provide:NV,useValue:{separatorKeyCodes:[13]}}],imports:[[at]]}),n})();const Aee=["mat-menu-item",""];function Iee(n,t){1&n&&(hn(),D(0,"svg",2),we(1,"polygon",3),I())}const LV=["*"];function Mee(n,t){if(1&n){const e=qt();D(0,"div",0),he("keydown",function(r){return Ie(e),P()._handleKeydown(r)}
1)("click",function(){return Ie(e),P().closed.emit("click")})("@transformMenu.start",function(r){return Ie(e),P()._onAnimationStart(r)})("@transformMenu.done",function(r){return Ie(e),P()._onAnimationDone(r)}),D(1,"div",1),bt(2),I(),I()}if(2&n){const e=P();O("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),pt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Aw={transformMenu:Hi("transformMenu",[cn("void",Ke({opacity:0,transform:"scale(0.8)"})),fn("void => enter",An("120ms cubic-bezier(0, 0, 0.2, 1)",Ke({opacity:1,transform:"scale(1)"}))),fn("* => void",An("100ms 25ms linear",Ke({opacity:0})))]),fadeInItems:Hi("fadeInItems",[cn("showing",Ke({opacity:1})),fn("void => *",[Ke({opacity:0}),An("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Tee=new Z("MatMenuContent"),yT=new Z("MAT_MENU_PANEL"),xee=ea(xf(class{}));let Jg=(()=>{class n extends xee{constructor(e,i,r,o,s){super(),this._elementRef=e,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new De,this._focused=new De,this._highlighted=!1,this._triggersSubmenu=!1,o&&o.addItem&&o.addItem(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var r;const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o<i.length;o++)i[o].remove();return(null==(r=e.textContent)?void 0:r.trim())||""}_setHighlighted(e){var i;this._highlighted=e,null==(i=this._changeDetectorRef)||i.markForCheck()}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(tt),b(Zs),b(yT,8),b(_n))},n.\u0275cmp=lt({type:n,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,i){1&e&&he("click",function(o){return i._checkDisabled(o)})("mouseenter",function(){return i._handleMouseEnter()}),2&e&&(pt("role",i.role)("tabindex",i._getTabIndex())("aria-disabled",i.disabled.toString())("disabled",i.disabled||null),Dt("mat-menu-item",!0)("mat-menu-item-highlighted",i._highlighted)("mat-menu-item-submenu-trigger",i._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[$],attrs:Aee,ngContentSelectors:LV,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,i){1&e&&(kn(),bt(0),we(1,"div",0),W(2,Iee,2,0,"svg",1)),2&e&&(T(1),O("matRippleDisabled",i.disableRipple||i.disabled)("matRippleTrigger",i._getHostElement()),T(1),O("ngIf",i._triggersSubmenu))},directives:[Ya,ts],encapsulation:2,changeDetection:0}),n})();const VV=new Z("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let kee=0,e_=(()=>{class n{constructor(e,i,r){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new kl,this._tabSubscription=R.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new De,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Ue,this.close=this.closed,this.panelId="mat-menu-panel-"+kee++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=it(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=it(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new YC(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>
1this.closed.emit("tab")),this._directDescendantItems.changes.pipe(nr(this._directDescendantItems),Ji(e=>xi(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(nr(this._directDescendantItems),Ji(i=>xi(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:Eo(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(38===i||40===i)&&r.setFocusOrigin("keyboard"),r.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe(On(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const i=this._keyManager;if(i.setFocusOrigin(e).setFirstItemActive(),!i.activeItem&&this._directDescendantItems.length){let r=this._directDescendantItems.first._getHostElement().parentElement;for(;r;){if("menu"===r.getAttribute("role")){r.focus();break}r=r.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(nr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(dt),b(VV))},n.\u0275dir=Y({type:n,contentQueries:function(e,i,r){if(1&e&&(kt(r,Tee,5),kt(r,Jg,5),kt(r,Jg,4)),2&e){let o;ye(o=ve())&&(i.lazyContent=o.first),ye(o=ve())&&(i._allItems=o),ye(o=ve())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&Vt(gi,5),2&e){let r;ye(r=ve())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),BV=(()=>{class n extends e_{constructor(e,i,r){super(e,i,r),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(dt),b(VV))},n.\u0275cmp=lt({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&pt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[qe([{provide:yT,useExisting:n}]),$],ngContentSelectors:LV,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(kn(),W(0,Mee,3,6,"ng-template"))},directives:[tf],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[Aw.transformMenu,Aw.fadeInItems]},changeDetection:0}),n})();const HV=new Z("mat-menu-scroll-strategy"),Pee={provide:HV,deps:[ls],useFactory:function(n){return()=>n.scrollStrategies.reposition()}},jV=Mf({passive:!0});let Fee=(()=>{class n{constructor(e,i,r,o,s,a,c,d){this._overlay=e,this._element=i,this._viewContainerRef
1=r,this._menuItemInstance=a,this._dir=c,this._focusMonitor=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=R.EMPTY,this._hoverSubscription=R.EMPTY,this._menuCloseSubscription=R.EMPTY,this._handleTouchStart=h=>{MM(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Ue,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ue,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof e_?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,jV),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,jV),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),i=e.getConfig();this._setPosition(i.positionStrategy),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof e_&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){var e;null==(e=this._overlayRef)||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof e_?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(vn(r=>"void"===r.toState),On(1),Zt(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,i=this.menu.parentMenu;for(;i;)e++,i=i.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new vw({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(i=>{this.menu.setPositionClasses("start"===i.connectionPair.overlayX?"after":"before","top"===i.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[i,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[o,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,c]=[o,s],[d,h]=[i,r],p=0;this.triggersSubmenu()?(h=i="before"===this.menu.xPosition?"start":"end",r=d="end"===i?"start":"end",p="bottom"===o?8:-8):this.menu.overlapTrigger||(a="top"===o?"bottom":"top",c="top"===s?"bottom":"top"),e.withPositions([{originX:i,originY:a,overlayX:d,overlayY:o,offsetY:p},{originX:r,originY:a,overlayX:h,overlayY:o,offsetY:p},{originX:i,originY:c,overlayX:d,overlayY:s,offsetY:-p},{originX:r,originY:c,overlayX:h,overlayY:s,offsetY:-p}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return xi(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Se(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(vn(s=>s!==this._menuItemInstance),vn(()=>this._menuOpen)):Se(),i)}_handleMousedown(e){IM(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(vn(e=>e===this._menuItemInstance&&!e.disabled),fT(0,UM)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof e_&&this.menu._isAnimating?this.menu._animationDone.pipe(On(1),fT(0,UM),Zt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Qg(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(b(ls),b(He),b(_i),b(HV),b(yT,8),b(Jg,10),b(Js,8),b(Zs))},n.\u0275dir=Y({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,i){1&e&&he("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&pt("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),zV=(()=>{class n extends Fee{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275dir=Y({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[$]}),n})(),Nee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[Pee],imports:[[vr,at,hd,pd],Kl,at]}),n})();function $V(n){return t=>t.lift(new Lee(n))}class Lee{constructor(t){this.value=t}call(t,e){return e.subscribe(new Vee(t,this.value))}}
1class Vee extends _e{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}const Iw=["*"];function Bee(n,t){if(1&n){const e=qt();D(0,"div",2),he("click",function(){return Ie(e),P()._onBackdropClicked()}),I()}2&n&&Dt("mat-drawer-shown",P()._isShowingBackdrop())}function Hee(n,t){1&n&&(D(0,"mat-drawer-content"),bt(1,2),I())}const Uee=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],jee=["mat-drawer","mat-drawer-content","*"];function zee(n,t){if(1&n){const e=qt();D(0,"div",2),he("click",function(){return Ie(e),P()._onBackdropClicked()}),I()}2&n&&Dt("mat-drawer-shown",P()._isShowingBackdrop())}function $ee(n,t){1&n&&(D(0,"mat-sidenav-content",3),bt(1,2),I())}const Gee=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],qee=["mat-sidenav","mat-sidenav-content","*"],GV={transformDrawer:Hi("transform",[cn("open, open-instant",Ke({transform:"none",visibility:"visible"})),cn("void",Ke({"box-shadow":"none",visibility:"hidden"})),fn("void => open-instant",An("0ms")),fn("void <=> open, open-instant => void",An("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Kee=new Z("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),vT=new Z("MAT_DRAWER_CONTAINER");let Mw=(()=>{class n extends ow{constructor(e,i,r,o,s){super(r,o,s),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(b(_n),b(Nt(()=>WV)),b(He),b(Gg),b(dt))},n.\u0275cmp=lt({type:n,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,i){2&e&&Li("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[$],ngContentSelectors:Iw,decls:1,vars:0,template:function(e,i){1&e&&(kn(),bt(0))},encapsulation:2,changeDetection:0}),n})(),qV=(()=>{class n{constructor(e,i,r,o,s,a,c,d){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=r,this._platform=o,this._ngZone=s,this._interactivityChecker=a,this._doc=c,this._container=d,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new De,this._animationEnd=new De,this._animationState="void",this.openedChange=new Ue(!0),this._openedStream=this.openedChange.pipe(vn(h=>h),rt(()=>{})),this.openedStart=this._animationStarted.pipe(vn(h=>h.fromState!==h.toState&&0===h.toState.indexOf("open")),$V(void 0)),this._closedStream
1=this.openedChange.pipe(vn(h=>!h),rt(()=>{})),this.closedStart=this._animationStarted.pipe(vn(h=>h.fromState!==h.toState&&"void"===h.toState),$V(void 0)),this._destroyed=new De,this.onPositionChanged=new Ue,this._modeChanged=new De,this.openedChange.subscribe(h=>{h?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Wc(this._elementRef.nativeElement,"keydown").pipe(vn(h=>27===h.keyCode&&!this.disableClose&&!Eo(h)),Zt(this._destroyed)).subscribe(h=>this._ngZone.run(()=>{this.close(),h.stopPropagation(),h.preventDefault()}))}),this._animationEnd.pipe(vM((h,p)=>h.fromState===p.fromState&&h.toState===p.toState)).subscribe(h=>{const{fromState:p,toState:g}=h;(0===g.indexOf("open")&&"void"===p||"void"===g&&0===p.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=it(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"===this.mode?"dialog":"first-tabbable":e}set autoFocus(e){("true"===e||"false"===e)&&(e=it(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(it(e))}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){var i;const e=null==(i=this._doc)?void 0:i.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,i,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(On(1)).subscribe(s=>o(s?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(QL),b(Zs),b(si),b(dt),b(AM),b(tt,8),b(vT,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,i){1&e&&zv("@transform.start",function(o){return i._animationStarted.next(o)})("@transform.done",function(o){return i._animationEnd.next(o)}),2&e&&(pt("align",null),qv("@transform",i._animationState),Dt("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Iw,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,i){1&e&&(kn(),D(0,"div",0),bt(1),I())},directives:[ow],encapsulation:2,data:{animation:[GV.transformDrawer]},changeDetection:0}),n})(),WV=(()=>{class n{constructor(e,i,r,o,s,a=!1,c){this._dir=e,this._element=i,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=c,this._drawers=new kl,this.backdropClick=new Ue,this._destroyed=new De,this._doCheckSubject=ne
1w De,this._contentMargins={left:null,right:null},this._contentMarginChanges=new De,e&&e.change.pipe(Zt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Zt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=it(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:it(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(nr(this._allDrawers),Zt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(nr(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Vg(10),Zt(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,i-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();i+=r,e-=r}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(vn(i=>i.fromState!==i.toState),Zt(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(Zt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(Zt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(On(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(Zt(xi(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(b(Js,8),b(He),b(dt),b(_n),b(qg),b(Kee),b(Nr,8))},n.\u0275cmp=lt({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,i,r){if(1&e&&(kt(r,Mw,5),kt(r,qV,5)),2&e){let o;
1ye(o=ve())&&(i._content=o.first),ye(o=ve())&&(i._allDrawers=o)}},viewQuery:function(e,i){if(1&e&&Vt(Mw,5),2&e){let r;ye(r=ve())&&(i._userContent=r.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,i){2&e&&Dt("mat-drawer-container-explicit-backdrop",i._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[qe([{provide:vT,useExisting:n}])],ngContentSelectors:jee,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(kn(Uee),W(0,Bee,1,2,"div",0),bt(1),bt(2,1),W(3,Hee,2,0,"mat-drawer-content",1)),2&e&&(O("ngIf",i.hasBackdrop),T(3),O("ngIf",!i._content))},directives:[ts,Mw],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),KV=(()=>{class n extends Mw{constructor(e,i,r,o,s){super(e,i,r,o,s)}}return n.\u0275fac=function(e){return new(e||n)(b(_n),b(Nt(()=>CT)),b(He),b(Gg),b(dt))},n.\u0275cmp=lt({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,i){2&e&&Li("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[$],ngContentSelectors:Iw,decls:1,vars:0,template:function(e,i){1&e&&(kn(),bt(0))},encapsulation:2,changeDetection:0}),n})(),bT=(()=>{class n extends qV{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=it(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Gc(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Gc(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275cmp=lt({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,i){2&e&&(pt("align",null),Li("top",i.fixedInViewport?i.fixedTopGap:null,"px")("bottom",i.fixedInViewport?i.fixedBottomGap:null,"px"),Dt("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened)("mat-sidenav-fixed",i.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[$],ngContentSelectors:Iw,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(e,i){1&e&&(kn(),D(0,"div",0),bt(1),I())},directives:[ow],encapsulation:2,data:{animation:[GV.transformDrawer]},changeDetection:0}),n})(),CT=(()=>{class n extends WV{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275cmp=lt({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,i,r){if(1&e&&(kt(r,KV,5),kt(r,bT,5)),2&e){let o;
1ye(o=ve())&&(i._content=o.first),ye(o=ve())&&(i._allDrawers=o)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,i){2&e&&Dt("mat-drawer-container-explicit-backdrop",i._backdropOverride)},exportAs:["matSidenavContainer"],features:[qe([{provide:vT,useExisting:n}]),$],ngContentSelectors:qee,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,i){1&e&&(kn(Gee),W(0,zee,1,2,"div",0),bt(1),bt(2,1),W(3,$ee,2,0,"mat-sidenav-content",1)),2&e&&(O("ngIf",i.hasBackdrop),T(3),O("ngIf",!i._content))},directives:[ts,KV,ow],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),n})(),Yee=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[vr,at,Af,Kl],Kl,at]}),n})();function Xee(n,t){}class wT{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const Zee={dialogContainer:Hi("dialogContainer",[cn("void, exit",Ke({opacity:0,transform:"scale(0.7)"})),cn("enter",Ke({transform:"none"})),fn("* => enter",An("150ms cubic-bezier(0, 0, 0.2, 1)",Ke({transform:"none",opacity:1}))),fn("* => void, * => exit",An("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Ke({opacity:0})))])};let Jee=(()=>{class n extends tT{constructor(e,i,r,o,s,a,c,d){super(),this._elementRef=e,this._focusTrapFactory=i,this._changeDetectorRef=r,this._config=s,this._interactivityChecker=a,this._ngZone=c,this._focusMonitor=d,this._animationStateChanged=new Ue,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=h=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(h)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=o}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{e.addEventListener("blur",()=>e.removeAttribute("tabindex")),e.addEventListener("mousedown",()=>e.removeAttribute("tabindex"))})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const i=wM(),r=this._elementRef.nativeElement;(!i||i===this._document.body||i===r||r.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=wM())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=wM();return e===i||e.contains(i)}}return n.\u0275fac=function(e){return new(e||n)(b(He),b(QL),b(_n),b(tt,8),b(wT),b(AM),b(dt),b(Zs))},n.\u0275dir=Y({type:n,viewQuery:function(e,i){if(1&e&&Vt(nT,7),2&e){let r;ye(r=ve())&&(i._portalOutlet=r.first)}},features:[$]}),n})(),ete=(()=>{class n extends Jee{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275cmp=lt({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,i){1&e&&zv("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&(Pa("id",i._id),pt("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),qv("@dialogContainer",i._state))},features:[$],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&W(0,Xee,0,0,"ng-template",0)},directives:[nT],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Zee.dialogContainer]}}),n})(),tte=0;class nte{constructor(t,e,i="mat-dialog-"+tte++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new De,this._afterClosed=new De,this._beforeClosed=new De,this._state=0,e._id=i,e._animationStateChanged.pipe(vn(r=>"opened"===r.state),On(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(vn(r=>"closed"===r.state),On(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(vn(r=>27===r.keyCode&&!this.disableClose&&!Eo(r))).subscribe(r=>{r.preventDefault(),QV(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():QV(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(vn(e=>"closing"===e.state),On(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function QV(n,t,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=t),n.close(e)}
1const ite=new Z("MatDialogData"),rte=new Z("mat-dialog-default-options"),YV=new Z("mat-dialog-scroll-strategy"),ste={provide:YV,deps:[ls],useFactory:function(n){return()=>n.scrollStrategies.block()}};let ate=(()=>{class n{constructor(e,i,r,o,s,a,c,d,h,p){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=c,this._dialogContainerType=d,this._dialogDataToken=h,this._animationMode=p,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new De,this._afterOpenedAtThisLevel=new De,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=yf(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(nr(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){if(i=function(n,t){return Ce(Ce({},t),n)}(i,this._defaultOptions||new wT),i.id&&this.getDialogById(i.id),this._dialogAnimatingOpen)return this._lastDialogRef;const r=this._createOverlay(i),o=this._attachDialogContainer(r,i);if("NoopAnimations"!==this._animationMode){const a=o._animationStateChanged.subscribe(c=>{"opening"===c.state&&(this._dialogAnimatingOpen=!0),"opened"===c.state&&(this._dialogAnimatingOpen=!1,a.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new R),this._animationStateSubscriptions.add(a)}const s=this._attachDialogContent(e,o,r,i);return this._lastDialogRef=s,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),o._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(e){const i=this._getOverlayConfig(e);return this._overlay.create(i)}_getOverlayConfig(e){const i=new vw({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachDialogContainer(e,i){const o=Gt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:wT,useValue:i}]}),s=new mw(this._dialogContainerType,i.viewContainerRef,o,i.componentFactoryResolver);return e.attach(s).instance}_attachDialogContent(e,i,r,o){const s=new this._dialogRefConstructor(r,i,o.id);if(e instanceof gi)i.attachTemplatePortal(new Qg(e,null,{$implicit:o.data,dialogRef:s}));else{const a=this._createInjector(o,s,i),c=i.attachComponentPortal(new mw(e,o.viewContainerRef,a));s.componentInstance=c.instance}return s.updateSize(o.width,o.height).updatePosition(o.position),s}_createInjector(e,i,r){const o=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:i}];return e.direction&&(!o||!o.get(Js,null,Ze.Optional))&&s.push({provide:Js,useValue:{value:e.direction,change:Se()}}),Gt.create({parent:o||this._injector,providers:s})}_removeOpenDialog(e){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,o)=>{r?o.setAttribute("aria-hidden",r):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return n.\u0275fac=function(e){Ic()},n.\u0275dir=Y({type:n}),n})(),lte=(()=>{class n extends ate{constructor(e,i,r,o,s,a,c,d){super(e,i,o,a,c,s,nte,ete,ite,d)}}return n.\u0275fac=function(e){return new(e||n)(L(ls),L(Gt),L(kc,8),L(rte,8),L(YV),L(n,12),L(hT),L(Nr,8))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),ute=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[lte,ste],imports:[[pd,Yg,at],at]}),n})(),ST=(()=>{class n{constructor(){this.changes=new De,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const o=e*i;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+i,r):o+i} of ${r}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const mte={provide:ST,deps:[[new Ln,new Mr,ST]],useFactory:function(n){return n||new ST}};let gte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[mte],imports:[[vr,nw,uV,RV,at]]}),n})(),ET=(()=>{class n{constructor(){this.changes=new De}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yte={provide:ET,deps:[[new Ln,new Mr,ET]],useFactory:function(n){return n||new ET}};let vte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[yte],imports:[[vr,at]]}),n})(),wte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[JC,at],JC,at]}),n})(),Dte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[pd,Yg,vr,nw,at],at]}),n})();function ZV(n,t,e){let i;return i=n&&"object"==typeof n?n:{bufferSize:n,windowTime:t,refCount:!1,scheduler:e},r=>r.lift(function({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:e,sc
1heduler:i}){let r,s,o=0,a=!1,c=!1;return function(h){let p;o++,!r||a?(a=!1,r=new iF(n,t,i),p=r.subscribe(this),s=h.subscribe({next(g){r.next(g)},error(g){a=!0,r.error(g)},complete(){c=!0,s=void 0,r.complete()}}),c&&(s=void 0)):p=r.subscribe(this),this.add(()=>{o--,p.unsubscribe(),p=void 0,s&&!c&&e&&0===o&&(s.unsubscribe(),s=void 0,r=void 0)})}}(i))}class Tw{}let JV=(()=>{class n extends Tw{getTranslation(e){return Se({})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class DT{}let eB=(()=>{class n{handle(e){return e.key}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();function Vo(n){return null!=n}function AT(n){return n&&"object"==typeof n&&!Array.isArray(n)}function tB(n,t){let e=Object.assign({},n);return AT(n)&&AT(t)&&Object.keys(t).forEach(i=>{AT(t[i])?i in n?e[i]=tB(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}class xw{}let nB=(()=>{class n extends xw{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,i){let r;return r="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,r}getValue(e,i){let r="string"==typeof i?i.split("."):[i];i="";do{i+=r.shift(),!Vo(e)||!Vo(e[i])||"object"!=typeof e[i]&&r.length?r.length?i+=".":e=void 0:(e=e[i],i="")}while(r.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=this.getValue(i,o);return Vo(s)?s:r}):e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class Rw{}let iB=(()=>{class n extends Rw{compile(e,i){return e}compileTranslations(e,i){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Mt(n)))(i||n)}}(),n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();class rB{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Ue,this.onLangChange=new Ue,this.onDefaultLangChange=new Ue}}const IT=new Z("USE_STORE"),MT=new Z("USE_DEFAULT_LANG"),TT=new Z("DEFAULT_LANGUAGE"),xT=new Z("USE_EXTEND");let n_=(()=>{class n{constructor(e,i,r,o,s,a=!0,c=!1,d=!1,h){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=c,this.extend=d,this.pending=!1,this._onTranslationChange=new Ue,this._onLangChange=new Ue,this._onDefaultLangChange=new Ue,this._langs=[],this._translations={},this._translationRequests={},h&&this.setDefaultLang(h)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);void 0!==i?(null==this.defaultLang&&(this.defaultLang=e),i.pipe(On(1)).subscribe(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Se(this.translations[e]);let i=this.retrieveTranslations(e);return void 0!==i?(this.currentLang||(this.currentLang=e),i.pipe(On(1)).subscribe(r=>{this.changeLang(e)}),i):(this.changeLang(e),Se(this.translations[e]))}retrieveTranslations(e){let i;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;const i=this.currentLoader.getTranslation(e).pipe(ZV(1),On(1));return this.loadingTranslations=i.pipe(rt(r=>this.compiler.compileTranslations(r,e)),ZV(1),On(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=(r||this.extend)&&this.translations[e]?tB(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>
1{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,r){let o;if(i instanceof Array){let s={},a=!1;for(let c of i)s[c]=this.getParsedResult(e,c,r),Ql(s[c])&&(a=!0);return a?vA(i.map(d=>Ql(s[d])?s[d]:Se(s[d]))).pipe(rt(d=>{let h={};return d.forEach((p,g)=>{h[i[g]]=p}),h})):s}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,i),r)),void 0===o&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),r)),void 0===o){let s={key:i,translateService:this};void 0!==r&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return void 0!==o?o:i}get(e,i){if(!Vo(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Lc(r=>Ql(r=this.getParsedResult(r,e,i))?r:Se(r)));{let r=this.getParsedResult(this.translations[this.currentLang],e,i);return Ql(r)?r:Se(r)}}getStreamOnTranslationChange(e,i){if(!Vo(e)||!e.length)throw new Error('Parameter "key" required');return _f(yf(()=>this.get(e,i)),this.onTranslationChange.pipe(Ji(r=>{const o=this.getParsedResult(r.translations,e,i);return"function"==typeof o.subscribe?o:Se(o)})))}stream(e,i){if(!Vo(e)||!e.length)throw new Error('Parameter "key" required');return _f(yf(()=>this.get(e,i)),this.onLangChange.pipe(Ji(r=>{const o=this.getParsedResult(r.translations,e,i);return Ql(o)?o:Se(o)})))}instant(e,i){if(!Vo(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,i);if(Ql(r)){if(e instanceof Array){let o={};return e.forEach((s,a)=>{o[e[a]]=e[a]}),o}return e}return r}set(e,i,r=this.currentLang){this.translations[r][e]=this.compiler.compile(i,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return n.\u0275fac=function(e){return new(e||n)(L(rB),L(Tw),L(Rw),L(xw),L(DT),L(MT),L(IT),L(xT),L(TT))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),Mte=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Tw,useClass:JV},e.compiler||{provide:Rw,useClass:iB},e.parser||{provide:xw,useClass:nB},e.missingTranslationHandler||{provide:DT,useClass:eB},rB,{provide:IT,useValue:e.isolate},{provide:MT,useValue:e.useDefaultLang},{provide:xT,useValue:e.extend},{provide:TT,useValue:e.defaultLanguage},n_]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Tw,useClass:JV},e.compiler||{provide:Rw,useClass:iB},e.parser||{provide:xw,useClass:nB},e.missingTranslationHandler||{provide:DT,useClass:eB},{provide:IT,useValue:e.isolate},{provide:MT,useValue:e.useDefaultLang},{provide:xT,useValue:e.extend},{provide:TT,useValue:e.defaultLanguage},n_]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({}),n})();let Nf=(()=>{class n{constructor(e,i,r){if(this.router=e,this.translate=i,this.initialized=!1,r)throw"LocaleService should have only one instance."}get currentLocale(){return this.translate.currentLang}setRouteReuse(e){this.router.routeReuseStrategy.shouldReuseRoute=e}subscribeToLangChange(){this.translate.onLangChange.subscribe(()=>function(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(h){try{d(i.next(h))}
1catch(p){s(p)}}function c(h){try{d(i.throw(h))}catch(p){s(p)}}function d(h){h.done?o(h.value):function(o){return o instanceof e?o:new e(function(s){s(o)})}(h.value).then(a,c)}d((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){const{shouldReuseRoute:e}=this.router.routeReuseStrategy;this.setRouteReuse(()=>!1),this.router.navigated=!1,yield this.router.navigateByUrl(this.router.url).catch(zl),this.setRouteReuse(e)}))}initLocale(e,i=e){this.initialized||(this.setDefaultLocale(i),this.setLocale(e),this.initialized=!0)}setDefaultLocale(e){this.translate.setDefaultLang(e)}setLocale(e){this.translate.use(e)}getCurrentLocal(){return this.translate.currentLang?this.translate.currentLang:"en"}}return n.\u0275fac=function(e){return new(e||n)(L(rr),L(n_),L(n,12))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kw=(()=>{class n{get nativeWindow(){return window}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})(),Rte=(()=>{class n{constructor(e,i){this.localeService=e,this.winRef=i,this.title="app",this.__PAGE_LANDING="landing",this.__PAGE_SEARCH="search",this.__PAGE_RELATED="related",console.log("set languge in AppComponent:"+this.winRef.nativeWindow.lang),this.localeService.initLocale(this.winRef.nativeWindow.lang?this.winRef.nativeWindow.lang:"en")}ngOnInit(){var e="";this.winRef.nativeWindow.location.search.length>0?e=this.winRef.nativeWindow.location.search:this.winRef.nativeWindow.location.hash.length>0&&(e=this.winRef.nativeWindow.location.hash);var i=this.__PAGE_SEARCH;e.includes("ui=1")?i=this.__PAGE_LANDING:e.includes("ui=2")?i=this.__PAGE_SEARCH:e.includes("ui=3")&&(i=this.__PAGE_RELATED);const r=document.getElementById("search-app-host-div");r?r.appendChild(this.getUIComponent(i,e)):document.body.appendChild(this.getUIComponent(i,e))}getUIComponent(e,i){const r=document.createElement("landing-page-search"),o=document.createElement("ol-items"),s=document.createElement("related-items");switch(o.onlyshowsearchresults="false",i=(i=(i=i.replace("ui=1","")).replace("ui=2","")).replace("ui=3",""),o.querystring=i,s.querystring=i,e){case this.__PAGE_LANDING:return r;case this.__PAGE_SEARCH:return o;case this.__PAGE_RELATED:return s}}}return n.\u0275fac=function(e){return new(e||n)(b(Nf),b(kw))},n.\u0275cmp=lt({type:n,selectors:[["app-root"]],decls:1,vars:0,consts:[["id","search-app-host-div"]],template:function(e,i){1&e&&we(0,"div",0)},encapsulation:2}),n})();const Hr_detailPageBaseUrl="platform.ecampusontario.ca"===window.location.host.toLocaleLowerCase()?`${window.location.origin}/item-details/`:window.location.origin+"/item-details/",Hr_searchPageBaseUrl="https://microlearnontario.ca/wp-content/plugins/micro-credentials/micro-credentials-ng/mc-item-list-dist/en/",Hr_baseSearchListUrl="https://microlearnontario.ca/mc-search/";let i_=(()=>{class n{constructor(e){this.http=e,this.baseUrl="https://platform.ecampusontario.ca/micro-credential-search-service/ItemSearch"}GetOpenLibraryFilter(){return this.http.get(`${this.baseUrl}/GetFilters`)}GetAutocomplete(e){return this.http.get(`${this.baseUrl}/GetAutocomplete`+e.ToQueryString()).pipe(rt(i=>[i]))}Search(e){return this.http.get(`${this.baseUrl}/Search`+e.ToQueryString(!0,!0))}SearchCount(){return this.http.get(`${this.baseUrl}/SearchCount`)}GetAggregates(e){return this.http.get(`${this.baseUrl}/GetAggregates`+e.ToQueryString(!0,!0))}Get(e,i,r,o){return this.http.get(`${this.baseUrl}?itemType=${e}&clientType=${i}&itemIdentifier=${r}&languageId=${o}`)}}return n.\u0275fac=function(e){return new(e||n)(L(lg))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ote=(()=>{class n{constructor(e){this.http=e,this.baseUrl="https://platform.ecampusontario.ca/micro-credential-service/api/JobTitles"}getAll(){return this.http.get(`${this.baseUrl}/GetAll`)}}return n.\u0275fac=function(e){return new(e||n)(L(lg))},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Fte={provide:yr,useClass:class extends String{constructor(t){super(),this.localeService=t}toString(){return this.localeService.currentLocale}valueOf(){return this.toString()}},deps:[Nf]},Nte=["auto"],oB=["autocomplete"];function Lte(n,t){if(1&n){const e=qt();D(0,"mat-option",10),D(1,"div",11),he("click",function(r){const s=Ie(e).$implicit;return P().optionClicked(r,s)}),le(2),I(),I()}if(2&n){const e=t.$implicit,i=P();O("value",i.selectedJobs),T(2),Dn(" ",i.isEnglish?e.name_EN:e.name_FR," ")}}function Vte(n,t){1&n&&(D(0,"mat-list-item"),le(1,"(None)"),I())}function Bte(n,t){if(1&n&&(D(0,"mat-list-item"),le(1),I()),2&n){const e=t.$implicit;T(1),Dn(" ",e.name_EN," ")}}let sB=(()=>{class n{constructor(e,i,r){this.indexItemService=e,this.jobTitleService=i,this.subs=[],this.isEnglish=!0,this.options=["One","Two","Three"],this.jobTitles=[],this.searchCtrl=new Nc(""),this.selectedJobs=new Array,this.lastFilter="",this.displayFn=o=>{let s;return Array.isArray(o)?o.forEach((a,c)=>{0===c?s=this.isEnglish?a.name_EN:a.name_FR:s+=a.name_FR}):s=o,s},this.isEnglish="en"===r.valueOf()}ngOnInit(){this.jobTitleService.getAll().subscribe({next:e=>{this.jobTitles=e},error:e=>{console.error(e)},complete:()=>{}}),this.filteredOptions=this.searchCtrl.valueChanges.pipe(nr(""),rt(e=>"string"==typeof e?e:this.lastFilter),rt(e=>this._filter(e)))}_filter(e){return this.lastFilter=e,e?this.jobTitles.filter(i=>this.isEnglish?i.name_EN.toLowerCase().indexOf(e.toLowerCase())>=0:i.name_FR.toLowerCase().indexOf(e.toLowerCase())>=0).slice(0,30):this.jobTitles.slice(0,30)}optionClicked(e,i){e.stopPropagation(),this.toggleSelection(i)}toggleSelection(e){this.selectedJobs=[],this.selectedJobs.push(e),this.searchCtrl.setValue(this.selectedJobs),this.searchInput.nativeElement.blur(),this.autocomplete.closePanel()}redirectToSearch(){if(null!=this.selectedJobs&&this.selectedJobs.length>0){var e=this.getSearchResultlUrl();window.location.href=e}}getSearchResultlUrl(){var e=this.selectedJobs[0].id;let i=new URLSearchParams;i.append("jobId",e.toString());var r=`https://microlearnontario.ca/micro-credential-related/#/${i.toString()}`;return this.isEnglish||r.includes("/fr/")||(r=r.replace("/related/","/fr/related/")),r}ngOnDestroy(){if(this.subs&&this.subs.length)for(;this.subs.length>0;){let e=this.subs.pop();e.unsubscribe(),e=null}}}return n.\u0275fac=function(e){return new(e||n)(b(i_),b(Ote),b(yr))},n.\u0275cmp=lt({type:n,selectors:[["landing-page-search"]],viewQuery:function(e,i){if(1&e&&(Vt(Nte,5),Vt(oB,5,Xg),Vt(oB,5)),2&e){let r;ye(r=ve())&&(i.matAutocomplete=r.first),ye(r=ve())&&(i.autocomplete=r.first),ye(r=ve())&&(i.searchInput=r.first)}},decls:17,vars:9,consts:[["type","text","placeholder","Your current or previous job","aria-label","Number","matInput","",3,"formControl","matAutocomplete"],["autocomplete",""],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[1,"search-icon-container"],["mat-flat-button","","color","primary","id","searchButton",3,"click"],["dense",""],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"value"],[3,"click"]],template:function(e,i){if(1&e&&(D(0,"form"),D(1,"mat-form-field"),we(2,"input",0,1),I(),D(4,"mat-autocomplete",2,3),W(6,Lte,3,2,"mat-option",4),pe(7,"async"),I(),D(8,"div",5),D(9,"button",6),he("click",function(){return i.redirectToSearch()}),D(10,"span"),le(11,"Start"),I(),I(),I(),I(),D(12,"label"),le(13,"Selected Job Titles:"),I(),D(14,"mat-list",7),W(15,Vte,2,0,"mat-list-item",8),W(16,Bte,2,1,"mat-list-item",9),I()),2&e){const r=Vn(
15);T(2),O("formControl",i.searchCtrl)("matAutocomplete",r),T(2),O("displayWith",i.displayFn),pt("data-isEnglish",i.isEnglish),T(2),O("ngForOf",Te(7,7,i.filteredOptions)),T(9),O("ngIf",0===(null==i.selectedJobs?null:i.selectedJobs.length)),T(1),O("ngForOf",i.selectedJobs)}},directives:[DP,gP,lf,aT,lT,Wu,Xg,tg,Gb,aV,Xm,tw,QQ,ts,NM,YQ],pipes:[rf],styles:[""]}),n})();const Hte=[{path:"",redirectTo:"/",pathMatch:"full"},{path:"",component:sB}];window!==window.parent&&window;let Ute=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({imports:[[xL.forRoot(Hte)],xL]}),n})();const jte=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,zte={auth:{clientId:"0c52762f-f92a-4ba9-ac30-6029e2ff87d1",authority:"https://ecampusontariob2c.b2clogin.com/ecampusontariob2c.onmicrosoft.com/B2C_1A_signup_signin",knownAuthorities:["ecampusontariob2c.b2clogin.com"],redirectUri:"/micro-credential-front/",postLogoutRedirectUri:"/",navigateToLoginRequestUrl:!0},cache:{cacheLocation:Cr.LocalStorage,storeAuthStateInCookie:jte},system:{loggerOptions:{loggerCallback(n,t){console.log(t)},logLevel:Ui.Verbose,piiLoggingEnabled:!1}}},lB_weatherapi_endpoint="http://localhost/weatherforecast",lB_weatherapi_scopes=["https://ecampusontariob2c.onmicrosoft.com/0c52762f-f92a-4ba9-ac30-6029e2ff87d1/openlibrary"];var ne=(()=>(function(n){n[n.Course=1]="Course",n[n.Program=2]="Program",n[n.Institution=3]="Institution",n[n.InstructorResource=4]="InstructorResource",n[n.LearnerResource=5]="LearnerResource",n[n.Textbook=6]="Textbook",n[n.Post=7]="Post",n[n.Page=8]="Page",n[n.H5P=12]="H5P",n[n.MicroCredentials=13]="MicroCredentials",n[n.OpenLibary=14]="OpenLibary",n[n.TextbookReviews=30]="TextbookReviews"}(ne||(ne={})),ne))();let RT=(()=>{class n{constructor(e,i){this.rendererFactory=e,this.document=i,this.openLibraryCategory="Open Library",this.programCategory="Online Programs",this.courseCategory="Courses",this.microCredentialsCategory="Micro-credentials",this.programApplyClickEvent="Program-Outbound-Click",this.microCredentialsApplyClickEvent="Micro-credentials-Outbound-Click",this.programAskQuestionEvent="Program-Question-Asked",this.microCredentialsAskQuestionEvent="Micro-credentials-Question-Asked",this.courseAskQuestionEvent="Question-Asked",this.scheduleEnrollEvent="Schedule-Enrol-Clicked",this.openLibrary="Open Library",this.programInstitutionClickEvent="program-insitution-click",this.courseInstitutionClickEvent="course-insitution-click",this.microCredentialsInstitutionClickEvent="micro-credentials-insitution-click",this._embedAnalyticsScript()}_embedAnalyticsScript(){const e=this.rendererFactory.createRenderer(this.document,{id:"-1",encapsulation:Ri.None,styles:[],data:{}}),i=e.createElement("script");i.async=!0,i.src="https://www.googletagmanager.com/gtag/js?id=G-FCMSL2CN7Q";const r=e.createElement("script");r.type="text/javascript",r.innerHTML="\n    window.dataLayer = window.dataLayer || [];\n    function gtag(){dataLayer.push(arguments);}\n    gtag('js', new Date());\n    gtag('config', 'G-FCMSL2CN7Q');\n  ",this.document.head?(e.appendChild(this.document.head,i),e.appendChild(this.document.head,r)):console.error("AnalyticsService: <head> not found within DOCUMENT.")}get window(){return"undefined"!=typeof window?window:global}sendPageView(e){!e||(e.startsWith("/")||(e=`/${e}`),this.window.gtag("set",{page:e}),this.window.gtag("config","G-FCMSL2CN7Q",{page_path:e}))}sendEvent(e,i,r){!e||!i||this.window.gtag("event",i,{event_category:e,event_label:r})}sendMicroCredentialSearchEvent(e,i){!e||this.window.gtag("event",e,{event_category:this.microCredentialsCategory,event_label:i})}analytics(e,i,r,o,s="MicroCredential_Id",a){var c={dimension1:o,event_category:e,event_action:i,event_label:r};c[s]=a,this.window.gtag("event","Micro Credential Event",c),console.log("send google analytics!"),console.log(c),console.log(e)}sendDetailPageView(e,i,r,o){var s={page_title:i,page_path:window.location.href};s.MicroCredential_Id=o,s.dimension1=r,this.window.gtag("event","page_view",s),console.log("send Details page view google analytics!"),console.log(s)}getCategoryAndEventForAskQuestion(e){var i=this.programCategory,r=this.courseAskQuestionEvent;switch(e){case ne.Program:i=this.programCategory,r=this.programAskQuestionEvent;break;case ne.Course:i=this.courseCategory,r=this.courseAskQuestionEvent;break;case ne.MicroCredentials:i=this.microCredentialsCategory,r=this.microCredentialsAskQuestionEvent}return{category:i,categoryEvent:r}}getCategoryAndEventForInstitutionClick(e){var i=this.programCategory,r=this.programInstitutionClickEvent;switch(e){case ne.Program:i=this.programCategory,r=this.programInstitutionClickEvent;break;case ne.Course:i=this.courseCategory,r=this.courseInstitutionClickEvent;break;case ne.MicroCredentials:i=this.microCredentialsCategory,r=this.microCredentialsInstitutionClickEvent}return{category:i,categoryEvent:r}}sendEventsClickedAnalytic(e,i,r,o){this.analytics(this.microCredentialsCategory,e,i,o,"MicroCredential_Id",r)}}return n.\u0275fac=function(e){return new(e||n)(L(Mc),L(tt))},n.\u0275prov=se({token:n,factory:n.\u0275fac}),n})();var Kt=(()=>(function(n){n[n.Program=1]="Program",n[n.Course=2]="Course",n[n.Textbook=3]="Textbook",n[n.Resource=4]="Resource",n[n.Institution=5]="Institution",n[n.Post=6]="Post",n[n.Page=7]="Page",n[n.H5P=8]="H5P",n[n.MicroCredentials=9]="MicroCredentials",n[n.OpenLibary=10]="OpenLibary"}(Kt||(Kt={})),Kt))(),bn=(()=>(function(n){n[n.Relevant=1]="Relevant",n[n.Newest=2]="Newest",n[n.TitleAtoZ=3]="TitleAtoZ",n[n.TitleZtoA=4]="TitleZtoA",n[n.AuthorAtoZ=5]="AuthorAtoZ",n[n.AuthorZtoA=6]="AuthorZtoA",n[n.DatePublishedNewestToOldest=7]="DatePublishedNewestToOldest",n[n.DatePublishedOldestToNewest=8]="DatePublishedOldestToNewest"}(bn||(bn={})),bn))();class r_{constructor(t=null,e=null,i=null,r=null,o=null,s=null,a=null,c=null,d=null,h=null,p=null,g=null,_=null,v=null,M=1,w=!1,F=0,V=null,ie=null,ue=null,Ye=null,en=null,ln=null,bi=null,ai=null,li=null,oo=null,Ge=null,Cn=null,na=null,Xa=null,Oe=null,J=null,je=null,tn=null,Mi=null,cs=null,so=null,Za=null,Gn=null){this.isRefreshUrl=!1,this.enableIsOnlySite=!0,this.mcLandingPage=!1,this.keyword=t,this.itemTypes=e,this.clientTypes=i,this.languages=r,this.subjects=o,this.categories=s,this.institutions=a,this.startDates=c,this.deliveries=d,this.credentials=h,this.levels=p,this.attributes=g,this.resourceTypes=_,this.additionalFeatures=v,this.sortCol=M,this.nextPage=w,this.page=F,this.isOnlySite=!1,this.increasePopularSearch=!1,this.actualKeyword=null,this.tags=V,this.contentTypes=ie,this.authors=ue,this.licences=Ye,this.competencies=en,this.microcredentialDeliveries=bi,this.microcredentialSubjects=ai,this.OSAPEligibility=li,this.microcredentialStartDate=oo,this.microcredentialDuration=Ge,this.openLibraryItemTypes=Cn,this.itemLanguages=na,this.collections=Xa,this.naics=Oe,this.naicsName=J,this.nocEducationLevels=je,this.educationPathWays=tn,this.microcredentialPlus=Mi,this.prerequisites=cs,this.employerPartner=so,this.isContinuousEnrollment=Za,this.partner=Gn}getQueryParams(t,e,i=!1){("subjects"==t||"contentTypes"==t||"authors"==t||"licences"==t||"openLibraryItemTypes"==t||"itemLanguages"==t||"collections"==t)&&(i=!0);let r=[];if(e.has(t)){if(r=e.getAll(t),!i)for(var o=r.length,s=0;s<o;s++)r[s]=+r[s];return r}}getSavedSiteSourceToggleState(){return JSON.parse(localStorage.getItem("isOnlySite"))||!1}saveSiteSourceToggleState(t){localStorage.setItem("isOnlySite",JSON.stringify(t))}getSavedReturnUrl(){return JSON.parse(localStorage.getItem("returnUrl"))}saveReturnUrl(t){localStorage.setItem("returnUrl",JSON.stringify(t))}load(t){let e=this.getQueryParams("k",t,!0);this.keyword=e&&e.length>0?e.join(" "):"";let i=this.getQueryParams("isOnlySite",t,!0);i&&i.length>0?this.isOnlySite=i[0]:(this.isOnlySite=this.getSavedSiteSourceToggleState(),this.isRefreshUrl=this.isOnlySite);let r=this.getQueryParams("returnUrl",t,!0);r&&r.length>0?(this.returnUrl=decodeURIComponent(r[0]),this.saveReturnUrl(this.returnUrl),this.isRefreshUrl=!0):this.returnUrl=this.getSavedReturnUrl();let o=this.getQueryParams("sourceWebsiteTypes",t);o&&o.length>0?(this.sourceWebsiteTypes=o,this.enableIsOnlySite=!0):(this.isOnlySite=!1,this.saveSiteSourceToggleState(!1),this.enableIsOnlySite=!1,this.isRefreshUrl=!1);let s=this.getQueryParams("page",t,!1);this.page=s&&s.length>0?s[0]:0;let a=this.getQueryParams("institutions",t,!1);this.institutions=a&&a.length>0?a:null;
1let c=this.getQueryParams("microcredentialStartDate",t,!1);this.microcredentialStartDate=c&&c.length>0?c:null;let d=this.getQueryParams("languages",t,!1);this.languages=d&&d.length>0?d:null;let h=this.getQueryParams("microcredentialDuration",t,!1);this.microcredentialDuration=h&&h.length>0?h:null;let p=this.getQueryParams("microcredentialDeliveries",t,!1);this.microcredentialDeliveries=p&&p.length>0?p:null;let g=this.getQueryParams("naics",t,!1);this.naics=g&&g.length>0?g:null;let _=this.getQueryParams("naicsName",t,!1);_&&_.length>0?this.naicsName=_:this.naics=null;let v=this.getQueryParams("nocEducationLevels",t,!1);this.nocEducationLevels=v&&v.length>0?v:null;let M=this.getQueryParams("microcredentialSubjects",t,!1);this.microcredentialSubjects=M&&M.length>0?M:null;let w=this.getQueryParams("educationPathWays",t,!1);this.educationPathWays=w&&w.length>0?w:null;let F=this.getQueryParams("prerequisites",t,!1);this.prerequisites=F&&F.length>0?F:null;let V=this.getQueryParams("partner",t,!1);this.partner=V&&V.length>0?V:null;let ie=this.getQueryParams("employerPartner",t,!1);this.employerPartner=ie&&ie.length>0?ie:null;let ue=this.getQueryParams("isContinuousEnrollment",t,!1);this.isContinuousEnrollment=ue&&ue.length>0?ue:null;let Ye=this.getQueryParams("microcredentialPlus",t,!1);this.microcredentialPlus=Ye&&Ye.length>0?Ye:null}loadFilters(t,e,i,r=!0){var o=this.intializeFiltersByUrl(t,e,i,r);return o.sortColApplied||(this.sortCol=this.isQueryAppplied()?bn.Relevant:bn.Newest),o}isQueryAppplied(){return!(!this.keyword||""===this.keyword.trim())}intializeFiltersByUrl(t,e,i,r=!0){let o;if(o=r?this.getQueryParams("itemTypes",t):this.itemTypes,o&&o.length>0){this.itemTypes=o;let d=this.getFilterTypeByItemType(o),h=e.categoryFilterItems.findIndex(p=>p.id==d);h>=0&&((i=e.categoryFilterItems[h]).isActive=!0,i.subFilters.forEach(p=>{let g=this.getQueryParams(p.filterItemKeyName,t);g&&g.length>0?(this.setParams(p.filterItemKeyName,g),p.selectedSubFilterItems=g.map(String)):p.selectAllChecked=!0}))}let s=!1,a=this.getQueryParams("sortCol",t);a&&a.length>0&&(this.sortCol=a[0],s=!0);let c=this.getQueryParams("mcLandingPage",t,!0);return c&&c.length>0&&(this.mcLandingPage="true"==c[0]),{sortColApplied:s,categoryFilter:e,currentcategoryFilterItem:i}}getFilterTypeByItemType(t){if(1==t.length){let e;switch(t[0]){case ne.Course:e=Kt.Course;break;case ne.Page:e=Kt.Page;break;case ne.Post:e=Kt.Post;break;case ne.Program:e=Kt.Program;break;case ne.Textbook:e=Kt.Textbook;break;case ne.H5P:e=Kt.H5P;break;case ne.MicroCredentials:e=Kt.MicroCredentials;break;case ne.OpenLibary:e=Kt.OpenLibary}return e}return 2==t.length&&t.indexOf(ne.Textbook)>=0&&t.indexOf(ne.H5P)>=0?Kt.OpenLibary:2==t.length&&t.indexOf(ne.InstructorResource)>=0&&t.indexOf(ne.LearnerResource)>=0?Kt.Resource:3==t.length&&t.indexOf(ne.Course)>=0&&t.indexOf(ne.Program)>=0&&t.indexOf(ne.Institution)>=0?Kt.Institution:null}reset(){this.resetFilters(),this.keyword=null,this.nextPage=!1,this.page=0,this.increasePopularSearch=!1,this.actualKeyword=null}resetFilters(){this.itemTypes=null,this.languages=null,this.subjects=null,this.categories=null,this.institutions=null,this.startDates=null,this.deliveries=null,this.credentials=null,this.levels=null,this.attributes=null,this.resourceTypes=null,this.clientTypes=null,this.additionalFeatures=null,this.tags=null,this.contentTypes=null,this.authors=null,this.licences=null,this.competencies=null,this.microcredentialDeliveries=null,this.microcredentialSubjects=null,this.OSAPEligibility=null,this.microcredentialStartDate=null,this.microcredentialDuration=null,this.openLibraryItemTypes=null,this.itemLanguages=null,this.collections=null,this.naics=null,this.naicsName=null,this.nocEducationLevels=null,this.educationPathWays=null,this.microcredentialPlus=null,this.prerequisites=null,this.employerPartner=null,this.isContinuousEnrollment=null,this.partner=null}clone(){let t=new r_;return t.keyword=this.keyword,t.itemTypes=this.itemTypes,t.clientTypes=this.clientTypes,t.languages=this.languages,t.subjects=this.subjects,t.categories=this.categories,t.institutions=this.institutions,t.startDates=this.startDates,t.deliveries=this.deliveries,t.credentials=this.credentials,t.levels=this.levels,t.attributes=this.attributes,t.resourceTypes=this.resourceTypes,t.additionalFeatures=this.additionalFeatures,t.sortCol=this.sortCol,t.nextPage=this.nextPage,t.page=this.page,t.isOnlySite=this.isOnlySite,t.increasePopularSearch=this.increasePopularSearch,t.actualKeyword=this.actualKeyword,t.tags=this.tags,t.contentTypes=this.contentTypes,t.authors=this.authors,t.licences=this.licences,t.competencies=this.competencies,t.microcredentialDeliveries=this.microcredentialDeliveries,t.microcredentialSubjects=this.microcredentialSubjects,t.OSAPEligibility=this.OSAPEligibility,t.microcredentialStartDate=this.microcredentialStartDate,t.microcredentialDuration=this.microcredentialDuration,t.openLibraryItemTypes=this.openLibraryItemTypes,t.itemLanguages=this.itemLanguages,t.collections=this.collections,t.naics=this.naics,t.naicsName=this.naicsName,t.nocEducationLevels=this.nocEducationLevels,t.educationPathWays=this.educationPathWays,t.microcredentialPlus=this.microcredentialPlus,t.prerequisites=this.prerequisites,t.employerPartner=this.employerPartner,t.isContinuousEnrollment=this.isContinuousEnrollment,t.partner=this.partner,t}cloneFilter(t){this.keyword=t.keyword,this.itemTypes=t.itemTypes,this.clientTypes=t.clientTypes,this.languages=t.languages,this.subjects=t.subjects,this.categories=t.categories,this.institutions=t.institutions,this.startDates=t.startDates,this.deliveries=t.deliveries,this.credentials=t.credentials,this.levels=t.levels,this.attributes=t.attributes,this.resourceTypes=t.resourceTypes,this.additionalFeatures=t.additionalFeatures,this.isOnlySite=t.isOnlySite,this.actualKeyword=t.actualKeyword,this.page=t.page,this.nextPage=!1,this.tags=t.tags,this.contentTypes=t.contentTypes,this.authors=t.authors,this.licences=t.licences,this.competencies=t.competencies,this.microcredentialDeliveries=t.microcredentialDeliveries,this.microcredentialSubjects=t.microcredentialSubjects,this.OSAPEligibility=t.OSAPEligibility,this.microcredentialStartDate=t.microcredentialStartDate,this.microcredentialDuration=t.microcredentialDuration,this.openLibraryItemTypes=t.openLibraryItemTypes,this.itemLanguages=t.itemLanguages,this.collections=t.collections,this.naics=t.naics,this.naicsName=t.naicsName,this.nocEducationLevels=t.nocEducationLevels,this.educationPathWays=t.educationPathWays,this.microcredentialPlus=t.microcredentialPlus,this.prerequisites=t.prerequisites,this.employerPartner=t.employerPartner,this.isContinuousEnrollment=t.isContinuousEnrollment,this.partner=t.partner}setParams(t,e){this[t]=e}getParams(t){return this[t]}getSearchKeyword(t=!1){return t&&this.actualKeyword?this.actualKeyword:this.keyword}ToURLSearchParams(t=!1,e=!1){let i=new URLSearchParams;
1this.setSearchParam(i,this.getSearchKeyword(t),"k",!0),this.setSearchParams(i,this.itemTypes,"itemTypes");let r=[];return e?r=this.isOnlySite?this.sourceWebsiteTypes:this.clientTypes:(r=this.clientTypes,this.setSearchParams(i,this.sourceWebsiteTypes,"sourceWebsiteTypes")),this.setSearchParams(i,r,"clientTypes"),this.setSearchParams(i,this.languages,"languages"),this.setSearchParams(i,this.subjects,"subjects",!0),this.setSearchParams(i,this.categories,"categories"),this.setSearchParams(i,this.institutions,"institutions"),this.setSearchParams(i,this.startDates,"startDates"),this.setSearchParams(i,this.deliveries,"deliveries"),this.setSearchParams(i,this.credentials,"credentials"),this.setSearchParams(i,this.levels,"levels"),this.setSearchParams(i,this.attributes,"attributes"),this.setSearchParams(i,this.resourceTypes,"resourceTypes"),this.setSearchParams(i,this.additionalFeatures,"additionalFeatures"),this.setSearchParam(i,this.sortCol,"sortCol"),this.setSearchParam(i,this.nextPage,"nextPage"),this.setSearchParam(i,this.page,"page"),this.setSearchParam(i,this.isOnlySite,"isOnlySite"),this.setSearchParams(i,this.tags,"tags",!0),this.setSearchParams(i,this.contentTypes,"contentTypes",!0),this.setSearchParams(i,this.authors,"authors",!0),this.setSearchParams(i,this.licences,"licences",!0),this.setSearchParams(i,this.competencies,"competencies"),this.setSearchParams(i,this.microcredentialDeliveries,"microcredentialDeliveries"),this.setSearchParams(i,this.microcredentialSubjects,"microcredentialSubjects"),this.setSearchParams(i,this.microcredentialDuration,"microcredentialDuration"),this.setSearchParams(i,this.microcredentialStartDate,"microcredentialStartDate"),this.setSearchParams(i,this.OSAPEligibility,"OSAPEligibility"),this.mcLandingPage&&this.setSearchParam(i,this.mcLandingPage,"mcLandingPage"),this.autoCompleteSize&&this.setSearchParam(i,this.autoCompleteSize,"autoCompleteSize"),this.setSearchParam(i,this.increasePopularSearch,"increasePopularSearch"),this.setSearchParams(i,this.openLibraryItemTypes,"openLibraryItemTypes",!0),this.setSearchParams(i,this.itemLanguages,"itemLanguages",!0),this.setSearchParams(i,this.collections,"collections",!0),this.setSearchParams(i,this.naics,"naics"),this.setSearchParams(i,this.naicsName,"naicsName"),this.setSearchParams(i,this.nocEducationLevels,"nocEducationLevels"),this.setSearchParams(i,this.educationPathWays,"educationPathWays"),this.setSearchParams(i,this.microcredentialPlus,"microcredentialPlus"),this.setSearchParams(i,this.prerequisites,"prerequisites"),this.setSearchParams(i,this.employerPartner,"employerPartner"),this.setSearchParams(i,this.isContinuousEnrollment,"isContinuousEnrollment"),this.setSearchParams(i,this.partner,"partner"),i}ToQueryString(t=!1,e=!1){let i=this.ToURLSearchParams(t,e).toString();return void 0!==i&&i&&(i="?"+i),i}ToMicroCredentialsQueryString(t=!1,e=!1){let i=this.ToURLSearchParams(t,e);i.delete("itemTypes");let r=i.toString();return r=void 0!==r&&r?"/micro-credentials?"+r:"/micro-credentials",r}ToMicroCredentialsLandingQueryString(){return"/micro-credential-search"}ToUSURLSearchParams(t,e,i){let r=new URLSearchParams;return this.setSearchParam(r,this.keyword,"k",!0),this.setSearchParam(r,encodeURIComponent(t),"returnUrl",!0),this.setSearchParam(r,e,"sourceWebsiteTypes"),this.setSearchParams(r,i,"itemTypes"),r}ToUSQueryString(t,e,i){let r=this.ToUSURLSearchParams(t,e,i).toString();return void 0!==r&&r&&(r="?"+r),r}setSearchParams(t,e,i,r=!1){if(void 0!==e&&e&&e.length>0)for(let o of e)t.append(i,r?o:String(o))}setSearchParam(t,e,i,r=!1){void 0!==e&&e&&t.append(i,r?e:String(e))}}let $te=(()=>{class n{transform(e,i){const r=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").split(" ").filter(s=>s.length>0).join("|"),o=new RegExp(r,"gi");return i?e.replace(o,s=>`<b>${s}</b>`):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Wn({name:"matHighlight",type:n,pure:!0}),n})();const Gte=["auto"],cB=["autocomplete"];function qte(n,t){if(1&n){const e=qt();D(0,"div",10),D(1,"button",11),he("click",function(){return Ie(e),P().onRemoveKeywordSubject()}),hn(),D(2,"svg",12),we(3,"path",13),we(4,"path",14),I(),I(),I()}}function Wte(n,t){if(1&n){const e=qt();D(0,"mat-option",19),D(1,"div",20),he("click",function(r){const s=Ie(e).$implicit;return P(3).optionClicked(r,s)}),pe(2,"matHighlight"),I(),I()}if(2&n){const e=t.$implicit,i=P(3);O("value",e),T(1),O("innerHTML",_r(2,2,e,i.keywordCtrl.value),Ea)}}function Kte(n,t){if(1&n&&(D(0,"mat-optgroup",17),W(1,Wte,3,5,"mat-option",18),I()),2&n){const e=t.$implicit;T(1),O("ngForOf",e.autoCompletes)}}function Qte(n,t){if(1&n){const e=qt();D(0,"mat-option",19),D(1,"div",22),he("click",function(r){const s=Ie(e).$implicit;return P(3).optionClicked(r,s)}),D(2,"div",23),hn(),D(3,"svg",24),we(4,"path",25),we(5,"path",26),we(6,"path",27),we(7,"path",28),I(),I(),ft(),we(8,"div",29),pe(9,"matHighlight"),D(10,"span"),le(11),I(),I(),I()}if(2&n){const e=t.$implicit,i=P(3);let r;O("value",e),T(8),O("innerHTML",_r(9,3,e.title_EN,i.keywordCtrl.value),Ea),T(3),st(null!==(r=null==e.institution?null:e.institution.name)&&void 0!==r?r:"")}}function Yte(n,t){if(1&n&&(D(0,"mat-optgroup",21),W(1,Qte,12,6,"mat-option",18),I()),2&n){const e=t.$implicit;T(1),O("ngForOf",e.searchResults.indexItems)}}function Xte(n,t){if(1&n&&(D(0,"div"),W(1,Kte,2,1,"mat-optgroup",15),pe(2,"async"),W(3,Yte,2,1,"mat-optgroup",16),pe(4,"async"),I()),2&n){const e=P();T(1),O("ngForOf",Te(2,2,e.filteredTerms)),T(2),O("ngForOf",Te(4,4,e.filteredTerms))}}function Zte(n,t){if(1&n){const e=qt();D(0,"mat-option",19),D(1,"div",20),he("click",function(r){const s=Ie(e).$implicit;return P(3).optionClicked(r,s)}),pe(2,"matHighlight"),I(),I()}if(2&n){const e=t.$implicit,i=P(3);O("value",e),T(1),O("innerHTML",_r(2,2,e,i.keywordCtrl.value),Ea)}}function Jte(n,t){if(1&n&&(D(0,"mat-optgroup",31),W(1,Zte,3,5,"mat-option",18),I()),2&n){const e=t.$implicit;T(1),O("ngForOf",e.autoCompletes)}}function ene(n,t){if(1&n&&(mr(0),W(1,Jte,2,1,"mat-optgroup",30),pe(2,"async"),gr()),2&n){const e=P();T(1),O("ngForOf",Te(2,1,e.filteredTerms))}}let kT=(()=>{class n{constructor(e,i){this.indexItemService=e,this.keywordSearchString=null,this.subs=[],this.isEnglish=!0,this.keywordCtrl=new Nc(""),this.OnSearch=function(r){const o=this.keywordCtrl.value;(o&&o!==this.keywordSearchString||""==o)&&(this.keywordSearchString=o,this.keywordsChangeSubject.next(this.keywordSearchString)),r.stopPropagation(),this.searchInput.nativeElement.blur(),this.autocomplete.closePanel()},this.onRemoveKeywordSubject=function(){this.keywordSearchString="",this.keywordCtrl.patchValue(this.keywordSearchString),this.removeKeywordSubject.next(),this.searchInput.nativeElement.blur(),this.autocomplete.closePanel()},this.isEnglish="en"===i.valueOf()}ngOnInit(){this.subs.push(this.keywordsChangeSubject.asObservable().subscribe(e=>{this.keywordSearchString=e,this.keywordCtrl.patchValue(this.keywordSearchString)})),this.indexItemQuery&&this.indexItemQuery.keyword&&(this.keywordCtrl.patchValue(this.indexItemQuery.keyword),this.keywordSearchString=this.indexItemQuery.keyword),this.filteredTerms=this.keywordCtrl.valueChanges.pipe(nr(""),Vg(2
100),Ji(e=>this.filter(e)))}ngOnDestroy(){if(this.subs&&this.subs.length)for(;this.subs.length>0;){let e=this.subs.pop();e.unsubscribe(),e=null}}selected(e){if("string"==typeof e.option.value)this.keywordCtrl.patchValue(e.option.viewValue),this.keywordsChangeSubject.next(e.option.viewValue);else{this.keywordCtrl.patchValue(this.indexItemQuery.keyword);var i=this.getDetailUrl(e.option.value);window.location.href=i}}optionClicked(e,i){if(e.stopPropagation(),"string"==typeof i)this.keywordCtrl.patchValue(i),this.keywordsChangeSubject.next(i);else{this.keywordCtrl.patchValue(this.indexItemQuery.keyword);var r=this.getDetailUrl(i);window.location.href=r}}getDetailUrl(e){var i=this.indexItemQuery.clone();i.page=0;var r=`${Hr_detailPageBaseUrl}#/${e.itemIdentifier}/${i.ToQueryString()}`;return this.isEnglish||r.includes("/fr/")||(r.includes("/item-details/")?r=r.replace("/item-details/","/fr/item-details/"):r.includes("/search-item-front/")&&(r=r.replace("/search-item-front/","/fr/search-item-front/"))),r}filter(e){let i=e||this.keywordCtrl.value;if(this.indexItemQuery&&(this.indexItemQuery.keyword=i),i){let r=this.indexItemQuery.clone();return r.keyword=i,r.autoCompleteSize=3,this.indexItemService.GetAutocomplete(r)}return Se([])}isPopularSearch(){return!(this.keywordCtrl.value&&(!this.keywordCtrl.value.trim||""!==this.keywordCtrl.value.trim()))}}return n.\u0275fac=function(e){return new(e||n)(b(i_),b(yr))},n.\u0275cmp=lt({type:n,selectors:[["item-search"]],viewQuery:function(e,i){if(1&e&&(Vt(Gte,5),Vt(cB,5,Xg),Vt(cB,5)),2&e){let r;ye(r=ve())&&(i.matAutocomplete=r.first),ye(r=ve())&&(i.autocomplete=r.first),ye(r=ve())&&(i.searchInput=r.first)}},inputs:{keywordsChangeSubject:"keywordsChangeSubject",removeKeywordSubject:"removeKeywordSubject",indexItemQuery:"indexItemQuery",placeholder:"placeholder"},decls:12,vars:6,consts:[["class","search-icon-close-container",4,"ngIf"],["matInput","",3,"placeholder","formControl","matAutocomplete","keyup.enter"],["autocomplete",""],[1,"search-autocomplete"],["auto","matAutocomplete"],[4,"ngIf"],[1,"search-icon-container"],["id","searchButton","aria-label","Search icon",3,"click"],["viewBox","0 0 56 56"],["_ngcontent-ng-cli-universal-c2","","d","M40 35.2h-2.5l-.9-.9c3.2-3.8 5-8.6 5-13.5C41.6 9.3 32.3 0 20.8 0S0 9.3 0 20.8s9.3 20.8 20.8 20.8c5.2 0 9.9-1.9 13.5-5l.9.9V40l16 16 4.8-4.8-16-16zm-19.2 0c-8 0-14.4-6.4-14.4-14.4S12.8 6.4 20.8 6.4s14.4 6.4 14.4 14.4-6.4 14.4-14.4 14.4z"],[1,"search-icon-close-container"],["mat-fab","","color","accent",1,"close-btn",3,"click"],["xmlns","http://www.w3.org/2000/svg","height","24","width","24"],["d","M0 0h24v24H0z","fill","none"],["d","M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"],["label","Search",4,"ngFor","ngForOf"],["label","Relevant Courses","class","relevant-courses",4,"ngFor","ngForOf"],["label","Search"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"innerHTML","click"],["label","Relevant Courses",1,"relevant-courses"],[3,"click"],[1,"course-icon"],["width","20","height","15","viewBox","0 0 20 15","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M17.5002 1.16667C16.5752 0.875 15.5585 0.75 14.5835 0.75C12.9585 0.75 11.2085 1.08333 10.0002 2C8.79183 1.08333 7.04183 0.75 5.41683 0.75C3.79183 0.75 2.04183 1.08333 0.833496 2V14.2083C0.833496 14.4167 1.04183 14.625 1.25016 14.625C1.3335 14.625 1.37516 14.5833 1.4585 14.5833C2.5835 14.0417 4.2085 13.6667 5.41683 13.6667C7.04183 13.6667 8.79183 14 10.0002 14.9167C11.1252 14.2083 13.1668 13.6667 14.5835 13.6667C15.9585 13.6667 17.3752 13.9167 18.5418 14.5417C18.6252 14.5833 18.6668 14.5833 18.7502 14.5833C18.9585 14.5833 19.1668 14.375 19.1668 14.1667V2C18.6668 1.625 18.1252 1.375 17.5002 1.16667ZM17.5002 12.4167C16.5835 12.125 15.5835 12 14.5835 12C13.1668 12 11.1252 12.5417 10.0002 13.25V3.66667C11.1252 2.95833 13.1668 2.41667 14.5835 2.41667C15.5835 2.41667 16.5835 2.54167 17.5002 2.83333V12.4167Z","fill","#8E8C99"],["d","M14.5835 5.75C15.3168 5.75 16.0252 5.825 16.6668 5.96667V4.7C16.0085 4.575 15.3002 4.5 14.5835 4.5C13.1668 4.5 11.8835 4.74167 10.8335 5.19167V6.575C11.7752 6.04167 13.0835 5.75 14.5835 5.75Z","fill","#8E8C99"],["d","M10.8335 7.40822V8.79155C11.7752 8.25822 13.0835 7.96655 14.5835 7.96655C15.3168 7.96655 16.0252 8.04155 16.6668 8.18322V6.91655C16.0085 6.79155 15.3002 6.71655 14.5835 6.71655C13.1668 6.71655 11.8835 6.96655 10.8335 7.40822Z","fill","#8E8C99"],["d","M14.5835 8.94165C13.1668 8.94165 11.8835 9.18332 10.8335 9.63332V11.0167C11.7752 10.4833 13.0835 10.1917 14.5835 10.1917C15.3168 10.1917 16.0252 10.2667 16.6668 10.4083V9.14165C16.0085 9.00832 15.3002 8.94165 14.5835 8.94165Z","fill","#8E8C99"],[3,"innerHTML"],["label","Popular Search",4,"ngFor","ngForOf"],["label","Popular Search"]],template:function(e,i){if(1&e&&(D(0,"mat-form-field"),W(1,qte,5,0,"div",0),D(2,"input",1,2),he("keyup.enter",function(o){return i.OnSearch(o)}),I(),D(4,"mat-autocomplete",3,4),W(6,Xte,5,6,"div",5),W(7,ene,3,3,"ng-container",5),I(),D(8,"div",6),D(9,"button",7),he("click",function(o){return i.OnSearch(o)}),hn(),D(10,"svg",8),we(11,"path",9),I(),I(),I(),I()),2&e){const r=Vn(
15);T(1),O("ngIf",i.keywordCtrl.value),T(1),Bh("placeholder",i.placeholder),O("formControl",i.keywordCtrl)("matAutocomplete",r),T(4),O("ngIf",!i.isPopularSearch()),T(1),O("ngIf",i.isPopularSearch())}},directives:[aT,ts,lT,Wu,Xg,tg,Gb,aV,tw,Xm,TQ,NM],pipes:[rf,$te],styles:[""]}),n})(),tne=(()=>{class n{constructor(e,i,r){this.indexItemService=e,this.router=i,this.activeRoute=r,this.indexItemQuery=new r_,this.subs=[],this.keywordsChangeSubject=new De,this.removeKeywordSubject=new De,this.placeholder="Search the Open Library"}ngOnInit(){this.indexItemQuery.itemTypes=[ne.Textbook,ne.H5P],this.subs.push(this.keywordsChangeSubject.asObservable().subscribe(e=>{this.indexItemQuery.sortCol=bn.Relevant,this.indexItemQuery.keyword=e,this.indexItemQuery.actualKeyword=null,this.navigateToOLSearch()})),this.subs.push(this.removeKeywordSubject.asObservable().subscribe(()=>{this.removeKeyword()}))}removeKeyword(){this.indexItemQuery.keyword="",this.keywordsChangeSubject.next(this.indexItemQuery.keyword),this.navigateToOLSearch()}navigateToOLSearch(){window.location.href=Hr_searchPageBaseUrl+this.indexItemQuery.ToQueryString()}}return n.\u0275fac=function(e){return new(e||n)(b(i_),b(rr),b(ql))},n.\u0275cmp=lt({type:n,selectors:[["ol-item-search"]],decls:1,vars:4,consts:[[3,"keywordsChangeSubject","removeKeywordSubject","placeholder","indexItemQuery"]],template:function(e,i){1&e&&we(0,"item-search",0),2&e&&O("keywordsChangeSubject",i.keywordsChangeSubject)("removeKeywordSubject",i.removeKeywordSubject)("placeholder",i.placeholder)("indexItemQuery",i.indexItemQuery)},directives:[kT],styles:[""]}),n})();var $t=(()=>(function(n){n[n.Institution=1]="Institution",n[n.ProgramCredential=2]="ProgramCredential",n[n.Attribute=3]="Attribute",n[n.CourseLevel=4]="CourseLevel",n[n.Language=5]="Language",n[n.Subject=6]="Subject",n[n.ResourceType=7]="ResourceType",n[n.Source=8]="Source",n[n.PostCategory=9]="PostCategory",n[n.Delivery=10]="Delivery",n[n.StartDate=11]="StartDate",n[n.AdditionalFeature=12]="AdditionalFeature",n[n.Tags=13]="Tags",n[n.ContentTypes=14]="ContentTypes",n[n.Licences=15]="Licences",n[n.Authors=16]="Authors",n[n.Competencies=17]="Competencies",n[n.occupationClusters=18]="occupationClusters",n[n.microcredentialDeliveries=19]="microcredentialDeliveries",n[n.microcredentialSubjects=20]="microcredentialSubjects",n[n.OSAPEligibility=21]="OSAPEligibility",n[n.microcredentialStartDate=22]="microcredentialStartDate",n[n.microcredentialDuration=23]="microcredentialDuration",n[n.OpenLibraryItemType=24]="OpenLibraryItemType",n[n.OpenLibraryLanguage=25]="OpenLibraryLanguage",n[n.OpenLibraryEducationLevel=26]="OpenLibraryEducationLevel",n[n.OpenLibraryMediaFormat=27]="OpenLibraryMediaFormat",n[n.LearningResourceType=28]="LearningResourceType",n[n.TraditionalKnowledgeLabel=29]="TraditionalKnowledgeLabel",n[n.naics=34]="naics",n[n.nocEducationLevels=35]="nocEducationLevels",n[n.EducationPathWays=36]="EducationPathWays",n[n.MicrocredentialPlus=37]="MicrocredentialPlus",n[n.Prerequisites=38]="Prerequisites",n[n.EmployerPartner=39]="EmployerPartner",n[n.Partner=40]="Partner",n[n.IsContinuousEnrollment=41]="IsContinuousEnrollment",n[n.naicsName=42]="naicsName"}($t||($t={})),$t))();class uB{}let nne=(()=>{class n{}return n.LocalizationGlobal={DescriptionFallback:{Message:{"en-CA":"This course/program is offered in French. Open the listing to learn more.","fr-CA":"Ce cours/programme est offert en anglais. Ouvrez la fiche pour en savoir plus."}},OpenLibraryPage:{Title:{"en-CA":"eCampusOntario - Micro Credential Search","fr-CA":"eCampusOntario - Micro Credential Search"},Introduction:{"en-CA":"eCampusOntario has scoured the edges of the earth to bring you the following list of curated Open Library items from our OER.  This is just filler text, to show that the page creator added a paragraph block on top of the `search` block, which is rendered below.","fr-CA":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar sic tempor. Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus pronin sapien nunc accuan eget."},FilterButtionTitle:{"en-CA":"Filters","fr-CA":"Filtres"},SortOptionsTitle:{"en-CA":"Sort Options","fr-CA":"Options de tri"},SortOptionRelevanceTitle:{"en-CA":"Relevance","fr-CA":"Pertinence"},SortOptionNewestTitle:{"en-CA":"Newest","fr-CA":"Le plus r\xe9cent"},SortOptionTitleAtoZTitle:{"en-CA":"Title (A to Z)","fr-CA":"Titre (A to Z)"},SortOptionTitleZtoATitle:{"en-CA":"Title (Z to A)","fr-CA":"Titre (Z to A)"},SortOptionAuthorAtoZTitle:{"en-CA":"Author (A to Z)","fr-CA":"Author (A to Z) FR"},SortOptionAuthorZtoATitle:{"en-CA":"Author (Z to A)","fr-CA":"Author (Z to A) FR"},SortOptionDatePublishedNewestToOldestTitle:{"en-CA":"Date Published (Newest to Oldest)","fr-CA":"Date Published (Newest to Oldest) FR"},SortOptionDatePublishedOldestToNewestTitle:{"en-CA":"Date Published (Oldest to Newest)","fr-CA":"Date Published (Oldest to Newest) FR"},ResultsFoundTitle:{"en-CA":"Results Found","fr-CA":"r\xe9sultats trouv\xe9s"},ItemDatePublishedTitle:{"en-CA":"Date Published","fr-CA":"Date Published FR"},ItemLicenseTitle:{"en-CA":"License","fr-CA":"License FR"},LoadMoreButtonTitle:{"en-CA":"Load More","fr-CA":"Charger plus"}
1,ResetButtonTitle:{"en-CA":"Reset","fr-CA":"R\xe9initialiser"},ClearFiltersTitle:{"en-CA":"Clear Filters","fr-CA":"Supprimer les filtres"},SearchFiltersTitle:{"en-CA":"Search for Employer Partner","fr-CA":"Recherche d'un employeur partenaire"},foundTotalOf:{"en-CA":"of","fr-CA":"de"},foundTotalViewed:{"en-CA":"viewed","fr-CA":"vues"}},EmbedOption:{EmbedOptionTitle:{"en-CA":"Embed this search","fr-CA":"Embed this search FR"},searchResultOptionTitle:{"en-CA":"OpenLibrary Search Results","fr-CA":"OpenLibrary Search Results FR"},searchResultOptionExplain:{"en-CA":"Display the current search results as a widget on your website.","fr-CA":"Display the current search results as a widget on your website FR."},searchBarOptionTitle:{"en-CA":"OpenLibrary Search Bar","fr-CA":"OpenLibrary Search Bar FR"},searchBarOptionExplain:{"en-CA":"Allow people to search and access the OpenLibrary from your website.","fr-CA":"Allow people to search and access the OpenLibrary from your website FR."},copyToClipboardButtonTitle:{"en-CA":"COPY TO CLIPBOARD","fr-CA":"COPY TO CLIPBOARD FR."}},ItemTypeStrings:{Course:{"en-CA":"COURSE","fr-CA":"COURS"},Institution:{"en-CA":"INSTITUTION","fr-CA":"INSTITUTION"},Resource:{"en-CA":"RESOURCE","fr-CA":"RESSOURCE"},Page:{"en-CA":"WEB PAGES","fr-CA":"PAGES WEB"},Post:{"en-CA":"NEWS","fr-CA":"NOUVELLES"},Program:{"en-CA":"PROGRAM","fr-CA":"PROGRAMME"},Textbook:{"en-CA":"OER","fr-CA":"REL"},H5P:{"en-CA":"H5P","fr-CA":"H5P"},MicroCredential:{"en-CA":"Micro-credential","fr-CA":"Micro-titres de comp\xe9tences"}},FilterStrings:{Done_Button_Title:{"en-CA":"DONE","fr-CA":"DONE FR"},Reset_Button_Title:{"en-CA":"RESET","fr-CA":"RESET FR"},Sub_Filter_Primary_Category:{"en-CA":"Primary filters","fr-CA":"Filtres primaires"},Sub_Filter_Advanced_Category:{"en-CA":"Advanced filters","fr-CA":"Filtres avanc\xe9s"},Category_Filter_Title:{"en-CA":"Filter by","fr-CA":"Filtrer par"},Category_Filter_Item_Course_Title:{"en-CA":"Courses","fr-CA":"Cours"},Category_Filter_Item_Course_Filter_Title:{"en-CA":"Course Filters","fr-CA":"Filtrer par cours"},Category_Filter_Item_Program_Title:{"en-CA":"Programs","fr-CA":"Programmes"},Category_Filter_Item_Program_Filter_Title:{"en-CA":"Program Filters","fr-CA":"Filtrer par programmes"},Category_Filter_Item_Institution_Title:{"en-CA":"From Colleges & Universities","fr-CA":"De Coll\xe8ges et Universit\xe9s"},Category_Filter_Item_Institution_Filter_Title:{"en-CA":"Colleges & Universities Filters","fr-CA":"Filtres Coll\xe8ges et Universit\xe9s"},Category_Filter_Item_Page_Title:{"en-CA":"Web Pages","fr-CA":"Pages Web"},Category_Filter_Item_Page_Filter_Title:{"en-CA":"Web Page Filters","fr-CA":"Filtres Page Web"},Category_Filter_Item_Post_Title:{"en-CA":"News, Blogs & Events","fr-CA":"Nouvelles, Blogues & \xc9v\xe9nements"},Category_Filter_Item_Post_Filter_Title:{"en-CA":"News, Blogs & Events Filters","fr-CA":"Filtres Nouvelles, Blogues et \xc9v\xe9nements"},Category_Filter_Item_Resource_Title:{"en-CA":"Resources","fr-CA":"Ressources"},Category_Filter_Item_Resource_Filter_Title:{"en-CA":"Resource Filters","fr-CA":"Filtres Ressources"},Category_Filter_Item_Textbook_Title:{"en-CA":"Open Library","fr-CA":"Biblioth\xe8que Libre"},Category_Filter_Item_H5P_Title:{"en-CA":"H5P Content","fr-CA":"H5P Content"},Category_Filter_Item_H5P_Filter_Title:{"en-CA":"H5P Content Filters","fr-CA":"H5P Content Filters"},Category_Filter_Item_Microcredential_Title:{"en-CA":"Micro-Credential","fr-CA":"Micro-titres de comp\xe9tences"},Category_Filter_Item_Microcredential_Filter_Title:{"en-CA":"Micro-Credential Filters","fr-CA":"Filtres les micro-titres de comp\xe9tences"},Category_Filter_Item_Textbook_Filter_Title:{"en-CA":"Open Library Filters","fr-CA":"Filtres Biblioth\xe8que Libre"},Sub_Filter_Course_Attribute_Title:{"en-CA":"Course Attributes","fr-CA":"Attributs Cours"},Sub_Filter_Course_Attribute_Select_All:{"en-CA":"All Course Attributes","fr-CA":"Tous Attributs Cours"},Sub_Filter_NAICS_Title:{"en-CA":"NAICS Codes","fr-CA":"Codes SCIAN"},Sub_Filter_NAICS_Name_Title:{"en-CA":"Industry Classification","fr-CA":"Classification des industries"},Sub_Filter_EducationLevel_Title:{"en-CA":"Education Level","fr-CA":"Education Level fr"},Sub_Filter_Program_Attribute_Title:{"en-CA":"Program Attributes","fr-CA":"Attributs Programmes"},Sub_Filter_NAICS_Select_All:{"en-CA":"All NAICS Codes","fr-CA":"All NAICS Codes fr"},Sub_Filter_NAICS_Name_Select_All:{"en-CA":"All NAICS Codes","fr-CA":"All NAICS Codes fr"},Sub_Filter_EducationLevel_Select_All:{"en-CA":"All EducationLevel Codes","fr-CA":"All EducationLevel Codes fr"},Sub_Filter_Program_Attribute_Select_All:{"en-CA":"All Program Attributes","fr-CA":"Tou
1s Attributs Programmes"},Sub_Filter_CourseLevel_Title:{"en-CA":"Course Levels","fr-CA":"Niveau Cours"},Sub_Filter_CourseLevel_Select_All:{"en-CA":"All Course Levels","fr-CA":"Tous Niveaux Cours"},Sub_Filter_Delivery_Title:{"en-CA":"Delivery Methods","fr-CA":"Modes de Livraison"},Sub_Filter_Delivery_Select_All:{"en-CA":"All Delivery Methods","fr-CA":"Tous Modes de Livraison"},Sub_Filter_Institution_Title:{"en-CA":"Colleges & Universities","fr-CA":"Coll\xe8ges et Universit\xe9s"},Sub_Filter_Institution_Select_All:{"en-CA":"All Colleges & Universities","fr-CA":"Tous Coll\xe8ges et Universit\xe9s"},Sub_Filter_Institution_Select_All_Universities:{"en-CA":"All Universities","fr-CA":"Tous Universit\xe9s"},Sub_Filter_Institution_Select_All_Colleges:{"en-CA":"All Colleges","fr-CA":"Tous Coll\xe8ges"},Sub_Filter_Language_Title:{"en-CA":"Languages","fr-CA":"Langues"},Sub_Filter_Language_Select_All:{"en-CA":"All Languages","fr-CA":"Toutes Langues"},Sub_Filter_PostCategory_Title:{"en-CA":"Categories","fr-CA":"Cat\xe9gories"},Sub_Filter_PostCategory_Select_All:{"en-CA":"All Categories","fr-CA":"Toutes Cat\xe9gories"},Sub_Filter_ProgramCredential_Title:{"en-CA":"Program Credentials","fr-CA":"Cr\xe9dits Programmes"},Sub_Filter_ProgramCredential_Select_All:{"en-CA":"All Program Credentials","fr-CA":"Tous Cr\xe9dits Programmes"},Sub_Filter_ResourceType_Title:{"en-CA":"Resource Types","fr-CA":"Types de Ressources"},Sub_Filter_ResourceType_Select_All:{"en-CA":"All Resources","fr-CA":"Toutes Ressources"},Sub_Filter_Source_Title:{"en-CA":"Source Website","fr-CA":"Sites Web Source"},Sub_Filter_Author_Title:{"en-CA":"Authors","fr-CA":"Auteurs"},Sub_Filter_Author_Select_All:{"en-CA":"All Authors","fr-CA":"Tous les auteurs"},Sub_Filter_ContentTypes_Title:{"en-CA":"Content Types","fr-CA":"Types de contenu"},Sub_Filter_ContentTypes_Select_All:{"en-CA":"All Content Types","fr-CA":"Tous les types de contenu"},Sub_Filter_Tags_Title:{"en-CA":"Tags","fr-CA":"\xc9tiquettes"},Sub_Filter_Tags_Select_All:{"en-CA":"All Tags","fr-CA":"Toutes les \xe9tiquettes"},Sub_Filter_Licences_Title:{"en-CA":"Licences","fr-CA":"Licences"},Sub_Filter_Licences_Select_All:{"en-CA":"All Licences","fr-CA":"Toutes les licences"},Sub_Filter_Source_Select_All:{"en-CA":"All eCampusOntario Websites","fr-CA":"Tous Sites Web eCampusOntario"},Sub_Filter_Subject_Title:{"en-CA":"Subjects","fr-CA":"Sujets"},Sub_Filter_Subject_Select_All:{"en-CA":"All Subjects","fr-CA":"Tous Sujets"},Sub_Filter_StartDate_Title:{"en-CA":"Start Date","fr-CA":"Date de d\xe9but"},Sub_Filter_StartDate_Select_All:{"en-CA":"Anytime","fr-CA":"En tout temps"},Sub_Filter_AdditionalFeature_Title:{"en-CA":"Additional Features","fr-CA":"Fonctionnalit\xe9s additionnelles"},Sub_Filter_AdditionalFeature_Select_All:{"en-CA":"All Additional Features","fr-CA":"Toutes les fonctionnalit\xe9s additionnelles"},Sub_Filter_Competencies_Title:{"en-CA":"Professional Skills","fr-CA":"Comp\xe9tences professionnelles"},Sub_Filter_Competencies_Select_All:{"en-CA":"All Skills","fr-CA":"Toutes les comp\xe9tences"},Sub_Filter_OccupationClusters_Title:{"en-CA":"Industries","fr-CA":"Industries"},Sub_Filter_OccupationClusters_Select_All:{"en-CA":"All Jobs","fr-CA":"Tous les emplois"},Sub_Filter_MicrocredentialDeliveries_Title:{"en-CA":"Deliveries","fr-CA":"Prestations"},Sub_Filter_MicrocredentialDeliveries_Select_All:{"en-CA":"All Deliveries","fr-CA":"Toutes les prestations"},Sub_Filter_MicrocredentialSubjects_Title:{"en-CA":"Areas of Focus","fr-CA":"Domaines d\u2019int\xe9r\xeat"},Sub_Filter_MicrocredentialSubjects_Select_All:{"en-CA":"All Topics","fr-CA":"Tous les domaines"},Educator_Reviews:{"en-CA":"Educator Reviews","fr-CA":"Revues par les pairs"},Reported_Adoptions:{"en-CA":"Reported Adoptions","fr-CA":"Adoptions signal\xe9es"},Ancillary_Resources:{"en-CA":"Ancillary Resources","fr-CA":"Ressources suppl\xe9mentaires"},IsOnlySite_Disabled_Tooltip:{"en-CA":"Filter disabled since search interface was navigated to directly.","fr-CA":"Filtres d\xe9sactiv\xe9s car la recherche a \xe9t\xe9 initialis\xe9e directement."},Moble_Filter_Buttton_Text_Applied:{"en-CA":"Filter Applied","fr-CA":"Filtres Appliqu\xe9s"},Moble_Filter_Buttton_Text_Not_Applied:{"en-CA":"Filter","fr-CA":"Filtre"},Learner_Resources:{"en-CA":"Learner Resources","fr-CA":"Ressources Apprenants"},Educator_Resources:{"en-CA":"Educator Resources","fr-CA":"Ressources \xc9ducateurs"},French_Language:{"en-CA":"French","fr-CA":"Fran\xe7ais"},English_Language:{"en-CA":"English","fr-CA":"Anglais"},Starting_next_30_days:{"en-CA":"Starting in the next 30 days","fr-CA":"Commence dans les 30 jours"},Starting_next_60_days:{"en-CA":"Starting in the next 60 days","fr-CA":"Commence dans les 60 jours"},Starting_next_90_days:{"en-CA":"Starting in the next 90 days","fr-CA":"Commence dans les 90 jours"},Continuous_enrollment:{"en-CA":"Continuous Enrollment","fr-CA":"Inscription continue"},Other_Languages:{"en-CA":"Other","fr-CA":"Autres"},Sub_filter_OSAP:{"en-CA":"OSAP Eligibility","fr-CA":"Admissibilit\xe9 au RAFEO"},Sub_filter_OSAP_ALL:{"en-CA":"All Eligibilites","fr-CA":"Toutes les admissibilit\xe9s"},Sub_filter_OSAP_Eligible:{"en-CA":"OSAP Eligible","fr-CA":"Admissible au RAFEO"},Sub_filter_OSAP_Eligible_All:{"en-CA":"Not OSAP Eligible","fr-CA":"Non admissible au RAFEO"},Sub_Filter_Duration_Title:{"en-CA":"Duration","fr-CA":"Dur\xe9e"},Sub_Filter_Duration_Select_All:{"en-CA":"All Duration","fr-CA":"Toutes les dur\xe9es"},Sub_Filter_Duration_Under_25:{"en-CA":"Under 25 Hours","fr-CA":"Moins de 25 heures"},Sub_Filter_Duration_Under_50:{"en-CA":"Under 50 Hours","fr-CA":"Moins de 50 heures"},Sub_Filter_Duration_Under_100:{"en-CA":"Under 100 Hours","fr-CA":"Moins de 100 heures"},Sub_Filter_Duration_Over_100:{"en-CA":"Over 100 Hours","fr-CA":"Plus de 100 heures"},Category_Filter_Item_OpenLibary_Filter_Title:{"en-CA":"Open Library Filters","fr-CA":"Open Library Filters FR"},Sub_Filter_Open_Library_Item_Type_Title:{"en-CA":"Item Types","fr-CA":"Item Types FR"},Sub_Filter_Open_Library_Item_Type_Select_All:{"en-CA":"All Item Types","fr-CA":"All Item Types FR"},Sub_Filter_Education_Pathways:{"en-CA":"Education Pathways","fr-CA":"Parcours \xe9ducatifs"},Sub_Filter_Micro_credential_Plus:{"en-CA":"Micro-credential +","fr-CA":"Micro-titre de comp\xe9tences +"},Sub_Filter_Micro_Credential_Plus_Tooltip:{"en-CA":"This field indicates whether a micro-credential can be \u201cstacked\u201d or counted towards a larger post-secondary education credential.","fr-CA":"Ce champ indique si un micro-titre de comp\xe9tences peut \xeatre \u201cempil\xe9\u201d ou peut compter pour un certificate, dipl\xf4me, ou grade postsecondaire plus large."},Sub_Filter_Prerequisites:{"en-CA":"Prerequisites","fr-CA":"Pr\xe9alables"},Sub_Filter_Employer_Partner:{"en-CA":"Employer Partner","fr-CA":"Employeur partenaire"},Sub_Filter_IsContinuous_Enrollment:{"en-CA":"Continuous Enrollment","fr-CA":"Inscription continue"},Sub_Filter_Employer_Partner_Name:{"en-CA":"Employer Partner Name","fr-CA":"Nom du partenaire employeur"},Sub_Filter_Education_Pathways_Select_All:{"en-CA":"All Education Pathways","fr-CA":"All Education Pathways FR"},Sub_Filter_Micro_credential_Plus_Select_All:{"en-CA":"All Micro-credential+","fr-CA":"All Micro-credential+ FR"},Sub_Filter_Prerequisites_Select_All:{"en-CA":"All Prerequisites","fr-CA":"All Prerequisites  FR"},Sub_Filter_Employer_Partner_Select_All:{"en-CA":"All Employer Partner","fr-CA":"All Employer Partner  FR"},Sub_Filter_IsContinuous_Enrollment_Select_All:{"en-CA":"All Continuous Enrollment","fr-CA":"All Continuous Enrollment  FR"},Sub_Filter_Employer_Partner_Name_Select_All:{"en-CA":"All Employer Partner Name","fr-CA":"All Employer Partner Name FR"},MC_Plus_Yes:{"en-CA":"Yes","fr-CA":"Oui"},MC_Plus_NO:{"en-CA":"No","fr-CA":"Non"},Employer_Partner_Yes:{"en-CA":"Yes","fr-CA":"Oui"},Employer_Partner_NO:{"en-CA":"No","fr-CA":"Non"},IsContinuous_Enrollment_Yes:{"en-CA":"Can be started any time","fr-CA":"Peut \xeatre d\xe9marr\xe9 \xe0 tout moment"},IsContinuous_Enrollment_NO:{"en-CA":"No","fr-CA":"Non"}},PageTitle:{Title:{"en-CA":"eCampusOntario - Micro Credential Search","fr-CA":"eCampusOntario - Micro Credential Search"}},Placeholders:{SearcBar:{"en-CA":"Search for something...","fr-CA":"Chercher quelque chose..."},Open_Library_Search_Bar:{"en-CA":"Keyword, topic, author","fr-CA":"Ke
1yword, topic, author FR"}},SortOptions:{Relevance_Sort_Option_Disabled_Tooltip:{"en-CA":"There is no search term. You can not sort items by relevance.","fr-CA":"Aucun crit\xe8re de recherche \xe9tabli. Impossible de trier par pertinence."}},Microcredentials_Details:{Description:{"en-CA":"Description","fr-CA":"Description"},Details:{"en-CA":"Details","fr-CA":"D\xe9tails"},Ask_Institution:{"en-CA":"Ask Institution A Question","fr-CA":"Poser une question \xe0 l\u2019\xe9tablissement"},Visit_Institution:{"en-CA":"Visit Institution","fr-CA":"Visiter l\u2019\xe9tablissement"},MicroCredential_Description:{"en-CA":"Micro-Credential Description","fr-CA":"Description des micro-titres de comp\xe9tences"},MicroCredential_Details:{"en-CA":"Micro-Credential Details","fr-CA":"D\xe9tails des micro-titres de comp\xe9tences"},Start_Date:{"en-CA":"Start Date","fr-CA":"Date de d\xe9but"},Duration:{"en-CA":"Duration","fr-CA":"Dur\xe9e"},OSAP_Eligibility:{"en-CA":"OSAP Eligibility","fr-CA":"Admissibilit\xe9 au RAFEO"},Related_Search_Results:{"en-CA":"Related Search Results","fr-CA":"R\xe9sultats de recherche connexes"},Register_Now:{"en-CA":"Register Now","fr-CA":"S'inscrire maintenant"}},Microcredentials_Search:{Card_Option_Title:{"en-CA":"Card","fr-CA":"Carte"},List_Option_Title:{"en-CA":"List","fr-CA":"Liste"},Duration_Title:{"en-CA":"Hours","fr-CA":"Heures"},Eligible_Title:{"en-CA":"Eligible","fr-CA":"Admissible"},Ineligible_Title:{"en-CA":"Ineligible","fr-CA":"Non admissible"},Top_Heading_Underline:{"en-CA":"Fast, affordable, flexible","fr-CA":"Fast, affordable, flexible"},Top_Heading:{"en-CA":"training opportunities.","fr-CA":"training opportunities."},Top_Heading_FR:{"fr-CA":"Des possibilit\xe9s de formation rapides, abordables et flexibles."},Top_Heading_Subtitle_Span:{"en-CA":"Find a micro-credential course and unlock your potential with","fr-CA":"Find a micro-credential course and unlock your potential with"},Top_Heading_Subtitle:{"en-CA":"in-demand skills employers need. Your future starts with a search.","fr-CA":"in-demand skills employers need. Your future starts with a search."},Top_Heading_Subtitle_FR:{"fr-CA":"Trouvez un cours de micro-titre de comp\xe9tences et lib\xe9rez votre plein potentiel en acqu\xe9rant des comp\xe9tences recherch\xe9es par les employeurs. Votre avenir n\u2019est qu\u2019\xe0 une recherche de vous."},Landing_Browse_Sub_Title_Left:{"en-CA":"or browse all","fr-CA":"ou consultez les"},Landing_Browse_Sub_Title_Right:{"en-CA":"micro-credentials from institutions across Ontario.","fr-CA":"micro-titres de comp\xe9tences offerts par les \xe9tablissements de l\u2019Ontario."},Landing_Search_Title:{"en-CA":"Search","fr-CA":"Recherche"},Landing_Best_Match:{"en-CA":"Best Match","fr-CA":"Meilleure correspondance"},Landing_Date_Posted:{"en-CA":"Date Posted","fr-CA":"Date de publication"},Landing_Alphabetically:{"en-CA":"Alphabetically","fr-CA":"Par ordre alphab\xe9tique"},Landing_Placeholder:{"en-CA":"Topic, industry, institution...","fr-CA":"Sujet, industrie, \xe9tablissement..."},Landing_Top_Title:{"en-CA":"Get rapid training opportunities for the in-demand skills employers need.","fr-CA":"Obtenez des possibilit\xe9s de formation rapide pour les comp\xe9tences recherch\xe9es par les employeurs."},Landing_Video_Section_Subtitle:{"en-CA":"What are Micro-credentials","fr-CA":"Qu\u2019est-ce qu\u2019un micro-titre de comp\xe9tences?"},Landing_Video_Section_Title:{"en-CA":"Industry-focused learning opportunities for everyone.","fr-CA":"Une possibilit\xe9 d\u2019apprentissage ax\xe9e sur l\u2019industrie offerte \xe0 tous."},Landing_Video_Section_Paragraph:{"en-CA":"Whether you\u2019re looking to upskill and elevate your career, explore a new career path, or broaden your learning, the MicroLearn portal can help you find the right micro-credentials to get you there.","fr-CA":"Que vous cherchiez \xe0 perfectionner vos comp\xe9tences et \xe0 propulser votre carri\xe8re, \xe0 explorer un nouveau parcours professionnel ou \xe0 \xe9largir vos connaissances, le portail des micro-titres de comp\xe9tences peut vous aider \xe0 trouver les micro-titres de comp\xe9tences qui vous permettront d\u2019y parvenir."},Landing_Video_Section_Fast_Title:{"en-CA":"Fast","fr-CA":"Rapide"},Landing_Video_Section_Fast_Subtitle:{"en-CA":"All courses are short in duration","fr-CA":"Tou
1s les cours sont de courte dur\xe9e"},Landing_Video_Section_Affordable_Title:{"en-CA":"Affordable","fr-CA":"Abordable"},Landing_Video_Section_Affordable_Subtitle:{"en-CA":"Lower costs than degrees or diplomas","fr-CA":"Les co\xfbts sont inf\xe9rieurs \xe0 ceux d\u2019un programme menant \xe0 l\u2019obtention d\u2019un dipl\xf4me ou d\u2019un grade"},Landing_Video_Section_Flexible_Title:{"en-CA":"Flexible","fr-CA":"Flexible"},Landing_Video_Section_Flexible_Subtitle:{"en-CA":"Learn at your own pace","fr-CA":"Apprenez \xe0 votre propre rythme"},Landing_Video_Section_Watch_Video:{"en-CA":"Watch Video","fr-CA":"Visionnez La Vid\xe9o"},Landing_Benefits_Section_Subtitle:{"en-CA":"The Benefits","fr-CA":"Les avantages"},Landing_Benefits_Section_Title:{"en-CA":"Why should you choose micro-credentials?","fr-CA":"Pourquoi choisir les micro-titres de comp\xe9tences?"},Landing_Benefit_Title_One:{"en-CA":"Accessible education","fr-CA":"\xc9ducation accessible"},Landing_Benefit_Text_One:{"en-CA":"Micro-credentials are affordable and take less time to complete than degrees or diplomas. They may be completed online, on campus or on-the-job.","fr-CA":"Les micro-titres de comp\xe9tences sont abordables et prennent moins de temps \xe0 terminer que les programmes menant \xe0 l\u2019obtention d\u2019un dipl\xf4me ou d\u2019un grade. Ils peuvent \xeatre effectu\xe9s en ligne, sur le campus ou sur le lieu de travail."},Landing_Benefit_Title_Two:{"en-CA":"Digital Proof","fr-CA":"Preuve num\xe9rique"},Landing_Benefit_Text_Two:{"en-CA":"Micro-credentials are verifiable credentials from reputable organizations so you can prove what you know to current and future employers.","fr-CA":"Les micro-titres de comp\xe9tences sont des titres v\xe9rifiables d\xe9livr\xe9s par des organisations r\xe9put\xe9es qui vous permettent de prouver vos connaissances \xe0 vos employeurs actuels et futurs."},Landing_Benefit_Title_Three:{"en-CA":"Accelerate your career","fr
1-CA":"Acc\xe9l\xe9ration de votre carri\xe8re"},Landing_Benefit_Text_Three:{"en-CA":"Many micro-credential courses are created with input from business sectors to equip you with the knowledge to match employer needs.","fr-CA":"De nombreux cours de micro-titres de comp\xe9tences sont cr\xe9\xe9s avec la participation des secteurs d\u2019activit\xe9 afin de vous doter des connaissances n\xe9cessaires pour r\xe9pondre aux besoins des employeurs."},Landing_Testimonials_Section_Subtitle:{"en-CA":"Testimonials","fr-CA":"T\xe9moignages"},Landing_Testimonials_Section_Title:{"en-CA":"Hear from our community.","fr-CA":"\xc9coutez les t\xe9moignages de notre communaut\xe9."},Landing_Testimonial_Instructor:{"en-CA":"Instructor","fr-CA":"Instructeur"},Landing_Testimonial_Learner:{"en-CA":"Learner","fr-CA":"\xc9tudiant"},Landing_Testimonial_Founder:{"en-CA":"Founder and CEO","fr-CA":"fondateur et PDG"},Landing_Testimonial_Quote_1:{"en-CA":"Students learn the foundations of human-centered design in an engaging manner, leveraging videos, readings, software, and live conversations. As students learn key design research methods and ways of thinking, they move through a design challenge of their choice in 6 weeks. Students value the depth of learning and support they receive from the instructors and the class alike.","fr-CA":"Les \xe9tudiants apprennent les fondements de la conception centr\xe9e sur l\u2019humain d\u2019une mani\xe8re interactive, en s\u2019appuyant sur des vid\xe9os, des lectures, des logiciels et des conversations en direct. Au fur et \xe0 mesure que les \xe9tudiants apprennent les principales m\xe9thodes de recherche et modes de pens\xe9e en mati\xe8re de conception, ils rel\xe8vent un d\xe9fi de leur choix en lien avec la conception en six\xa0semaines. Les \xe9tudiants accordent une grande importance \xe0 la profondeur de l\u2019apprentissage et du soutien qu\u2019ils re\xe7oivent des instructeurs et de l\u2019ensemble de la classe."},Landing_Testimonial_Author_1:{"en-CA":"OCAD U Instructor","fr-CA":"Instructeur \xe0 l\u2019Universit\xe9 de l\u2019\xc9cole d\u2019art et de design de l\u2019Ontario"},Landing_Testimonial_Title_1:{"en-CA":"Empathy + Social Insight for Human Centred Design","fr-CA":"Empathie et regard social pour une conception centr\xe9e sur l\u2019humain"},Landing_Testimonial_Quote_2:{"en-CA":"I thoroughly enjoyed taking this micro-credential. I really appreciated how the online lecturers and assignments were flexible with my schedule as a working parent in the pandemic.","fr-CA":"J\u2019ai beaucoup aim\xe9 suivre ce micro-titre de comp\xe9tences. J\u2019ai vraiment appr\xe9ci\xe9 la souplesse dont ont fait preuve les charg\xe9s de cours en ligne entre autres avec les devoirs au vu de mon emploi du temps charg\xe9 de parent travaillant en temps de pand\xe9mie."},Landing_Testimonial_Author_2:{"en-CA":"OCAD U Student","fr-CA":"\xc9tudiant de l\u2019Universit\xe9 de l\u2019\xc9cole d\u2019art et de design de l\u2019Ontario"},Landing_Testimonial_Title_2:{"en-CA":"Empathy + Social Insight for Human Centered Design","fr-CA":"Empathie et regard social pour une conception centr\xe9e sur l\u2019humain"},Landing_Testimonial_Quote_3:{"en-CA":"This micro-credential is a life changing event. It has opened my eyes to so many available opportunities for change in the DEI space that employers let pass.","fr-CA":"Suivre ce micro-titre de comp\xe9tence a chang\xe9 ma vie. Cela m\u2019a ouvert les yeux sur de nombreuses possibilit\xe9s pr\xe9sentes de changement en mati\xe8re de diversit\xe9, d\u2019\xe9quit\xe9 et d\u2019inclusion que les employeurs laissent passer."},Landing_Testimonial_Author_3:{"en-CA":"OCAD U Student","fr-CA":"\xc9tudiant de l\u2019Universit\xe9 de l\u2019\xc9cole d\u2019art et de design de l\u2019Ontario"},Landing_Testimonial_Title_3:{"en-CA":"Hiring for Decolonization, Diversity, and Inclusion in the Creative Industries","fr-CA":"Embaucher pour la d\xe9colonisation, la diversit\xe9 et l\u2019inclusion dans les industries cr\xe9atives"},Landing_Testimonial_Quote_4:{"en-CA":"So many diverse industries are seeing the value in design thinking, our micro credentials in human centred design are great to rapidly train up their employees and bring design thinking into their day-to-day workflow.","fr-CA":"Il y a \xe9norm\xe9ment d\u2019industries diverses qui reconnaissent la valeur de la r\xe9flexion conceptuelle, et nos micro-titres de comp\xe9tences en conception centr\xe9e sur l\u2019humain sont parfaits pour former rapidement leurs employ\xe9s et int\xe9grer la r\xe9flexion conceptuelle dans leur travail quotidien."},Landing_Testimonial_Author_4:{"en-CA":"OCAD U Instructor","fr-CA":"Instructeur de l\u2019Universit\xe9 de l\u2019\xc9cole d\u2019art et de design de l\u2019Ontario"},Landing_Testimonial_Title_4:{"en-CA":"Ideation + Prototyping for Human Centred Design","fr-CA":"Id\xe9ation et prototypage pour une conception centr\xe9e sur l\u2019humain"},Landing_Testimonial_Quote_5:{"en-CA":"What we\u2019re seeing now in education reminds me of the innovation we saw in media 15 years ago: by unbundling lengthy degree programs and offering micro-credentials to our learners, they can really put together a very customized, bespoke education that is tailored to their unique needs.","fr-CA":"Ce que nous constatons aujourd\u2019hui dans le domaine de l\u2019\xe9ducation me rappelle l\u2019innovation que nous avons vue appara\xeetre dans les m\xe9dias il y a 15\xa0ans\xa0: en d\xe9composant les longs programmes menant \xe0 l\u2019obtention d\u2019un dipl\xf4me ou d\u2019un grade et en offrant des micro-titres de comp\xe9tences \xe0 nos apprenants, ceux-ci peuvent r\xe9ellement profiter d\u2019une \xe9ducation tr\xe8s personnalis\xe9e, con\xe7ue sur mesure et adapt\xe9e \xe0 leurs besoins uniques."},Landing_Testimonial_Author_5:{"en-CA":"OCAD U Instructor","fr-CA":"Instructeur de l\u2019Universit\xe9 de l\u2019\xc9cole d\u2019art et de design de l\u2019Ontario"},Landing_Testimonial_Title_5:{"en-CA":"Ideation + Prototyping for Human Centred Design","fr-CA":"Id\xe9ation et prototypage pour une conception centr\xe9e sur l\u2019humain"},Landing_Testimonial_Quote_6:{"en-CA":"Myant's pioneering product lines require candidate-specific skill sets that are often hard to find. By supporting a micro-credential from OCAD U we collaborate to build a stronger workforce locally, whereby graduates increase their employability by meeting the needs of specialist companies like ours.","fr-CA":"Les gammes de produits novateurs de Myant n\xe9cessitent des ensembles de comp\xe9tences propres au candidat qui sont souvent difficiles \xe0 trouver. En appuyant un micro-titre de comp\xe9tences de l\u2019Universit\xe9 de l\u2019\xc9cole d\u2019art et de design de l\u2019Ontario, nous collaborons \xe0 la cr\xe9ation d\u2019un effectif local plus fort, gr\xe2ce auquel les dipl\xf4m\xe9s augmentent leur employabilit\xe9 en r\xe9pondant aux besoins d\u2019entreprises sp\xe9cialis\xe9es comme la n\xf4tre."}
1,Landing_Testimonial_Author_6:{"en-CA":"Tony Chahine","fr-CA":"Tony\xa0Chahine"},Landing_Testimonial_Title_6:{"en-CA":"Founder and CEO, Myant","fr-CA":"fondateur et PDG de Myant"},Landing_Get_Started_Section_Subtitle:{"en-CA":"Get Started","fr-CA":"Commencer"},Landing_Get_Started_Section_Title:{"en-CA":"Your future starts today.","fr-CA":"Votre avenir commence aujourd\u2019hui."},Landing_Get_Started_Section_Title_Subtitle:{"en-CA":"What are you interested in learning?","fr-CA":"Que souhaitez-vous apprendre?"},Landing_Get_Started_Section_Topic_One:{"en-CA":"Health & Community Services","fr-CA":"Sant\xe9 et services communautaires"},Landing_Get_Started_Section_Topic_Two:{"en-CA":"Human Skills","fr-CA":"Comp\xe9tences humaines"},Landing_Get_Started_Section_Topic_Three:{"en-CA":"Manufacturing","fr-CA":"Fabrication"},Landing_Get_Started_Section_Topic_Four:{"en-CA":"Natural Resources","fr-CA":"Ressources naturelles"},Landing_Get_Started_Section_Topic_Five:{"en-CA":"Technology","fr-CA":"Technologie"},Landing_Get_Started_Section_Topic_Six:{"en-CA":"Browse All Courses","fr-CA":"Parcourir tous les cours"},Landing_FAQ_Section_Title:{"en-CA":"Frequently Asked Questions.","fr-CA":"FAQ sur le portail des micro-titres de comp\xe9tences"},Landing_FAQ_Question_Title_One:{"en-CA":"How do I use the MicroLearn portal?","fr-CA":"Comment dois-je utiliser le portail des micro-titres de comp\xe9tences?"},Landing_FAQ_Question_Answer_One:{"en-CA":"The MicroLearn portal is a directory of all OSAP-eligible micro-credentials offered by Ontario colleges, universities, and indigenous institutes. Use the search button and apply filters to find a micro-credential that fits your learning needs. Once you have found a micro-credential, use the ''Register Now'' button to enroll for the program through the host college, university, or indigenous institute directly.","fr-CA":"Le portail des micro-titres de comp\xe9tences est un r\xe9pertoire de tous les micro-titres de comp\xe9tences admissibles au RAFEO offertes par les coll\xe8ges, les universit\xe9s et les instituts autochtones de l\u2019Ontario. Utilisez le bouton de recherche et appliquez des filtres pour trouver une micro-titre de comp\xe9tences qui correspond \xe0 vos besoins d\u2019apprentissage. Une fois que vous avez trouv\xe9 un micro-titre de comp\xe9tences, utilisez le bouton \xab\xa0Register Now\xa0\xbb (Inscrivez-vous maintenant) pour vous inscrire au programme directement par l\u2019interm\xe9diaire du coll\xe8ge, de l\u2019universit\xe9 ou de l\u2019institut autochtone h\xf4te."},Landing_FAQ_Question_Title_Two:{"en-CA":"Are there any prerequisites?","fr-CA":"Y a-t-il des conditions pr\xe9alables?"},Landing_FAQ_Question_Answer_Two:{"en-CA":"Most micro-credentials are stand-alone programs and no previous education or prerequisites are required. Some micro-credentials are labelled as ''stackable'' \u2013 these follow a learning pathway and stack towards a larger credential.","fr-CA":"La plupart des micro-titres de comp\xe9tences sont des programmes autonomes qui ne requi\xe8rent aucune formation pr\xe9alable ni aucun pr\xe9requis. Certains micro-titres de comp\xe9tences sont \xab\xa0cumulables\xa0\xbb, c\u2019est-\xe0-dire qu\u2019ils s\u2019inscrivent dans un parcours d\u2019apprentissage et s\u2019accumulent en vue d\u2019obtenir un titre de comp\xe9tences plus important."},Landing_FAQ_Question_Title_Three:{"en-CA":"What is the duration of a micro-credential?","fr-CA":"Quelle est la dur\xe9e d\u2019un micro-titre de comp\xe9tences?"},Landing_FAQ_Question_Answer_Three:{"en-CA":"The duration of a micro-credential varies by program, but will typically be under 120 hours. Use the filter options to search by duration for a program that fits your lifestyle.","fr-CA":"TLa dur\xe9e d\u2019un micro-titre de comp\xe9tences varie en fonction du programme, mais sera g\xe9n\xe9ralement inf\xe9rieure \xe0 120\xa0heures. Utilisez les options de filtres pour effectuer une recherche par dur\xe9e afin de trouver un programme qui correspond \xe0 votre mode de vie."},Landing_FAQ_Question_Title_Four:{"en-CA":"Who can take a micro-credential?","fr-CA":"Qui peut suivre un micro-titre de comp\xe9tences?"},Landing_FAQ_Question_Answer_Four:{"en-CA":"Most micro-credentials are open to anyone \u2013 whether you are a current post-secondary student, have never taken a college or university class, or are a mid-career professional, micro-credentials can help you find your next opportunity.","fr-CA":"La plupart des micro-titres de comp\xe9tences sont ouverts \xe0 tous; que vous soyez un \xe9tudiant actuel du secteur de l\u2019enseignement postsecondaire, que vous n\u2019ayez jamais suivi de cours dans un coll\xe8ge ou une universit\xe9, ou que vous soyez un professionnel en milieu de carri\xe8re, les micro-titres de comp\xe9tences peuvent vous aider \xe0 saisir votre prochaine occasion de formation."},Landing_FAQ_Question_Title_Five:{"en-CA":"What type of credential will I receive?","fr-CA":"Quel type de titre de comp\xe9tences vais-je recevoir?"},Landing_FAQ_Question_Answer_Five:{"en-CA":"Upon completing the program, you will receive a micro-credential. A micro-credential is a digital and verifiable credential that you can share on your resume, LinkedIn profile, and more.","fr-CA":"\xc0 l\u2019issue du programme, vous recevrez un micro-titre de comp\xe9tences. Un micro-titre de comp\xe9tences est un titre de comp\xe9tences num\xe9rique et v\xe9rifiable que vous pouvez indiquer sur votre C.V., votre profil LinkedIn, etc."},Landing_FAQ_Question_Title_Six:{"en-CA":"What is eCampusOntario?","fr-CA":"Qu\u2019est-ce qu\u2019eCampusOntario?"},Landing_FAQ_Question_Answer_Six:{"en-CA":"eCampusOntario is funded by the Government of Ontario and leads a consortium of the province's publicly-funded colleges, universities and indigenous institutes to develop and test online learning tools to advance the use of education technology and digital learning environments.","fr-CA":"eCampusOntario est financ\xe9 par le gouvernement de l\u2019Ontario et dirige un consortium de coll\xe8ges, d\u2019universit\xe9s et d\u2019instituts autochtones afin de d\xe9velopper et de tester des outils d\u2019apprentissage en ligne pour faire progresser l\u2019utilisation des technologies de l\u2019\xe9ducation et des environnements d\u2019apprentissage num\xe9riques."},Landing_Email_Question_Text:{"en-CA":"Have more questions?","fr
1-CA":"Vous avez d\u2019autres questions?"},Landing_Email_Text:{"en-CA":"Email","fr-CA":"Envoyez un courriel \xe0 l\u2019adresse"},Landing_CTA_Banner_Text:{"en-CA":"Ready to get started?","fr-CA":"Pr\xeat \xe0 commencer?"},Landing_CTA_Banner_Text_Bold:{"en-CA":"Find a micro-credential course today.","fr-CA":"Trouvez un cours de micro-titre de comp\xe9tences d\xe8s aujourd\u2019hui. Parcourir les cours."},Landing_Browse_Courses_Text:{"en-CA":"Browse Courses","fr-CA":"Parcourir Les Cours"},Landing_Footer:{"en-CA":"eCampusOntario is a not-for-profit centre of excellence and global leader in the evolution of teaching and learning through technology.","fr-CA":"eCampusOntario est un centre d\u2019excellence sans but lucratif et un chef de file mondial en mati\xe8re d\u2019innovation en enseignement et en apprentissage par la technologie."},Landing_Footer_Copyright:{"en-CA":"Copyright @2021 OOLC/COAEL. All rights reserved.","fr-CA":"Copyright @2021 OOLC/COAEL. Tous droits r\xe9serv\xe9s."},Landing_Footer_Privacy:{"en-CA":"Privacy Policy","fr-CA":"Confidentialit\xe9"},Start_Search_Now_Button:{"en-CA":"Start your search NOW!","fr-CA":"Commencez votre recherche D\xc8S MAINTENANT!"},Advanced_Search:{"en-CA":"Browse","fr-CA":"Parcourir"},Introduction:{"en-CA":"Provide feedback","fr-CA":"Fournir une r\xe9ponse"}},SavedSearch:{Save_Searches_Float_Button_Title:{"en-CA":"Saved Searches","fr-CA":"Recherches enregistr\xe9es"},Save_Search_Result_Title:{"en-CA":"Save Current Search Filter","fr-CA":"Enregistrer les r\xe9sultats de recherche actuels"},Save_Search_Result_Click_Button_Tips:{"en-CA":"This search will be saved in your Saved Searches panel.","fr-CA":"Cliquer sur le bouton ci-dessous pour enregistrer les r\xe9sultats de recherche actuels\xa0:"},Save_Search_Result_Save_Button_Title:{"en-CA":"Save Current Results","fr-CA":"Sauvegarder les r\xe9sultats actuels"},Save_Search_Save_Success_Message:{"en-CA":"Search was successfully saved!","fr-CA":"La recherche a \xe9t\xe9 sauvegard\xe9e avec succ\xe8s!"},Save_Search_already_exist:{"en-CA":"save name already exist.","fr-CA":"Le nom existe d\xe9j\xe0."},Save_Search_Result_Search_Name_Textbox_Title:{"en-CA":"Name of search","fr-CA":"Saisissez un nom pour cette recherche\xa0:"},Save_Search_Result_Search_Name_Textbox_Required_Error_Message:{"en-CA":"Please provide a name for the search before saving.","fr-CA":"Veuillez donner un nom \xe0 la recherche avant de l\u2019enregistrer."},Save_Search_Result_Cancel_Button_Title:{"en-CA":"Cancel","fr-CA":"Annuler"},Save_Search_Result_Submit_Button_Title:{"en-CA":"Save Search","fr-CA":"Soumettre"},Save_Search_Result_Submit_Delete_Title:{"en-CA":"Delete","fr-CA":"Supprimer"},Save_Search_Result_Table_Title:{"en-CA":"Previously Saved Search Results","fr-CA":"R\xe9sultats de recherche d\xe9j\xe0 enregistr\xe9s"}}},n})();class vi{static getString(t,e="en-CA"){var i=vi.getKey(nne.LocalizationGlobal,t);return i?vi.getValue(i,void 0!==e?e:"en-CA"):"STRING NOT FOUND"}static getKey(t,e){if(t){var i=e.split("-"),r=t[i[0]];if(void 0!==r)return r[i[1]]}}static getValue(t,e){return t[e]}}var ta=(()=>(function(n){n[n.OnlySiteResult=0]="OnlySiteResult",n[n.Keyword=1]="Keyword",n[n.MainFilter=2]="MainFilter",n[n.SubFilter=3]="SubFilter"}(ta||(ta={})),ta))(),dB=U(132),hB=U(231),fB=U(542);let pB=(()=>{class n{constructor(){}getItemTypeResourceKey(e){let i;switch(e){case ne.Course:i="ItemTypeStrings-Course";break;case ne.Institution:i="ItemTypeStrings-Institution";break;case ne.LearnerResource:case ne.InstructorResource:i="ItemTypeStrings-Resource";break;case ne.Page:i="ItemTypeStrings-Page";break;case ne.Post:i="ItemTypeStrings-Post";break;case ne.Program:i="ItemTypeStrings-Program";break;case ne.Textbook:i="ItemTypeStrings-Textbook";break;case ne.H5P:i="ItemTypeStrings-H5P";break;case ne.MicroCredentials:i="ItemTypeStrings-MicroCredential";break;default:i=""}return i}getItemTypeBreadCrumResourceKey(e){let i;switch(e){case ne.Course:i="FilterStrings-Category_Filter_Item_Course_Title";break;case ne.Program:i="FilterStrings-Category_Filter_Item_Program_Title";break;case ne.MicroCredentials:i="FilterStrings-Category_Filter_Item_Microcredential_Title";break;default:i=""}return i}getItemBadgeClass(e){let i;switch(e){case ne.Course:i="badge-course";break;case ne.Institution:i="badge-institution";break;case ne.LearnerResource:case ne.InstructorResource:i="badge-resource";break;case ne.Page:i="badge-page";break;case ne.Post:i="badge-post";break;case ne.Program:i="badge-program";break;case ne.Textbook:i="badge-textbook";break;case ne.H5P:i="badge-h5p";break;case ne.MicroCredentials:i="badge-micro-credential";break;default:i=""}return i}getIndexItemAttributes(e,i){if(e){if(e.type!=ne.Course&&e.type!=ne.Program||!e.attributes)return e.type==ne.MicroCredentials&&e.isOSAP?[{title_en:"OSAP",title_fr:"OSAP_FR",imageUrl:"/images/OSAP.png",id:1}]:[];var r=e.attributes,o=this.getAttributeFilters(e,i);if(r&&r.length&&o&&o.length)for(var s=0;s<r.length;s++){let a=o.find(c=>c.id==r[s].id.toString());a&&(r[s].imageUrl=`/imagedata/${a.image}`)}return r}}getAttributeFilters(e,i){let r;if(e.type==ne.Course)r=this.getCategoryFilterItem(Kt.Course,i);else{if(e.type!=ne.Program)return null;r=this.getCategoryFilterItem(Kt.Program,i)}if(!r||!r.subFilters)return null;var o=r.subFilters.find(s=>"attributes"===s.filterItemKeyName);return o&&o.subFilterItems&&o.subFilterItems.length?o.subFilterItems:null}getCategoryFilterItem(e,i){let r=i.categoryFilterItems.findIndex(o=>o.id==e);return r>=0?i.categoryFilterItems[r]:null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=se({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mB=(()=>{class n{constructor(e){this.elRef=e}ngAfterViewChecked(){this.elRef.nativeElement.scrollIntoView()}}return n.\u0275fac=function(e){return new(e||n)(b(He))},n.\u0275dir=Y({type:n,selectors:[["","scrollTo",""]]}),n})(),gB=(()=>{class n{constructor(e){this.isEnglish=!0,this.isEnglish="en"===e.valueOf()}transform(e){return vi.getString(e,this.isEnglish?"en-CA":"fr-CA")}}return n.\u0275fac=function(e){return new(e||n)(b(yr,16))}
1,n.\u0275pipe=Wn({name:"resourceLocaleString",type:n,pure:!0}),n})(),_B=(()=>{class n{constructor(e){this.isEnglish=!0,this.isEnglish="en"===e.valueOf()}transform(e,i){var r=this.isEnglish?e:i;return r||(r=this.isEnglish?i:e),r||""}}return n.\u0275fac=function(e){return new(e||n)(b(yr,16))},n.\u0275pipe=Wn({name:"localeString",type:n,pure:!0}),n})(),yB=(()=>{class n{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}return n.\u0275fac=function(e){return new(e||n)(b(sf,16))},n.\u0275pipe=Wn({name:"keepHtml",type:n,pure:!1}),n})(),vB=(()=>{class n{transform(e,i,r){return r=r.length>1?r:"...",e.length>(i=i>0?i:100)?e.substring(0,i)+r:e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Wn({name:"truncate",type:n,pure:!0}),n})(),bB=(()=>{class n{constructor(e){this.isEnglish=!0,this.isEnglish="en"===e.valueOf()}transform(e,i,r=!0){var o=this.isEnglish?e:i;return function(n){if(null==n)return!1;var t=String(n).trim();return""!==t&&"NULL"!==t.toUpperCase()}(o)?o:r?vi.getString("DescriptionFallback-Message",this.isEnglish?"en-CA":"fr-CA"):""}}return n.\u0275fac=function(e){return new(e||n)(b(yr,16))},n.\u0275pipe=Wn({name:"descriptionFallback",type:n,pure:!0}),n})();const rne=["sidenav"],one=["sidenavContent"],sne=["filterContainer"],ane=["sortOptionDropdown"],lne=["subfilterviewmenu"];function cne(n,t){1&n&&(D(0,"div",11),we(1,"mat-spinner"),I())}function une(n,t){1&n&&(D(0,"span",30),pe(1,"resourceLocaleString"),le(2,"info"),I()),2&n&&O("matTooltip",Te(1,1,"FilterStrings-Sub_Filter_Micro_Credential_Plus_Tooltip"))}function dne(n,t){if(1&n){const e=qt();D(0,"button",35),he("click",function(){return Ie(e),P(4).clearSearch()}),D(1,"mat-icon"),le(2,"clear"),I(),I()}}function hne(n,t){if(1&n){const e=qt();D(0,"div",31),D(1,"mat-form-field",32),D(2,"mat-label"),le(3),pe(4,"resourceLocaleString"),I(),D(5,"input",33),he("ngModelChange",function(r){return Ie(e),P(3).searchQuery=r})("ngModelChange",function(){return Ie(e),P(3).filterItems()}),I(),W(6,dne,3,0,"button",34),I(),I()}if(2&n){const e=P(3);T(3),st(Te(4,3,"OpenLibraryPage-SearchFiltersTitle")),T(2),O("ngModel",e.searchQuery),T(1),O("ngIf",e.searchQuery)}}function fne(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"localeString"),I()),2&n){const e=P(2).$implicit;T(1),st(_r(2,1,e.title_EN,e.title_FR))}}function pne(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"resourceLocaleString"),I()),2&n){const e=P(2).$implicit;T(1),st(Te(2,1,e.title_EN))}}function mne(n,t){if(1&n&&(D(0,"div",44),le(1),pe(2,"number"),I()),2&n){const e=P(2).$implicit,i=P(2).$implicit,r=P(2);T(1),Dn(" ",Te(2,1,r.aggregates[i.filterItemKeyName][e.id]?r.aggregates[i.filterItemKeyName][e.id]:0)," ")}}function gne(n,t){if(1&n&&(D(0,"mat-list-option",40),W(1,fne,3,4,"span",41),W(2,pne,3,3,"span",41),W(3,mne,3,3,"div",42),I()),2&n){const e=P().$implicit,i=P(2).$implicit,r=P(2);O("value",e.id)("checkboxPosition",r.before),T(1),O("ngIf",!e.requireLocalization),T(1),O("ngIf",e.requireLocalization),T(1),O("ngIf",r.aggregates&&r.aggregates[i.filterItemKeyName])}}function _ne(n,t){if(1&n&&(D(0,"div"),W(1,gne,4,5,"mat-list-option",39),I()),2&n){const e=t.$implicit,i=P(2).$implicit,r=P(2);T(1),O("ngIf",r.isShowFilterItem(i,e))}}function yne(n,t){if(1&n){const e=qt();D(0,"mat-selection-list",36,37),he("ngModelChange",function(r){return Ie(e),P().$implicit.selectedSubFilterItems=r})("ngModelChange",function(r){Ie(e);const o=Vn(1),s=P().$implicit;return P(2).onNgModelChange(o,s,r)})("selectionChange",function(r){Ie(e);const o=P().$implicit;return P(2).subFilterItemSelectionChange(o,r)}),W(2,_ne,2,1,"div",38),I()}if(2&n){const e=P().$implicit,i=P(2);O("ngModel",e.selectedSubFilterItems),T(2),O("ngForOf",i.filteredSubFilterItems)}}function vne(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"localeString"),I()),2&n){const e=P(2).$implicit;T(1),st(_r(2,1,e.title_EN,e.title_FR))}}function bne(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"resourceLocaleString"),I()),2&n){const e=P(2).$implicit;T(1),st(Te(2,1,e.title_EN))}}function Cne(n,t){if(1&n&&(D(0,"div",44),le(1),pe(2,"number"),I()),2&n){const e=P(2).$implicit,i=P(2).$implicit,r=P(2);T(1),st(Te(2,1,r.aggregates[i.filterItemKeyName][e.id]?r.aggregates[i.filterItemKeyName][e.id]:0))}}function wne(n,t){if(1&n&&(D(0,"div",44),le(1),pe(2,"number"),I()),2&n){const e=P(6);T(1),st(Te(2,1,e.aggregates.isContinuousEnrollment[1]?e.aggregates.isContinuousEnrollment[1]:0))}}function Sne(n,t){if(1&n&&(D(0,"mat-list-option",40),W(1,vne,3,4,"span",41),W(2,bne,3,3,"span",41),W(3,Cne,3,3,"div",42),W(4,wne,3,3,"div",42),I()),2&n){const e=P().$implicit,i=P(2).$implicit,r=P(2);O("value",e.id)("checkboxPosition",r.before),T(1),O("ngIf",!e.requireLocalization),T(1),O("ngIf",e.requireLocalization),T(1),O("ngIf",r.aggregates&&r.aggregates[i.filterItemKeyName]&&r.checkContinousEnrollment(e,i)),T(1),O("ngIf",r.aggregates&&"microcredentialStartDate"==i.filterItemKeyName&&1==e.id)}}function Ene(n,t){if(1&n&&(D(0,"div"),W(1,Sne,5,6,"mat-list-option",39),I()),2&n){const e=t.$implicit,i=P(2).$implicit,r=P(2);T(1),O("ngIf",r.isShowFilterItem(i,e))}}function Dne(n,t){if(1&n){const e=qt();D(0,"mat-selection-list",36,37),he("ngModelChange",function(r){return Ie(e),P().$implicit.selectedSubFilterItems=r})("ngModelChange",function(r){Ie(e);const o=Vn(1),s=P().$implicit;return P(2).onNgModelChange(o,s,r)})("selectionChange",function(r){Ie(e);const o=P().$implicit;return P(2).subFilterItemSelectionChange(o,r)}),W(2,Ene,2,1,"div",38),pe(3,"async"),I()}if(2&n){const e=P().$implicit;O("ngModel",e.selectedSubFilterItems),T(2),O("ngForOf",Te(3,2,e.filteredSubFilterItems$))}}function Ane(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"localeString"),I()),2&n){const e=P().$implicit;
1T(1),st(_r(2,1,e.title_EN,e.title_FR))}}function Ine(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"resourceLocaleString"),I()),2&n){const e=P().$implicit;T(1),st(Te(2,1,e.title_EN))}}function Mne(n,t){if(1&n&&(D(0,"div",44),le(1),pe(2,"number"),I()),2&n){const e=P().$implicit,i=P(2).$implicit,r=P(2);T(1),st(Te(2,1,r.aggregates[i.filterItemKeyName][e.id]?r.aggregates[i.filterItemKeyName][e.id]:0))}}function Tne(n,t){1&n&&(D(0,"mat-icon",10),le(1,"keyboard_arrow_up"),I())}function xne(n,t){1&n&&(D(0,"mat-icon",10),le(1,"keyboard_arrow_down"),I())}function Rne(n,t){if(1&n){const e=qt();D(0,"div",53),D(1,"div",54),he("click",function(){Ie(e),P();const r=Vn(9);return P(4).toggleSubjectPanel(r)}),W(2,Tne,2,0,"mat-icon",55),W(3,xne,2,0,"mat-icon",55),I(),I()}if(2&n){P();const e=Vn(9);T(2),O("ngIf",e.expanded),T(1),O("ngIf",!e.expanded)}}function kne(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"localeString"),I()),2&n){const e=P().$implicit;T(1),st(_r(2,1,e.title_EN,e.title_FR))}}function One(n,t){if(1&n&&(D(0,"span",43),le(1),pe(2,"resourceLocaleString"),I()),2&n){const e=P().$implicit;T(1),st(Te(2,1,e.title_EN))}}function Pne(n,t){if(1&n&&(D(0,"div",44),le(1),pe(2,"number"),I()),2&n){const e=P().$implicit,i=P(3).$implicit,r=P(2);T(1),st(Te(2,1,r.aggregates[i.filterItemKeyName][e.id]?r.aggregates[i.filterItemKeyName][e.id]:0))}}function Fne(n,t){if(1&n){const e=qt();D(0,"div",56),D(1,"mat-checkbox",57),he("change",function(r){const s=Ie(e).$implicit,a=P(3).$implicit;return P(2).checkSubject(r,a,s)}),W(2,kne,3,4,"span",41),W(3,One,3,3,"span",41),I(),W(4,Pne,3,3,"div",42),I()}if(2&n){const e=t.$implicit,i=P(3).$implicit,r=P(2);T(1),O("id",e.id)("checked",r.shoudBeChecked(i,e)),T(1),O("ngIf",!e.requireLocalization),T(1),O("ngIf",e.requireLocalization),T(1),O("ngIf",r.aggregates&&r.aggregates[i.filterItemKeyName])}}function Nne(n,t){if(1&n){const e=qt();D(0,"div"),D(1,"div",46),D(2,"mat-checkbox",47),he("change",function(r){const s=Ie(e).$implicit,a=P(2).$implicit;return P(2).checkSubject(r,a,s)}),W(3,Ane,3,4,"span",41),W(4,Ine,3,3,"span",41),I(),W(5,Mne,3,3,"div",42),W(6,Rne,4,2,"div",48),I(),D(7,"mat-accordion",49),D(8,"mat-expansion-panel",50,51),W(10,Fne,5,5,"div",52),I(),I(),I()}if(2&n){const e=t.$implicit,i=P(2).$implicit,r=P(2);T(2),O("id",e.id)("checked",r.shoudBeChecked(i,e)),T(1),O("ngIf",!e.requireLocalization),T(1),O("ngIf",e.requireLocalization),T(1),O("ngIf",r.aggregates&&r.aggregates[i.filterItemKeyName]),T(1),O("ngIf",e.childenFilterItems),T(2),O("expanded",!1),T(2),O("ngForOf",e.childenFilterItems)}}function Lne(n,t){if(1&n&&(D(0,"div",45),W(1,Nne,11,8,"div",38),I()),2&n){const e=P().$implicit;T(1),O("ngForOf",e.subFilterItems)}}function Vne(n,t){if(1&n){const e=qt();hn(),ft(),D(0,"mat-accordion",23),D(1,"mat-expansion-panel",24),he("opened",function(){const o=Ie(e).$implicit;return P(2).subFilterPanelOpened(o)})("closed",function(){const o=Ie(e).$implicit;return P(2).subFilterPanelClosed(o)}),D(2,"mat-expansion-panel-header"),D(3,"mat-panel-title",25),le(4),pe(5,"resourceLocaleString"),W(6,une,3,3,"span",26),I(),I(),W(7,hne,7,5,"div",27),W(8,yne,3,2,"mat-selection-list",28),W(9,Dne,4,4,"mat-selection-list",28),W(10,Lne,2,1,"div",29),I(),I()}if(2&n){const e=t.$implicit;T(1),O("expanded",e.IsExpanded),T(3),Dn(" ",Te(5,7,e.titleResourceKey)," "),T(2),O("ngIf",37==e.type),T(1),O("ngIf",40==e.type),T(1),O("ngIf",40==e.type),T(1),O("ngIf",6!=e.type&&40!=e.type),T(1),O("ngIf",6==e.type)}}function Bne(n,t){if(1&n){const e=qt();D(0,"div",12),D(1,"div",13),D(2,"h3"),le(3),pe(4,"resourceLocaleString"),I(),D(5,"button",14),he("click",function(){Ie(e);const r=P();return Vn(3).toggle(),r.isSidenavContentFilter=!0,r.clearEmbedOption(),r.toggleHeader()}),hn(),D(6,"svg",15),we(7,"path",16),I(),I(),I(),ft(),D(8,"div",17),D(9,"button",18),he("click",function(){return Ie(e),P().resetFilters()}),D(10,"span",19),le(11),pe(12,"resourceLocaleString"),I(),hn(),D(13,"svg",20),we(14,"path",21),I(),I(),I(),W(15,Vne,11,9,"mat-accordion",22),I()}if(2&n){const e=P();T(3),st(Te(4,3,e.currentcategoryFilterItem.filterTitleResourceKey)),T(8),st(Te(12,5,"OpenLibraryPage-ClearFiltersTitle")),T(4),O("ngForOf",e.currentcategoryFilterItem.subFilters)}}function Hne(n,t){if(1&n){const e=qt();D(0,"div",12),D(1,"div",13),D(2,"h3"),le(3),pe(4,"resourceLocaleStr
1ing"),I(),D(5,"button",58),he("click",function(){Ie(e);const r=P();return Vn(3).toggle(),r.isSidenavContentFilter=!0,r.clearEmbedOption(),r.toggleHeader()}),hn(),D(6,"svg",15),we(7,"path",16),I(),I(),I(),ft(),D(8,"div",59),D(9,"mat-radio-group",60),he("ngModelChange",function(r){return Ie(e),P().embedOptionValue=r})("change",function(r){return Ie(e),P().embedOptionChange(r)}),D(10,"mat-radio-button",61),le(11),pe(12,"resourceLocaleString"),I(),D(13,"p"),le(14),pe(15,"resourceLocaleString"),I(),D(16,"mat-radio-button",62),le(17),pe(18,"resourceLocaleString"),I(),D(19,"p"),le(20),pe(21,"resourceLocaleString"),I(),I(),I(),D(22,"p",63),le(23,"Click "),D(24,"a",64),le(25,"here"),I(),le(26," for help with embedding widgets from the OpenLibrary."),I(),D(27,"button",65),he("click",function(){Ie(e);const r=Vn(31);return P().copyToClipboard(r)}),le(28),pe(29,"resourceLocaleString"),I(),D(30,"textarea",66,67),he("ngModelChange",function(r){return Ie(e),P().embedHtml=r}),I(),I()}if(2&n){const e=P();T(3),Dn(" ",Te(4,8,"EmbedOption-EmbedOptionTitle"),":"),T(6),O("ngModel",e.embedOptionValue),T(2),Dn(" ",Te(12,10,"EmbedOption-searchResultOptionTitle")," "),T(3),st(Te(15,12,"EmbedOption-searchResultOptionExplain")),T(3),Dn(" ",Te(18,14,"EmbedOption-searchBarOptionTitle")," "),T(3),st(Te(21,16,"EmbedOption-searchBarOptionExplain")),T(8),Dn(" ",Te(29,18,"EmbedOption-copyToClipboardButtonTitle")," "),T(2),O("ngModel",e.embedHtml)}}const Ow=function(n){return{"category-list-item-active":n}};function Une(n,t){if(1&n){const e=qt();D(0,"button",90),he("click",function(){Ie(e);const r=P(2);return r.setSearchSort(r.searchSort.Relevant)}),le(1),pe(2,"resourceLocaleString"),I()}if(2&n){const e=P(2);O("ngClass",Oo(4,Ow,e.currentSearchSort()==e.searchSort.Relevant)),T(1),st(Te(2,2,"OpenLibraryPage-SortOptionRelevanceTitle"))}}function jne(n,t){1&n&&(D(0,"span",91),D(1,"button",92),le(2),pe(3,"resourceLocaleString"),I(),I()),2&n&&(O("matTooltip",P(2).getDisabledRelevanceSortOptionTooltip()),T(1),O("disabled",!0),T(1),st(Te(3,3,"OpenLibraryPage-SortOptionRelevanceTitle")))}function zne(n,t){if(1&n&&(D(0,"div",93),le(1,"Showing results for: "),D(2,"strong"),le(3),I(),I()),2&n){const e=P(2);T(3),st(e.indexItemQuery.actualKeyword)}}function $ne(n,t){if(1&n){const e=qt();D(0,"div"),D(1,"div",68),we(2,"item-search",69),D(3,"button",70),he("click",function(){Ie(e);const r=P(),o=Vn(3);return r.isSidenavContentFilter=!0,o.toggle(),r.toggleHeader()}),D(4,"div",71),hn(),D(5,"svg",72),we(6,"path",73),we(7,"path",74),I(),I(),le(8),pe(9,"resourceLocaleString"),I(),ft(),D(10,"button",75),he("click",function(){return Ie(e),P().resetAll()}),le(11),pe(12,"resourceLocaleString"),I(),I(),D(13,"div",76,77),D(15,"button",78),mr(16),le(17),pe(18,"resourceLocaleString"),gr(),hn(),D(19,"svg",79),we(20,"path",73),we(21,"path",80),I(),I(),ft(),D(22,"mat-menu",81,82),W(24,Une,3,6,"button",83),W(25,jne,4,5,"span",84),D(26,"button",85),he("click",function(){Ie(e);const r=P();return r.setSearchSort(r.searchSort.Newest)}),le(27),pe(28,"resourceLocaleString"),I(),D(29,"button",86),he("click",function(){Ie(e);const r=P();return r.setSearchSort(r.searchSort.TitleAtoZ)}),le(30),pe(31,"resourceLocaleString"),I(),D(32,"button",87),he("click",function(){Ie(e);const r=P();return r.setSearchSort(r.searchSort.TitleZtoA)}),le(33),pe(34,"resourceLocaleString"),I(),I(),I(),D(35,"div",88),D(36,"strong"),le(37),pe(38,"number"),mr(39),le(40),pe(41,"resourceLocaleString"),gr(),I(),I(),W(42,zne,4,1,"div",89),I()}if(2&n){const e=Vn(23),i=P();T(2),O("keywordsChangeSubject",i.keywordsChangeSubject)("removeKeywordSubject",i.removeKeywordSubject)("placeholder",i.placeholder)("indexItemQuery",i.indexItemQuery),T(6),Dn(" ",Te(9,19,"OpenLibraryPage-FilterButtionTitle")," "),T(3),Dn(" ",Te(12,21,"OpenLibraryPage-ResetButtonTitle")," "),T(4),O("matMenuTriggerFor",e),T(2),st(Te(18,23,i.GetSearchSortResourceString())),T(7),O("ngIf",i.indexItemQuery.isQueryAppplied()),T(1),O("ngIf",!i.indexItemQuery.isQueryAppplied()),T(1),O("ngClass",Oo(35,Ow,i.currentSearchSort()==i.searchSort.Newest)),T(1),st(Te(28,25,"OpenLibraryPage-SortOptionNewestTitle")),T(2),O("ngClass",Oo(37,Ow,i.currentSearchSort()==i.searchSort.TitleAtoZ)),T(1),st
1(Te(31,27,"OpenLibraryPage-SortOptionTitleAtoZTitle")),T(2),O("ngClass",Oo(39,Ow,i.currentSearchSort()==i.searchSort.TitleZtoA)),T(1),st(Te(34,29,"OpenLibraryPage-SortOptionTitleZtoATitle")),T(4),Dn("",Te(38,31,i.getTotalCount())," "),T(3),st(Te(41,33,"OpenLibraryPage-ResultsFoundTitle")),T(2),O("ngIf",i.indexItemQuery.actualKeyword)}}function Gne(n,t){1&n&&we(0,"div",105)}function qne(n,t){if(1&n){const e=qt();D(0,"div",106),he("click",function(r){Ie(e);const o=P().$implicit;return P(2).goToDetail(r,o)}),we(1,"img",107),I()}if(2&n){const e=P().$implicit;let i;T(1),Bh("src",null!==(i=null==e.institution?null:e.institution.imageUrl)&&void 0!==i?i:"",ks)}}function Wne(n,t){1&n&&(D(0,"div",112),hn(),D(1,"svg",113),we(2,"path",114),we(3,"path",115),we(4,"path",116),I(),I())}function Kne(n,t){if(1&n&&(D(0,"div",117),we(1,"img",118),pe(2,"localeString"),I()),2&n){const e=P().$implicit;T(1),Bh("alt",_r(2,2,e.title_EN,e.title_FR)),O("src",e.image,ks)}}function Qne(n,t){if(1&n&&(mr(0),W(1,Wne,5,0,"div",110),W(2,Kne,3,5,"div",111),le(3),pe(4,"localeString"),gr()),2&n){const e=t.$implicit;T(1),O("ngIf",!e.image),T(1),O("ngIf",e.image),T(1),Dn(" ",_r(4,3,e.title_EN,e.title_FR)," ")}}const Yne=function(n){return[n]};function Xne(n,t){if(1&n&&(mr(0),D(1,"div",108),D(2,"div",109),W(3,Qne,5,6,"ng-container",38),I(),I(),gr()),2&n){const e=t.$implicit,i=P(4);T(3),O("ngForOf",Oo(1,Yne,i.financialAid(e)))}}function Zne(n,t){if(1&n&&(mr(0),W(1,Xne,4,3,"ng-container",38),gr()),2&n){const e=P().$implicit;T(1),O("ngForOf",e.financialAidIds)}}function Jne(n,t){1&n&&(mr(0),D(1,"div",119),D(2,"div",109),hn(),D(3,"svg",120),we(4,"path",121),we(5,"path",122),I(),le(6," Hot "),I(),I(),gr())}function eie(n,t){if(1&n){const e=qt();D(0,"div",96),he("click",function(r){const s=Ie(e).$implicit;return P(2).goToDetail(r,s)}),W(1,Gne,1,0,"div",97),D(2,"div",98),W(3,qne,2,1,"div",99),D(4,"div",100),D(5,"h2"),we(6,"a",101),pe(7,"keepHtml"),pe(8,"localeString"),I(),D(9,"div",102),we(10,"div",103),pe(11,"keepHtml"),pe(12,"truncate"),pe(13,"descriptionFallback"),D(14,"div",104),W(15,Zne,2,1,"ng-container",7),W(16,Jne,7,0,"ng-container",7),I(),I(),I(),I(),I()}if(2&n){const e=t.$implicit,i=P(2);O("ngClass",i.itemTypeService.getItemBadgeClass(e.type)),T(1),O("ngIf",i.currentIndexItem&&i.currentIndexItem.itemIdentifier==e.itemIdentifier),T(2),O("ngIf",null==e.institution?null:e.institution.imageUrl),T(3),O("href",i.getItemDetailurl(e),ks)("innerHTML",Te(7,8,_r(8,10,e.title_EN,e.title_FR)),Ea),T(4),O("innerHTML",Te(11,13,eD(12,15,_r(13,19,e.abstract_EN,e.abstract_FR),300,"...")),Ea),T(5),O("ngIf",e.financialAidIds&&e.financialAidIds.length),T(1),O("ngIf",e.isHot)}}function tie(n,t){if(1&n){const e=qt();D(0,"button",126),he("click",function(){return Ie(e),P(3).loadMore()}),le(1),pe(2,"resourceLocaleString"),I()}2&n&&(T(1),st(Te(2,1,"OpenLibraryPage-LoadMoreButtonTitle")))}function nie(n,t){1&n&&(D(0,"div",127),we(1,"mat-spinner"),I())}function iie(n,t){if(1&n&&(D(0,"div",123),D(1,"p"),le(2),pe(3,"resourceLocaleString"),pe(4,"resourceLocaleString"),I(),W(5,tie,3,3,"button",124),W(6,nie,2,0,"div",125),I()),2&n){const e=P(2);T(2),Gv("",e.getNumberOfRecords()," ",Te(3,6,"OpenLibraryPage-foundTotalOf")," ",e.getTotalCount()," ",Te(4,8,"OpenLibraryPage-foundTotalViewed"),""),T(3),O("ngIf",!e.isShowLoadMoreSearchIndicator()),T(1),O("ngIf",e.isShowLoadMoreSearchIndicator())}}function rie(n,t){if(1&n&&(D(0,"div"),W(1,eie,17,22,"div",94),W(2,iie,7,10,"div",95),I()),2&n){const e=P();Dt("showing-results",!!e.indexItemQuery.actualKeyword),T(1),O("ngForOf",e.getIndexItems()),T(1),O("ngIf",e.isLoadMore)}}let oie=(()=>{class n{constructor(e,i,r,o,s,a,c,d,h,p){this.indexItemService=i,this.router=r,this.activeRoute=o,this.titleService=a,this.itemTypeService=c,this.winRef=d,this.localeService=h,this.analyticService=p,this.searchView="searchView",this.subs=[],this.searchedKeyword=[],this.lastSearchKeyword="",this.mediaMatcher=matchMedia("(max-width: 991px)"),this.mediumMediaMatcher=matchMedia("(max-width: 1599px)"),this.isCategoryLoading=!0,this.indexItemQuery=new r_,this.searchSort=bn,this.isLoadMore=!1,this.isEnglish=!0,this.isIgnoreKeywordNotify=!1,this.isLoading=!1,this.moveChipsToMenu=!1,this.isAdjustingExtraMatChipsView=!1,this.adjustMatChipView=[],this.typeEnum=ta,this.isListView=!0,this.isSortOptionSetExplicitly=!1,this.isSidenavOpened=!1,this.navigationManually=!1,this.onlyshowsearchresults="false",this.querystring="",this.isSidenavContentFilter=!0,this.filerSearchBoxConfig={},this.searchQuery="",this.filteredSubFilterItems=[],this.epNameFilterId=40,this.navigateTo="",console.log("set languge in OpenLibraryItemsComponent:"+this.winRef.nativeWindow.lang),console.log("locale languge is:"+s.valueOf()),this.localeService.setLocale(this.winRef.nativeWindow.lang?this.winRef.nativeWindow.lang:"en"),console.log("locale2 languge is:"+s.valueOf()),this.mediaMatcher.addListener(_=>e.run(()=>this.mediaMatcher=matchMedia("(max-width: 991px)"))),this.mediumMediaMatcher.addListener(_=>e.run(()=>this.mediumMediaMatcher=matchMedia("(max-width: 1599px)"))),this.keywordsChangeSubject=ne
1w De,this.removeKeywordSubject=new De,this.isEnglish="en"===s.valueOf(),this.titleService.setTitle(vi.getString("PageTitle-Title",this.getCulture())),this.placeholder=vi.getString("Placeholders-SearcBar",this.getCulture()),this.moveChipsToMenu=!1,this.wpSetting=this.winRef.nativeWindow.settingsData;const g=JSON.parse(this.winRef.nativeWindow.localStorage.getItem("sharedData"));null!=g&&(this.navigateTo=g.key)}initFilerSearchBoxConfig(){this.filerSearchBoxConfig[$t.Licences]=!1,this.filerSearchBoxConfig[$t.Subject]=!1,this.filerSearchBoxConfig[$t.OpenLibraryItemType]=!1,this.filerSearchBoxConfig[$t.OpenLibraryLanguage]=!1}ngOnInit(){this.indexItemQuery.itemTypes=[ne.MicroCredentials],this.initFilerSearchBoxConfig(),this.subs.push(this.router.events.subscribe(r=>{r instanceof od&&(r.url&&r.url.indexOf("returnUrl")>=0?this.goBack():(this.navigationManually||window.location.reload(),this.navigationManually=!1))}));const e=new URLSearchParams(this.querystring);this.indexItemQuery.load(e),this.indexItemQuery.nextPage=!1,this.currentIndexItem=this.getCurrentIndexItem(),"true"!=localStorage.getItem("FromDetailUILink")&&(this.isNavigatingToDetailPage=this.getSavedIsNavigatingToDetailPage(),this.removeIsNavigatingToDetailPage()),this.isCategoryLoading=!0,this.isLoading=!0,this.subs.push(this.indexItemService.GetOpenLibraryFilter().subscribe(r=>{this.categoryFilter=r,this.isCategoryLoading=!1,this.currentcategoryFilterItem=this.categoryFilter.categoryFilterItems.find(J=>J.id==Kt.MicroCredentials);var o=this.currentcategoryFilterItem.subFilters.find(J=>44==J.type);this.detailFilterItem=[o],this.intializeEmployerPartnerNameFilter(),this.currentcategoryFilterItem.isActive=!0;var s=this.currentcategoryFilterItem.subFilters.findIndex(J=>J.type==$t.microcredentialSubjects),a=[];if(s>=0&&void 0!==this.wpSetting){var c=this.wpSetting.areasOfFocus;void 0!==c&&(this.currentcategoryFilterItem.subFilters[s].subFilterItems=this.currentcategoryFilterItem.subFilters[s].subFilterItems.filter(J=>c.some(je=>je.label===J.title_EN&&!0===je.checked)),this.currentcategoryFilterItem.subFilters[s].subFilterItems.map(J=>(a.push(J.id),J)))}var d=this.currentcategoryFilterItem.subFilters.findIndex(J=>J.type==$t.microcredentialDeliveries),h=[];if(d>=0&&void 0!==this.wpSetting){var p=this.wpSetting.deliveries;void 0!==p&&(this.currentcategoryFilterItem.subFilters[d].subFilterItems=this.currentcategoryFilterItem.subFilters[d].subFilterItems.filter(J=>p.some(je=>je.label.trim()===J.title_EN&&!0===je.checked)),this.currentcategoryFilterItem.subFilters[d].subFilterItems.map(J=>(h.push(J.id),J)))}var g=this.currentcategoryFilterItem.subFilters.findIndex(J=>J.type==$t.Language),_=[];if(g>=0&&void 0!==this.wpSetting){var v=this.wpSetting.languages;void 0!==v&&(this.currentcategoryFilterItem.subFilters[g].subFilterItems=this.currentcategoryFilterItem.subFilters[g].subFilterItems.filter(J=>v.some(je=>je.label===J.title_EN&&!0===je.checked)),this.currentcategoryFilterItem.subFilters[g].subFilterItems.map(J=>(_.push(J.id),J)))}var M=this.currentcategoryFilterItem.subFilters.findIndex(J=>J.type==$t.Institution),w=[];if(M>=0&&void 0!==this.wpSetting){var F=this.wpSetting.institutions;void 0!==F&&(this.currentcategoryFilterItem.subFilters[M].subFilterItems=this.currentcategoryFilterItem.subFilters[M].subFilterItems.filter(J=>F.some(je=>!1)),this.currentcategoryFilterItem.subFilters[M].subFilterItems.map(J=>(w.push(J.id),J)))}this.refreshUrl();const V=new URLSearchParams(this.indexItemQuery.ToQueryString());this.indexItemQuery.load(V);var ie=this.indexItemQuery.loadFilters(V,this.categoryFilter,this.currentcategoryFilterItem);this.categoryFilter=ie.categoryFilter,this.currentcategoryFilterItem=ie.currentcategoryFilterItem,this.intializeEmployerPartnerNameFilter(),this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters&&this.currentcategoryFilterItem.subFilters.length&&this.currentcategoryFilterItem.subFilters.forEach(J=>{J.subFilterItems=(0,dB.orderBy)(J.subFilterItems,[je=>this.isEnglish?je.title_EN.toLowerCase():je.title_FR.toLowerCase()],["asc"])});var ue=this.currentcategoryFilterItem.subFilters.findIndex(J=>23==J.type);ue>=0&&(this.currentcategoryFilterItem.subFilters[ue].subFilterItems=this.currentcategoryFilterItem.subFilters[ue].subFilterItems.sort((J,je)=>Number(J.id)-Number(je.id)));var Ye=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.microcredentialSubjects),en=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.microcredentialStartDate),ln=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.microcredentialDeliveries),bi=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.Language),ai=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.microcredentialDuration),li=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.naicsName),oo=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.EducationPathWays),Ge=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.MicrocredentialPlus);Ge.subFilterItems.sort(function(J,je){return parseFloat(je.id)-parseInt(J.id)}
1),console.log(Ge);var Cn=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.Prerequisites),na=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.EmployerPartner);na.subFilterItems.sort(function(J,je){return parseFloat(je.id)-parseInt(J.id)});var Xa=this.currentcategoryFilterItem.subFilters.find(J=>J.type===$t.Partner);this.currentcategoryFilterItem.subFilters=[oo,Ge,Cn,na,Xa,li,Ye,en,ln,bi,ai],this.intializeFiltersByPersistentState(),this.resetAllFilerSearchBox(),this.isLoading=!1,this.initializeFilterPanelState(),this.saveCurrentCulture(),this.doSearch()},r=>{this.isCategoryLoading=!1})),this.subs.push(this.keywordsChangeSubject.asObservable().subscribe(r=>{this.isIgnoreKeywordNotify||(this.isSortOptionSetExplicitly?!r&&this.indexItemQuery.sortCol==bn.Relevant&&(this.indexItemQuery.sortCol=bn.Newest,this.isSortOptionSetExplicitly=!1):this.indexItemQuery.sortCol=r?bn.Relevant:bn.Newest,this.indexItemQuery.keyword=r,this.indexItemQuery.actualKeyword=null,this.refreshUrl(!0)),this.isIgnoreKeywordNotify=!1})),this.subs.push(this.removeKeywordSubject.asObservable().subscribe(()=>{this.removeKeyword()})),this.analyticService.sendPageView("Micro-credential search UI")}ngOnDestroy(){if(this.clearAggregateSubscription(),this.subs&&this.subs.length>0)for(;this.subs.length>0;){let e=this.subs.pop();e.unsubscribe(),e=null}}resetAllFilerSearchBox(){this.categoryFilter&&this.categoryFilter.categoryFilterItems&&this.categoryFilter.categoryFilterItems.forEach(e=>{e.subFilters&&e.subFilters.forEach(i=>this.resetFilerSearchBox(i))})}resetFilerSearchBox(e){e.showSearchBox=this.filerSearchBoxConfig[e.type]=!!this.filerSearchBoxConfig[e.type],e.showSearchBox?(e.keywordFormControl=new Nc(""),e.filteredSubFilterItems$=e.keywordFormControl.valueChanges.pipe((0,hB.O)(""),(0,fB.switchMap)(i=>this.filterSubFilterItems(i,e)))):e.filteredSubFilterItems$=Se(e.subFilterItems)}get financialAidFilter(){return this.detailFilterItem.find(e=>44==e.type)}financialAid(e){return this.financialAidFilter.subFilterItems.find(i=>i.id==e.toString())}filterSubFilterItems(e,i){return Se(e&&i.showSearchBox?i.subFilterItems.filter(o=>!(!i.selectedSubFilterItems||!i.selectedSubFilterItems.includes(o.id))||(this.isEnglish?o.title_EN:o.title_FR).toLowerCase().indexOf(e.toLowerCase())>-1):i.subFilterItems)}clearFilterSearch(e){e.keywordFormControl.setValue("")}clearAggregateSubscription(){this.aggregateSub&&(this.aggregateSub.unsubscribe(),this.aggregateSub=null)}removeKeyword(){this.indexItemQuery.keyword="",this.keywordsChangeSubject.next(this.indexItemQuery.keyword),this.refreshUrl(!0)}isScreenSmall(){return this.mediaMatcher.matches}isScreenMedium(){return!this.isScreenSmall()&&this.mediumMediaMatcher.matches}getImageUrl(e){if(e.imageUrl)return e.imageUrl}updateAggregate(){this.clearAggregateSubscription(),this.aggregateSub=this.indexItemService.GetAggregates(this.indexItemQuery).subscribe(e=>{if(this.indexItemQuery.isOnlySite&&this.indexItemQuery.sourceWebsiteTypes&&this.indexItemQuery.sourceWebsiteTypes.length>0&&e.clientTypes){var i=this.indexItemQuery.sourceWebsiteTypes[0];for(let r in e.clientTypes)String(i)!=r&&(e.clientTypes[r]=0)}this.aggregates=e})}loadMore(){this.indexItemQuery&&this.loadMore&&(this.indexItemQuery.page++,this.indexItemQuery.nextPage=!0,this.navigationManually=!0,this.router.navigateByUrl(this.indexItemQuery.ToQueryString()),this.doSearch())}currentSearchSort(){return this.indexItemQuery?this.indexItemQuery.sortCol:bn.Relevant}setSearchSort(e){this.indexItemQuery.sortCol=e,this.isSortOptionSetExplicitly=!0,this.refreshUrl()}GetSearchSortResourceString(){return this.indexItemQuery.sortCol==bn.Relevant?"OpenLibraryPage-SortOptionRelevanceTitle":this.indexItemQuery.sortCol==bn.Newest?"OpenLibraryPage-SortOptionNewestTitle":this.indexItemQuery.sortCol==bn.TitleAtoZ?"OpenLibraryPage-SortOptionTitleAtoZTitle":this.indexItemQuery.sortCol==bn.TitleZtoA?"OpenLibraryPage-SortOptionTitleZtoATitle":"OpenLibraryPage-SortOptionsTitle"}intializeFiltersByPersistentState(){if(this.isNavigatingToDetailPage){let e=this.getFilterState();if(e)if(this.isFilterPersistenceExpire(e))this.removeFilterState(),this.removeCurrentIndexItem();else{if(this.indexItemQuery.cloneFilter(e.indexItemQuery),this.indexItemQuery.keyword&&(this.isIgnoreKeywordNotify=!0,this.keywordsChangeSubject.next(this.indexItemQuery.keyword)),this.indexItemQuery&&this.indexItemQuery.itemTypes&&this.indexItemQuery.itemTypes.length>0){let i=this.indexItemQuery.getFilterTypeByItemType(this.indexItemQuery.itemTypes),r=this.categoryFilter.categoryFilterItems.findIndex(o=>o.id==i);r>=0&&(this.currentcategoryFilterItem=this.categoryFilter.categoryFilterItems[r],this.intializeEmployerPartnerNameFilter(),this.currentcategoryFilterItem.isActive=!0,this.currentcategoryFilterItem.subFilters.forEac
1h(o=>{let s=this.indexItemQuery.getParams(o.filterItemKeyName);s&&s.length>0?o.selectedSubFilterItems=s.map(String):o.selectAllChecked=!0}))}this.indexItemQuery.isRefreshUrl=!0}}else this.saveFilterState();this.indexItemQuery.isRefreshUrl&&(this.navigationManually=!0,this.router.navigateByUrl(this.indexItemQuery.ToQueryString()),this.indexItemQuery.isRefreshUrl=!1)}removeCurrentcategoryFilterItem(){this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters&&(this.adjustMatChipView=this.adjustMatChipView.filter(e=>e.type!=ta.MainFilter&&e.type!=ta.SubFilter),this.currentcategoryFilterItem.subFilters.forEach(e=>{e.selectedSubFilterItems=[],e.selectAllChecked=!0,e.selectAllCollege=!1,e.selectAllUniversity=!1,e.keywordFormControl&&e.keywordFormControl.setValue("")})),this.currentcategoryFilterItem=null,this.indexItemQuery.resetFilters(),this.refreshUrl()}getSubFilters(){return this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters?this.currentcategoryFilterItem.subFilters.filter(e=>e.selectedSubFilterItems&&e.selectedSubFilterItems.length>0&&!this.adjustMatChipView.some(i=>i.id==e.type)):[]}addSubfilterToMenu(e){return this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters?this.currentcategoryFilterItem.subFilters.find(i=>i.type==e&&i.selectedSubFilterItems&&i.selectedSubFilterItems.length>0&&this.adjustMatChipView.some(r=>r.id==e)):null}checkTypeExist(e){return this.adjustMatChipView.some(i=>i.type==e)}handleSidenavToggleForMatChipView(){}removeSubFilter(e){this.adjustMatChipView=this.adjustMatChipView.filter(i=>i.id!=e.type),e.selectedSubFilterItems=[],e.selectAllChecked=!0,this.indexItemQuery.setParams(e.filterItemKeyName,null),this.refreshUrl()}getCategoryAggregationCount(e){let i=0;if(this.aggregates&&this.aggregates.itemTypes){let r=this.aggregates.itemTypes;e==Kt.Course&&r[ne.Course]?i=r[ne.Course]:e==Kt.Program&&r[ne.Program]?i=r[ne.Program]:e==Kt.Page&&r[ne.Page]?i=r[ne.Page]:e==Kt.Post&&r[ne.Post]?i=r[ne.Post]:e==Kt.Resource?(r[ne.InstructorResource]&&(i+=r[ne.InstructorResource]),r[ne.LearnerResource]&&(i+=r[ne.LearnerResource])):e==Kt.Textbook&&r[ne.Textbook]?i=r[ne.Textbook]:e==Kt.Institution?r[ne.Institution]&&(i=r[ne.Institution]):e==Kt.H5P?r[ne.H5P]&&(i=r[ne.H5P]):e==Kt.OpenLibary&&(r[ne.Textbook]&&(i+=r[ne.Textbook]),r[ne.H5P]&&(i+=r[ne.H5P]))}return i}onNgModelChange(e,i,r){i.selectedSubFilterItems=r,i.selectedSubFilterItems.length!=i.subFilterItems.length||this.isOperatorAnd(i)?0==i.selectedSubFilterItems.length?(i.selectAllChecked=!0,this.indexItemQuery.setParams(i.filterItemKeyName,null),this.adjustMatChipView=this.adjustMatChipView.filter(o=>o.type!=ta.SubFilter&&o.id!==i.type)):(this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems),i.selectAllChecked=!1):(i.selectAllChecked=!0,this.indexItemQuery.setParams(i.filterItemKeyName,null)),i.selectAllCollege=!1,i.selectAllUniversity=!1,this.refreshUrl()}isOperatorAnd(e){return e.type==$t.Attribute||e.type==$t.AdditionalFeature}onCheckAllChange(e,i,r){r.checked&&e.deselectAll(),this.indexItemQuery.setParams(i.filterItemKeyName,null),i.selectAllCollege=!1,i.selectAllUniversity=!1,this.refreshUrl()}onCheckAllUniversityChange(e,i,r){i.selectAllChecked=!1,r.checked?(i.selectAllCollege=!1,i.selectAllUniversity=!0,i.selectedSubFilterItems=i.subFilterItems.filter(o=>o.isUniversity).map(o=>o.id),this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems)):(i.selectAllCollege=!1,i.selectAllUniversity=!1,e.deselectAll(),this.indexItemQuery.setParams(i.filterItemKeyName,null)),this.refreshUrl()}onCheckAllCollegeChange(e,i,r){i.selectAllChecked=!1,r.checked?(i.selectAllCollege=!0,i.selectAllUniversity=!1,i.selectedSubFilterItems=i.subFilterItems.filter(o=>!o.isUniversity).map(o=>o.id),this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems)):(i.selectAllCollege=!1,i.selectAllUniversity=!1,e.deselectAll(),this.indexItemQuery.setParams(i.filterItemKeyName,null)),this.refreshUrl()}refreshUrl(e=!1){this.indexItemQuery.page=0,this.indexItemQuery.nextPage=!1,this.navigationManually=!0,this.router.navigateByUrl(this.indexItemQuery.ToQueryString()).then(i=>{var r;i&&(this.currentIndexItem=null,null===(r=this.sidenavContent)||void 0===r||r.nativeElement.scrollIntoView(),e&&"true"===this.onlyshowsearchresults)&&(window.location.href=`${this.isEnglish?Hr_baseSearchListUrl:"https://microlearnontario.ca/fr/micro-credential-search/"}${this.indexItemQuery.ToQueryString()}`)}),this.doSearch()}doSearch(){this.indexItemQuery.keyword&&-1==this.searchedKeyword.findIndex(e=>e==this.indexItemQuery.keyword)?(this.indexItemQuery.increasePopularSearch=!0,this.searchedKeyword.push(this.indexItemQuery.keyword)):this.indexItemQuery.increasePopularSearch=!1,this.saveFilterState(),this.isLoading=!0,this.subs.push(this.indexItemService.Search(this.indexItemQuery).subscribe(e=>{e=this.preProcessResult(e),0==this.indexItemQuery.nextPage?(this.searchResult=e,this.indexItemQuery.page>0&&(this.indexItemQuery.nextPage=!0)):(this.searchResult.indexItems=this.searchResult.indexItems.concat(e.indexItems),this.searchResult.isLoadMore=e.isLoadMore,this.searchResult.totalCount=e.totalCount),this.indexItemQuery.actualKeyword=this.indexItemQuery.keyword&&e.actualKeyword&&this.indexItemQuery.keyword.toLocaleLowerCase()!=e.actualKeyword.toLocaleLowerCase()?e.actualKeyword:null,this.isLoadMore=e.isLoadMore,this.lastSearchKeyword=this.indexItemQuery.keyword,this.removeCurrentIndexItem(),setTimeout(()=>this.currentIndexItem=null),this.isLoading=!1,this.updateAggregate()},e=>{console.log(e)}))}preProcessResult(e){if(e&&e.indexItems&&e.indexItems.length)for(var i=0;i<e.indexItems.length;i++)e.indexItems[i].recordNo=this.indexItemQuery.page*e.pageSize+i;return e}getIndexItems(){return this.searchResult&&this.searchResult.indexItems?this.searchResult.indexItems:[]}getTotalCount(){if(!this.currentcategoryFilterItem||this.currentcategoryFilterItem.id!=Kt.Institution||null!=this.indexItemQuery.institutions&&0!=this.indexItemQuery.institutions.length)return this.searchResult?this.searchResult.totalCount:0;{let e=0;if(this.aggregates&&this.aggregates.itemTypes){let i=this.aggregates.itemTypes;i[ne.Institution]&&(e=i[ne.Institution])}return e}}getNumberOfRecords(){return this.searchResult?this.searchResult.pageSize*(this.indexItemQuery.page+1):0}getCategoryFilter(e){if(this.categoryFilter&&this.categoryFilter.categoryFilterItems&&this.categoryFilter.categoryFilterItems.length)return this.categoryFilter.categoryFilterItems.find(i=>i.filterTitleResourceKey===e)}getSubFilterItems(e,i){var r=this.getCategoryFilter(e);if(!r||!r.subFilters||!r.subFilters.length)return null;var o=r.subFilters.find(s=>s.filterItemKeyName===i);return o&&o.subFilterItems&&o.subFilterItems.length?o.subFilterItems:null}
1getSubfilter(e,i){var r=this.itemTypeService.getCategoryFilterItem(e,this.categoryFilter);return r?r.subFilters.find(o=>o.type==i):null}getH5PSubject(e,i,r){var o=this.getSubfilter(e,i);return o?o.subFilterItems.find(s=>s.id===r):null}getAttributeTooltip(e){return this.isEnglish?e.title_en:e.title_fr}getInstituionImageUrl(e){return e&&e.institution&&e.institution.imageUrl?e.institution.imageUrl:null}getInstitutionFilters(){return this.getSubFilterItems("FilterStrings-Category_Filter_Item_Institution_Filter_Title","institutions")}getInstitutionFilter(e){let i=this.getInstitutionFilters();return i&&i.length?i.find(r=>r.id==e):null}getCourseOverlayImage(e){let i=this.getInstitutionFilter(e);return i?i.courseOverlayImage:null}getProgramOverlayImage(e){let i=this.getInstitutionFilter(e);return i?i.programOverlayImage:null}getOverlayImage(e,i){if(e===ne.Program||e===ne.Course){var r=e===ne.Program?this.getProgramOverlayImage(i.id.toString()):this.getCourseOverlayImage(i.id.toString());return r&&(r="/imagedata/"+r),r}return null}isQueryOrFilterApppled(){return!(!this.indexItemQuery||!(this.indexItemQuery.keyword&&""!==this.indexItemQuery.keyword.trim()||null!=this.currentcategoryFilterItem))}isLastSearchQueryAppplied(){return!(!this.lastSearchKeyword||""===this.lastSearchKeyword.trim())}updateDefaultSortSort(){this.indexItemQuery.isQueryAppplied()&&!this.isLastSearchQueryAppplied()?this.indexItemQuery.sortCol=bn.Relevant:!this.indexItemQuery.isQueryAppplied()&&this.isLastSearchQueryAppplied()&&(this.indexItemQuery.sortCol=bn.Newest)}goBack(){this.indexItemQuery.returnUrl&&(this.indexItemQuery.saveReturnUrl(null),this.retSetSubFilterPanelState(),this.saveSidenavState(!1),window.location.href=this.indexItemQuery.returnUrl)}getSiteSourceToggleTooltip(){return this.indexItemQuery.enableIsOnlySite?"":vi.getString("FilterStrings-IsOnlySite_Disabled_Tooltip",this.getCulture())}getCulture(){return this.isEnglish?"en-CA":"fr-CA"}saveCurrentCulture(){localStorage.setItem("currentCulture",JSON.stringify(this.getCulture()))}getSavedCurrentCulture(){return JSON.parse(localStorage.getItem("currentCulture"))||this.getCulture()}isFilterPersistenceExpire(e){let i=new Date,r=new Date(e.lastUpdated);return Math.abs(i.getTime()-r.getTime())/36e5>=1}saveFilterState(){let e=new uB;e.lastUpdated=new Date,e.indexItemQuery=this.indexItemQuery,localStorage.setItem("filterState",JSON.stringify(e))}getFilterState(){return JSON.parse(localStorage.getItem("filterState"))}removeFilterState(){localStorage.removeItem("filterState")}saveCurrentIndexItem(e){localStorage.setItem("currentIndexItem",JSON.stringify(e))}getCurrentIndexItem(){return JSON.parse(localStorage.getItem("currentIndexItem"))}removeCurrentIndexItem(){localStorage.removeItem("currentIndexItem")}saveIsNavigatingToDetailPage(e){localStorage.setItem("isNavigatingToDetailPage",JSON.stringify(e))}getSavedIsNavigatingToDetailPage(){return JSON.parse(localStorage.getItem("isNavigatingToDetailPage"))||!1}removeIsNavigatingToDetailPage(){localStorage.removeItem("isNavigatingToDetailPage")}getMobileFilterButtonText(){return vi.getString(this.currentcategoryFilterItem?"FilterStrings-Moble_Filter_Buttton_Text_Applied":"FilterStrings-Moble_Filter_Buttton_Text_Not_Applied",this.getCulture())}subFilterItemSelectionChange(e,i){if(i.option.selected){let o=String(i.option.value),s=e.subFilterItems.findIndex(p=>p.id==o),a="";s>=0&&(a=this.getItemName(e.subFilterItems[s].title_EN,e.subFilterItems[s].title_FR));let c=this.getResourceValue(e.titleResourceKey),d=this.getSubCategoryItemAction(c);this.getResourceValue(this.currentcategoryFilterItem.titleResourceKey),this.indexItemQuery.setParams(e.filterItemKeyName,e.selectedSubFilterItems),this.analyticService.sendEventsClickedAnalytic(d,e.subFilterItems[s].title_EN,null,null),this.refreshUrl()}}getSubCategoryItemAction(e){let i=e.split(" ");return i&&i.length>1&&(e=i.join("-")),"Filtered-On-"+e}getItemName(e,i){return e||i}getResourceValue(e){let i=vi.getString(e,"en-CA");return i||(i=vi.getString(e,"fr-CA")),i}isShowIntialSearchIndicator(){return!(!this.isLoading||this.indexItemQuery.nextPage)}isShowLoadMoreSearchIndicator(){return!(!this.isLoading||!this.indexItemQuery.nextPage)}getItemDetailurl(e){return this.getDetailUrl(e)}navigateToDetailPage(e){this.saveCurrentIndexItem(e),this.saveIsNavigatingToDetailPage(!0);var i=this.getItemDetailurl(e);window.location.href=i}onResize(e){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{},100)}initializeFilterPanelState(){this.isSidenavOpened=!1,this.categoryFilter.IsExpanded=!this.isPanelStateRestoredFromLocalStorage()||6==this.activeRoute.snapshot.queryParams.itemTypes&&this.activeRoute.snapshot.queryParams.sourceWebsiteTypes>0?!(6==this.activeRoute.snapshot.queryParams.itemTypes&&this.activeRoute.snapshot.queryParams.sourceWebsiteTypes>0):this.getSavedCategoryFilterPanelState(),this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters&&this.currentcategoryFilterItem.subFilters.forEac
1h(e=>{e.IsExpanded=!!this.isPanelStateRestoredFromLocalStorage()&&this.isSubFilterPanelExpanded(e.type)})}isPanelStateRestoredFromLocalStorage(){var e=JSON.parse(localStorage.getItem("subFilterPanels"));return!(!e||!e.length)}categoryFilterPanelOpened(e){e.IsExpanded=!0,this.saveCategoryFilterPanelState(!1)}categoryFilterPanelClosed(e){e.IsExpanded=!1,this.saveCategoryFilterPanelState(!0)}saveCategoryFilterPanelState(e){localStorage.setItem("categoryFilterPanelState",JSON.stringify(e))}getSavedCategoryFilterPanelState(){return!JSON.parse(localStorage.getItem("categoryFilterPanelState"))}subFilterPanelOpened(e){e.IsExpanded=!0,this.saveSubFilterPanelState(e)}subFilterPanelClosed(e){e.IsExpanded=!1,this.saveSubFilterPanelState(e)}isSubFilterPanelExpanded(e){var i=JSON.parse(localStorage.getItem("subFilterPanels"));if(i&&i.length){var r=i.filter(o=>o===e);return!(r&&r.length)}return!0}retSetSubFilterPanelState(){localStorage.setItem("subFilterPanels",JSON.stringify([]))}saveSubFilterPanelState(e){var i=JSON.parse(localStorage.getItem("subFilterPanels"));if(i&&i.length){var r=i.filter(o=>o===e.type);r&&r.length?e.IsExpanded&&i.splice(i.indexOf(r[0]),1):e.IsExpanded||i.push(e.type)}else i=e.IsExpanded?[]:[e.type];localStorage.setItem("subFilterPanels",JSON.stringify(i))}sidenavOpened(){this.isLoading||(this.isSidenavOpened=!0,this.saveSidenavState(!1))}sidenavClosed(){this.isLoading||(this.isSidenavOpened=!1,this.saveSidenavState(!0))}saveSidenavState(e){localStorage.setItem("sidenavState",JSON.stringify(e))}getSavedSidenavState(){return!JSON.parse(localStorage.getItem("sidenavState"))}getDisabledRelevanceSortOptionTooltip(){return vi.getString("SortOptions-Relevance_Sort_Option_Disabled_Tooltip",this.getCulture())}getDetailUrl(e){var i=this.indexItemQuery.clone();if(i.page=Math.floor(e.recordNo/this.searchResult.pageSize),"employer"==this.navigateTo){var r=`https://microlearnontario.ca/employer-details/#/${e.itemIdentifier}/${i.ToQueryString()}`;return this.isEnglish||r.includes("/fr/")||r.includes("/employer-details/")&&(r=r.replace("/employer-details/","/fr/employer-details/")),r}return r=`${Hr_detailPageBaseUrl}#/${e.itemIdentifier}/${i.ToQueryString()}`,this.isEnglish||r.includes("/fr/")||(r.includes("/item-details/")?r=r.replace("/item-details/","/fr/item-details/"):r.includes("/search-item-front/")&&(r=r.replace("/search-item-front/","/fr/search-item-front/"))),r}goToDetail(e,i){e.preventDefault(),e.stopPropagation(),this.saveCurrentIndexItem(i),this.saveIsNavigatingToDetailPage(!0);var r=this.getDetailUrl(i);window.location.href=r}setListView(e){this.isListView=e,localStorage.setItem(this.searchView,e.toString())}getH5PContentType(e){return e?e.replace("H5P.","").split(" ")[0]:""}getH5PContetTypeImage(e){if(!e)return"";var i=e.replace("H5P.","").split(" ");return i.pop(),`/images/h5p/${i.join("-").toLowerCase()}-icon.png`}isShowFilterItem(e,i){return e.type!=$t.Tags&&e.type!=$t.Authors||!this.aggregates||!this.aggregates[e.filterItemKeyName]||(this.aggregates[e.filterItemKeyName][i.id]?this.aggregates[e.filterItemKeyName][i.id]:0)>0}groupFilters(e){let i=[],r=[];for(let a=0;a<e.length;a++)new RegExp("^((?![-]).)*$").test(e[a].id)&&i.push(e[a]);for(let a=0;a<e.length;a++)e[a].id.match(/-/)&&r.push(e[a]);for(let a=0;a<i.length;a++){i[a].childenFilterItems=[];for(let c=0;c<r.length;c++)new RegExp("^"+i[a].id).test(r[c].id)&&(r[c].title_EN=r[c].title_EN.split("-").pop(),i[a].childenFilterItems.push(r[c]))}return i}checkSubject(e,i,r){i.selectedSubFilterItems||(i.selectedSubFilterItems=[]);var o=i.selectedSubFilterItems.findIndex(c=>c==r.id);!0===e.checked?o<0&&i.selectedSubFilterItems.push(r.id):o>=0&&i.selectedSubFilterItems.splice(o,1),this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems),this.analyticService.sendEventsClickedAnalytic("Filter on Subject",r.id,null,null),this.refreshUrl()}shoudBeChecked(e,i){return e.selectedSubFilterItems||(e.selectedSubFilterItems=[]),e.selectedSubFilterItems.findIndex(o=>o==i.id)>=0}toggleSubjectPanel(e){e.toggle()}getItemType(e){return e.itemTypes&&e.itemTypes.length>0?e.itemTypes[0]:"Other"}embedOptionChange(e){if(1==e.value){const i=window.location.search;this.embedHtml=`\n  ${this.getTheEmbeddingScript()} \n\n  <ol-items onlyshowsearchresults="true" querystring="${i}">
1</ol-items>\n\n  `}else 2==e.value&&(this.embedHtml=`\n  ${this.getTheEmbeddingScript()} \n\n  <ol-item-search></ol-item-search>\n\n  `)}getTheEmbeddingScript(){return`\n  <base href=''>\n  <link rel="stylesheet" href="${Hr_searchPageBaseUrl}styles.css">\n  <script src="${Hr_searchPageBaseUrl}polyfills.js"><\/script>\n  <script src="${Hr_searchPageBaseUrl}runtime.js"><\/script>\n  <script src="${Hr_searchPageBaseUrl}main.js"><\/script>\n\n  `}clearEmbedOption(){this.embedOptionValue=null,this.embedHtml=""}copyToClipboard(e){e.select(),document.execCommand("copy"),e.setSelectionRange(0,0)}toggleHeader(){this.winRef.nativeWindow.header&&this.winRef.nativeWindow.header.classList.toggle("header-z-index")}resetFilters(){this.indexItemQuery.resetFilters(),this.indexItemQuery.itemTypes=[ne.MicroCredentials],this.router.navigateByUrl(this.indexItemQuery.ToQueryString()).then(e=>{e&&window.location.reload()})}resetAll(){this.indexItemQuery.reset(),this.indexItemQuery.itemTypes=[ne.MicroCredentials],this.keywordsChangeSubject.next(this.indexItemQuery.keyword),this.router.navigateByUrl(this.indexItemQuery.ToQueryString()).then(e=>{e&&(window.location.href=`${Hr_baseSearchListUrl}${this.indexItemQuery.ToQueryString()}`)})}filterItems(){const e=this.searchQuery.toLowerCase();this.filteredSubFilterItems=e?this.currentcategoryFilterItem.subFilters.filter(i=>i.type==this.epNameFilterId)[0].subFilterItems.filter(i=>i.title_EN.toLowerCase().includes(e)||i.title_FR.toLowerCase().includes(e)):this.currentcategoryFilterItem.subFilters.filter(i=>i.type==this.epNameFilterId)[0].subFilterItems}clearSearch(){this.searchQuery="",this.filterItems()}intializeEmployerPartnerNameFilter(){this.filteredSubFilterItems=this.currentcategoryFilterItem.subFilters.filter(e=>e.type==this.epNameFilterId)[0].subFilterItems}checkContinousEnrollment(e,i){return!(1==e.id&&"microcredentialStartDate"==i.filterItemKeyName)}}return n.\u0275fac=function(e){return new(e||n)(b(dt),b(i_),b(rr),b(ql),b(yr),b(_A),b(pB),b(kw),b(Nf),b(RT))},n.\u0275cmp=lt({type:n,selectors:[["open-library-items"]],viewQuery:function(e,i){if(1&e&&(Vt(rne,5),Vt(one,5),Vt(sne,5),Vt(ane,5),Vt(lne,5)),2&e){let r;ye(r=ve())&&(i.sideNav=r.first),ye(r=ve())&&(i.sidenavContent=r.first),ye(r=ve())&&(i.filterContainer=r.first),ye(r=ve())&&(i.sortOptionDropdown=r.first),ye(r=ve())&&(i.subfilterviewmenu=r.first)}},hostVars:2,hostBindings:function(e,i){1&e&&he("resize",function(o){return i.onResize(o)},!1,Up),2&e&&Dt("french-lang",!i.isEnglish)},inputs:{onlyshowsearchresults:"onlyshowsearchresults",querystring:"querystring"},decls:14,vars:8,consts:[["class","mat-spinner-container",4,"ngIf"],[1,"app-sidenav-container"],["disableClose","",1,"app-sidenav",3,"opened","mode","position","closed","openedChange"],["sidenav",""],["class","filters-content-container",4,"ngIf"],[1,"app-sidenav-content"],["sidenavContent",""],[4,"ngIf"],[3,"showing-results",4,"ngIf"],["href","#search-app-host-div",1,"back-top-btn"],["aria-hidden","false"],[1,"mat-spinner-container"],[1,"filters-content-container"],[1,"top-content"],["mat-mini-fab","","color","accent","type","button",1,"close-button",3,"click"],["viewBox","0 0 24 24",1,"close-icon"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"],[1,"filters-reset-btn"],["mat-flat-button","","color","accent","type","button",3,"click"],[1,"title"],["_ngcontent-aoy-c246","","viewBox","0 0 24 24",1,"clear-icon"],["_ngcontent-aoy-c246","","d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"],["multi","true","class","cat-filter-container",4,"ngFor","ngForOf"],["multi","true",1,"cat-filter-container"],[3,"expanded","opened","closed"],[1,"sub-filter-title"],["class","material-icons",3,"matTooltip",4,"ngIf"],["class","search-filter-container",4,"ngIf"],["class","list-checkbox",3,"ngModel","ngModelChange","selectionChange",4,"ngIf"],["class","",4,"ngIf"],[1,"material-icons",3,"matTooltip"],[1,"search-filter-container"],[1,"remove-bottom-padding","mb-24"],["matInput","",3,"ngModel","ngModelChange"],["mat-fab","","color","accent",3,"click",4,"ngIf"],["mat-fab","","color","accent",3,"click"],[1,"list-checkbox",3,"ngModel","ngModelChange","selectionChange"],["list",""],[4,"ngFor","ngForOf"],[3,"value","checkboxPosition",4,"ngIf"],[3,"value","checkboxPosition"],["class","sub-filter-item-title",4,"ngIf"],["class","aggregate-count-box",4,"ngIf"],[1,"sub-filter-item-title"],[1,"aggregate-count-box"],[1,""],[1,"checkbox-main-cat"],[1,"maincat",3,"id","checked","change"],["class","collapse-
1arrow",4,"ngIf"],["multi","",1,"subcat-filter-container"],[3,"expanded"],["subjectPanel",""],["class","subcats",4,"ngFor","ngForOf"],[1,"collapse-arrow"],[3,"click"],["aria-hidden","false",4,"ngIf"],[1,"subcats"],[3,"id","checked","change"],["mat-mini-fab","","color","default","type","button",1,"close-button",3,"click"],[1,"mt-32","mb-24"],[1,"embed-option-radio-group",3,"ngModel","ngModelChange","change"],["value","1",1,"embed-option-radio-button"],["value","2",1,"embed-option-radio-button"],[1,"mb-48","embed-help-link"],["href",""],["mat-flat-button","","color","accent",1,"mb-32",3,"click"],["rows","10","cols","60",1,"form-control","clipboard-textarea",3,"ngModel","ngModelChange"],["embedInput",""],["id","filters",1,"item-search-container"],[3,"keywordsChangeSubject","removeKeywordSubject","placeholder","indexItemQuery"],["mat-flat-button","","color","primary","type","button",1,"filters-btn",3,"click"],[1,"icon-container"],["xmlns","http://www.w3.org/2000/svg","height","36","viewBox","0 0 24 24","width","36"],["d","M0 0h24v24H0z","fill","none"],["d","M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"],["mat-flat-button","","color","accent","type","button",1,"reset-btn",3,"click"],[1,"sort-option-btn-container"],["sortOptionDropdown",""],["mat-flat-button","","color","primary","type","button","id","sortButton",3,"matMenuTriggerFor"],["xmlns","http://www.w3.org/2000/svg","height","24","width","24"],["d","M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"],[1,"sort-option-menu"],["sortOptionMenuIcon","matMenu"],["id","sortByRelevant","mat-menu-item","",3,"ngClass","click",4,"ngIf"],[3,"matTooltip",4,"ngIf"],["mat-menu-item","","id","sortByNewest",3,"ngClass","click"],["mat-menu-item","","id","sortByTitleAtoZ",3,"ngClass","click"],["mat-menu-item","","id","sortByTitleZtoA",3,"ngClass","click"],[1,"results-found"],["class","showing-results-container",4,"ngIf"],["id","sortByRelevant","mat-menu-item","",3,"ngClass","click"],[3,"matTooltip"],["id","sortByRelevantDisabled","mat-menu-item","",3,"disabled"],[1,"showing-results-container"],[3,"ngClass","click",4,"ngFor","ngForOf"],["class","load-more-container",4,"ngIf"],[3,"ngClass","click"],["scrollTo","",4,"ngIf"],[1,"search-result"],["class","mc-institution-container",3,"click",4,"ngIf"],[1,"mc-data"],[1,"title",3,"href","innerHTML"],[1,"info"],[1,"excerpt",3,"innerHTML"],[1,"mc-icons"],["scrollTo",""],[1,"mc-institution-container",3,"click"],["mat-card-image","","alt","",3,"src"],[1,"financial-aid-btn-container"],[1,"mat-flat-button","mat-primary"],["class","placeholder-icon",4,"ngIf"],["class","financial-img-container",4,"ngIf"],[1,"placeholder-icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 84.44 85.18"],["d","m0,62.59c4.28-4.27,8.56-8.54,12.83-12.82,2.36-2.37,5.18-3.84,8.48-4.4.52-.09.86.02,1.24.37,5.82,5.33,12.69,7.94,20.58,7.76,3.92-.09,7.67-.99,11.21-2.68.63-.3,1.03-.22,1.52.23,1.76,1.62,2.37,4.03,1.54,6.25-.83,2.19-2.89,3.64-5.29,3.64-5.17.02-10.33,0-15.5,0-.3,0-.59,0-.94,0v4.95h.85c5.11,0,10.22.03,15.34,0,4.66-.03,7.97-2.21,10.01-6.4.32-.66.71-1.32,1.22-1.84,3.84-3.89,7.7-7.77,11.6-11.61,2.89-2.84,7.46-2.12,9.18,1.38,1.1,2.24.65,4.75-1.23,6.65-3.79,3.83-7.6,7.64-11.4,11.45-2.64,2.65-5.29,5.28-7.9,7.96-3.61,3.7-7.95,5.54-13.13,5.47-4.01-.05-8.02,0-12.04-.01-6.03-.01-11.23,2.01-15.55,6.24h-.16c-.14-.19-.25-.41-.42-.57-7.14-7.15-14.29-14.29-21.44-21.44-.16-.16-.38-.28-.57-.42,0-.05,0-.11,0-.16Z",1,"cls-1"],["d","m18.31,23.89C18.31,10.72,29.05-.01,42.23,0c13.18.01,23.91,10.75,23.9,23.92,0,13.17-10.75,23.9-23.92,23.9-13.17,0-23.9-10.75-23.9-23.92Zm21.43,14.8h4.96c0-.82-.03-1.59.02-2.35.02-.23.22-.55.42-.65,3.41-1.71,5.04-4.84,4.33-8.38-.67-3.35-3.55-5.69-7.21-5.87-1.54-.08-2.62-1.23-2.51-2.67.12-1.46,1.37-2.39,2.92-2.17,1.63.22,3.25.45,4.95.69.24-1.63.47-3.22.71-4.87-1.25-.19-2.42-.37-3.68-.56v-2.71h-4.92c0,.75-.04,1.44.01,2.13.04.55-.16.8-.67,1.03-4.28,1.96-5.64,7.26-2.84,11.05,1.47,1.99,3.47,2.96,5.93,3.05,1.38.05,2.39.99,2.5,2.26.11,1.2-.73,2.36-1.94,2.6-.45.09-.93.03-1.39,0-1.55-.12-3.1-.26-4.7-.39-.14,1.69-.27,3.28-.41,4.9,1.23.12,2.34.23,3.49.34v2.6Z",1,"cls-2"],["d","m39.73,38.69v-2.6c-1.15-.11-2.26-.22-3.49-.34.13-1.62.27-3.22.41-4.9,1.6.14,3.15.27,4.7.39.46.04.94.09,1.39,0,1.21-.24,2.04-1.4,1.94-2.6-.11-1.28-1.13-2.21-2.5-2.26-2.46-.09-4.46-1.06-5.93-3.05-2.8-3.78-1.43-9.08,2.84-11.05.5-.23.71-.47.67-1.03-.05-.68-.01-1.37-.01-2.13h4.92v2.71c1.25.19,2.43.37,3.68.56-.24,1.65-.47,3.24-.71,4.87-1.7-.24-3.33-.47-4.95-.69-1.56-.21-2.8.72-2.92,2.17-.12,1.44.97,2.6,2.51,2.67,3.66.
118,6.54,2.53,7.21,5.87.71,3.54-.92,6.66-4.33,8.38-.2.1-.41.42-.42.65-.05.76-.02,1.53-.02,2.35h-4.96Z",1,"cls-3"],[1,"financial-img-container"],[3,"src","alt"],[1,"mc-hot-btn-container"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","height","24","width","24","viewBox","0 0 24 28.5","aria-hidden","true"],["d","M15.3 21 12 17.3 8.7 21c-.7.8-1.2 1.9-1.2 3 0 2.5 2 4.5 4.5 4.5s4.5-2 4.5-4.5-.4-2.2-1.2-3Z","fill","#ff6d00"],["d","m18 6-.7.8C15.5 9 12 7.8 12 4.9V0S0 7.5 0 18s2.4 8.2 5.9 10.3C5 27.1 4.5 25.6 4.5 24s.7-3.6 1.9-5l5.6-6.3 5.6 6.2c1.2 1.4 1.9 3.2 1.9 5s-.5 3-1.3 4.3c2.9-1.7 5-4.6 5.6-8 1-5.3-1.6-11.8-5.8-14.3Z","fill","#f1b434"],[1,"load-more-container"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["class","mat-spinner-container","id","nextPageSpinner",4,"ngIf"],["mat-flat-button","","color","accent",3,"click"],["id","nextPageSpinner",1,"mat-spinner-container"]],template:function(e,i){1&e&&(W(0,cne,2,0,"div",0),D(1,"mat-sidenav-container",1),D(2,"mat-sidenav",2,3),he("opened",function(){return i.sidenavOpened()})("closed",function(){return i.sidenavClosed()})("openedChange",function(){return i.handleSidenavToggleForMatChipView()}),W(4,Bne,16,7,"div",4),W(5,Hne,32,20,"div",4),I(),D(6,"div",5,6),W(8,$ne,43,41,"div",7),mr(9),W(10,rie,3,4,"div",8),gr(),I(),D(11,"a",9),D(12,"mat-icon",10),le(13,"keyboard_arrow_up"),I(),I(),I()),2&e&&(O("ngIf",i.isShowIntialSearchIndicator()),T(2),O("opened",i.isSidenavOpened)("mode","over")("position","end"),T(2),O("ngIf",i.isSidenavContentFilter&&i.currentcategoryFilterItem),T(1),O("ngIf",!i.isSidenavContentFilter&&i.currentcategoryFilterItem),T(3),O("ngIf","false"==i.onlyshowsearchresults),T(2),O("ngIf",!i.isLoading||i.isShowLoadMoreSearchIndicator()))},directives:[ts,CT,bT,gV,EV,tw,Xm,j2,rT,oT,U2,xV,aT,sT,lT,Wu,tg,$b,iw,HM,mT,cT,uT,kT,zV,BV,Jg,tf,mB,L2],pipes:[gB,_B,sA,rf,yB,vB,bB],styles:[".app-sidenav[_ngcontent-%COMP%]{overflow:hidden}.app-sidenav-container[_ngcontent-%COMP%]{width:100%;min-width:100%;min-height:100%;position:relative;height:auto}.app-sidenav-content[_ngcontent-%COMP%]{min-height:100%}.app-sidenav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:9999;width:600px}@media only screen and (max-width: 767px){.app-sidenav[_ngcontent-%COMP%]{width:100%}}.category-list-item-active[_ngcontent-%COMP%]{background:var(--clr-steelx2)!important;color:#fff!important}.search-filter-info[_ngcontent-%COMP%]{margin-bottom:24px}.search-filter-info[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:30px;margin-bottom:24px}@media only screen and (max-width: 767px){.search-filter-info[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:28px}}.search-filter-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:17px;line-height:26px}@media only screen and (max-width: 767px){.search-filter-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;line-height:24px}}.embed-option-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.embed-option-radio-button[_ngcontent-%COMP%]{margin:5px}"]}),n})();const sie=["sidenav"],aie=["sidenavContent"],lie=["filterContainer"],cie=["sortOptionDropdown"],uie=["subfilterviewmenu"];function die(n,t){1&n&&(D(0,"div",9),we(1,"mat-spinner"),I())}function hie(n,t){if(1&n&&(D(0,"span",33),le(1),pe(2,"localeString"),I()),2&n){const e=P(2).$implicit;T(1),st(_r(2,1,e.title_EN,e.title_FR))}}function fie(n,t){if(1&n&&(D(0,"span",33),le(1),pe(2,"resourceLocaleString"),I()),2&n){const e=P(2).$implicit;T(1),st(Te(2,1,e.title_EN))}}function pie(n,t){if(1&n&&(D(0,"div",34),le(1),pe(2,"number"),I()),2&n){const e=P(2).$implicit,i=P(2).$implicit,r=P(2);T(1),st(Te(2,1,r.aggregates[i.filterItemKeyName][e.id]?r.aggregates[i.filterItemKeyName][e.id]:0))}}function mie(n,t){if(1&n&&(D(0,"mat-list-option",30),W(1,hie,3,4,"span",31),W(2,fie,3,3,"span",31),W(3,pie,3,3,"div",32),I()),2&n){const e=P().$implicit,i=P(2).$implicit,r=P(2);O("value",e.id)("checkboxPosition",r.before),T(1),O("ngIf",!e.requireLocalization),T(1),O("ngIf",e.requireLocalization),T(1),O("ngIf",r.aggregates&&r.aggregates[i.filterItemKeyName])}}function gie(n,t){if(1&n&&(D(0,"div"),W(1,mie,4,5,"mat-list-option",29),I()),2&n){const e=t.$implicit,i=P(2).$implicit,r=P(2);T(1),O("ngIf",r.isShowFilterItem(i,e))}}function _ie(n,t){if(1&n){const e=qt();D(0,"mat-selection-list",26,27),he("ngModelChange",function(r){return Ie(e),P().$implicit.selectedSubFilterItems=r})("ngModelChange",function(r){Ie(e);const o=Vn(1),s=P().$implicit;return P(2).onNgModelChange(o,s,r)})("selectionChange",function(r){Ie(e);const o=P().$implicit;return P(2).subFilterItemSelectionChange(o,r)}),W(2,gie,2,1,"div",28),pe(3,"async"),I()}if(2&n){const e=P().$implicit;O("ngModel",e.selectedSubFilterItems),T(2),O("ngForOf",Te(3,2,e.filteredSubFilterItems$))}}function yie(n,t){if(1&n&&(D(0,"span",33),le(1),pe(2,"localeString"),I()),2&n){const e=P().$implicit;
1T(1),st(_r(2,1,e.title_EN,e.title_FR))}}function vie(n,t){if(1&n&&(D(0,"span",33),le(1),pe(2,"resourceLocaleString"),I()),2&n){const e=P().$implicit;T(1),st(Te(2,1,e.title_EN))}}function bie(n,t){if(1&n&&(D(0,"div",34),le(1),pe(2,"number"),I()),2&n){const e=P().$implicit,i=P(2).$implicit,r=P(2);T(1),st(Te(2,1,r.aggregates[i.filterItemKeyName][e.id]?r.aggregates[i.filterItemKeyName][e.id]:0))}}function Cie(n,t){1&n&&(D(0,"mat-icon",46),le(1,"keyboard_arrow_up"),I())}function wie(n,t){1&n&&(D(0,"mat-icon",46),le(1,"keyboard_arrow_down"),I())}function Sie(n,t){if(1&n){const e=qt();D(0,"div",43),D(1,"div",44),he("click",function(){Ie(e),P();const r=Vn(9);return P(4).toggleSubjectPanel(r)}),W(2,Cie,2,0,"mat-icon",45),W(3,wie,2,0,"mat-icon",45),I(),I()}if(2&n){P();const e=Vn(9);T(2),O("ngIf",e.expanded),T(1),O("ngIf",!e.expanded)}}function Eie(n,t){if(1&n&&(D(0,"span",33),le(1),pe(2,"localeString"),I()),2&n){const e=P().$implicit;T(1),st(_r(2,1,e.title_EN,e.title_FR))}}function Die(n,t){if(1&n&&(D(0,"span",33),le(1),pe(2,"resourceLocaleString"),I()),2&n){const e=P().$implicit;T(1),st(Te(2,1,e.title_EN))}}function Aie(n,t){if(1&n&&(D(0,"div",34),le(1),pe(2,"number"),I()),2&n){const e=P().$implicit,i=P(3).$implicit,r=P(2);T(1),st(Te(2,1,r.aggregates[i.filterItemKeyName][e.id]?r.aggregates[i.filterItemKeyName][e.id]:0))}}function Iie(n,t){if(1&n){const e=qt();D(0,"div",47),D(1,"mat-checkbox",48),he("change",function(r){const s=Ie(e).$implicit,a=P(3).$implicit;return P(2).checkSubject(r,a,s)}),W(2,Eie,3,4,"span",31),W(3,Die,3,3,"span",31),I(),W(4,Aie,3,3,"div",32),I()}if(2&n){const e=t.$implicit,i=P(3).$implicit,r=P(2);T(1),O("id",e.id)("checked",r.shoudBeChecked(i,e)),T(1),O("ngIf",!e.requireLocalization),T(1),O("ngIf",e.requireLocalization),T(1),O("ngIf",r.aggregates&&r.aggregates[i.filterItemKeyName])}}function Mie(n,t){if(1&n){const e=qt();D(0,"div"),D(1,"div",36),D(2,"mat-checkbox",37),he("change",function(r){const s=Ie(e).$implicit,a=P(2).$implicit;return P(2).checkSubject(r,a,s)}),W(3,yie,3,4,"span",31),W(4,vie,3,3,"span",31),I(),W(5,bie,3,3,"div",32),W(6,Sie,4,2,"div",38),I(),D(7,"mat-accordion",39),D(8,"mat-expansion-panel",40,41),W(10,Iie,5,5,"div",42),I(),I(),I()}if(2&n){const e=t.$implicit,i=P(2).$implicit,r=P(2);T(2),O("id",e.id)("checked",r.shoudBeChecked(i,e)),T(1),O("ngIf",!e.requireLocalization),T(1),O("ngIf",e.requireLocalization),T(1),O("ngIf",r.aggregates&&r.aggregates[i.filterItemKeyName]),T(1),O("ngIf",e.childenFilterItems),T(2),O("expanded",!1),T(2),O("ngForOf",e.childenFilterItems)}}function Tie(n,t){if(1&n&&(D(0,"div",35),W(1,Mie,11,8,"div",28),I()),2&n){const e=P().$implicit;T(1),O("ngForOf",e.subFilterItems)}}function xie(n,t){if(1&n){const e=qt();hn(),ft(),D(0,"mat-accordion",21),D(1,"mat-expansion-panel",22),he("opened",function(){const o=Ie(e).$implicit;return P(2).subFilterPanelOpened(o)})("closed",function(){const o=Ie(e).$implicit;return P(2).subFilterPanelClosed(o)}),D(2,"mat-expansion-panel-header"),D(3,"mat-panel-title",23),le(4),pe(5,"resourceLocaleString"),I(),I(),W(6,_ie,4,4,"mat-selection-list",24),W(7,Tie,2,1,"div",25),I(),I()}if(2&n){const e=t.$implicit;T(1),O("expanded",e.IsExpanded),T(3),Dn(" ",Te(5,4,e.titleResourceKey)," "),T(2),O("ngIf",6!=e.type),T(1),O("ngIf",6==e.type)}}function Rie(n,t){if(1&n){const e=qt();D(0,"div",10),D(1,"div",11),D(2,"h3"),le(3),pe(4,"resourceLocaleString"),I(),D(5,"button",12),he("click",function(){Ie(e);const r=P();return Vn(3).toggle(),r.isSidenavContentFilter=!0,r.clearEmbedOption(),r.toggleHeader()}),hn(),D(6,"svg",13),we(7,"path",14),I(),I(),I(),ft(),D(8,"div",15),D(9,"button",16),he("click",function(){return Ie(e),P().resetFilters()}),D(10,"span",17),le(11),pe(12,"resourceLocaleString"),I(),hn(),D(13,"svg",18),we(14,"path",19),I(),I(),I(),W(15,xie,8,6,"mat-accordion",20),I()}if(2&n){const e=P();T(3),st(Te(4,3,e.currentcategoryFilterItem.filterTitleResourceKey)),T(8),st(Te(12,5,"OpenLibraryPage-ClearFiltersTitle")),T(4),O("ngForOf",e.getFiltersToDisplay())}}function kie(n,t){if(1&n){const e=qt();D(0,"div",10),D(1,"div",11),D(2,"h3"),le(3),pe(4,"resourceLocaleStr
1ing"),I(),D(5,"button",12),he("click",function(){Ie(e);const r=P();return Vn(3).toggle(),r.isSidenavContentFilter=!0,r.clearEmbedOption(),r.toggleHeader()}),hn(),D(6,"svg",13),we(7,"path",14),I(),I(),I(),ft(),D(8,"div",49),D(9,"mat-radio-group",50),he("ngModelChange",function(r){return Ie(e),P().embedOptionValue=r})("change",function(r){return Ie(e),P().embedOptionChange(r)}),D(10,"mat-radio-button",51),le(11),pe(12,"resourceLocaleString"),I(),D(13,"p"),le(14),pe(15,"resourceLocaleString"),I(),D(16,"mat-radio-button",52),le(17),pe(18,"resourceLocaleString"),I(),D(19,"p"),le(20),pe(21,"resourceLocaleString"),I(),I(),I(),D(22,"p",53),le(23,"Click "),D(24,"a",54),le(25,"here"),I(),le(26," for help with embedding widgets from the OpenLibrary."),I(),D(27,"button",55),he("click",function(){Ie(e);const r=Vn(31);return P().copyToClipboard(r)}),le(28),pe(29,"resourceLocaleString"),I(),D(30,"textarea",56,57),he("ngModelChange",function(r){return Ie(e),P().embedHtml=r}),I(),I()}if(2&n){const e=P();T(3),Dn(" ",Te(4,8,"EmbedOption-EmbedOptionTitle"),":"),T(6),O("ngModel",e.embedOptionValue),T(2),Dn(" ",Te(12,10,"EmbedOption-searchResultOptionTitle")," "),T(3),st(Te(15,12,"EmbedOption-searchResultOptionExplain")),T(3),Dn(" ",Te(18,14,"EmbedOption-searchBarOptionTitle")," "),T(3),st(Te(21,16,"EmbedOption-searchBarOptionExplain")),T(8),Dn(" ",Te(29,18,"EmbedOption-copyToClipboardButtonTitle")," "),T(2),O("ngModel",e.embedHtml)}}const Pw=function(n){return{"category-list-item-active":n}};function Oie(n,t){if(1&n){const e=qt();D(0,"button",80),he("click",function(){Ie(e);const r=P(2);return r.setSearchSort(r.searchSort.Relevant)}),le(1),pe(2,"resourceLocaleString"),I()}if(2&n){const e=P(2);O("ngClass",Oo(4,Pw,e.currentSearchSort()==e.searchSort.Relevant)),T(1),st(Te(2,2,"OpenLibraryPage-SortOptionRelevanceTitle"))}}function Pie(n,t){1&n&&(D(0,"span",81),D(1,"button",82),le(2),pe(3,"resourceLocaleString"),I(),I()),2&n&&(O("matTooltip",P(2).getDisabledRelevanceSortOptionTooltip()),T(1),O("disabled",!0),T(1),st(Te(3,3,"OpenLibraryPage-SortOptionRelevanceTitle")))}function Fie(n,t){if(1&n&&(D(0,"div",83),le(1,"Showing results for: "),D(2,"strong"),le(3),I(),I()),2&n){const e=P(2);T(3),st(e.indexItemQuery.actualKeyword)}}function Nie(n,t){if(1&n){const e=qt();D(0,"div"),D(1,"div",58),we(2,"item-search",59),D(3,"button",60),he("click",function(){Ie(e);const r=P(),o=Vn(3);return r.isSidenavContentFilter=!0,o.toggle(),r.toggleHeader()}),D(4,"div",61),hn(),D(5,"svg",62),we(6,"path",63),we(7,"path",64),I(),I(),le(8),pe(9,"resourceLocaleString"),I(),ft(),D(10,"button",65),he("click",function(){return Ie(e),P().resetAll()}),le(11),pe(12,"resourceLocaleString"),I(),I(),D(13,"div",66,67),D(15,"button",68),mr(16),le(17),pe(18,"resourceLocaleString"),gr(),hn(),D(19,"svg",69),we(20,"path",63),we(21,"path",70),I(),I(),ft(),D(22,"mat-menu",71,72),W(24,Oie,3,6,"button",73),W(25,Pie,4,5,"span",74),D(26,"button",75),he("click",function(){Ie(e);const r=P();return r.setSearchSort(r.searchSort.Newest)}),le(27),pe(28,"resourceLocaleString"),I(),D(29,"button",76),he("click",function(){Ie(e);const r=P();return r.setSearchSort(r.searchSort.TitleAtoZ)}),le(30),pe(31,"resourceLocaleString"),I(),D(32,"button",77),he("click",function(){Ie(e);const r=P();return r.setSearchSort(r.searchSort.TitleZtoA)}),le(33),pe(34,"resourceLocaleString"),I(),I(),I(),D(35,"div",78),D(36,"strong"),le(37),pe(38,"number"),mr(39),le(40),pe(41,"resourceLocaleString"),gr(),I(),I(),W(42,Fie,4,1,"div",79),I()}if(2&n){const e=Vn(23),i=P();T(2),O("keywordsChangeSubject",i.keywordsChangeSubject)("removeKeywordSubject",i.removeKeywordSubject)("placeholder",i.placeholder)("indexItemQuery",i.indexItemQuery),T(6),Dn(" ",Te(9,19,"OpenLibraryPage-FilterButtionTitle")," "),T(3),Dn(" ",Te(12,21,"OpenLibraryPage-ResetButtonTitle")," "),T(4),O("matMenuTriggerFor",e),T(2),st(Te(18,23,i.GetSearchSortResourceString())),T(7),O("ngIf",i.indexItemQuery.isQueryAppplied()),T(1),O("ngIf",!i.indexItemQuery.isQueryAppplied()),T(1),O("ngClass",Oo(35,Pw,i.currentSearchSort()==i.searchSort.Newest)),T(1),st(Te(28,25,"OpenLibraryPage-SortOptionNewestTitle")),T(2),O("ngClass",Oo(37,Pw,i.currentSearchSort()==i.searchSort.TitleAtoZ)),T(1),st
1(Te(31,27,"OpenLibraryPage-SortOptionTitleAtoZTitle")),T(2),O("ngClass",Oo(39,Pw,i.currentSearchSort()==i.searchSort.TitleZtoA)),T(1),st(Te(34,29,"OpenLibraryPage-SortOptionTitleZtoATitle")),T(4),Dn("",Te(38,31,i.getTotalCount())," "),T(3),st(Te(41,33,"OpenLibraryPage-ResultsFoundTitle")),T(2),O("ngIf",i.indexItemQuery.actualKeyword)}}function Lie(n,t){1&n&&we(0,"div",95)}function Vie(n,t){if(1&n){const e=qt();D(0,"div",96),he("click",function(r){Ie(e);const o=P().$implicit;return P(2).goToDetail(r,o)}),we(1,"img",97),I()}if(2&n){const e=P().$implicit;let i;T(1),Bh("src",null!==(i=null==e.institution?null:e.institution.imageUrl)&&void 0!==i?i:"",ks)}}function Bie(n,t){1&n&&(D(0,"div",98),D(1,"button",99),we(2,"img",100),I(),I())}function Hie(n,t){if(1&n){const e=qt();D(0,"div",86),he("click",function(r){const s=Ie(e).$implicit;return P(2).goToDetail(r,s)}),W(1,Lie,1,0,"div",87),D(2,"div",88),W(3,Vie,2,1,"div",89),D(4,"div",90),D(5,"h2"),we(6,"a",91),pe(7,"keepHtml"),pe(8,"localeString"),I(),D(9,"div",92),we(10,"div",93),pe(11,"keepHtml"),pe(12,"truncate"),pe(13,"descriptionFallback"),W(14,Bie,3,0,"div",94),I(),I(),I(),I()}if(2&n){const e=t.$implicit,i=P(2);O("ngClass",i.itemTypeService.getItemBadgeClass(e.type)),T(1),O("ngIf",i.currentIndexItem&&i.currentIndexItem.itemIdentifier==e.itemIdentifier),T(2),O("ngIf",null==e.institution?null:e.institution.imageUrl),T(3),O("href",i.getItemDetailurl(e),ks)("innerHTML",Te(7,7,_r(8,9,e.title_EN,e.title_FR)),Ea),T(4),O("innerHTML",Te(11,12,eD(12,14,_r(13,18,e.abstract_EN,e.abstract_FR),300,"...")),Ea),T(4),O("ngIf",e.isOSAP)}}function Uie(n,t){if(1&n){const e=qt();D(0,"button",104),he("click",function(){return Ie(e),P(3).loadMore()}),le(1),pe(2,"resourceLocaleString"),I()}2&n&&(T(1),st(Te(2,1,"OpenLibraryPage-LoadMoreButtonTitle")))}function jie(n,t){1&n&&(D(0,"div",105),we(1,"mat-spinner"),I())}function zie(n,t){if(1&n&&(D(0,"div",101),D(1,"p"),le(2),pe(3,"resourceLocaleString"),pe(4,"resourceLocaleString"),I(),W(5,Uie,3,3,"button",102),W(6,jie,2,0,"div",103),I()),2&n){const e=P(2);T(2),Gv("",e.getNumberOfRecords()," ",Te(3,6,"OpenLibraryPage-foundTotalOf")," ",e.getTotalCount()," ",Te(4,8,"OpenLibraryPage-foundTotalViewed"),""),T(3),O("ngIf",!e.isShowLoadMoreSearchIndicator()),T(1),O("ngIf",e.isShowLoadMoreSearchIndicator())}}function $ie(n,t){if(1&n&&(D(0,"div"),W(1,Hie,15,21,"div",84),W(2,zie,7,10,"div",85),I()),2&n){const e=P();Dt("showing-results",!!e.indexItemQuery.actualKeyword),T(1),O("ngForOf",e.getIndexItems()),T(1),O("ngIf",e.isLoadMore)}}let Gie=(()=>{class n{constructor(e,i,r,o,s,a,c,d,h,p){this.indexItemService=i,this.router=r,this.activeRoute=o,this.titleService=a,this.itemTypeService=c,this.winRef=d,this.localeService=h,this.analyticService=p,this.searchView="searchView",this.subs=[],this.searchedKeyword=[],this.lastSearchKeyword="",this.mediaMatcher=matchMedia("(max-width: 991px)"),this.mediumMediaMatcher=matchMedia("(max-width: 1599px)"),this.isCategoryLoading=!0,this.indexItemQuery=new r_,this.searchSort=bn,this.isLoadMore=!1,this.isEnglish=!0,this.isIgnoreKeywordNotify=!1,this.isLoading=!1,this.moveChipsToMenu=!1,this.isAdjustingExtraMatChipsView=!1,this.adjustMatChipView=[],this.typeEnum=ta,this.isListView=!0,this.isSortOptionSetExplicitly=!1,this.isSidenavOpened=!1,this.navigationManually=!1,this.onlyshowsearchresults="false",this.querystring="",this.isSidenavContentFilter=!0,this.filerSearchBoxConfig={},console.log("set languge in OpenLibraryItemsComponent:"+this.winRef.nativeWindow.lang),this.localeService.setLocale(this.winRef.nativeWindow.lang?this.winRef.nativeWindow.lang:"en"),this.mediaMatcher.addListener(g=>e.run(()=>this.mediaMatcher=matchMedia("(max-width: 991px)"))),this.mediumMediaMatcher.addListener(g=>e.run(()=>this.mediumMediaMatcher=matchMedia("(max-width: 1599px)"))),this.keywordsChangeSubject=new De,this.removeKeywordSubject=ne
1w De,this.isEnglish="en"===s.valueOf(),this.titleService.setTitle(vi.getString("PageTitle-Title",this.getCulture())),this.placeholder=vi.getString("Placeholders-SearcBar",this.getCulture()),this.moveChipsToMenu=!1,this.wpSetting=this.winRef.nativeWindow.settingsData}initFilerSearchBoxConfig(){this.filerSearchBoxConfig[$t.Licences]=!1,this.filerSearchBoxConfig[$t.Subject]=!1,this.filerSearchBoxConfig[$t.OpenLibraryItemType]=!1,this.filerSearchBoxConfig[$t.OpenLibraryLanguage]=!1}ngOnInit(){this.indexItemQuery.itemTypes=[ne.MicroCredentials],this.initFilerSearchBoxConfig(),this.subs.push(this.router.events.subscribe(r=>{r instanceof od&&(r.url&&r.url.indexOf("returnUrl")>=0?this.goBack():(this.navigationManually||window.location.reload(),this.navigationManually=!1))}));const e=new URLSearchParams(this.querystring);this.indexItemQuery.load(e),this.indexItemQuery.nextPage=!1,this.currentIndexItem=this.getCurrentIndexItem(),"true"!=localStorage.getItem("FromDetailUILink")&&(this.isNavigatingToDetailPage=this.getSavedIsNavigatingToDetailPage(),this.removeIsNavigatingToDetailPage()),this.isCategoryLoading=!0,this.isLoading=!0,this.subs.push(this.indexItemService.GetOpenLibraryFilter().subscribe(r=>{this.categoryFilter=r,this.isCategoryLoading=!1,this.currentcategoryFilterItem=this.categoryFilter.categoryFilterItems.find(Ge=>Ge.id==Kt.MicroCredentials),this.currentcategoryFilterItem.isActive=!0;var o=this.currentcategoryFilterItem.subFilters.findIndex(Ge=>Ge.type==$t.microcredentialSubjects),s=[];if(o>=0&&void 0!==this.wpSetting){var a=this.wpSetting.areasOfFocus;void 0!==a&&(this.currentcategoryFilterItem.subFilters[o].subFilterItems=this.currentcategoryFilterItem.subFilters[o].subFilterItems.filter(Ge=>a.some(Cn=>Cn.label===Ge.title_EN&&!0===Cn.checked)),this.currentcategoryFilterItem.subFilters[o].subFilterItems.map(Ge=>(s.push(Ge.id),Ge)))}var c=this.currentcategoryFilterItem.subFilters.findIndex(Ge=>Ge.type==$t.microcredentialDeliveries),d=[];if(c>=0&&void 0!==this.wpSetting){var h=this.wpSetting.deliveries;void 0!==h&&(this.currentcategoryFilterItem.subFilters[c].subFilterItems=this.currentcategoryFilterItem.subFilters[c].subFilterItems.filter(Ge=>h.some(Cn=>Cn.label===Ge.title_EN&&!0===Cn.checked)),this.currentcategoryFilterItem.subFilters[c].subFilterItems.map(Ge=>(d.push(Ge.id),Ge)))}var p=this.currentcategoryFilterItem.subFilters.findIndex(Ge=>Ge.type==$t.Language),g=[];if(p>=0&&void 0!==this.wpSetting){var _=this.wpSetting.languages;void 0!==_&&(this.currentcategoryFilterItem.subFilters[p].subFilterItems=this.currentcategoryFilterItem.subFilters[p].subFilterItems.filter(Ge=>_.some(Cn=>Cn.label===Ge.title_EN&&!0===Cn.checked)),this.currentcategoryFilterItem.subFilters[p].subFilterItems.map(Ge=>(g.push(Ge.id),Ge)))}var v=this.currentcategoryFilterItem.subFilters.findIndex(Ge=>Ge.type==$t.Institution),M=[];if(v>=0&&void 0!==this.wpSetting){var w=this.wpSetting.institutions;void 0!==w&&(this.currentcategoryFilterItem.subFilters[v].subFilterItems=this.currentcategoryFilterItem.subFilters[v].subFilterItems.filter(Ge=>w.some(Cn=>!1)),this.currentcategoryFilterItem.subFilters[v].subFilterItems.map(Ge=>(M.push(Ge.id),Ge)))}this.refreshUrl();const F=new URLSearchParams(this.indexItemQuery.ToQueryString());this.indexItemQuery.load(F);var V=this.indexItemQuery.loadFilters(F,this.categoryFilter,this.currentcategoryFilterItem);this.categoryFilter=V.categoryFilter,this.currentcategoryFilterItem=V.currentcategoryFilterItem,this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters&&this.currentcategoryFilterItem.subFilters.length&&this.currentcategoryFilterItem.subFilters.forEach(Ge=>{Ge.subFilterItems=(0,dB.orderBy)(Ge.subFilterItems,[Cn=>this.isEnglish?Cn.title_EN.toLowerCase():Cn.title_FR.toLowerCase()],["asc"])});var ie=this.currentcategoryFilterItem.subFilters.findIndex(Ge=>23==Ge.type);ie>=0&&(this.currentcategoryFilterItem.subFilters[ie].subFilterItems=this.currentcategoryFilterItem.subFilters[ie].subFilterItems.sort((Ge,Cn)=>Number(Ge.id)-Number(Cn.id)));var ue=this.currentcategoryFilterItem.subFilters.find(Ge=>18===Ge.type),Ye=this.currentcategoryFilterItem.subFilters.find(Ge=>20===Ge.type),en=this.currentcategoryFilterItem.subFilters.find(Ge=>22===Ge.type),ln=this.currentcategoryFilterItem.subFilters.find(Ge=>19===Ge.type),bi=this.currentcategoryFilterItem.subFilters.find(Ge=>5===Ge.type),ai=this.currentcategoryFilterItem.subFilters.find(Ge=>23===Ge.type),li=this.currentcategoryFilterItem.subFilters.find(Ge=>1===Ge.type);this.currentcategoryFilterItem.subFilters=[ue,Ye,en,ln,bi,ai,li],this.intializeFiltersByPersistentState(),this.resetAllFilerSearchBox(),this.isLoading=!1,this.initializeFilterPanelState(),this.saveCurrentCulture(),this.doSearch()},r=>{this.isCategoryLoading=!1})),this.subs.push(this.keywordsChangeSubject.asObservable().subscribe(r=>{this.isIgnoreKeywordNotify||(this.isSortOptionSetExplicitly?!r&&this.indexItemQuery.sortCol==bn.Relevant&&(this.indexItemQuery.sortCol=bn.Newest,this.isSortOptionSetExplicitly=!1):this.indexItemQuery.sortCol=r?bn.Relevant:bn.Newest,this.indexItemQuery.keyword=r,this.indexItemQuery.actualKeyword=null,this.refreshUrl(!0)),this.isIgnoreKeywordNotify=!1})),this.subs.push(this.removeKeywordSubject.asObservable().subscribe(()=>{this.removeKeyword()})),this.analyticService.sendPageView("Micro-credential search UI")}getFiltersToDisplay(){return this.currentcategoryFilterItem.subFilters.filter(e=>e.type!=$t.Institution)}ngOnDestroy(){if(this.clearAggregateSubscription(),this.subs&&this.subs.length>0)for(;this.subs.length>0;){let e=this.subs.pop();e.unsubscribe(),e=null}}resetAllFilerSearchBox(){this.categoryFilter&&this.categoryFilter.categoryFilterItems&&this.categoryFilter.categoryFilterItems.forEac
1h(e=>{e.subFilters&&e.subFilters.forEach(i=>this.resetFilerSearchBox(i))})}resetFilerSearchBox(e){e.showSearchBox=this.filerSearchBoxConfig[e.type]=!!this.filerSearchBoxConfig[e.type],e.showSearchBox?(e.keywordFormControl=new Nc(""),e.filteredSubFilterItems$=e.keywordFormControl.valueChanges.pipe((0,hB.O)(""),(0,fB.switchMap)(i=>this.filterSubFilterItems(i,e)))):e.filteredSubFilterItems$=Se(e.subFilterItems)}filterSubFilterItems(e,i){return Se(e&&i.showSearchBox?i.subFilterItems.filter(o=>!(!i.selectedSubFilterItems||!i.selectedSubFilterItems.includes(o.id))||(this.isEnglish?o.title_EN:o.title_FR).toLowerCase().indexOf(e.toLowerCase())>-1):i.subFilterItems)}clearFilterSearch(e){e.keywordFormControl.setValue("")}clearAggregateSubscription(){this.aggregateSub&&(this.aggregateSub.unsubscribe(),this.aggregateSub=null)}removeKeyword(){this.indexItemQuery.keyword="",this.keywordsChangeSubject.next(this.indexItemQuery.keyword),this.refreshUrl(!0)}isScreenSmall(){return this.mediaMatcher.matches}isScreenMedium(){return!this.isScreenSmall()&&this.mediumMediaMatcher.matches}getImageUrl(e){if(e.imageUrl)return e.imageUrl}updateAggregate(){this.clearAggregateSubscription(),this.aggregateSub=this.indexItemService.GetAggregates(this.indexItemQuery).subscribe(e=>{if(this.indexItemQuery.isOnlySite&&this.indexItemQuery.sourceWebsiteTypes&&this.indexItemQuery.sourceWebsiteTypes.length>0&&e.clientTypes){var i=this.indexItemQuery.sourceWebsiteTypes[0];for(let r in e.clientTypes)String(i)!=r&&(e.clientTypes[r]=0)}this.aggregates=e})}loadMore(){this.indexItemQuery&&this.loadMore&&(this.indexItemQuery.page++,this.indexItemQuery.nextPage=!0,this.navigationManually=!0,this.router.navigateByUrl(this.indexItemQuery.ToQueryString()),this.doSearch())}currentSearchSort(){return this.indexItemQuery?this.indexItemQuery.sortCol:bn.Relevant}setSearchSort(e){this.indexItemQuery.sortCol=e,this.isSortOptionSetExplicitly=!0,this.refreshUrl()}GetSearchSortResourceString(){return this.indexItemQuery.sortCol==bn.Relevant?"OpenLibraryPage-SortOptionRelevanceTitle":this.indexItemQuery.sortCol==bn.Newest?"OpenLibraryPage-SortOptionNewestTitle":this.indexItemQuery.sortCol==bn.TitleAtoZ?"OpenLibraryPage-SortOptionTitleAtoZTitle":this.indexItemQuery.sortCol==bn.TitleZtoA?"OpenLibraryPage-SortOptionTitleZtoATitle":"OpenLibraryPage-SortOptionsTitle"}intializeFiltersByPersistentState(){if(this.isNavigatingToDetailPage){let e=this.getFilterState();if(e)if(this.isFilterPersistenceExpire(e))this.removeFilterState(),this.removeCurrentIndexItem();else{if(this.indexItemQuery.cloneFilter(e.indexItemQuery),this.indexItemQuery.keyword&&(this.isIgnoreKeywordNotify=!0,this.keywordsChangeSubject.next(this.indexItemQuery.keyword)),this.indexItemQuery&&this.indexItemQuery.itemTypes&&this.indexItemQuery.itemTypes.length>0){let i=this.indexItemQuery.getFilterTypeByItemType(this.indexItemQuery.itemTypes),r=this.categoryFilter.categoryFilterItems.findIndex(o=>o.id==i);r>=0&&(this.currentcategoryFilterItem=this.categoryFilter.categoryFilterItems[r],this.currentcategoryFilterItem.isActive=!0,this.currentcategoryFilterItem.subFilters.forEach(o=>{let s=this.indexItemQuery.getParams(o.filterItemKeyName);s&&s.length>0?o.selectedSubFilterItems=s.map(String):o.selectAllChecked=!0}))}this.indexItemQuery.isRefreshUrl=!0}}else this.saveFilterState();this.indexItemQuery.isRefreshUrl&&(this.navigationManually=!0,this.router.navigateByUrl(this.indexItemQuery.ToQueryString()),this.indexItemQuery.isRefreshUrl=!1)}removeCurrentcategoryFilterItem(){this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters&&(this.adjustMatChipView=this.adjustMatChipView.filter(e=>e.type!=ta.MainFilter&&e.type!=ta.SubFilter),this.currentcategoryFilterItem.subFilters.forEach(e=>{e.selectedSubFilterItems=[],e.selectAllChecked=!0,e.selectAllCollege=!1,e.selectAllUniversity=!1,e.keywordFormControl&&e.keywordFormControl.setValue("")})),this.currentcategoryFilterItem=null,this.indexItemQuery.resetFilters(),this.refreshUrl()}getSubFilters(){return this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters?this.currentcategoryFilterItem.subFilters.filter(e=>e.selectedSubFilterItems&&e.selectedSubFilterItems.length>0&&!this.adjustMatChipView.some(i=>i.id==e.type)):[]}addSubfilterToMenu(e){return this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters?this.currentcategoryFilterItem.subFilters.find(i=>i.type==e&&i.selectedSubFilterItems&&i.selectedSubFilterItems.length>0&&this.adjustMatChipView.some(r=>r.id==e)):null}checkTypeExist(e){return this.adjustMatChipView.some(i=>i.type==e)}handleSidenavToggleForMatChipView(){}removeSubFilter(e){this.adjustMatChipView=this.adjustMatChipView.filter(i=>i.id!=e.type),e.selectedSubFilterItems=[],e.selectAllChecked=!0,this.indexItemQuery.setParams(e.filterItemKeyName,null),this.refreshUrl()}getCategoryAggregationCount(e){let i=0;if(this.aggregates&&this.aggregates.itemTypes){let r=this.aggregates.itemTypes;e==Kt.Course&&r[ne.Course]?i=r[ne.Course]:e==Kt.Program&&r[ne.Program]?i=r[ne.Program]:e==Kt.Page&&r[ne.Page]?i=r[ne.Page]:e==Kt.Post&&r[ne.Post]?i=r[ne.Post]:e==Kt.Resource?(r[ne.InstructorResource]&&(i+=r[ne.InstructorResource]),r[ne.LearnerResource]&&(i+=r[ne.LearnerResource])):e==Kt.Textbook&&r[ne.Textbook]?i=r[ne.Textbook]:e==Kt.Institution?r[ne.Institution]&&(i=r[ne.Institution]):e==Kt.H5P?r[ne.H
15P]&&(i=r[ne.H5P]):e==Kt.OpenLibary&&(r[ne.Textbook]&&(i+=r[ne.Textbook]),r[ne.H5P]&&(i+=r[ne.H5P]))}return i}onNgModelChange(e,i,r){i.selectedSubFilterItems=r,i.selectedSubFilterItems.length!=i.subFilterItems.length||this.isOperatorAnd(i)?0==i.selectedSubFilterItems.length?(i.selectAllChecked=!0,this.indexItemQuery.setParams(i.filterItemKeyName,null),this.adjustMatChipView=this.adjustMatChipView.filter(o=>o.type!=ta.SubFilter&&o.id!==i.type)):(this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems),i.selectAllChecked=!1):(i.selectAllChecked=!0,this.indexItemQuery.setParams(i.filterItemKeyName,null)),i.selectAllCollege=!1,i.selectAllUniversity=!1,this.refreshUrl()}isOperatorAnd(e){return e.type==$t.Attribute||e.type==$t.AdditionalFeature}onCheckAllChange(e,i,r){r.checked&&e.deselectAll(),this.indexItemQuery.setParams(i.filterItemKeyName,null),i.selectAllCollege=!1,i.selectAllUniversity=!1,this.refreshUrl()}onCheckAllUniversityChange(e,i,r){i.selectAllChecked=!1,r.checked?(i.selectAllCollege=!1,i.selectAllUniversity=!0,i.selectedSubFilterItems=i.subFilterItems.filter(o=>o.isUniversity).map(o=>o.id),this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems)):(i.selectAllCollege=!1,i.selectAllUniversity=!1,e.deselectAll(),this.indexItemQuery.setParams(i.filterItemKeyName,null)),this.refreshUrl()}onCheckAllCollegeChange(e,i,r){i.selectAllChecked=!1,r.checked?(i.selectAllCollege=!0,i.selectAllUniversity=!1,i.selectedSubFilterItems=i.subFilterItems.filter(o=>!o.isUniversity).map(o=>o.id),this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems)):(i.selectAllCollege=!1,i.selectAllUniversity=!1,e.deselectAll(),this.indexItemQuery.setParams(i.filterItemKeyName,null)),this.refreshUrl()}refreshUrl(e=!1){this.indexItemQuery.page=0,this.indexItemQuery.nextPage=!1,this.navigationManually=!0,this.router.navigateByUrl(this.indexItemQuery.ToQueryString()).then(i=>{var r;i&&(this.currentIndexItem=null,null===(r=this.sidenavContent)||void 0===r||r.nativeElement.scrollIntoView(),e&&(window.location.href=`${Hr_baseSearchListUrl}${this.indexItemQuery.ToQueryString()}`))}),this.doSearch()}doSearch(){this.indexItemQuery.keyword&&-1==this.searchedKeyword.findIndex(e=>e==this.indexItemQuery.keyword)?(this.indexItemQuery.increasePopularSearch=!0,this.searchedKeyword.push(this.indexItemQuery.keyword)):this.indexItemQuery.increasePopularSearch=!1,this.saveFilterState(),this.isLoading=!0,this.subs.push(this.indexItemService.Search(this.indexItemQuery).subscribe(e=>{e=this.preProcessResult(e),0==this.indexItemQuery.nextPage?(this.searchResult=e,this.indexItemQuery.page>0&&(this.indexItemQuery.nextPage=!0)):(this.searchResult.indexItems=this.searchResult.indexItems.concat(e.indexItems),this.searchResult.isLoadMore=e.isLoadMore,this.searchResult.totalCount=e.totalCount),this.indexItemQuery.actualKeyword=this.indexItemQuery.keyword&&e.actualKeyword&&this.indexItemQuery.keyword.toLocaleLowerCase()!=e.actualKeyword.toLocaleLowerCase()?e.actualKeyword:null,this.isLoadMore=e.isLoadMore,this.lastSearchKeyword=this.indexItemQuery.keyword,this.removeCurrentIndexItem(),setTimeout(()=>this.currentIndexItem=null),this.isLoading=!1,this.updateAggregate()},e=>{console.log(e)}))}preProcessResult(e){if(e&&e.indexItems&&e.indexItems.length)for(var i=0;i<e.indexItems.length;i++)e.indexItems[i].recordNo=this.indexItemQuery.page*e.pageSize+i;return e}getIndexItems(){return this.searchResult&&this.searchResult.indexItems?this.searchResult.indexItems:[]}getTotalCount(){if(!this.currentcategoryFilterItem||this.currentcategoryFilterItem.id!=Kt.Institution||null!=this.indexItemQuery.institutions&&0!=this.indexItemQuery.institutions.length)return this.searchResult?this.searchResult.totalCount:0;{let e=0;if(this.aggregates&&this.aggregates.itemTypes){let i=this.aggregates.itemTypes;i[ne.Institution]&&(e=i[ne.Institution])}return e}}getNumberOfRecords(){return this.searchResult?this.searchResult.pageSize*(this.indexItemQuery.page+1):0}getCategoryFilter(e){if(this.categoryFilter&&this.categoryFilter.categoryFilterItems&&this.categoryFilter.categoryFilterItems.length)return this.categoryFilter.categoryFilterItems.find(i=>i.filterTitleResourceKey===e)}getSubFilterItems(e,i){var r=this.getCategoryFilter(e);if(!r||!r.subFilters||!r.subFilters.length)return null;var o=r.subFilters.find(s=>s.filterItemKeyName===i);return o&&o.subFilterItems&&o.subFilterItems.length?o.subFilterItems:null}
1getSubfilter(e,i){var r=this.itemTypeService.getCategoryFilterItem(e,this.categoryFilter);return r?r.subFilters.find(o=>o.type==i):null}getH5PSubject(e,i,r){var o=this.getSubfilter(e,i);return o?o.subFilterItems.find(s=>s.id===r):null}getAttributeTooltip(e){return this.isEnglish?e.title_en:e.title_fr}getInstituionImageUrl(e){return e&&e.institution&&e.institution.imageUrl?e.institution.imageUrl:null}getInstitutionFilters(){return this.getSubFilterItems("FilterStrings-Category_Filter_Item_Institution_Filter_Title","institutions")}getInstitutionFilter(e){let i=this.getInstitutionFilters();return i&&i.length?i.find(r=>r.id==e):null}getCourseOverlayImage(e){let i=this.getInstitutionFilter(e);return i?i.courseOverlayImage:null}getProgramOverlayImage(e){let i=this.getInstitutionFilter(e);return i?i.programOverlayImage:null}getOverlayImage(e,i){if(e===ne.Program||e===ne.Course){var r=e===ne.Program?this.getProgramOverlayImage(i.id.toString()):this.getCourseOverlayImage(i.id.toString());return r&&(r="/imagedata/"+r),r}return null}isQueryOrFilterApppled(){return!(!this.indexItemQuery||!(this.indexItemQuery.keyword&&""!==this.indexItemQuery.keyword.trim()||null!=this.currentcategoryFilterItem))}isLastSearchQueryAppplied(){return!(!this.lastSearchKeyword||""===this.lastSearchKeyword.trim())}updateDefaultSortSort(){this.indexItemQuery.isQueryAppplied()&&!this.isLastSearchQueryAppplied()?this.indexItemQuery.sortCol=bn.Relevant:!this.indexItemQuery.isQueryAppplied()&&this.isLastSearchQueryAppplied()&&(this.indexItemQuery.sortCol=bn.Newest)}goBack(){this.indexItemQuery.returnUrl&&(this.indexItemQuery.saveReturnUrl(null),this.retSetSubFilterPanelState(),this.saveSidenavState(!1),window.location.href=this.indexItemQuery.returnUrl)}getSiteSourceToggleTooltip(){return this.indexItemQuery.enableIsOnlySite?"":vi.getString("FilterStrings-IsOnlySite_Disabled_Tooltip",this.getCulture())}getCulture(){return this.isEnglish?"en-CA":"fr-CA"}saveCurrentCulture(){localStorage.setItem("currentCulture",JSON.stringify(this.getCulture()))}getSavedCurrentCulture(){return JSON.parse(localStorage.getItem("currentCulture"))||this.getCulture()}isFilterPersistenceExpire(e){let i=new Date,r=new Date(e.lastUpdated);return Math.abs(i.getTime()-r.getTime())/36e5>=1}saveFilterState(){let e=new uB;e.lastUpdated=new Date,e.indexItemQuery=this.indexItemQuery,localStorage.setItem("filterState",JSON.stringify(e))}getFilterState(){return JSON.parse(localStorage.getItem("filterState"))}removeFilterState(){localStorage.removeItem("filterState")}saveCurrentIndexItem(e){localStorage.setItem("currentIndexItem",JSON.stringify(e))}getCurrentIndexItem(){return JSON.parse(localStorage.getItem("currentIndexItem"))}removeCurrentIndexItem(){localStorage.removeItem("currentIndexItem")}saveIsNavigatingToDetailPage(e){localStorage.setItem("isNavigatingToDetailPage",JSON.stringify(e))}getSavedIsNavigatingToDetailPage(){return JSON.parse(localStorage.getItem("isNavigatingToDetailPage"))||!1}removeIsNavigatingToDetailPage(){localStorage.removeItem("isNavigatingToDetailPage")}getMobileFilterButtonText(){return vi.getString(this.currentcategoryFilterItem?"FilterStrings-Moble_Filter_Buttton_Text_Applied":"FilterStrings-Moble_Filter_Buttton_Text_Not_Applied",this.getCulture())}subFilterItemSelectionChange(e,i){if(i.option.selected){let o=String(i.option.value),s=e.subFilterItems.findIndex(p=>p.id==o),a="";s>=0&&(a=this.getItemName(e.subFilterItems[s].title_EN,e.subFilterItems[s].title_FR));let c=this.getResourceValue(e.titleResourceKey),d=this.getSubCategoryItemAction(c);this.getResourceValue(this.currentcategoryFilterItem.titleResourceKey),this.indexItemQuery.setParams(e.filterItemKeyName,e.selectedSubFilterItems),this.analyticService.sendEventsClickedAnalytic(d,e.subFilterItems[s].title_EN,null,null),this.refreshUrl()}}getSubCategoryItemAction(e){let i=e.split(" ");return i&&i.length>1&&(e=i.join("-")),"Filtered-On-"+e}getItemName(e,i){return e||i}getResourceValue(e){let i=vi.getString(e,"en-CA");return i||(i=vi.getString(e,"fr-CA")),i}isShowIntialSearchIndicator(){return!(!this.isLoading||this.indexItemQuery.nextPage)}isShowLoadMoreSearchIndicator(){return!(!this.isLoading||!this.indexItemQuery.nextPage)}getItemDetailurl(e){return this.getDetailUrl(e)}navigateToDetailPage(e){this.saveCurrentIndexItem(e),this.saveIsNavigatingToDetailPage(!0);var i=this.getItemDetailurl(e);window.location.href=i}onResize(e){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{},100)}initializeFilterPanelState(){this.isSidenavOpened=!1,this.categoryFilter.IsExpanded=!this.isPanelStateRestoredFromLocalStorage()||6==this.activeRoute.snapshot.queryParams.itemTypes&&this.activeRoute.snapshot.queryParams.sourceWebsiteTypes>0?!(6==this.activeRoute.snapshot.queryParams.itemTypes&&this.activeRoute.snapshot.queryParams.sourceWebsiteTypes>0):this.getSavedCategoryFilterPanelState(),this.currentcategoryFilterItem&&this.currentcategoryFilterItem.subFilters&&this.currentcategoryFilterItem.subFilters.forEac
1h(e=>{e.IsExpanded=!!this.isPanelStateRestoredFromLocalStorage()&&this.isSubFilterPanelExpanded(e.type)})}isPanelStateRestoredFromLocalStorage(){var e=JSON.parse(localStorage.getItem("subFilterPanels"));return!(!e||!e.length)}categoryFilterPanelOpened(e){e.IsExpanded=!0,this.saveCategoryFilterPanelState(!1)}categoryFilterPanelClosed(e){e.IsExpanded=!1,this.saveCategoryFilterPanelState(!0)}saveCategoryFilterPanelState(e){localStorage.setItem("categoryFilterPanelState",JSON.stringify(e))}getSavedCategoryFilterPanelState(){return!JSON.parse(localStorage.getItem("categoryFilterPanelState"))}subFilterPanelOpened(e){e.IsExpanded=!0,this.saveSubFilterPanelState(e)}subFilterPanelClosed(e){e.IsExpanded=!1,this.saveSubFilterPanelState(e)}isSubFilterPanelExpanded(e){var i=JSON.parse(localStorage.getItem("subFilterPanels"));if(i&&i.length){var r=i.filter(o=>o===e);return!(r&&r.length)}return!0}retSetSubFilterPanelState(){localStorage.setItem("subFilterPanels",JSON.stringify([]))}saveSubFilterPanelState(e){var i=JSON.parse(localStorage.getItem("subFilterPanels"));if(i&&i.length){var r=i.filter(o=>o===e.type);r&&r.length?e.IsExpanded&&i.splice(i.indexOf(r[0]),1):e.IsExpanded||i.push(e.type)}else i=e.IsExpanded?[]:[e.type];localStorage.setItem("subFilterPanels",JSON.stringify(i))}sidenavOpened(){this.isLoading||(this.isSidenavOpened=!0,this.saveSidenavState(!1))}sidenavClosed(){this.isLoading||(this.isSidenavOpened=!1,this.saveSidenavState(!0))}saveSidenavState(e){localStorage.setItem("sidenavState",JSON.stringify(e))}getSavedSidenavState(){return!JSON.parse(localStorage.getItem("sidenavState"))}getDisabledRelevanceSortOptionTooltip(){return vi.getString("SortOptions-Relevance_Sort_Option_Disabled_Tooltip",this.getCulture())}getDetailUrl(e){var i=this.indexItemQuery.clone();i.page=Math.floor(e.recordNo/this.searchResult.pageSize);var r=`${Hr_detailPageBaseUrl}#/${e.itemIdentifier}/${i.ToQueryString()}`;return this.isEnglish||r.includes("/fr/")||(r.includes("/item-details/")?r=r.replace("/item-details/","/fr/item-details/"):r.includes("/search-item-front/")&&(r=r.replace("/search-item-front/","/fr/search-item-front/"))),r}goToDetail(e,i){e.preventDefault(),e.stopPropagation(),this.saveCurrentIndexItem(i),this.saveIsNavigatingToDetailPage(!0);var r=this.getDetailUrl(i);window.location.href=r}setListView(e){this.isListView=e,localStorage.setItem(this.searchView,e.toString())}getH5PContentType(e){return e?e.replace("H5P.","").split(" ")[0]:""}getH5PContetTypeImage(e){if(!e)return"";var i=e.replace("H5P.","").split(" ");return i.pop(),`/images/h5p/${i.join("-").toLowerCase()}-icon.png`}isShowFilterItem(e,i){return e.type!=$t.Tags&&e.type!=$t.Authors||!this.aggregates||!this.aggregates[e.filterItemKeyName]||(this.aggregates[e.filterItemKeyName][i.id]?this.aggregates[e.filterItemKeyName][i.id]:0)>0}groupFilters(e){let i=[],r=[];for(let a=0;a<e.length;a++)new RegExp("^((?![-]).)*$").test(e[a].id)&&i.push(e[a]);for(let a=0;a<e.length;a++)e[a].id.match(/-/)&&r.push(e[a]);for(let a=0;a<i.length;a++){i[a].childenFilterItems=[];for(let c=0;c<r.length;c++)new RegExp("^"+i[a].id).test(r[c].id)&&(r[c].title_EN=r[c].title_EN.split("-").pop(),i[a].childenFilterItems.push(r[c]))}return i}checkSubject(e,i,r){i.selectedSubFilterItems||(i.selectedSubFilterItems=[]);var o=i.selectedSubFilterItems.findIndex(c=>c==r.id);!0===e.checked?o<0&&i.selectedSubFilterItems.push(r.id):o>=0&&i.selectedSubFilterItems.splice(o,1),this.indexItemQuery.setParams(i.filterItemKeyName,i.selectedSubFilterItems),this.analyticService.sendEventsClickedAnalytic("Filter on Subject",r.id,null,null),this.refreshUrl()}shoudBeChecked(e,i){return e.selectedSubFilterItems||(e.selectedSubFilterItems=[]),e.selectedSubFilterItems.findIndex(o=>o==i.id)>=0}toggleSubjectPanel(e){e.toggle()}getItemType(e){return e.itemTypes&&e.itemTypes.length>0?e.itemTypes[0]:"Other"}embedOptionChange(e){if(1==e.value){const i=window.location.search;this.embedHtml=`<ol-items onlyshowsearchresults="true" querystring="${i}"></ol-items>\n\n  ${this.getTheEmbeddingScript()}\n           \n  `}else 2==e.value&&(this.embedHtml=`<ol-item-search></ol-item-search>\n\n  ${this.getTheEmbeddingScript()}\n           \n  `)}getTheEmbeddingScript(){return`\n  <link rel="stylesheet" href="${Hr_searchPageBaseUrl}styles.css">\n  <script src="${Hr_searchPageBaseUrl}polyfills.js"><\/script>\n  <script src="${Hr_searchPageBaseUrl}runtime.js"><\/script>\n  <script src="${Hr_searchPageBaseUrl}main.js"><\/script>\n\n  `}clearEmbedOption(){this.embedOptionValue=null,this.embedHtml=""}copyToClipboard(e){e.select(),document.execCommand("copy"),e.setSelectionRange(0,0)}toggleHeader(){this.winRef.nativeWindow.header&&this.winRef.nativeWindow.header.classList.toggle("header-z-index")}resetFilters(){this.indexItemQuery.resetFilters(),this.indexItemQuery.itemTypes=[ne.MicroCredentials],this.router.navigateByUrl(this.indexItemQuery.ToQueryString()).then(e=>{e&&window.location.reload()})}resetAll(){this.indexItemQuery.reset(),this.indexItemQuery.itemTypes=[ne.MicroCredentials],this.keywordsChangeSubject.next(this.indexItemQuery.keyword),this.router.navigateByUrl(this.indexItemQuery.ToQueryString()).then(e=>{e&&(window.location.href=`${Hr_baseSearchListUrl}${this.indexItemQuery.ToQueryString()}`)})}}return n.\u0275fac=function(e){return new(e||n)(b(dt),b(i_),b(rr),b(ql),b(yr),b(_A),b(pB),b(kw),b(Nf),b(RT))},n.\u0275cmp=lt({type:n,selectors:[["related-mcs-search"]],viewQuery:function(e,i){if(1&e&&(Vt(sie,5),Vt(aie,5),Vt(lie,5),Vt(cie,5),Vt(uie,5)),2&e){let r;ye(r=ve())&&(i.sideNav=r.first),ye(r=ve())&&(i.sidenavContent=r.first),ye(r=ve())&&(i.filterContainer=r.first),ye(r=ve())&&(i.sortOptionDropdown=r.first),ye(r=ve())&&(i.subfilterviewmenu=r.first)}},hostVars:2,hostBindings:function(e,i){1&e&&he("resize",function(o){return i.onResize(o)},!1,Up),2&e&&Dt("french-lang",!i.isEnglish)},inputs:{onlyshowsearchresults:"onlyshowsearchresults",querystring:"querystring"},decls:11,vars:8,consts:[["class","mat-spinner-container",4,"ngIf"],[1,"app-sidenav-container"],["disableClose","",1,"app-sidenav",3,"opened","mode","position","closed","openedChange"],["sidenav",""],["class","filters-content-container",4,"ngIf"],[1,"app-sidenav-content"],["sidenavContent",""],[4,"ngIf"],[3,"showing-results",4,"ngIf"],[1,"mat-spinner-container"],[1,"filters-content-container"],[1,"top-content"],["mat-mini-fab","","color","default","type","button",1,"close-button",3,"click"],["viewBox","0 0 24 24",1,"close-icon"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"],[1,"filters-reset-btn"],["mat-flat-button","","color","accent","type","button",3,"click"],[1,"title"],["_ngcontent-aoy-c246","","viewBox","0 0 24 24",1,"clear-icon"],["_ngcontent-aoy-c246","","d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"],["multi","true","class","cat-filter-container",4,"ngFor","ngForOf"],["multi","true",1,"cat-filter-container"],[3,"expanded","opened","closed"],[1,"sub-filter-title"],["class","list-checkbox",3,"ngModel","ngModelChange","selectionChange",4,"ngIf"],["class","",4,"ngIf"],[1,"list-checkbox",3,"ngModel","ngModelChange","selectionChange"],["list",""],[4,"ngFor","ngForOf"],[3,"value","checkboxPosition",4,"ngIf"],[3,"value","checkboxPosition"],["class","sub-filter-item-title",4,"ngIf"],["class","aggregate-count-box",4,"ngIf"],[1,"sub-filter-item-title"],[1,"aggregate-count-box"],[1,""],[1,"checkbox-main-cat"],[1,"maincat",3,"id","checked","change"],["class","collapse-
1arrow",4,"ngIf"],["multi","",1,"subcat-filter-container"],[3,"expanded"],["subjectPanel",""],["class","subcats",4,"ngFor","ngForOf"],[1,"collapse-arrow"],[3,"click"],["aria-hidden","false",4,"ngIf"],["aria-hidden","false"],[1,"subcats"],[3,"id","checked","change"],[1,"mt-32","mb-24"],[1,"embed-option-radio-group",3,"ngModel","ngModelChange","change"],["value","1",1,"embed-option-radio-button"],["value","2",1,"embed-option-radio-button"],[1,"mb-48","embed-help-link"],["href",""],["mat-flat-button","","color","accent",1,"mb-32",3,"click"],["rows","10","cols","60",1,"form-control","clipboard-textarea",3,"ngModel","ngModelChange"],["embedInput",""],[1,"item-search-container"],[3,"keywordsChangeSubject","removeKeywordSubject","placeholder","indexItemQuery"],["mat-flat-button","","color","primary","type","button",1,"filters-btn",3,"click"],[1,"icon-container"],["xmlns","http://www.w3.org/2000/svg","height","36","viewBox","0 0 24 24","width","36"],["d","M0 0h24v24H0z","fill","none"],["d","M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"],["mat-flat-button","","color","accent","type","button",1,"reset-btn",3,"click"],[1,"sort-option-btn-container"],["sortOptionDropdown",""],["mat-flat-button","","color","primary","type","button","id","sortButton",3,"matMenuTriggerFor"],["xmlns","http://www.w3.org/2000/svg","height","24","width","24"],["d","M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"],[1,"sort-option-menu"],["sortOptionMenuIcon","matMenu"],["id","sortByRelevant","mat-menu-item","",3,"ngClass","click",4,"ngIf"],[3,"matTooltip",4,"ngIf"],["mat-menu-item","","id","sortByNewest",3,"ngClass","click"],["mat-menu-item","","id","sortByTitleAtoZ",3,"ngClass","click"],["mat-menu-item","","id","sortByTitleZtoA",3,"ngClass","click"],[1,"results-found"],["class","showing-results-container",4,"ngIf"],["id","sortByRelevant","mat-menu-item","",3,"ngClass","click"],[3,"matTooltip"],["id","sortByRelevantDisabled","mat-menu-item","",3,"disabled"],[1,"showing-results-container"],[3,"ngClass","click",4,"ngFor","ngForOf"],["class","load-more-container",4,"ngIf"],[3,"ngClass","click"],["scrollTo","",4,"ngIf"],[1,"search-result"],["class","mc-institution-container",3,"click",4,"ngIf"],[1,"mc-data"],[1,"title",3,"href","innerHTML"],[1,"info"],[1,"excerpt",3,"innerHTML"],["class","hasOsap",4,"ngIf"],["scrollTo",""],[1,"mc-institution-container",3,"click"],["mat-card-image","",3,"src"],[1,"hasOsap"],["mat-flat-button","","color","primary"],["src","https://ecop-mc-rc-institution-logos.s3.ca-central-1.amazonaws.com/OSAP.png","alt",""],[1,"load-more-container"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["class","mat-spinner-container","id","nextPageSpinner",4,"ngIf"],["mat-flat-button","","color","accent",3,"click"],["id","nextPageSpinner",1,"mat-spinner-container"]],template:function(e,i){1&e&&(W(0,die,2,0,"div",0),D(1,"mat-sidenav-container",1),D(2,"mat-sidenav",2,3),he("opened",function(){return i.sidenavOpened()})("closed",function(){return i.sidenavClosed()})("openedChange",function(){return i.handleSidenavToggleForMatChipView()}),W(4,Rie,16,7,"div",4),W(5,kie,32,20,"div",4),I(),D(6,"div",5,6),W(8,Nie,43,41,"div",7),mr(9),W(10,$ie,3,4,"div",8),gr(),I(),I()),2&e&&(O("ngIf",i.isShowIntialSearchIndicator()),T(2),O("opened",i.isSidenavOpened)("mode","over")("position","end"),T(2),O("ngIf",i.isSidenavContentFilter&&i.currentcategoryFilterItem),T(1),O("ngIf",!i.isSidenavContentFilter&&i.currentcategoryFilterItem),T(3),O("ngIf","false"==i.onlyshowsearchresults),T(2),O("ngIf",!i.isLoading||i.isShowLoadMoreSearchIndicator()))},directives:[ts,CT,bT,EV,tw,Xm,j2,rT,oT,U2,iw,tg,$b,HM,mT,gV,cT,uT,Wu,kT,zV,BV,Jg,tf,xV,mB,L2],pipes:[gB,rf,_B,sA,yB,vB,bB],styles:[".app-sidenav[_ngcontent-%COMP%]{overflow:hidden}.app-sidenav-container[_ngcontent-%COMP%]{width:100%;min-width:100%;min-height:100%;position:relative;height:auto}.app-sidenav-content[_ngcontent-%COMP%]{min-height:100%}.app-sidenav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:9999;width:600px}@media only screen and (max-width: 767px){.app-sidenav[_ngcontent-%COMP%]{width:100%}}.category-list-item-active[_ngcontent-%COMP%]{background:var(--clr-steelx2)!important;color:#fff!important}.search-filter-info[_ngcontent-%COMP%]{margin-bottom:24px}.search-filter-info[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:30px;margin-bottom:24px}@media only screen and (max-width: 767px){.search-filter-info[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:28px}}.search-filter-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:17px;line-height:26px}@media only screen and (max-width: 767px){.search-filter-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;line-height:24px}}.embed-option-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.embed-option-radio-button[_ngcontent-%COMP%]{margin:5px}"]}),n})();function qie(){return new Oq(zte)}function Wie(){return{interactionType:Pe.Redirect}}function Kie(){const n=new Map;return n.set(lB_weatherapi_endpoint,lB_weatherapi_scopes),{interactionType:Pe.Redirect,protectedResourceMap:n}}SO(F7,"fr"),SO(L7,"en-US");let Qie=(()=>{class n{constructor(e,i){this.injector=e,this.localeService=i,this.localeService.initLocale("en")}ngDoBootstrap(){const e=cg(Gie,{injector:this.injector});customElements.define("related-items",e);const i=cg(sB,{injector:this.injector});customElements.define("landing-page-search",i);const r=cg(oie,{injector:this.injector});customElements.define("ol-items",r);const o=cg(tne,{injector:this.injector});customElements.define("ol-item-search",o);const s=cg(Rte,{injector:this.injector});customElements.define("app-root",s)}}return n.\u0275fac=function(e){return new(e||n)(L(Gt),L(Nf))},n.\u0275mod=$e({type:n}),n.\u0275inj=Le({providers:[{provide:G2,useValue:{appearance:"outline"}},{provide:zA,useClass:u9,multi:!0},{provide:hM,useFactory:Kie},{provide:zC,useFactory:qie},{provide:dM,useFactory:Wie},Sf,PL,pM,kw,Nf,RT,Fte],imports:[[zO,O7,Ute,nw,BQ,tY,QY,XY,gX,yw,GX,nZ,uV,YZ,aJ,PZ,DJ,CQ,IJ,LJ,RV,hee,Dee,Nee,Yee,ute,g2,gte,vte,wte,Dte,N$,d9,v$,b$,Mte.forRoot()]]}),n})();const Xie=[{provide:"BASE_URL",useFactory:function(){return document.getElementsByTagName("base")[0].href.replace("fr/","").replace("en/","")},deps:[]}];(function(){if(lk)throw new Error("Cannot enable prod mode after platform setup.");ak=!1})(),bz(Xie).bootstrapModule(Qie).catch(n=>console.log(n))},984:(ze,H,U)=>{"use strict";const oe="undefined"!=typeof globalThis&&globalThis,E="undefined"!=typeof window&&window,de="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,fe=oe||"undefined"!=typeof global&&global||E||de,ce=function(R,...z){if(ce.translate){const X=ce.translate(R,z);R=X[0],z=X[1]}let j=K(R[0],R.raw[0]);for(let X=1;X<R.length;X++)j+=z[X-1]+K(R[X],R.raw[X]);return j};function K(R,z){return":"===z.charAt(0)?R.substring(function(R,z){for(let j=1,X=1;j<R.length;j++,X++)if("\\"===z[X])X++;else if(":"===R[j])return j;throw new Error(`Unterminated $localize metadata block in "${z}".`)}(R,z)+1):R}fe.$localize=ce}},ze=>{ze(ze.s=491)}]);

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.