| Server IP : 3.147.158.171 / Your IP : 216.73.216.216 Web Server : Apache/2.4.67 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-2-178.us-east-2.compute.internal 6.1.172-216.329.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 20 06:31:34 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /tsai/cb-build/.git/objects/29/ |
Upload File : |
x �� blob 1696094 var _V=Object.create;var hh=Object.defineProperty,bV=Object.defineProperties,vV=Object.getOwnPropertyDescriptor,yV=Object.getOwnPropertyDescriptors,xV=Object.getOwnPropertyNames,ph=Object.getOwnPropertySymbols,CV=Object.getPrototypeOf,ov=Object.prototype.hasOwnProperty,bM=Object.prototype.propertyIsEnumerable;var _M=(t,n,e)=>n in t?hh(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,B=(t,n)=>{for(var e in n||={})ov.call(n,e)&&_M(t,e,n[e]);if(ph)for(var e of ph(n))bM.call(n,e)&&_M(t,e,n[e]);return t;},ze=(t,n)=>bV(t,yV(n));var av=(t,n)=>{var e={};for(var i in t)ov.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&ph)for(var i of ph(t))n.indexOf(i)<0&&bM.call(t,i)&&(e[i]=t[i]);return e;};var Be=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),fh=(t,n)=>{for(var e in n)hh(t,e,{get:n[e],enumerable:!0});},wV=(t,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of xV(n))!ov.call(t,r)&&r!==e&&hh(t,r,{get:()=>n[r],enumerable:!(i=vV(n,r))||i.enumerable});return t;};var vM=(t,n,e)=>(e=t!=null?_V(CV(t)):{},wV(n||!t||!t.__esModule?hh(e,"default",{value:t,enumerable:!0}):e,t));var Su=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{s(e.next(l));}catch(c){r(c);}},a=l=>{try{s(e.throw(l));}catch(c){r(c);}},s=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,a);s((e=e.apply(t,n)).next());});var uc=Be((wTe,NP)=>{"use strict";NP.exports=TypeError;});var LP=Be(()=>{"use strict";});var zp=Be((MTe,nF)=>{"use strict";var K1=typeof Map=="function"&&Map.prototype,j1=Object.getOwnPropertyDescriptor&&K1?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,P_=K1&&j1&&typeof j1.get=="function"?j1.get:null,VP=K1&&Map.prototype.forEach,Z1=typeof Set=="function"&&Set.prototype,H1=Object.getOwnPropertyDescriptor&&Z1?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,F_=Z1&&H1&&typeof H1.get=="function"?H1.get:null,zP=Z1&&Set.prototype.forEach,nY=typeof WeakMap=="function"&&WeakMap.prototype,Np=nY?WeakMap.prototype.has:null,rY=typeof WeakSet=="function"&&WeakSet.prototype,Lp=rY?WeakSet.prototype.has:null,oY=typeof WeakRef=="function"&&WeakRef.prototype,BP=oY?WeakRef.prototype.deref:null,aY=Boolean.prototype.valueOf,sY=Object.prototype.toString,lY=Function.prototype.toString,cY=String.prototype.match,X1=String.prototype.slice,Qs=String.prototype.replace,dY=String.prototype.toUpperCase,jP=String.prototype.toLowerCase,KP=RegExp.prototype.test,HP=Array.prototype.concat,Ca=Array.prototype.join,uY=Array.prototype.slice,$P=Math.floor,q1=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$1=Object.getOwnPropertySymbols,W1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,tu=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Vp=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===tu||!0)?Symbol.toStringTag:null,ZP=Object.prototype.propertyIsEnumerable,UP=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__;}:null);function qP(t,n){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||KP.call(/e/,n))return n;var e=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var i=t<0?-$P(-t):$P(t);if(i!==t){var r=String(i),o=X1.call(n,r.length+1);return Qs.call(r,e,"$&_")+"."+Qs.call(Qs.call(o,/([0-9]{3})/g,"$&_"),/_$/,"");}}return Qs.call(n,e,"$&_");}var G1=LP(),WP=G1.custom,GP=eF(WP)?WP:null,XP={__proto__:null,double:'"',single:"'"},mY={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};nF.exports=function t(n,e,i,r){var o=e||{};if(ms(o,"quoteStyle")&&!ms(XP,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ms(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=ms(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ms(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ms(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof n>"u")return"undefined";if(n===null)return"null";if(typeof n=="boolean")return n?"true":"false";if(typeof n=="string")return iF(n,o);if(typeof n=="number"){if(n===0)return 1/0/n>0?"0":"-0";var l=String(n);return s?qP(n,l):l;}if(typeof n=="bigint"){var c=String(n)+"n";return s?qP(n,c):c;}var h=typeof o.depth>"u"?5:o.depth;if(typeof i>"u"&&(i=0),i>=h&&h>0&&typeof n=="object")return Y1(n)?"[Array]":"[Object]";var g=TY(o,i);if(typeof r>"u")r=[];else if(tF(r,n)>=0)return"[Circular]";function b(fn,Qn,Ki){if(Qn&&(r=uY.call(r),r.push(Qn)),Ki){var ge={depth:o.depth};return ms(o,"quoteStyle")&&(ge.quoteStyle=o.quoteStyle),t(fn,ge,i+1,r);}return t(fn,o,i+1,r);}if(typeof n=="function"&&!YP(n)){var _=xY(n),x=O_(n,b);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(x.length>0?" { "+Ca.call(x,", ")+" }":"");}if(eF(n)){var T=tu?Qs.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):W1.call(n);return typeof n=="object"&&!tu?Fp(T):T;}if(kY(n)){for(var L="<"+jP.call(String(n.nodeName)),W=n.attributes||[],ie=0;ie<W.length;ie++)L+=" "+W[ie].name+"="+JP(pY(W[ie].value),"double",o);return L+=">",n.childNodes&&n.childNodes.length&&(L+="..."),L+="</"+jP.call(String(n.nodeName))+">",L;}if(Y1(n)){if(n.length===0)return"[]";var Y=O_(n,b);return g&&!IY(Y)?"["+Q1(Y,g)+"]":"[ "+Ca.call(Y,", ")+" ]";}if(fY(n)){var me=O_(n,b);return!("cause"in Error.prototype)&&"cause"in n&&!ZP.call(n,"cause")?"{ ["+String(n)+"] "+Ca.call(HP.call("[cause]: "+b(n.cause),me),", ")+" }":me.length===0?"["+String(n)+"]":"{ ["+String(n)+"] "+Ca.call(me,", ")+" }";}if(typeof n=="object"&&a){if(GP&&typeof n[GP]=="function"&&G1)return G1(n,{depth:h-i});if(a!=="symbol"&&typeof n.inspect=="function")return n.inspect();}if(CY(n)){var we=[];return VP&&VP.call(n,function(fn,Qn){we.push(b(Qn,n,!0)+" => "+b(fn,n));}),QP("Map",P_.call(n),we,g);}if(EY(n)){var Oe=[];return zP&&zP.call(n,function(fn){Oe.push(b(fn,n));}),QP("Set",F_.call(n),Oe,g);}if(wY(n))return U1("WeakMap");if(MY(n))return U1("WeakSet");if(DY(n))return U1("WeakRef");if(_Y(n))return Fp(b(Number(n)));if(vY(n))return Fp(b(q1.call(n)));if(bY(n))return Fp(aY.call(n));if(gY(n))return Fp(b(String(n)));if(typeof window<"u"&&n===window)return"{ [object Window] }";if(typeof globalThis<"u"&&n===globalThis||typeof global<"u"&&n===global)return"{ [object globalThis] }";if(!hY(n)&&!YP(n)){var ot=O_(n,b),Tt=UP?UP(n)===Object.prototype:n instanceof Object||n.constructor===Object,mi=n instanceof Object?"":"null prototype",Fi=!Tt&&Vp&&Object(n)===n&&Vp in n?X1.call(Ks(n),8,-1):mi?"Object":"",uo=Tt||typeof n.constructor!="function"?"":n.constructor.name?n.constructor.name+" ":"",Dn=uo+(Fi||mi?"["+Ca.call(HP.call([],Fi||[],mi||[]),": ")+"] ":"");return ot.length===0?Dn+"{}":g?Dn+"{"+Q1(ot,g)+"}":Dn+"{ "+Ca.call(ot,", ")+" }";}return String(n);};function JP(t,n,e){var i=e.quoteStyle||n,r=XP[i];return r+t+r;}function pY(t){return Qs.call(String(t),/"/g,""");}function mc(t){return!Vp||!(typeof t=="object"&&(Vp in t||typeof t[Vp]<"u"));}function Y1(t){return Ks(t)==="[object Array]"&&mc(t);}function hY(t){return Ks(t)==="[object Date]"&&mc(t);}function YP(t){return Ks(t)==="[object RegExp]"&&mc(t);}function fY(t){return Ks(t)==="[object Error]"&&mc(t);}function gY(t){return Ks(t)==="[object String]"&&mc(t);}function _Y(t){return Ks(t)==="[object Number]"&&mc(t);}function bY(t){return Ks(t)==="[object Boolean]"&&mc(t);}function eF(t){if(tu)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!W1)return!1;try{return W1.call(t),!0;}catch{}return!1;}function vY(t){if(!t||typeof t!="object"||!q1)return!1;try{return q1.call(t),!0;}catch{}return!1;}var yY=Object.prototype.hasOwnProperty||function(t){return t in this;};function ms(t,n){return yY.call(t,n);}function Ks(t){return sY.call(t);}function xY(t){if(t.name)return t.name;var n=cY.call(lY.call(t),/^function\s*([\w$]+)/);return n?n[1]:null;}function tF(t,n){if(t.indexOf)return t.indexOf(n);for(var e=0,i=t.length;e<i;e++)if(t[e]===n)return e;return-1;}function CY(t){if(!P_||!t||typeof t!="object")return!1;try{P_.call(t);try{F_.call(t);}catch{return!0;}return t instanceof Map;}catch{}return!1;}function wY(t){if(!Np||!t||typeof t!="object")return!1;try{Np.call(t,Np);try{Lp.call(t,Lp);}catch{return!0;}return t instanceof WeakMap;}catch{}return!1;}function DY(t){if(!BP||!t||typeof t!="object")return!1;try{return BP.call(t),!0;}catch{}return!1;}function EY(t){if(!F_||!t||typeof t!="object")return!1;try{F_.call(t);try{P_.call(t);}catch{return!0;}return t instanceof Set;}catch{}return!1;}function MY(t){if(!Lp||!t||typeof t!="object")return!1;try{Lp.call(t,Lp);try{Np.call(t,Np);}catch{return!0;}return t instanceof WeakSet;}catch{}return!1;}function kY(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function";}function iF(t,n){if(t.length>n.maxStringLength){var e=t.length-n.maxStringLength,i="... "+e+" more character"+(e>1?"s":"");return iF(X1.call(t,0,n.maxStringLength),n)+i;}var r=mY[n.quoteStyle||"single"];r.lastIndex=0;var o=Qs.call(Qs.call(t,r,"\\$1"),/[\x00-\x1f]/g,SY);return JP(o,"single",n);}function SY(t){var n=t.charCodeAt(0),e={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return e?"\\"+e:"\\x"+(n<16?"0":"")+dY.call(n.toString(16));}function Fp(t){return"Object("+t+")";}function U1(t){return t+" { ? }";}function QP(t,n,e,i){var r=i?Q1(e,i):Ca.call(e,", ");return t+" ("+n+") {"+r+"}";}function IY(t){for(var n=0;n<t.length;n++)if(tF(t[n],`
`)>=0)return!1;return!0;}function TY(t,n){var e;if(t.indent===" ")e=" ";else if(typeof t.indent=="number"&&t.indent>0)e=Ca.call(Array(t.indent+1)," ");else return null;return{base:e,prev:Ca.call(Array(n+1),e)};}function Q1(t,n){if(t.length===0)return"";var e=`
`+n.prev+n.base;return e+Ca.call(t,","+e)+`
`+n.prev;}function O_(t,n){var e=Y1(t),i=[];if(e){i.length=t.length;for(var r=0;r<t.length;r++)i[r]=ms(t,r)?n(t[r],t):"";}var o=typeof $1=="function"?$1(t):[],a;if(tu){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s];}for(var l in t)ms(t,l)&&(e&&String(Number(l))===l&&l<t.length||tu&&a["$"+l]instanceof Symbol||(KP.call(/[^\w$]/,l)?i.push(n(l,t)+": "+n(t[l],t)):i.push(l+": "+n(t[l],t))));if(typeof $1=="function")for(var c=0;c<o.length;c++)ZP.call(t,o[c])&&i.push("["+n(o[c])+"]: "+n(t[o[c]],t));return i;}});var oF=Be((kTe,rF)=>{"use strict";var AY=zp(),RY=uc(),N_=function(t,n,e){for(var i=t,r;(r=i.next)!=null;i=r)if(r.key===n)return i.next=r.next,e||(r.next=t.next,t.next=r),r;},OY=function(t,n){if(t){var e=N_(t,n);return e&&e.value;}},PY=function(t,n,e){var i=N_(t,n);i?i.value=e:t.next={key:n,next:t.next,value:e};},FY=function(t,n){return t?!!N_(t,n):!1;},NY=function(t,n){if(t)return N_(t,n,!0);};rF.exports=function(){var n,e={assert:function(i){if(!e.has(i))throw new RY("Side channel does not contain "+AY(i));},delete:function(i){var r=n&&n.next,o=NY(n,i);return o&&r&&r===o&&(n=void 0),!!o;},get:function(i){return OY(n,i);},has:function(i){return FY(n,i);},set:function(i,r){n||(n={next:void 0}),PY(n,i,r);}};return e;};});var J1=Be((STe,aF)=>{"use strict";aF.exports=Object;});var lF=Be((ITe,sF)=>{"use strict";sF.exports=Error;});var dF=Be((TTe,cF)=>{"use strict";cF.exports=EvalError;});var mF=Be((ATe,uF)=>{"use strict";uF.exports=RangeError;});var hF=Be((RTe,pF)=>{"use strict";pF.exports=ReferenceError;});var gF=Be((OTe,fF)=>{"use strict";fF.exports=SyntaxError;});var bF=Be((PTe,_F)=>{"use strict";_F.exports=URIError;});var yF=Be((FTe,vF)=>{"use strict";vF.exports=Math.abs;});var CF=Be((NTe,xF)=>{"use strict";xF.exports=Math.floor;});var DF=Be((LTe,wF)=>{"use strict";wF.exports=Math.max;});var MF=Be((VTe,EF)=>{"use strict";EF.exports=Math.min;});var SF=Be((zTe,kF)=>{"use strict";kF.exports=Math.pow;});var TF=Be((BTe,IF)=>{"use strict";IF.exports=Math.round;});var RF=Be((jTe,AF)=>{"use strict";AF.exports=Number.isNaN||function(n){return n!==n;};});var PF=Be((HTe,OF)=>{"use strict";var LY=RF();OF.exports=function(n){return LY(n)||n===0?n:n<0?-1:1;};});var NF=Be(($Te,FF)=>{"use strict";FF.exports=Object.getOwnPropertyDescriptor;});var eD=Be((UTe,LF)=>{"use strict";var L_=NF();if(L_)try{L_([],"length");}catch{L_=null;}LF.exports=L_;});var zF=Be((qTe,VF)=>{"use strict";var V_=Object.defineProperty||!1;if(V_)try{V_({},"a",{value:1});}catch{V_=!1;}VF.exports=V_;});var jF=Be((WTe,BF)=>{"use strict";BF.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},e=Symbol("test"),i=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;n[e]=r;for(var o in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var a=Object.getOwnPropertySymbols(n);if(a.length!==1||a[0]!==e||!Object.prototype.propertyIsEnumerable.call(n,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,e);if(s.value!==r||s.enumerable!==!0)return!1;}return!0;};});var UF=Be((GTe,$F)=>{"use strict";var HF=typeof Symbol<"u"&&Symbol,VY=jF();$F.exports=function(){return typeof HF!="function"||typeof Symbol!="function"||typeof HF("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:VY();};});var tD=Be((YTe,qF)=>{"use strict";qF.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null;});var iD=Be((QTe,WF)=>{"use strict";var zY=J1();WF.exports=zY.getPrototypeOf||null;});var QF=Be((KTe,YF)=>{"use strict";var BY="Function.prototype.bind called on incompatible ",jY=Object.prototype.toString,HY=Math.max,$Y="[object Function]",GF=function(n,e){for(var i=[],r=0;r<n.length;r+=1)i[r]=n[r];for(var o=0;o<e.length;o+=1)i[o+n.length]=e[o];return i;},UY=function(n,e){for(var i=[],r=e||0,o=0;r<n.length;r+=1,o+=1)i[o]=n[r];return i;},qY=function(t,n){for(var e="",i=0;i<t.length;i+=1)e+=t[i],i+1<t.length&&(e+=n);return e;};YF.exports=function(n){var e=this;if(typeof e!="function"||jY.apply(e)!==$Y)throw new TypeError(BY+e);for(var i=UY(arguments,1),r,o=function(){if(this instanceof r){var h=e.apply(this,GF(i,arguments));return Object(h)===h?h:this;}return e.apply(n,GF(i,arguments));},a=HY(0,e.length-i.length),s=[],l=0;l<a;l++)s[l]="$"+l;if(r=Function("binder","return function ("+qY(s,",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var c=function(){};c.prototype=e.prototype,r.prototype=new c(),c.prototype=null;}return r;};});var Bp=Be((ZTe,KF)=>{"use strict";var WY=QF();KF.exports=Function.prototype.bind||WY;});var z_=Be((XTe,ZF)=>{"use strict";ZF.exports=Function.prototype.call;});var nD=Be((JTe,XF)=>{"use strict";XF.exports=Function.prototype.apply;});var eN=Be((e2e,JF)=>{"use strict";JF.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply;});var iN=Be((t2e,tN)=>{"use strict";var GY=Bp(),YY=nD(),QY=z_(),KY=eN();tN.exports=KY||GY.call(QY,YY);});var rD=Be((i2e,nN)=>{"use strict";var ZY=Bp(),XY=uc(),JY=z_(),eQ=iN();nN.exports=function(n){if(n.length<1||typeof n[0]!="function")throw new XY("a function is required");return eQ(ZY,JY,n);};});var cN=Be((n2e,lN)=>{"use strict";var tQ=rD(),rN=eD(),aN;try{aN=[].__proto__===Array.prototype;}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t;}var oD=!!aN&&rN&&rN(Object.prototype,"__proto__"),sN=Object,oN=sN.getPrototypeOf;lN.exports=oD&&typeof oD.get=="function"?tQ([oD.get]):typeof oN=="function"?function(n){return oN(n==null?n:sN(n));}:!1;});var hN=Be((r2e,pN)=>{"use strict";var dN=tD(),uN=iD(),mN=cN();pN.exports=dN?function(n){return dN(n);}:uN?function(n){if(!n||typeof n!="object"&&typeof n!="function")throw new TypeError("getProto: not an object");return uN(n);}:mN?function(n){return mN(n);}:null;});var gN=Be((o2e,fN)=>{"use strict";var iQ=Function.prototype.call,nQ=Object.prototype.hasOwnProperty,rQ=Bp();fN.exports=rQ.call(iQ,nQ);});var H_=Be((a2e,CN)=>{"use strict";var ft,oQ=J1(),aQ=lF(),sQ=dF(),lQ=mF(),cQ=hF(),ou=gF(),ru=uc(),dQ=bF(),uQ=yF(),mQ=CF(),pQ=DF(),hQ=MF(),fQ=SF(),gQ=TF(),_Q=PF(),yN=Function,aD=function(t){try{return yN('"use strict"; return ('+t+").constructor;")();}catch{}},jp=eD(),bQ=zF(),sD=function(){throw new ru();},vQ=jp?function(){try{return arguments.callee,sD;}catch{try{return jp(arguments,"callee").get;}catch{return sD;}}}():sD,iu=UF()(),hn=hN(),yQ=iD(),xQ=tD(),xN=nD(),Hp=z_(),nu={},CQ=typeof Uint8Array>"u"||!hn?ft:hn(Uint8Array),pc={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ft:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ft:ArrayBuffer,"%ArrayIteratorPrototype%":iu&&hn?hn([][Symbol.iterator]()):ft,"%AsyncFromSyncIteratorPrototype%":ft,"%AsyncFunction%":nu,"%AsyncGenerator%":nu,"%AsyncGeneratorFunction%":nu,"%AsyncIteratorPrototype%":nu,"%Atomics%":typeof Atomics>"u"?ft:Atomics,"%BigInt%":typeof BigInt>"u"?ft:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ft:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ft:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ft:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":aQ,"%eval%":eval,"%EvalError%":sQ,"%Float16Array%":typeof Float16Array>"u"?ft:Float16Array,"%Float32Array%":typeof Float32Array>"u"?ft:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ft:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ft:FinalizationRegistry,"%Function%":yN,"%GeneratorFunction%":nu,"%Int8Array%":typeof Int8Array>"u"?ft:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ft:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ft:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":iu&&hn?hn(hn([][Symbol.iterator]())):ft,"%JSON%":typeof JSON=="object"?JSON:ft,"%Map%":typeof Map>"u"?ft:Map,"%MapIteratorPrototype%":typeof Map>"u"||!iu||!hn?ft:hn(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":oQ,"%Object.getOwnPropertyDescriptor%":jp,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ft:Promise,"%Proxy%":typeof Proxy>"u"?ft:Proxy,"%RangeError%":lQ,"%ReferenceError%":cQ,"%Reflect%":typeof Reflect>"u"?ft:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ft:Set,"%SetIteratorPrototype%":typeof Set>"u"||!iu||!hn?ft:hn(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ft:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":iu&&hn?hn(""[Symbol.iterator]()):ft,"%Symbol%":iu?Symbol:ft,"%SyntaxError%":ou,"%ThrowTypeError%":vQ,"%TypedArray%":CQ,"%TypeError%":ru,"%Uint8Array%":typeof Uint8Array>"u"?ft:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ft:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ft:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ft:Uint32Array,"%URIError%":dQ,"%WeakMap%":typeof WeakMap>"u"?ft:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ft:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ft:WeakSet,"%Function.prototype.call%":Hp,"%Function.prototype.apply%":xN,"%Object.defineProperty%":bQ,"%Object.getPrototypeOf%":yQ,"%Math.abs%":uQ,"%Math.floor%":mQ,"%Math.max%":pQ,"%Math.min%":hQ,"%Math.pow%":fQ,"%Math.round%":gQ,"%Math.sign%":_Q,"%Reflect.getPrototypeOf%":xQ};if(hn)try{null.error;}catch(t){_N=hn(hn(t)),pc["%Error.prototype%"]=_N;}var _N,wQ=function t(n){var e;if(n==="%AsyncFunction%")e=aD("async function () {}");else if(n==="%GeneratorFunction%")e=aD("function* () {}");else if(n==="%AsyncGeneratorFunction%")e=aD("async function* () {}");else if(n==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(e=i.prototype);}else if(n==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&hn&&(e=hn(r.prototype));}return pc[n]=e,e;},bN={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},$p=Bp(),B_=gN(),DQ=$p.call(Hp,Array.prototype.concat),EQ=$p.call(xN,Array.prototype.splice),vN=$p.call(Hp,String.prototype.replace),j_=$p.call(Hp,String.prototype.slice),MQ=$p.call(Hp,RegExp.prototype.exec),kQ=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,SQ=/\\(\\)?/g,IQ=function(n){var e=j_(n,0,1),i=j_(n,-1);if(e==="%"&&i!=="%")throw new ou("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&e!=="%")throw new ou("invalid intrinsic syntax, expected opening `%`");var r=[];return vN(n,kQ,function(o,a,s,l){r[r.length]=s?vN(l,SQ,"$1"):a||o;}),r;},TQ=function(n,e){var i=n,r;if(B_(bN,i)&&(r=bN[i],i="%"+r[0]+"%"),B_(pc,i)){var o=pc[i];if(o===nu&&(o=wQ(i)),typeof o>"u"&&!e)throw new ru("intrinsic "+n+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:o};}throw new ou("intrinsic "+n+" does not exist!");};CN.exports=function(n,e){if(typeof n!="string"||n.length===0)throw new ru("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new ru('"allowMissing" argument must be a boolean');if(MQ(/^%?[^%]*%?$/,n)===null)throw new ou("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=IQ(n),r=i.length>0?i[0]:"",o=TQ("%"+r+"%",e),a=o.name,s=o.value,l=!1,c=o.alias;c&&(r=c[0],EQ(i,DQ([0,1],c)));for(var h=1,g=!0;h<i.length;h+=1){var b=i[h],_=j_(b,0,1),x=j_(b,-1);if((_==='"'||_==="'"||_==="`"||x==='"'||x==="'"||x==="`")&&_!==x)throw new ou("property names with quotes must have matching quotes");if((b==="constructor"||!g)&&(l=!0),r+="."+b,a="%"+r+"%",B_(pc,a))s=pc[a];else if(s!=null){if(!(b in s)){if(!e)throw new ru("base intrinsic for "+n+" exists, but the property is not available.");return;}if(jp&&h+1>=i.length){var T=jp(s,b);g=!!T,g&&"get"in T&&!("originalValue"in T.get)?s=T.get:s=s[b];}else g=B_(s,b),s=s[b];g&&!l&&(pc[a]=s);}}return s;};});var lD=Be((s2e,EN)=>{"use strict";var wN=H_(),DN=rD(),AQ=DN([wN("%String.prototype.indexOf%")]);EN.exports=function(n,e){var i=wN(n,!!e);return typeof i=="function"&&AQ(n,".prototype.")>-1?DN([i]):i;};});var cD=Be((l2e,kN)=>{"use strict";var RQ=H_(),Up=lD(),OQ=zp(),PQ=uc(),MN=RQ("%Map%",!0),FQ=Up("Map.prototype.get",!0),NQ=Up("Map.prototype.set",!0),LQ=Up("Map.prototype.has",!0),VQ=Up("Map.prototype.delete",!0),zQ=Up("Map.prototype.size",!0);kN.exports=!!MN&&function(){var n,e={assert:function(i){if(!e.has(i))throw new PQ("Side channel does not contain "+OQ(i));},delete:function(i){if(n){var r=VQ(n,i);return zQ(n)===0&&(n=void 0),r;}return!1;},get:function(i){if(n)return FQ(n,i);},has:function(i){return n?LQ(n,i):!1;},set:function(i,r){n||(n=new MN()),NQ(n,i,r);}};return e;};});var IN=Be((c2e,SN)=>{"use strict";var BQ=H_(),U_=lD(),jQ=zp(),$_=cD(),HQ=uc(),au=BQ("%WeakMap%",!0),$Q=U_("WeakMap.prototype.get",!0),UQ=U_("WeakMap.prototype.set",!0),qQ=U_("WeakMap.prototype.has",!0),WQ=U_("WeakMap.prototype.delete",!0);SN.exports=au?function(){var n,e,i={assert:function(r){if(!i.has(r))throw new HQ("Side channel does not contain "+jQ(r));},delete:function(r){if(au&&r&&(typeof r=="object"||typeof r=="function")){if(n)return WQ(n,r);}else if($_&&e)return e.delete(r);return!1;},get:function(r){return au&&r&&(typeof r=="object"||typeof r=="function")&&n?$Q(n,r):e&&e.get(r);},has:function(r){return au&&r&&(typeof r=="object"||typeof r=="function")&&n?qQ(n,r):!!e&&e.has(r);},set:function(r,o){au&&r&&(typeof r=="object"||typeof r=="function")?(n||(n=new au()),UQ(n,r,o)):$_&&(e||(e=$_()),e.set(r,o));}};return i;}:$_;});var AN=Be((d2e,TN)=>{"use strict";var GQ=uc(),YQ=zp(),QQ=oF(),KQ=cD(),ZQ=IN(),XQ=ZQ||KQ||QQ;TN.exports=function(){var n,e={assert:function(i){if(!e.has(i))throw new GQ("Side channel does not contain "+YQ(i));},delete:function(i){return!!n&&n.delete(i);},get:function(i){return n&&n.get(i);},has:function(i){return!!n&&n.has(i);},set:function(i,r){n||(n=XQ()),n.set(i,r);}};return e;};});var q_=Be((u2e,RN)=>{"use strict";var JQ=String.prototype.replace,eK=/%20/g,dD={RFC1738:"RFC1738",RFC3986:"RFC3986"};RN.exports={default:dD.RFC3986,formatters:{RFC1738:function(t){return JQ.call(t,eK,"+");},RFC3986:function(t){return String(t);}},RFC1738:dD.RFC1738,RFC3986:dD.RFC3986};});var pD=Be((m2e,PN)=>{"use strict";var tK=q_(),uD=Object.prototype.hasOwnProperty,hc=Array.isArray,wa=function(){for(var t=[],n=0;n<256;++n)t.push("%"+((n<16?"0":"")+n.toString(16)).toUpperCase());return t;}(),iK=function(n){for(;n.length>1;){var e=n.pop(),i=e.obj[e.prop];if(hc(i)){for(var r=[],o=0;o<i.length;++o)typeof i[o]<"u"&&r.push(i[o]);e.obj[e.prop]=r;}}},ON=function(n,e){for(var i=e&&e.plainObjects?{__proto__:null}:{},r=0;r<n.length;++r)typeof n[r]<"u"&&(i[r]=n[r]);return i;},nK=function t(n,e,i){if(!e)return n;if(typeof e!="object"&&typeof e!="function"){if(hc(n))n.push(e);else if(n&&typeof n=="object")(i&&(i.plainObjects||i.allowPrototypes)||!uD.call(Object.prototype,e))&&(n[e]=!0);else return[n,e];return n;}if(!n||typeof n!="object")return[n].concat(e);var r=n;return hc(n)&&!hc(e)&&(r=ON(n,i)),hc(n)&&hc(e)?(e.forEach(function(o,a){if(uD.call(n,a)){var s=n[a];s&&typeof s=="object"&&o&&typeof o=="object"?n[a]=t(s,o,i):n.push(o);}else n[a]=o;}),n):Object.keys(e).reduce(function(o,a){var s=e[a];return uD.call(o,a)?o[a]=t(o[a],s,i):o[a]=s,o;},r);},rK=function(n,e){return Object.keys(e).reduce(function(i,r){return i[r]=e[r],i;},n);},oK=function(t,n,e){var i=t.replace(/\+/g," ");if(e==="iso-8859-1")return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i);}catch{return i;}},mD=1024,aK=function(n,e,i,r,o){if(n.length===0)return n;var a=n;if(typeof n=="symbol"?a=Symbol.prototype.toString.call(n):typeof n!="string"&&(a=String(n)),i==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(_){return"%26%23"+parseInt(_.slice(2),16)+"%3B";});for(var s="",l=0;l<a.length;l+=mD){for(var c=a.length>=mD?a.slice(l,l+mD):a,h=[],g=0;g<c.length;++g){var b=c.charCodeAt(g);if(b===45||b===46||b===95||b===126||b>=48&&b<=57||b>=65&&b<=90||b>=97&&b<=122||o===tK.RFC1738&&(b===40||b===41)){h[h.length]=c.charAt(g);continue;}if(b<128){h[h.length]=wa[b];continue;}if(b<2048){h[h.length]=wa[192|b>>6]+wa[128|b&63];continue;}if(b<55296||b>=57344){h[h.length]=wa[224|b>>12]+wa[128|b>>6&63]+wa[128|b&63];continue;}g+=1,b=65536+((b&1023)<<10|c.charCodeAt(g)&1023),h[h.length]=wa[240|b>>18]+wa[128|b>>12&63]+wa[128|b>>6&63]+wa[128|b&63];}s+=h.join("");}return s;},sK=function(n){for(var e=[{obj:{o:n},prop:"o"}],i=[],r=0;r<e.length;++r)for(var o=e[r],a=o.obj[o.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],h=a[c];typeof h=="object"&&h!==null&&i.indexOf(h)===-1&&(e.push({obj:a,prop:c}),i.push(h));}return iK(e),n;},lK=function(n){return Object.prototype.toString.call(n)==="[object RegExp]";},cK=function(n){return!n||typeof n!="object"?!1:!!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n));},dK=function(n,e){return[].concat(n,e);},uK=function(n,e){if(hc(n)){for(var i=[],r=0;r<n.length;r+=1)i.push(e(n[r]));return i;}return e(n);};PN.exports={arrayToObject:ON,assign:rK,combine:dK,compact:sK,decode:oK,encode:aK,isBuffer:cK,isRegExp:lK,maybeMap:uK,merge:nK};});var BN=Be((p2e,zN)=>{"use strict";var NN=AN(),W_=pD(),qp=q_(),mK=Object.prototype.hasOwnProperty,LN={brackets:function(n){return n+"[]";},comma:"comma",indices:function(n,e){return n+"["+e+"]";},repeat:function(n){return n;}},Da=Array.isArray,pK=Array.prototype.push,VN=function(t,n){pK.apply(t,Da(n)?n:[n]);},hK=Date.prototype.toISOString,FN=qp.default,ln={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:W_.encode,encodeValuesOnly:!1,filter:void 0,format:FN,formatter:qp.formatters[FN],indices:!1,serializeDate:function(n){return hK.call(n);},skipNulls:!1,strictNullHandling:!1},fK=function(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"||typeof n=="symbol"||typeof n=="bigint";},hD={},gK=function t(n,e,i,r,o,a,s,l,c,h,g,b,_,x,T,L,W,ie){for(var Y=n,me=ie,we=0,Oe=!1;(me=me.get(hD))!==void 0&&!Oe;){var ot=me.get(n);if(we+=1,typeof ot<"u"){if(ot===we)throw new RangeError("Cyclic object value");Oe=!0;}typeof me.get(hD)>"u"&&(we=0);}if(typeof h=="function"?Y=h(e,Y):Y instanceof Date?Y=_(Y):i==="comma"&&Da(Y)&&(Y=W_.maybeMap(Y,function(wi){return wi instanceof Date?_(wi):wi;})),Y===null){if(a)return c&&!L?c(e,ln.encoder,W,"key",x):e;Y="";}if(fK(Y)||W_.isBuffer(Y)){if(c){var Tt=L?e:c(e,ln.encoder,W,"key",x);return[T(Tt)+"="+T(c(Y,ln.encoder,W,"value",x))];}return[T(e)+"="+T(String(Y))];}var mi=[];if(typeof Y>"u")return mi;var Fi;if(i==="comma"&&Da(Y))L&&c&&(Y=W_.maybeMap(Y,c)),Fi=[{value:Y.length>0?Y.join(",")||null:void 0}];else if(Da(h))Fi=h;else{var uo=Object.keys(Y);Fi=g?uo.sort(g):uo;}var Dn=l?String(e).replace(/\./g,"%2E"):String(e),fn=r&&Da(Y)&&Y.length===1?Dn+"[]":Dn;if(o&&Da(Y)&&Y.length===0)return fn+"[]";for(var Qn=0;Qn<Fi.length;++Qn){var Ki=Fi[Qn],ge=typeof Ki=="object"&&Ki&&typeof Ki.value<"u"?Ki.value:Y[Ki];if(!(s&&ge===null)){var Me=b&&l?String(Ki).replace(/\./g,"%2E"):String(Ki),Pe=Da(Y)?typeof i=="function"?i(fn,Me):fn:fn+(b?"."+Me:"["+Me+"]");ie.set(n,we);var _t=NN();_t.set(hD,ie),VN(mi,t(ge,Pe,i,r,o,a,s,l,i==="comma"&&L&&Da(Y)?null:c,h,g,b,_,x,T,L,W,_t));}}return mi;},_K=function(n){if(!n)return ln;if(typeof n.allowEmptyArrays<"u"&&typeof n.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof n.encodeDotInKeys<"u"&&typeof n.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(n.encoder!==null&&typeof n.encoder<"u"&&typeof n.encoder!="function")throw new TypeError("Encoder has to be a function.");var e=n.charset||ln.charset;if(typeof n.charset<"u"&&n.charset!=="utf-8"&&n.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var i=qp.default;if(typeof n.format<"u"){if(!mK.call(qp.formatters,n.format))throw new TypeError("Unknown format option provided.");i=n.format;}var r=qp.formatters[i],o=ln.filter;(typeof n.filter=="function"||Da(n.filter))&&(o=n.filter);var a;if(n.arrayFormat in LN?a=n.arrayFormat:"indices"in n?a=n.indices?"indices":"repeat":a=ln.arrayFormat,"commaRoundTrip"in n&&typeof n.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var s=typeof n.allowDots>"u"?n.encodeDotInKeys===!0?!0:ln.allowDots:!!n.allowDots;return{addQueryPrefix:typeof n.addQueryPrefix=="boolean"?n.addQueryPrefix:ln.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof n.allowEmptyArrays=="boolean"?!!n.allowEmptyArrays:ln.allowEmptyArrays,arrayFormat:a,charset:e,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:ln.charsetSentinel,commaRoundTrip:!!n.commaRoundTrip,delimiter:typeof n.delimiter>"u"?ln.delimiter:n.delimiter,encode:typeof n.encode=="boolean"?n.encode:ln.encode,encodeDotInKeys:typeof n.encodeDotInKeys=="boolean"?n.encodeDotInKeys:ln.encodeDotInKeys,encoder:typeof n.encoder=="function"?n.encoder:ln.encoder,encodeValuesOnly:typeof n.encodeValuesOnly=="boolean"?n.encodeValuesOnly:ln.encodeValuesOnly,filter:o,format:i,formatter:r,serializeDate:typeof n.serializeDate=="function"?n.serializeDate:ln.serializeDate,skipNulls:typeof n.skipNulls=="boolean"?n.skipNulls:ln.skipNulls,sort:typeof n.sort=="function"?n.sort:null,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:ln.strictNullHandling};};zN.exports=function(t,n){var e=t,i=_K(n),r,o;typeof i.filter=="function"?(o=i.filter,e=o("",e)):Da(i.filter)&&(o=i.filter,r=o);var a=[];if(typeof e!="object"||e===null)return"";var s=LN[i.arrayFormat],l=s==="comma"&&i.commaRoundTrip;r||(r=Object.keys(e)),i.sort&&r.sort(i.sort);for(var c=NN(),h=0;h<r.length;++h){var g=r[h],b=e[g];i.skipNulls&&b===null||VN(a,gK(b,g,s,l,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,c));}var _=a.join(i.delimiter),x=i.addQueryPrefix===!0?"?":"";return i.charsetSentinel&&(i.charset==="iso-8859-1"?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),_.length>0?x+_:"";};});var UN=Be((h2e,$N)=>{"use strict";var fc=pD(),fD=Object.prototype.hasOwnProperty,jN=Array.isArray,Ai={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:fc.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},bK=function(t){return t.replace(/&#(\d+);/g,function(n,e){return String.fromCharCode(parseInt(e,10));});},HN=function(t,n,e){if(t&&typeof t=="string"&&n.comma&&t.indexOf(",")>-1)return t.split(",");if(n.throwOnLimitExceeded&&e>=n.arrayLimit)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return t;},vK="utf8=%26%2310003%3B",yK="utf8=%E2%9C%93",xK=function(n,e){var i={__proto__:null},r=e.ignoreQueryPrefix?n.replace(/^\?/,""):n;r=r.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=e.parameterLimit===1/0?void 0:e.parameterLimit,a=r.split(e.delimiter,e.throwOnLimitExceeded?o+1:o);if(e.throwOnLimitExceeded&&a.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(o===1?"":"s")+" allowed.");var s=-1,l,c=e.charset;if(e.charsetSentinel)for(l=0;l<a.length;++l)a[l].indexOf("utf8=")===0&&(a[l]===yK?c="utf-8":a[l]===vK&&(c="iso-8859-1"),s=l,l=a.length);for(l=0;l<a.length;++l)if(l!==s){var h=a[l],g=h.indexOf("]="),b=g===-1?h.indexOf("="):g+1,_,x;b===-1?(_=e.decoder(h,Ai.decoder,c,"key"),x=e.strictNullHandling?null:""):(_=e.decoder(h.slice(0,b),Ai.decoder,c,"key"),x=fc.maybeMap(HN(h.slice(b+1),e,jN(i[_])?i[_].length:0),function(L){return e.decoder(L,Ai.decoder,c,"value");})),x&&e.interpretNumericEntities&&c==="iso-8859-1"&&(x=bK(String(x))),h.indexOf("[]=")>-1&&(x=jN(x)?[x]:x);var T=fD.call(i,_);T&&e.duplicates==="combine"?i[_]=fc.combine(i[_],x):(!T||e.duplicates==="last")&&(i[_]=x);}return i;},CK=function(t,n,e,i){var r=0;if(t.length>0&&t[t.length-1]==="[]"){var o=t.slice(0,-1).join("");r=Array.isArray(n)&&n[o]?n[o].length:0;}for(var a=i?n:HN(n,e,r),s=t.length-1;s>=0;--s){var l,c=t[s];if(c==="[]"&&e.parseArrays)l=e.allowEmptyArrays&&(a===""||e.strictNullHandling&&a===null)?[]:fc.combine([],a);else{l=e.plainObjects?{__proto__:null}:{};var h=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,g=e.decodeDotInKeys?h.replace(/%2E/g,"."):h,b=parseInt(g,10);!e.parseArrays&&g===""?l={0:a}:!isNaN(b)&&c!==g&&String(b)===g&&b>=0&&e.parseArrays&&b<=e.arrayLimit?(l=[],l[b]=a):g!=="__proto__"&&(l[g]=a);}a=l;}return a;},wK=function(n,e,i,r){if(n){var o=i.allowDots?n.replace(/\.([^.[]+)/g,"[$1]"):n,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=i.depth>0&&a.exec(o),c=l?o.slice(0,l.index):o,h=[];if(c){if(!i.plainObjects&&fD.call(Object.prototype,c)&&!i.allowPrototypes)return;h.push(c);}for(var g=0;i.depth>0&&(l=s.exec(o))!==null&&g<i.depth;){if(g+=1,!i.plainObjects&&fD.call(Object.prototype,l[1].slice(1,-1))&&!i.allowPrototypes)return;h.push(l[1]);}if(l){if(i.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+i.depth+" and strictDepth is true");h.push("["+o.slice(l.index)+"]");}return CK(h,e,i,r);}},DK=function(n){if(!n)return Ai;if(typeof n.allowEmptyArrays<"u"&&typeof n.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof n.decodeDotInKeys<"u"&&typeof n.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(n.decoder!==null&&typeof n.decoder<"u"&&typeof n.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof n.charset<"u"&&n.charset!=="utf-8"&&n.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof n.throwOnLimitExceeded<"u"&&typeof n.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var e=typeof n.charset>"u"?Ai.charset:n.charset,i=typeof n.duplicates>"u"?Ai.duplicates:n.duplicates;if(i!=="combine"&&i!=="first"&&i!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var r=typeof n.allowDots>"u"?n.decodeDotInKeys===!0?!0:Ai.allowDots:!!n.allowDots;return{allowDots:r,allowEmptyArrays:typeof n.allowEmptyArrays=="boolean"?!!n.allowEmptyArrays:Ai.allowEmptyArrays,allowPrototypes:typeof n.allowPrototypes=="boolean"?n.allowPrototypes:Ai.allowPrototypes,allowSparse:typeof n.allowSparse=="boolean"?n.allowSparse:Ai.allowSparse,arrayLimit:typeof n.arrayLimit=="number"?n.arrayLimit:Ai.arrayLimit,charset:e,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:Ai.charsetSentinel,comma:typeof n.comma=="boolean"?n.comma:Ai.comma,decodeDotInKeys:typeof n.decodeDotInKeys=="boolean"?n.decodeDotInKeys:Ai.decodeDotInKeys,decoder:typeof n.decoder=="function"?n.decoder:Ai.decoder,delimiter:typeof n.delimiter=="string"||fc.isRegExp(n.delimiter)?n.delimiter:Ai.delimiter,depth:typeof n.depth=="number"||n.depth===!1?+n.depth:Ai.depth,duplicates:i,ignoreQueryPrefix:n.ignoreQueryPrefix===!0,interpretNumericEntities:typeof n.interpretNumericEntities=="boolean"?n.interpretNumericEntities:Ai.interpretNumericEntities,parameterLimit:typeof n.parameterLimit=="number"?n.parameterLimit:Ai.parameterLimit,parseArrays:n.parseArrays!==!1,plainObjects:typeof n.plainObjects=="boolean"?n.plainObjects:Ai.plainObjects,strictDepth:typeof n.strictDepth=="boolean"?!!n.strictDepth:Ai.strictDepth,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:Ai.strictNullHandling,throwOnLimitExceeded:typeof n.throwOnLimitExceeded=="boolean"?n.throwOnLimitExceeded:!1};};$N.exports=function(t,n){var e=DK(n);if(t===""||t===null||typeof t>"u")return e.plainObjects?{__proto__:null}:{};for(var i=typeof t=="string"?xK(t,e):t,r=e.plainObjects?{__proto__:null}:{},o=Object.keys(i),a=0;a<o.length;++a){var s=o[a],l=wK(s,i[s],e,typeof t=="string");r=fc.merge(r,l,e);}return e.allowSparse===!0?r:fc.compact(r);};});var WN=Be((f2e,qN)=>{"use strict";var EK=BN(),MK=UN(),kK=q_();qN.exports={formats:kK,parse:MK,stringify:EK};});var _D=Be(G_=>{"use strict";Object.defineProperty(G_,"__esModule",{value:!0});G_.DrupalJsonApiParams=void 0;var GN=WN(),gD=class{constructor(n,e){this.data={filter:{},include:[],page:void 0,sort:[],fields:{}},this.qsOptions={},this.config={useShortCutForQueryGeneration:!0,alwaysUseFieldNameForKeys:!1},e!==void 0&&(this.config=e),this.initialize(n);}addCustomParam(n){return this.data=Object.assign(Object.assign({},this.data),n),this;}addFields(n,e){return this.data.fields[n]=e.join(","),this;}addSort(n,e){let i="";return e!==void 0&&e==="DESC"&&(i="-"),this.data.sort=this.data.sort.concat(i+n),this;}addPageLimit(n){return this.data.page===void 0?this.data.page={limit:n}:this.data.page.limit=n,this;}addPageOffset(n){return this.data.page===void 0?this.data.page={offset:n}:this.data.page.offset=n,this;}addInclude(n){return this.data.include=this.data.include.concat(n),this;}addGroup(n,e="OR",i){return this.data.filter[n]={group:Object.assign({conjunction:e},i!==void 0&&{memberOf:i})},this;}addFilter(n,e,i="=",r,o){let a=this.getIndexId(this.data.filter,o||n,!!o);if((i==="IS NULL"||i==="IS NOT NULL")&&(e=null),e===null){if(!(i==="IS NULL"||i==="IS NOT NULL"))throw new TypeError(`Value cannot be null for the operator "${i}"`);return this.data.filter[a]={condition:Object.assign(Object.assign({path:n},{operator:i}),r!==void 0&&{memberOf:r})},this;}if(Array.isArray(e)){switch(i){case"BETWEEN":case"NOT BETWEEN":if(e.length!==2)throw new TypeError(`Value must consists of 2 items for the "${i}"`);break;case"IN":case"NOT IN":break;default:throw new TypeError(`Value cannot be an array for the operator "${i}"`);}return this.data.filter[a]={condition:Object.assign(Object.assign({path:n,value:e},{operator:i}),r!==void 0&&{memberOf:r})},this;}return this.config.useShortCutForQueryGeneration&&r===void 0&&n===a&&this.data.filter[n]===void 0?(i==="="?this.data.filter[a]=e:this.data.filter[a]={value:e,operator:i},this):(this.data.filter[a]={condition:Object.assign(Object.assign({path:n,value:e},this.config.useShortCutForQueryGeneration?i!=="="&&{operator:i}:{operator:i}),r!==void 0&&{memberOf:r})},this);}getIndexId(n,e,i){i=i||this.config.alwaysUseFieldNameForKeys;let r;return n[e]===void 0?r=e:r=this.generateKeyName(n,e,i),r;}generateKeyName(n,e,i=!1){let r=Object.keys(n).length;if(i)for(let o=1;o<=r;o++){let a=`${e}--${o}`;if(n[a]===void 0)return a;}return r.toString();}getQueryObject(){let n=JSON.parse(JSON.stringify(this.data));return this.data.include.length&&(n.include=this.data.include.join(",")),this.data.sort.length&&(n.sort=this.data.sort.join(",")),n;}getQueryString(n){let e=this.getQueryObject(),i=n||this.getQsOption();return GN.stringify(e,i);}clear(){return this.data={filter:{},include:[],page:void 0,sort:[],fields:{}},this;}initializeWithQueryObject(n){return this.clear(),Object.keys(n).forEach(i=>{switch(i){case"sort":n.sort.length&&(this.data.sort=n.sort.split(","));break;case"include":n.include.length&&(this.data.include=n.include.split(","));break;default:this.data[i]=n[i];}}),this;}initializeWithQueryString(n,e){this.clear();let i=e||this.getQsOption();return this.initializeWithQueryObject(GN.parse(n,i)),this;}clone(n){let e=JSON.parse(JSON.stringify(n.getQueryObject()));return this.initializeWithQueryObject(e),this;}setQsOption(n){return this.qsOptions=n,this;}getQsOption(){return this.qsOptions;}initialize(n){if(n===void 0)this.initializeWithQueryString("");else if(typeof n=="object")try{n.getQueryObject(),this.clone(n);}catch{this.initializeWithQueryObject(n);}else this.initializeWithQueryString(n);return this;}};G_.DrupalJsonApiParams=gD;});function dv(t,n){return Object.is(t,n);}var Zi=null,gh=!1,uv=1,Kn=Symbol("SIGNAL");function at(t){let n=Zi;return Zi=t,n;}function mv(){return Zi;}var Sc={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Tu(t){if(gh)throw new Error("");if(Zi===null)return;Zi.consumerOnSignalRead(t);let n=Zi.nextProducerIndex++;if(xh(Zi),n<Zi.producerNode.length&&Zi.producerNode[n]!==t&&Iu(Zi)){let e=Zi.producerNode[n];yh(e,Zi.producerIndexOfThis[n]);}Zi.producerNode[n]!==t&&(Zi.producerNode[n]=t,Zi.producerIndexOfThis[n]=Iu(Zi)?xM(t,Zi,n):0),Zi.producerLastReadVersion[n]=t.version;}function yM(){uv++;}function pv(t){if(!(Iu(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===uv)){if(!t.producerMustRecompute(t)&&!vh(t)){cv(t);return;}t.producerRecomputeValue(t),cv(t);}}function hv(t){if(t.liveConsumerNode===void 0)return;let n=gh;gh=!0;try{for(let e of t.liveConsumerNode)e.dirty||DV(e);}finally{gh=n;}}function fv(){return Zi?.consumerAllowSignalWrites!==!1;}function DV(t){t.dirty=!0,hv(t),t.consumerMarkedDirty?.(t);}function cv(t){t.dirty=!1,t.lastCleanEpoch=uv;}function Au(t){return t&&(t.nextProducerIndex=0),at(t);}function bh(t,n){if(at(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Iu(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)yh(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop();}}function vh(t){xh(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(pv(e),i!==e.version))return!0;}return!1;}function Ru(t){if(xh(t),Iu(t))for(let n=0;n<t.producerNode.length;n++)yh(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0);}function xM(t,n,e){if(CM(t),t.liveConsumerNode.length===0&&wM(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=xM(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1;}function yh(t,n){if(CM(t),t.liveConsumerNode.length===1&&wM(t))for(let i=0;i<t.producerNode.length;i++)yh(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];xh(r),r.producerIndexOfThis[i]=n;}}function Iu(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0;}function xh(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[];}function CM(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[];}function wM(t){return t.producerNode!==void 0;}function Ch(t,n){let e=Object.create(EV);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(pv(e),Tu(e),e.value===_h)throw e.error;return e.value;};return i[Kn]=e,i;}var sv=Symbol("UNSET"),lv=Symbol("COMPUTING"),_h=Symbol("ERRORED"),EV=ze(B({},Sc),{value:sv,dirty:!0,error:null,equal:dv,kind:"computed",producerMustRecompute(t){return t.value===sv||t.value===lv;},producerRecomputeValue(t){if(t.value===lv)throw new Error("Detected cycle in computations.");let n=t.value;t.value=lv;let e=Au(t),i,r=!1;try{i=t.computation(),at(null),r=n!==sv&&n!==_h&&i!==_h&&t.equal(n,i);}catch(o){i=_h,t.error=o;}finally{bh(t,e);}if(r){t.value=n;return;}t.value=i,t.version++;}});function MV(){throw new Error();}var DM=MV;function EM(t){DM(t);}function gv(t){DM=t;}var kV=null;function _v(t,n){let e=Object.create(wh);e.value=t,n!==void 0&&(e.equal=n);let i=()=>(Tu(e),e.value);return i[Kn]=e,i;}function Ou(t,n){fv()||EM(t),t.equal(t.value,n)||(t.value=n,SV(t));}function bv(t,n){fv()||EM(t),Ou(t,n(t.value));}var wh=ze(B({},Sc),{equal:dv,value:void 0,kind:"signal"});function SV(t){t.version++,yM(),hv(t),kV?.();}function vv(t){let n=at(null);try{return t();}finally{at(n);}}var yv;function Pu(){return yv;}function Pa(t){let n=yv;return yv=t,n;}var Dh=Symbol("NotFound");function Qe(t){return typeof t=="function";}function Ic(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack;});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e;}var Eh=Ic(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=e;});function ml(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1);}}var Ce=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null;}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Qe(i))try{i();}catch(o){n=o instanceof Eh?o.errors:[o];}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{MM(o);}catch(a){n=n??[],a instanceof Eh?n=[...n,...a.errors]:n.push(a);}}if(n)throw new Eh(n);}}add(n){var e;if(n&&n!==this)if(this.closed)MM(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this);}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n);}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n);}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n;}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&ml(e,n);}remove(n){let{_finalizers:e}=this;e&&ml(e,n),n instanceof t&&n._removeParent(this);}};Ce.EMPTY=(()=>{let t=new Ce();return t.closed=!0,t;})();var xv=Ce.EMPTY;function Mh(t){return t instanceof Ce||t&&"closed"in t&&Qe(t.remove)&&Qe(t.add)&&Qe(t.unsubscribe);}function MM(t){Qe(t)?t():t.unsubscribe();}var mo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tc={setTimeout(t,n,...e){let{delegate:i}=Tc;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e);},clearTimeout(t){let{delegate:n}=Tc;return(n?.clearTimeout||clearTimeout)(t);},delegate:void 0};function kh(t){Tc.setTimeout(()=>{let{onUnhandledError:n}=mo;if(n)n(t);else throw t;});}function Fu(){}var kM=Cv("C",void 0,void 0);function SM(t){return Cv("E",void 0,t);}function IM(t){return Cv("N",t,void 0);}function Cv(t,n,e){return{kind:t,value:n,error:e};}var pl=null;function Ac(t){if(mo.useDeprecatedSynchronousErrorHandling){let n=!pl;if(n&&(pl={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=pl;if(pl=null,e)throw i;}}else t();}function TM(t){mo.useDeprecatedSynchronousErrorHandling&&pl&&(pl.errorThrown=!0,pl.error=t);}var hl=class extends Ce{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Mh(n)&&n.add(this)):this.destination=PV;}static create(n,e,i){return new Fa(n,e,i);}next(n){this.isStopped?Dv(IM(n),this):this._next(n);}error(n){this.isStopped?Dv(SM(n),this):(this.isStopped=!0,this._error(n));}complete(){this.isStopped?Dv(kM,this):(this.isStopped=!0,this._complete());}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null);}_next(n){this.destination.next(n);}_error(n){try{this.destination.error(n);}finally{this.unsubscribe();}}_complete(){try{this.destination.complete();}finally{this.unsubscribe();}}},RV=Function.prototype.bind;function wv(t,n){return RV.call(t,n);}var Ev=class{constructor(n){this.partialObserver=n;}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n);}catch(i){Sh(i);}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n);}catch(i){Sh(i);}else Sh(n);}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete();}catch(e){Sh(e);}}},Fa=class extends hl{constructor(n,e,i){super();let r;if(Qe(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&mo.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&wv(n.next,o),error:n.error&&wv(n.error,o),complete:n.complete&&wv(n.complete,o)}):r=n;}this.destination=new Ev(r);}};function Sh(t){mo.useDeprecatedSynchronousErrorHandling?TM(t):kh(t);}function OV(t){throw t;}function Dv(t,n){let{onStoppedNotification:e}=mo;e&&Tc.setTimeout(()=>e(t,n));}var PV={closed:!0,next:Fu,error:OV,complete:Fu};var Rc=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Vn(t){return t;}function Mv(...t){return kv(t);}function kv(t){return t.length===0?Vn:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e);};}var qe=(()=>{class t{constructor(e){e&&(this._subscribe=e);}lift(e){let i=new t();return i.source=this,i.operator=e,i;}subscribe(e,i,r){let o=NV(e)?e:new Fa(e,i,r);return Ac(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o));}),o;}_trySubscribe(e){try{return this._subscribe(e);}catch(i){e.error(i);}}forEach(e,i){return i=AM(i),new i((r,o)=>{let a=new Fa({next:s=>{try{e(s);}catch(l){o(l),a.unsubscribe();}},error:o,complete:r});this.subscribe(a);});}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e);}[Rc](){return this;}pipe(...e){return kv(e)(this);}toPromise(e){return e=AM(e),new e((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o));});}}return t.create=n=>new t(n),t;})();function AM(t){var n;return(n=t??mo.Promise)!==null&&n!==void 0?n:Promise;}function FV(t){return t&&Qe(t.next)&&Qe(t.error)&&Qe(t.complete);}function NV(t){return t&&t instanceof hl||FV(t)&&Mh(t);}function Sv(t){return Qe(t?.lift);}function Le(t){return n=>{if(Sv(n))return n.lift(function(e){try{return t(e,this);}catch(i){this.error(i);}});throw new TypeError("Unable to lift unknown Observable type");};}function je(t,n,e,i,r){return new Iv(t,n,e,i,r);}var Iv=class extends hl{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s);}catch(l){n.error(l);}}:super._next,this._error=r?function(s){try{r(s);}catch(l){n.error(l);}finally{this.unsubscribe();}}:super._error,this._complete=i?function(){try{i();}catch(s){n.error(s);}finally{this.unsubscribe();}}:super._complete;}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this));}}};function Oc(){return Le((t,n)=>{let e=null;t._refCount++;let i=je(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return;}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe();});t.subscribe(i),i.closed||(e=t.connect());});}var vs=class extends qe{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Sv(n)&&(this.lift=n.lift);}_subscribe(n){return this.getSubject().subscribe(n);}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject;}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe();}connect(){let n=this._connection;if(!n){n=this._connection=new Ce();let e=this.getSubject();n.add(this.source.subscribe(je(e,void 0,()=>{this._teardown(),e.complete();},i=>{this._teardown(),e.error(i);},()=>this._teardown()))),n.closed&&(this._connection=null,n=Ce.EMPTY);}return n;}refCount(){return Oc()(this);}};var RM=Ic(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var H=(()=>{class t extends qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null;}lift(e){let i=new Ih(this,this);return i.operator=e,i;}_throwIfClosed(){if(this.closed)throw new RM();}next(e){Ac(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e);}});}error(e){Ac(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e);}});}complete(){Ac(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete();}});}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null;}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0;}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e);}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e);}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?xv:(this.currentObservers=null,o.push(e),new Ce(()=>{this.currentObservers=null,ml(o,e);}));}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete();}asObservable(){let e=new qe();return e.source=this,e;}}return t.create=(n,e)=>new Ih(n,e),t;})(),Ih=class extends H{constructor(n,e){super(),this.destination=n,this.source=e;}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n);}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n);}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n);}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:xv;}};var Qt=class extends H{constructor(n){super(),this._value=n;}get value(){return this.getValue();}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e;}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i;}next(n){super.next(this._value=n);}};var Nu={now(){return(Nu.delegate||Date).now();},delegate:void 0};var Na=class extends H{constructor(n=1/0,e=1/0,i=Nu){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e);}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n);}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),e;}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=e.now(),s=0;for(let l=1;l<i.length&&i[l]<=a;l+=2)s=l;s&&i.splice(0,s+1);}}};var Th=class extends Ce{constructor(n,e){super();}schedule(n,e=0){return this;}};var Lu={setInterval(t,n,...e){let{delegate:i}=Lu;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e);},clearInterval(t){let{delegate:n}=Lu;return(n?.clearInterval||clearInterval)(t);},delegate:void 0};var Ah=class extends Th{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1;}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this;}requestAsyncId(n,e,i=0){return Lu.setInterval(n.flush.bind(n,this),i);}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Lu.clearInterval(e);}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null));}_execute(n,e){let i=!1,r;try{this.work(n);}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error");}if(i)return this.unsubscribe(),r;}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,ml(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe();}}};var Pc=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e;}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e);}};Pc.now=Nu.now;var Rh=class extends Pc{constructor(n,e=Pc.now){super(n,e),this.actions=[],this._active=!1;}flush(n){let{actions:e}=this;if(this._active){e.push(n);return;}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i;}}};var Vu=new Rh(Ah),OM=Vu;var Di=new qe(t=>t.complete());function Oh(t){return t&&Qe(t.schedule);}function Tv(t){return t[t.length-1];}function Ph(t){return Qe(Tv(t))?t.pop():void 0;}function Lo(t){return Oh(Tv(t))?t.pop():void 0;}function PM(t,n){return typeof Tv(t)=="number"?t.pop():n;}function NM(t,n,e,i){function r(o){return o instanceof e?o:new e(function(a){a(o);});}return new(e||(e=Promise))(function(o,a){function s(h){try{c(i.next(h));}catch(g){a(g);}}function l(h){try{c(i.throw(h));}catch(g){a(g);}}function c(h){h.done?o(h.value):r(h.value).then(s,l);}c((i=i.apply(t,n||[])).next());});}function FM(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t};}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.");}function fl(t){return this instanceof fl?(this.v=t,this):new fl(t);}function LM(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this;},r;function a(_){return function(x){return Promise.resolve(x).then(_,g);};}function s(_,x){i[_]&&(r[_]=function(T){return new Promise(function(L,W){o.push([_,T,L,W])>1||l(_,T);});},x&&(r[_]=x(r[_])));}function l(_,x){try{c(i[_](x));}catch(T){b(o[0][3],T);}}function c(_){_.value instanceof fl?Promise.resolve(_.value.v).then(h,g):b(o[0][2],_);}function h(_){l("next",_);}function g(_){l("throw",_);}function b(_,x){_(x),o.shift(),o.length&&l(o[0][0],o[0][1]);}}function VM(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof FM=="function"?FM(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this;},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),r(s,l,a.done,a.value);});};}function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s});},a);}}var Fh=t=>t&&typeof t.length=="number"&&typeof t!="function";function Nh(t){return Qe(t?.then);}function Lh(t){return Qe(t[Rc]);}function Vh(t){return Symbol.asyncIterator&&Qe(t?.[Symbol.asyncIterator]);}function zh(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`);}function LV(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator;}var Bh=LV();function jh(t){return Qe(t?.[Bh]);}function Hh(t){return LM(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield fl(e.read());if(r)return yield fl(void 0);yield yield fl(i);}}finally{e.releaseLock();}});}function $h(t){return Qe(t?.getReader);}function Ht(t){if(t instanceof qe)return t;if(t!=null){if(Lh(t))return VV(t);if(Fh(t))return zV(t);if(Nh(t))return BV(t);if(Vh(t))return zM(t);if(jh(t))return jV(t);if($h(t))return HV(t);}throw zh(t);}function VV(t){return new qe(n=>{let e=t[Rc]();if(Qe(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable");});}function zV(t){return new qe(n=>{for(let e=0 ��;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete();});}function BV(t){return new qe(n=>{t.then(e=>{n.closed||(n.next(e),n.complete());},e=>n.error(e)).then(null,kh);});}function jV(t){return new qe(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete();});}function zM(t){return new qe(n=>{$V(t,n).catch(e=>n.error(e));});}function HV(t){return zM(Hh(t));}function $V(t,n){var e,i,r,o;return NM(this,void 0,void 0,function*(){try{for(e=VM(t);i=yield e.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return;}}catch(a){r={error:a};}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e));}finally{if(r)throw r.error;}}n.complete();});}function Zn(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe();},i);if(t.add(o),!r)return o;}function Uh(t,n=0){return Le((e,i)=>{e.subscribe(je(i,r=>Zn(i,t,()=>i.next(r),n),()=>Zn(i,t,()=>i.complete(),n),r=>Zn(i,t,()=>i.error(r),n)));});}function qh(t,n=0){return Le((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n));});}function BM(t,n){return Ht(t).pipe(qh(n),Uh(n));}function jM(t,n){return Ht(t).pipe(qh(n),Uh(n));}function HM(t,n){return new qe(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule());});});}function $M(t,n){return new qe(e=>{let i;return Zn(e,n,()=>{i=t[Bh](),Zn(e,n,()=>{let r,o;try{({value:r,done:o}=i.next());}catch(a){e.error(a);return;}o?e.complete():e.next(r);},0,!0);}),()=>Qe(i?.return)&&i.return();});}function Wh(t,n){if(!t)throw new Error("Iterable cannot be null");return new qe(e=>{Zn(e,n,()=>{let i=t[Symbol.asyncIterator]();Zn(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value);});},0,!0);});});}function UM(t,n){return Wh(Hh(t),n);}function qM(t,n){if(t!=null){if(Lh(t))return BM(t,n);if(Fh(t))return HM(t,n);if(Nh(t))return jM(t,n);if(Vh(t))return Wh(t,n);if(jh(t))return $M(t,n);if($h(t))return UM(t,n);}throw zh(t);}function Vt(t,n){return n?qM(t,n):Ht(t);}function se(...t){let n=Lo(t);return Vt(t,n);}function ys(t,n){let e=Qe(t)?t:()=>t,i=r=>r.error(e());return new qe(n?r=>n.schedule(i,0,r):i);}function Fc(t){return!!t&&(t instanceof qe||Qe(t.lift)&&Qe(t.subscribe));}var La=Ic(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence";});function WM(t){return t instanceof Date&&!isNaN(t);}function ue(t,n){return Le((e,i)=>{let r=0;e.subscribe(je(i,o=>{i.next(t.call(n,o,r++));}));});}var{isArray:UV}=Array;function qV(t,n){return UV(n)?t(...n):t(n);}function Gh(t){return ue(n=>qV(t,n));}var{isArray:WV}=Array,{getPrototypeOf:GV,prototype:YV,keys:QV}=Object;function Yh(t){if(t.length===1){let n=t[0];if(WV(n))return{args:n,keys:null};if(KV(n)){let e=QV(n);return{args:e.map(i=>n[i]),keys:e};}}return{args:t,keys:null};}function KV(t){return t&&typeof t=="object"&&GV(t)===YV;}function Qh(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{});}function po(...t){let n=Lo(t),e=Ph(t),{args:i,keys:r}=Yh(t);if(i.length===0)return Vt([],n);let o=new qe(ZV(i,n,r?a=>Qh(r,a):Vn));return e?o.pipe(Gh(e)):o;}function ZV(t,n,e=Vn){return i=>{GM(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l<r;l++)GM(n,()=>{let c=Vt(t[l],n),h=!1;c.subscribe(je(i,g=>{o[l]=g,h||(h=!0,s--),s||i.next(e(o.slice()));},()=>{--a||i.complete();}));},i);},i);};}function GM(t,n,e){t?Zn(e,t,n):n();}function Kh(t,n,e,i,r,o,a,s){let l=[],c=0,h=0,g=!1,b=()=>{g&&!l.length&&!c&&n.complete();},_=T=>c<i?x(T):l.push(T),x=T=>{o&&n.next(T),c++;let L=!1;Ht(e(T,h++)).subscribe(je(n,W=>{r?.(W),o?_(W):n.next(W);},()=>{L=!0;},void 0,()=>{if(L)try{for(c--;l.length&&c<i;){let W=l.shift();a?Zn(n,a,()=>x(W)):x(W);}b();}catch(W){n.error(W);}}));};return t.subscribe(je(n,_,()=>{g=!0,b();})),()=>{s?.();};}function Ni(t,n,e=1/0){return Qe(n)?Ni((i,r)=>ue((o,a)=>n(i,o,r,a))(Ht(t(i,r))),e):(typeof n=="number"&&(e=n),Le((i,r)=>Kh(i,r,t,e)));}function Vo(t=1/0){return Ni(Vn,t);}function YM(){return Vo(1);}function xs(...t){return YM()(Vt(t,Lo(t)));}function zo(t){return new qe(n=>{Ht(t()).subscribe(n);});}function zu(...t){let n=Ph(t),{args:e,keys:i}=Yh(t),r=new qe(o=>{let{length:a}=e;if(!a){o.complete();return;}let s=new Array(a),l=a,c=a;for(let h=0;h<a;h++){let g=!1;Ht(e[h]).subscribe(je(o,b=>{g||(g=!0,c--),s[h]=b;},()=>l--,void 0,()=>{(!l||!g)&&(c||o.next(i?Qh(i,s):s),o.complete());}));}});return n?r.pipe(Gh(n)):r;}function Bu(t=0,n,e=OM){let i=-1;return n!=null&&(Oh(n)?e=n:i=n),new qe(r=>{let o=WM(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete());},o);});}function At(...t){let n=Lo(t),e=PM(t,1/0),i=t;return i.length?i.length===1?Ht(i[0]):Vo(e)(Vt(i,n)):Di;}function Ie(t,n){return Le((e,i)=>{let r=0;e.subscribe(je(i,o=>t.call(n,o,r++)&&i.next(o)));});}function QM(t){return Le((n,e)=>{let i=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c);}a&&e.complete();},l=()=>{o=null,a&&e.complete();};n.subscribe(je(e,c=>{i=!0,r=c,o||Ht(t(c)).subscribe(o=je(e,s,l));},()=>{a=!0,(!i||!o||o.closed)&&e.complete();}));});}function Nc(t,n=Vu){return QM(()=>Bu(t,n));}function Mn(t){return Le((n,e)=>{let i=null,r=!1,o;i=n.subscribe(je(e,void 0,void 0,a=>{o=Ht(t(a,Mn(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0;})),r&&(i.unsubscribe(),i=null,o.subscribe(e));});}function Zh(t,n,e,i,r){return(o,a)=>{let s=e,l=n,c=0;o.subscribe(je(a,h=>{let g=c++;l=s?t(l,h,g):(s=!0,h),i&&a.next(l);},r&&(()=>{s&&a.next(l),a.complete();})));};}function ju(t,n){return Le(Zh(t,n,arguments.length>=2,!1,!0));}function Bo(t,n){return Qe(n)?Ni(t,n,1):Ni(t,1);}function Va(t,n=Vu){return Le((e,i)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c);}};function l(){let c=a+t,h=n.now();if(h<c){r=this.schedule(void 0,c-h),i.add(r);return;}s();}e.subscribe(je(i,c=>{o=c,a=n.now(),r||(r=n.schedule(l,t),i.add(r));},()=>{s(),i.complete();},void 0,()=>{o=r=null;}));});}function Cs(t){return Le((n,e)=>{let i=!1;n.subscribe(je(e,r=>{i=!0,e.next(r);},()=>{i||e.next(t),e.complete();}));});}function de(t){return t<=0?()=>Di:Le((n,e)=>{let i=0;n.subscribe(je(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete());}));});}function Xh(t,n=Vn){return t=t??XV,Le((e,i)=>{let r,o=!0;e.subscribe(je(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a));}));});}function XV(t,n){return t===n;}function Jh(t=JV){return Le((n,e)=>{let i=!1;n.subscribe(je(e,r=>{i=!0,e.next(r);},()=>i?e.complete():e.error(t())));});}function JV(){return new La();}function Hu(t,n=1/0,e){return n=(n||0)<1?1/0:n,Le((i,r)=>Kh(i,r,t,n,void 0,!0,e));}function jo(t){return Le((n,e)=>{try{n.subscribe(e);}finally{e.add(t);}});}function za(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Ie((r,o)=>t(r,o,i)):Vn,de(1),e?Cs(n):Jh(()=>new La()));}function Lc(t){return t<=0?()=>Di:Le((n,e)=>{let i=[];n.subscribe(je(e,r=>{i.push(r),t<i.length&&i.shift();},()=>{for(let r of i)e.next(r);e.complete();},void 0,()=>{i=null;}));});}function Av(t,n){let e=arguments.length>=2;return i=>i.pipe(t?Ie((r,o)=>t(r,o,i)):Vn,Lc(1),e?Cs(n):Jh(()=>new La()));}function ef(){return Le((t,n)=>{let e,i=!1;t.subscribe(je(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0;}));});}function Rv(t,n){return Le(Zh(t,n,arguments.length>=2,!0));}function $u(t={}){let{connector:n=()=>new H(),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,c=0,h=!1,g=!1,b=()=>{s?.unsubscribe(),s=void 0;},_=()=>{b(),a=l=void 0,h=g=!1;},x=()=>{let T=a;_(),T?.unsubscribe();};return Le((T,L)=>{c++,!g&&!h&&b();let W=l=l??n();L.add(()=>{c--,c===0&&!g&&!h&&(s=Ov(x,r));}),W.subscribe(L),!a&&c>0&&(a=new Fa({next:ie=>W.next(ie),error:ie=>{g=!0,b(),s=Ov(_,e,ie),W.error(ie);},complete:()=>{h=!0,b(),s=Ov(_,i),W.complete();}}),Ht(T).subscribe(a));})(o);};}function Ov(t,n,...e){if(n===!0){t();return;}if(n===!1)return;let i=new Fa({next:()=>{i.unsubscribe(),t();}});return Ht(n(...e)).subscribe(i);}function tf(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,$u({connector:()=>new Na(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r});}function gl(t){return Ie((n,e)=>t<=e);}function ht(...t){let n=Lo(t);return Le((e,i)=>{(n?xs(t,e,n):xs(t,e)).subscribe(i);});}function si(t,n){return Le((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(je(i,l=>{r?.unsubscribe();let c=0,h=o++;Ht(t(l,h)).subscribe(r=je(i,g=>i.next(n?n(l,g,h,c++):g),()=>{r=null,s();}));},()=>{a=!0,s();}));});}function Ve(t){return Le((n,e)=>{Ht(t).subscribe(je(e,()=>e.complete(),Fu)),!e.closed&&n.subscribe(e);});}function ws(t,n=!1){return Le((e,i)=>{let r=0;e.subscribe(je(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete();}));});}function vi(t,n,e){let i=Qe(t)||n||e?{next:t,error:n,complete:e}:t;return i?Le((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(je(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l);},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete();},l=>{var c;s=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l);},()=>{var l,c;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i);}));}):Vn;}var Uk="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",X=class extends Error{code;constructor(n,e){super(sx(n,e)),this.code=n;}};function e6(t){return`NG0${Math.abs(t)}`;}function sx(t,n){return`${e6(t)}${n?": "+n:""}`;}var qk=Symbol("InputSignalNode#UNSET"),t6=ze(B({},wh),{transformFn:void 0,applyValueToInputSignal(t,n){Ou(t,n);}});function Wk(t,n){let e=Object.create(t6);e.value=t,e.transformFn=n?.transform;function i(){if(Tu(e),e.value===qk){let r=null;throw new X(-950,r);}return e.value;}return i[Kn]=e,i;}function im(t){return{toString:t}.toString();}var nf="__parameters__";function i6(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r];}};}function Gk(t,n,e){return im(()=>{let i=i6(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let a=new r(...o);return s.annotation=a,s;function s(l,c,h){let g=l.hasOwnProperty(nf)?l[nf]:Object.defineProperty(l,nf,{value:[]})[nf];for(;g.length<=h;)g.push(null);return(g[h]=g[h]||[]).push(a),l;}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r;});}var gn=globalThis;function $t(t){for(let n in t)if(t[n]===$t)return n;throw Error("Could not find renamed property on target object.");}function n6(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e]);}function Jn(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Jn).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
`);return i>=0?e.slice(0,i):e;}function Qv(t,n){return t?n?`${t} ${n}`:t:n||"";}var r6=$t({__forward_ref__:$t});function yi(t){return t.__forward_ref__=yi,t.toString=function(){return Jn(this());},t;}function _n(t){return Yk(t)?t():t;}function Yk(t){return typeof t=="function"&&t.hasOwnProperty(r6)&&t.__forward_ref__===yi;}function P(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0};}function ne(t){return{providers:t.providers||[],imports:t.imports||[]};}function Bf(t){return KM(t,Kk)||KM(t,Zk);}function Qk(t){return Bf(t)!==null;}function KM(t,n){return t.hasOwnProperty(n)?t[n]:null;}function o6(t){let n=t&&(t[Kk]||t[Zk]);return n||null;}function ZM(t){return t&&(t.hasOwnProperty(XM)||t.hasOwnProperty(a6))?t[XM]:null;}var Kk=$t({ɵprov:$t}),XM=$t({ɵinj:$t}),Zk=$t({ngInjectableDef:$t}),a6=$t({ngInjectorDef:$t}),A=class{_desc;ngMetadataName="InjectionToken";ɵprov;constructor(n,e){this._desc=n,this.ɵprov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.ɵprov=P({token:this,providedIn:e.providedIn||"root",factory:e.factory}));}get multi(){return this;}toString(){return`InjectionToken ${this._desc}`;}};function Xk(t){return t&&!!t.ɵproviders;}var s6=$t({ɵcmp:$t}),l6=$t({ɵdir:$t}),c6=$t({ɵpipe:$t}),d6=$t({ɵmod:$t}),hf=$t({ɵfac:$t}),Gu=$t({__NG_ELEMENT_ID__:$t}),JM=$t({__NG_ENV_ID__:$t});function zn(t){return typeof t=="string"?t:t==null?"":String(t);}function u6(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():zn(t);}function Jk(t,n){throw new X(-200,t);}function lx(t,n){throw new X(-201,!1);}var dt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t;}(dt||{}),Kv;function eS(){return Kv;}function Xn(t){let n=Kv;return Kv=t,n;}function tS(t,n,e){let i=Bf(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&dt.Optional)return null;if(n!==void 0)return n;lx(t,"Injector");}var m6={},bl=m6,Zv="__NG_DI_FLAG__",ff=class{injector;constructor(n){this.injector=n;}retrieve(n,e){let i=e;return this.injector.get(n,i.optional?Dh:bl,i);}},gf="ngTempTokenPath",p6="ngTokenPath",h6=/\n/gm,f6="\u0275",ek="__source";function g6(t,n=dt.Default){if(Pu()===void 0)throw new X(-203,!1);if(Pu()===null)return tS(t,void 0,n);{let e=Pu(),i;return e instanceof ff?i=e.injector:i=e,i.get(t,n&dt.Optional?null:void 0,n);}}function te(t,n=dt.Default){return(eS()||g6)(_n(t),n);}function p(t,n=dt.Default){return te(t,jf(n));}function jf(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4);}function Xv(t){let n=[];for(let e=0;e<t.length;e++){let i=_n(t[e]);if(Array.isArray(i)){if(i.length===0)throw new X(900,!1);let r,o=dt.Default;for(let a=0;a<i.length;a++){let s=i[a],l=_6(s);typeof l=="number"?l===-1?r=s.token:o|=l:r=s;}n.push(te(r,o));}else n.push(te(i));}return n;}function iS(t,n){return t[Zv]=n,t.prototype[Zv]=n,t;}function _6(t){return t[Zv];}function b6(t,n,e,i){let r=t[gf];throw n[ek]&&r.unshift(n[ek]),t.message=v6(`
`+t.message,r,e,i),t[p6]=r,t[gf]=null,t;}function v6(t,n,e,i=null){t=t&&t.charAt(0)===`
`&&t.charAt(1)==f6?t.slice(2):t;let r=Jn(n);if(Array.isArray(n))r=n.map(Jn).join(" -> ");else if(typeof n=="object"){let o=[];for(let a in n)if(n.hasOwnProperty(a)){let s=n[a];o.push(a+":"+(typeof s=="string"?JSON.stringify(s):Jn(s)));}r=`{${o.join(", ")}}`;}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(h6,`
`)}`;}var yr=iS(Gk("Optional"),8);var _o=iS(Gk("SkipSelf"),4);function yl(t,n){let e=t.hasOwnProperty(hf);return e?t[hf]:null;}function y6(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1;}return!0;}function x6(t){return t.flat(Number.POSITIVE_INFINITY);}function cx(t,n){t.forEach(e=>Array.isArray(e)?cx(e,n):n(e));}function nS(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e);}function _f(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0];}function C6(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e;}function w6(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--;}t[n]=e,t[n+1]=i;}}function nm(t,n,e){let i=rm(t,n);return i>=0?t[i|1]=e:(i=~i,w6(t,i,n,e)),i;}function Pv(t,n){let e=rm(t,n);if(e>=0)return t[e|1];}function rm(t,n){return D6(t,n,1);}function D6(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),a=t[o<<e];if(n===a)return o<<e;a>n?r=o:i=o+1;}return~(r<<e);}var $o={},Bn=[],Uc=new A(""),rS=new A("",-1),oS=new A(""),bf=class{get(n,e=bl){if(e===bl){let i=new Error(`NullInjectorError: No provider for ${Jn(n)}!`);throw i.name="NullInjectorError",i;}return e;}};function aS(t,n){let e=t[d6]||null;if(!e&&n===!0)throw new Error(`Type ${Jn(t)} does not have '\u0275mod' property.`);return e;}function Ms(t){return t[s6]||null;}function sS(t){return t[l6]||null;}function E6(t){return t[c6]||null;}function Jc(t){return{ɵproviders:t};}function dx(...t){return{ɵproviders:lS(!0,t),ɵfromNgModule:!0};}function lS(t,...n){let e=[],i=new Set(),r,o=a=>{e.push(a);};return cx(n,a=>{let s=a;Jv(s,o,[],i)&&(r||=[],r.push(s));}),r!==void 0&&cS(r,o),e;}function cS(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];ux(r,o=>{n(o,i);});}}function Jv(t,n,e,i){if(t=_n(t),!t)return!1;let r=null,o=ZM(t),a=!o&&Ms(t);if(!o&&!a){let l=t.ngModule;if(o=ZM(l),o)r=l;else return!1;}else{if(a&&!a.standalone)return!1;r=t;}let s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let c of l)Jv(c,n,e,i);}}else if(o){if(o.imports!=null&&!s){i.add(r);let c;try{cx(o.imports,h=>{Jv(h,n,e,i)&&(c||=[],c.push(h));});}finally{}c!==void 0&&cS(c,n);}if(!s){let c=yl(r)||(()=>new r());n({provide:r,useFactory:c,deps:Bn},r),n({provide:oS,useValue:r,multi:!0},r),n({provide:Uc,useValue:()=>te(r),multi:!0},r);}let l=o.providers;if(l!=null&&!s){let c=t;ux(l,h=>{n(h,c);});}}else return!1;return r!==t&&t.providers!==void 0;}function ux(t,n){for(let e of t)Xk(e)&&(e=e.ɵproviders),Array.isArray(e)?ux(e,n):n(e);}var M6=$t({provide:String,useValue:$t});function dS(t){return t!==null&&typeof t=="object"&&M6 in t;}function k6(t){return!!(t&&t.useExisting);}function S6(t){return!!(t&&t.useFactory);}function qc(t){return typeof t=="function";}function I6(t){return!!t.useClass;}var Hf=new A(""),lf={},tk={},Fv;function $f(){return Fv===void 0&&(Fv=new bf()),Fv;}var Ei=class{},Yu=class extends Ei{parent;source;scopes;records=new Map();_ngOnDestroyHooks=new Set();_onDestroyHooks=[];get destroyed(){return this._destroyed;}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,ty(n,a=>this.processProvider(a)),this.records.set(rS,Vc(void 0,this)),r.has("environment")&&this.records.set(Ei,Vc(void 0,this));let o=this.records.get(Hf);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(oS,Bn,dt.Self));}retrieve(n,e){let i=e;return this.get(n,i.optional?Dh:bl,i);}destroy(){qu(this),this._destroyed=!0;let n=at(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i();}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),at(n);}}onDestroy(n){return qu(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n);}runInContext(n){qu(this);let e=Pa(this),i=Xn(void 0),r;try{return n();}finally{Pa(e),Xn(i);}}get(n,e=bl,i=dt.Default){if(qu(this),n.hasOwnProperty(JM))return n[JM](this);i=jf(i);let r,o=Pa(this),a=Xn(void 0);try{if(!(i&dt.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=P6(n)&&Bf(n);c&&this.injectableDefInScope(c)?l=Vc(ey(n),lf):l=null,this.records.set(n,l);}if(l!=null)return this.hydrate(n,l);}let s=i&dt.Self?$f():this.parent;return e=i&dt.Optional&&e===bl?null:e,s.get(n,e);}catch(s){if(s.name==="NullInjectorError"){if((s[gf]=s[gf]||[]).unshift(Jn(n)),o)throw s;return b6(s,n,"R3InjectorError",this.source);}else throw s;}finally{Xn(a),Pa(o);}}resolveInjectorInitializers(){let n=at(null),e=Pa(this),i=Xn(void 0),r;try{let o=this.get(Uc,Bn,dt.Self);for(let a of o)a();}finally{Pa(e),Xn(i),at(n);}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Jn(i));return`R3Injector[${n.join(", ")}]`;}processProvider(n){n=_n(n);let e=qc(n)?n:_n(n&&n.provide),i=A6(n);if(!qc(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Vc(void 0,lf,!0),r.factory=()=>Xv(r.multi),this.records.set(e,r)),e=n,r.multi.push(n);}this.records.set(e,i);}hydrate(n,e){let i=at(null);try{return e.value===tk?Jk(Jn(n)):e.value===lf&&(e.value=tk,e.value=e.factory()),typeof e.value=="object"&&e.value&&O6(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value;}finally{at(i);}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=_n(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e);}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1);}};function ey(t){let n=Bf(t),e=n!==null?n.factory:yl(t);if(e!==null)return e;if(t instanceof A)throw new X(204,!1);if(t instanceof Function)return T6(t);throw new X(204,!1);}function T6(t){if(t.length>0)throw new X(204,!1);let e=o6(t);return e!==null?()=>e.factory(t):()=>new t();}function A6(t){if(dS(t))return Vc(void 0,t.useValue);{let n=uS(t);return Vc(n,lf);}}function uS(t,n,e){let i;if(qc(t)){let r=_n(t);return yl(r)||ey(r);}else if(dS(t))i=()=>_n(t.useValue);else if(S6(t))i=()=>t.useFactory(...Xv(t.deps||[]));else if(k6(t))i=()=>te(_n(t.useExisting));else{let r=_n(t&&(t.useClass||t.provide));if(R6(t))i=()=>new r(...Xv(t.deps));else return yl(r)||ey(r);}return i;}function qu(t){if(t.destroyed)throw new X(205,!1);}function Vc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0};}function R6(t){return!!t.deps;}function O6(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function";}function P6(t){return typeof t=="function"||typeof t=="object"&&t instanceof A;}function ty(t,n){for(let e of t)Array.isArray(e)?ty(e,n):e&&Xk(e)?ty(e.ɵproviders,n):n(e);}function ir(t,n){let e;t instanceof Yu?(qu(t),e=t):e=new ff(t);let i,r=Pa(e),o=Xn(void 0);try{return n();}finally{Pa(r),Xn(o);}}function mS(){return eS()!==void 0||Pu()!=null;}function mx(t){if(!mS())throw new X(-203,!1);}function F6(t){return typeof t=="function";}var Ua=0,Ke=1,Ue=2,Sn=3,go=4,nr=5,Wc=6,vf=7,Xi=8,Gc=9,Ba=10,li=11,Qu=12,ik=13,ed=14,vr=15,xl=16,zc=17,ja=18,Uf=19,pS=20,Ds=21,Nv=22,Cl=23,Fr=24,Hc=25,Bi=26,hS=1;var wl=7,yf=8,Yc=9,kn=10;function Es(t){return Array.isArray(t)&&typeof t[hS]=="object";}function qa(t){return Array.isArray(t)&&t[hS]===!0;}function px(t){return(t.flags&4)!==0;}function td(t){return t.componentOffset>-1;}function qf(t){return(t.flags&1)===1;}function Uo(t){return!!t.template;}function xf(t){return(t[Ue]&512)!==0;}function om(t){return(t[Ue]&256)===256;}var iy=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i;}isFirstChange(){return this.firstChange;}};function fS(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i;}var He=(()=>{let t=()=>gS;return t.ngInherit=!0,t;})();function gS(t){return t.type.prototype.ngOnChanges&&(t.setInput=L6),N6;}function N6(){let t=bS(this),n=t?.current;if(n){let e=t.previous;if(e===$o)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n);}}function L6(t,n,e,i,r){let o=this.declaredInputs[i],a=bS(t)||V6(t,{previous:$o,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new iy(c&&c.currentValue,e,l===$o),fS(t,n,r,e);}var _S="__ngSimpleChanges__";function bS(t){return t[_S]||null;}function V6(t,n){return t[_S]=n;}var nk=null;var zt=function(t,n=null,e){nk?.(t,n,e);},vS="svg",z6="math";function qo(t){for(;Array.isArray(t);)t=t[Ua];return t;}function yS(t,n){return qo(n[t]);}function Qo(t,n){return qo(n[t.index]);}function hx(t,n){return t.data[n];}function fx(t,n){return t[n];}function Wo(t,n){let e=n[t];return Es(e)?e:e[Ua];}function B6(t){return(t[Ue]&4)===4;}function gx(t){return(t[Ue]&128)===128;}function j6(t){return qa(t[Sn]);}function ks(t,n){return n==null?null:t[n];}function xS(t){t[zc]=0;}function CS(t){t[Ue]&1024||(t[Ue]|=1024,gx(t)&&id(t));}function H6(t,n){for(;t>0;)n=n[ed],t--;return n;}function Wf(t){return!!(t[Ue]&9216||t[Fr]?.dirty);}function ny(t){t[Ba].changeDetectionScheduler?.notify(8),t[Ue]&64&&(t[Ue]|=1024),Wf(t)&&id(t);}function id(t){t[Ba].changeDetectionScheduler?.notify(0);let n=Dl(t);for(;n!==null&&!(n[Ue]&8192||(n[Ue]|=8192,!gx(n)));)n=Dl(n);}function wS(t,n){if(om(t))throw new X(911,!1);t[Ds]===null&&(t[Ds]=[]),t[Ds].push(n);}function $6(t,n){if(t[Ds]===null)return;let e=t[Ds].indexOf(n);e!==-1&&t[Ds].splice(e,1);}function Dl(t){let n=t[Sn];return qa(n)?n[Sn]:n;}function _x(t){return t[vf]??=[];}function bx(t){return t.cleanup??=[];}function U6(t,n,e,i){let r=_x(n);r.push(e),t.firstCreatePass&&bx(t).push(i,r.length-1);}var Je={lFrame:IS(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ry=!1;function q6(){return Je.lFrame.elementDepthCount;}function W6(){Je.lFrame.elementDepthCount++;}function G6(){Je.lFrame.elementDepthCount--;}function vx(){return Je.bindingsEnabled;}function DS(){return Je.skipHydrationRootTNode!==null;}function Y6(t){return Je.skipHydrationRootTNode===t;}function Q6(){Je.skipHydrationRootTNode=null;}function Te(){return Je.lFrame.lView;}function Kt(){return Je.lFrame.tView;}function M(t){return Je.lFrame.contextLView=t,t[Xi];}function k(t){return Je.lFrame.contextLView=null,t;}function In(){let t=ES();for(;t!==null&&t.type===64;)t=t.parent;return t;}function ES(){return Je.lFrame.currentTNode;}function K6(){let t=Je.lFrame,n=t.currentTNode;return t.isParent?n:n.parent;}function Ss(t,n){let e=Je.lFrame;e.currentTNode=t,e.isParent=n;}function yx(){return Je.lFrame.isParent;}function xx(){Je.lFrame.isParent=!1;}function Z6(){return Je.lFrame.contextLView;}function MS(){return ry;}function Cf(t){let n=ry;return ry=t,n;}function nd(){let t=Je.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n;}function Cx(){return Je.lFrame.bindingIndex;}function X6(t){return Je.lFrame.bindingIndex=t;}function Al(){return Je.lFrame.bindingIndex++;}function am(t){let n=Je.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e;}function J6(){return Je.lFrame.inI18n;}function e5(t,n){let e=Je.lFrame;e.bindingIndex=e.bindingRootIndex=t,oy(n);}function t5(){return Je.lFrame.currentDirectiveIndex;}function oy(t){Je.lFrame.currentDirectiveIndex=t;}function i5(t){let n=Je.lFrame.currentDirectiveIndex;return n===-1?null:t[n];}function wx(){return Je.lFrame.currentQueryIndex;}function Gf(t){Je.lFrame.currentQueryIndex=t;}function n5(t){let n=t[Ke];return n.type===2?n.declTNode:n.type===1?t[nr]:null;}function kS(t,n,e){if(e&dt.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&dt.Host);)if(r=n5(o),r===null||(o=o[ed],r.type&10))break;if(r===null)return!1;n=r,t=o;}let i=Je.lFrame=SS();return i.currentTNode=n,i.lView=t,!0;}function Dx(t){let n=SS(),e=t[Ke];Je.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1;}function SS(){let t=Je.lFrame,n=t===null?null:t.child;return n===null?IS(t):n;}function IS(t){let n={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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n;}function TS(){let t=Je.lFrame;return Je.lFrame=t.parent,t.currentTNode=null,t.lView=null,t;}var AS=TS;function Ex(){let t=TS();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0;}function r5(t){return(Je.lFrame.contextLView=H6(t,Je.lFrame.contextLView))[Xi];}function bo(){return Je.lFrame.selectedIndex;}function El(t){Je.lFrame.selectedIndex=t;}function rd(){let t=Je.lFrame;return hx(t.tView,t.selectedIndex);}function Zt(){Je.lFrame.currentNamespace=vS;}function Ko(){o5();}function o5(){Je.lFrame.currentNamespace=null;}function a5(){return Je.lFrame.currentNamespace;}var RS=!0;function Yf(){return RS;}function Qf(t){RS=t;}function s5(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=gS(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a);}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o));}function Mx(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:h}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),h!=null&&(t.destroyHooks??=[]).push(e,h);}}function cf(t,n,e){OS(t,n,3,e);}function df(t,n,e,i){(t[Ue]&3)===e&&OS(t,n,e,i);}function Lv(t,n){let e=t[Ue];(e&3)===n&&(e&=16383,e+=1,t[Ue]=e);}function OS(t,n,e,i){let r=i!==void 0?t[zc]&65535:0,o=i??-1,a=n.length-1,s=0;for(let l=r;l<a;l++)if(typeof n[l+1]=="number"){if(s=n[l],i!=null&&s>=i)break;}else n[l]<0&&(t[zc]+=65536),(s<o||o==-1)&&(l5(t,e,n,l),t[zc]=(t[zc]&4294901760)+l+2),l++;}function rk(t,n){zt(4,t,n);let e=at(null);try{n.call(t);}finally{at(e),zt(5,t,n);}}function l5(t,n,e,i){let r=e[i]<0,o=e[i+1],a=r?-e[i]:e[i],s=t[a];r?t[Ue]>>14<t[zc]>>16&&(t[Ue]&3)===n&&(t[Ue]+=16384,rk(s,o)):rk(s,o);}var $c=-1,Ml=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=i;}};function c5(t){return(t.flags&8)!==0;}function d5(t){return(t.flags&16)!==0;}function u5(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],a=e[i++],s=e[i++];t.setAttribute(n,a,s,o);}else{let o=r,a=e[++i];m5(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++;}}return i;}function PS(t){return t===3||t===4||t===6;}function m5(t){return t.charCodeAt(0)===64;}function Qc(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?ok(t,e,r,null,n[++i]):ok(t,e,r,null,null));}}return t;}function ok(t,n,e,i,r){let o=0,a=t.length;if(n===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===n){a=-1;break;}else if(s>n){a=o-1;break;}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return;}o++,r!==null&&o++;}a!==-1&&(t.splice(a,0,n),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r);}function FS(t){return t!==$c;}function wf(t){return t&32767;}function p5(t){return t>>16;}function Df(t,n){let e=p5(t),i=n;for(;e>0;)i=i[ed],e--;return i;}var ay=!0;function Ef(t){let n=ay;return ay=t,n;}var h5=256,NS=h5-1,LS=5,f5=0,Ho={};function g5(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Gu)&&(i=e[Gu]),i==null&&(i=e[Gu]=f5++);let r=i&NS,o=1<<r;n.data[t+(r>>LS)]|=o;}function Mf(t,n){let e=VS(t,n);if(e!==-1)return e;let i=n[Ke];i.firstCreatePass&&(t.injectorIndex=n.length,Vv(i.data,t),Vv(n,null),Vv(i.blueprint,null));let r=kx(t,n),o=t.injectorIndex;if(FS(r)){let a=wf(r),s=Df(r,n),l=s[Ke].data;for(let c=0;c<8;c++)n[o+c]=s[a+c]|l[a+c];}return n[o+8]=r,o;}function Vv(t,n){t.push(0,0,0,0,0,0,0,0,n);}function VS(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex;}function kx(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=$S(r),i===null)return $c;if(e++,r=r[ed],i.injectorIndex!==-1)return i.injectorIndex|e<<16;}return $c;}function sy(t,n,e){g5(t,n,e);}function _5(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(PS(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2;}}}return null;}function zS(t,n,e){if(e&dt.Optional||t!==void 0)return t;lx(n,"NodeInjector");}function BS(t,n,e,i){if(e&dt.Optional&&i===void 0&&(i=null),(e&(dt.Self|dt.Host))===0){let r=t[Gc],o=Xn(void 0);try{return r?r.get(n,i,e&dt.Optional):tS(n,i,e&dt.Optional);}finally{Xn(o);}}return zS(i,n,e);}function jS(t,n,e,i=dt.Default,r){if(t!==null){if(n[Ue]&2048&&!(i&dt.Self)){let a=x5(t,n,e,i,Ho);if(a!==Ho)return a;}let o=HS(t,n,e,i,Ho);if(o!==Ho)return o;}return BS(n,e,i,r);}function HS(t,n,e,i,r){let o=v5(e);if(typeof o=="function"){if(!kS(n,t,i))return i&dt.Host?zS(r,e,i):BS(n,e,i,r);try{let a;if(a=o(i),a==null&&!(i&dt.Optional))lx(e);else return a;}finally{AS();}}else if(typeof o=="number"){let a=null,s=VS(t,n),l=$c,c=i&dt.Host?n[vr][nr]:null;for((s===-1||i&dt.SkipSelf)&&(l=s===-1?kx(t,n):n[s+8],l===$c||!sk(i,!1)?s=-1:(a=n[Ke],s=wf(l),n=Df(l,n)));s!==-1;){let h=n[Ke];if(ak(o,s,h.data)){let g=b5(s,n,e,a,i,c);if(g!==Ho)return g;}l=n[s+8],l!==$c&&sk(i,n[Ke].data[s+8]===c)&&ak(o,s,n)?(a=h,s=wf(l),n=Df(l,n)):s=-1;}}return r;}function b5(t,n,e,i,r,o){let a=n[Ke],s=a.data[t+8],l=i==null?td(s)&&ay:i!=a&&(s.type&3)!==0,c=r&dt.Host&&o===s,h=uf(s,a,e,l,c);return h!==null?Ku(n,a,h,s):Ho;}function uf(t,n,e,i,r){let o=t.providerIndexes,a=n.data,s=o&1048575,l=t.directiveStart,c=t.directiveEnd,h=o>>20,g=i?s:s+h,b=r?s+h:c;for(let _=g;_<b;_++){let x=a[_];if(_<l&&e===x||_>=l&&x.type===e)return _;}if(r){let _=a[l];if(_&&Uo(_)&&_.type===e)return l;}return null;}function Ku(t,n,e,i){let r=t[e],o=n.data;if(r instanceof Ml){let a=r;a.resolving&&Jk(u6(o[ ��e]));let s=Ef(a.canSeeViewProviders);a.resolving=!0;let l,c=a.injectImpl?Xn(a.injectImpl):null,h=kS(t,i,dt.Default);try{r=t[e]=a.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&s5(e,o[e],n);}finally{c!==null&&Xn(c),Ef(s),a.resolving=!1,AS();}}return r;}function v5(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Gu)?t[Gu]:void 0;return typeof n=="number"?n>=0?n&NS:y5:n;}function ak(t,n,e){let i=1<<t;return!!(e[n+(t>>LS)]&i);}function sk(t,n){return!(t&dt.Self)&&!(t&dt.Host&&n);}var vl=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e;}get(n,e,i){return jS(this._tNode,this._lView,n,jf(i),e);}};function y5(){return new vl(In(),Te());}function Fe(t){return im(()=>{let n=t.prototype.constructor,e=n[hf]||ly(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[hf]||ly(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r);}return o=>new o();});}function ly(t){return Yk(t)?()=>{let n=ly(_n(t));return n&&n();}:yl(t);}function x5(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[Ue]&2048&&!xf(a);){let s=HS(o,a,e,i|dt.Self,Ho);if(s!==Ho)return s;let l=o.parent;if(!l){let c=a[pS];if(c){let h=c.get(e,Ho,i);if(h!==Ho)return h;}l=$S(a),a=a[ed];}o=l;}return r;}function $S(t){let n=t[Ke],e=n.type;return e===2?n.declTNode:e===1?t[nr]:null;}function Kf(t){return _5(In(),t);}function lk(t,n=null,e=null,i){let r=US(t,n,e,i);return r.resolveInjectorInitializers(),r;}function US(t,n=null,e=null,i,r=new Set()){let o=[e||Bn,dx(t)];return i=i||(typeof t=="object"?void 0:Jn(t)),new Yu(o,n||$f(),i||null,r);}var Se=class t{static THROW_IF_NOT_FOUND=bl;static NULL=new bf();static create(n,e){if(Array.isArray(n))return lk({name:""},e,n,"");{let i=n.name??"";return lk({name:i},n.parent,n.providers,i);}}static ɵprov=P({token:t,providedIn:"any",factory:()=>te(rS)});static __NG_ELEMENT_ID__=-1;};var Ji=class{attributeName;constructor(n){this.attributeName=n;}__NG_ELEMENT_ID__=()=>Kf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`;}},C5=new A("");C5.__NG_ELEMENT_ID__=t=>{let n=In();if(n===null)throw new X(204,!1);if(n.type&2)return n.value;if(t&dt.Optional)return null;throw new X(204,!1);};var qS=!1,od=(()=>{class t{static __NG_ELEMENT_ID__=w5;static __NG_ENV_ID__=e=>e;}return t;})(),kf=class extends od{_lView;constructor(n){super(),this._lView=n;}onDestroy(n){return wS(this._lView,n),()=>$6(this._lView,n);}};function w5(){return new kf(Te());}var kl=class{},Sx=new A("",{providedIn:"root",factory:()=>!1});var WS=new A(""),GS=new A(""),Wa=(()=>{class t{taskId=0;pendingTasks=new Set();get _hasPendingTasks(){return this.hasPendingTasks.value;}hasPendingTasks=new Qt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e;}has(e){return this.pendingTasks.has(e);}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1);}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1);}static ɵprov=P({token:t,providedIn:"root",factory:()=>new t()});}return t;})();var cy=class extends H{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,mS()&&(this.destroyRef=p(od,{optional:!0})??void 0,this.pendingTasks=p(Wa,{optional:!0})??void 0);}emit(n){let e=at(null);try{super.next(n);}finally{at(e);}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l);}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return n instanceof Ce&&n.add(s),s;}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i);});};}},V=cy;function Zu(...t){}function YS(t){let n,e;function i(){t=Zu;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n);}catch{}}return n=setTimeout(()=>{t(),i();}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i();})),()=>i();}function ck(t){return queueMicrotask(()=>t()),()=>{t=Zu;};}var Ix="isAngularZone",Sf=Ix+"_ID",D5=0,oe=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new V(!1);onMicrotaskEmpty=new V(!1);onStable=new V(!1);onError=new V(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=qS}=n;if(typeof Zone>"u")throw new X(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec())),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,k5(a);}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ix)===!0;}static assertInAngularZone(){if(!t.isInAngularZone())throw new X(909,!1);}static assertNotInAngularZone(){if(t.isInAngularZone())throw new X(909,!1);}run(n,e,i){return this._inner.run(n,e,i);}runTask(n,e,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,E5,Zu,Zu);try{return o.runTask(a,e,i);}finally{o.cancelTask(a);}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i);}runOutsideAngular(n){return this._outer.run(n);}},E5={};function Tx(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null);}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null));}finally{t.isStable=!0;}}}function M5(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){YS(()=>{t.callbackScheduled=!1,dy(t),t.isCheckStableRunning=!0,Tx(t),t.isCheckStableRunning=!1;});}t.scheduleInRootZone?Zone.root.run(()=>{n();}):t._outer.run(()=>{n();}),dy(t);}function k5(t){let n=()=>{M5(t);},e=D5++;t._inner=t._inner.fork({name:"angular",properties:{[Ix]:!0,[Sf]:e,[Sf+e]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(S5(l))return i.invokeTask(o,a,s,l);try{return dk(t),i.invokeTask(o,a,s,l);}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),uk(t);}},onInvoke:(i,r,o,a,s,l,c)=>{try{return dk(t),i.invoke(o,a,s,l,c);}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!I5(l)&&n(),uk(t);}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,dy(t),Tx(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask));},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)});}function dy(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1;}function dk(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null));}function uk(t){t._nesting--,Tx(t);}var uy=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new V();onMicrotaskEmpty=new V();onStable=new V();onError=new V();run(n,e,i){return n.apply(e,i);}runGuarded(n,e,i){return n.apply(e,i);}runOutsideAngular(n){return n();}runTask(n,e,i,r){return n.apply(e,i);}};function S5(t){return QS(t,"__ignore_ng_zone__");}function I5(t){return QS(t,"__scheduler_tick__");}function QS(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0;}var jn=class{_console=console;handleError(n){this._console.error("ERROR",n);}},T5=new A("",{providedIn:"root",factory:()=>{let t=p(oe),n=p(jn);return e=>t.runOutsideAngular(()=>n.handleError(e));}});function mk(t,n){return Wk(t,n);}function A5(t){return Wk(qk,t);}var nt=(mk.required=A5,mk);function R5(){return ad(In(),Te());}function ad(t,n){return new J(Qo(t,n));}var J=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e;}static __NG_ELEMENT_ID__=R5;}return t;})();function KS(t){return t instanceof J?t.nativeElement:t;}function Is(t){return typeof t=="function"&&t[Kn]!==void 0;}function en(t,n){let e=_v(t,n?.equal),i=e[Kn];return e.set=r=>Ou(i,r),e.update=r=>bv(i,r),e.asReadonly=O5.bind(e),e;}function O5(){let t=this[Kn];if(t.readonlyFn===void 0){let n=()=>this();n[Kn]=t,t.readonlyFn=n;}return t.readonlyFn;}function ZS(t){return Is(t)&&typeof t.set=="function";}function P5(){return this._results[Symbol.iterator]();}var bn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new H();}constructor(n=!1){this._emitDistinctChangesOnly=n;}get(n){return this._results[n];}map(n){return this._results.map(n);}filter(n){return this._results.filter(n);}find(n){return this._results.find(n);}reduce(n,e){return this._results.reduce(n,e);}forEach(n){this._results.forEach(n);}some(n){return this._results.some(n);}toArray(){return this._results.slice();}toString(){return this._results.toString();}reset(n,e){this.dirty=!1;let i=x6(n);(this._changesDetected=!y6(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0]);}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this);}onDirty(n){this._onDirty=n;}setDirty(){this.dirty=!0,this._onDirty?.();}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe());}[Symbol.iterator]=P5;};function XS(t){return(t.flags&128)===128;}var JS=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t;}(JS||{}),eI=new Map(),F5=0;function N5(){return F5++;}function L5(t){eI.set(t[Uf],t);}function my(t){eI.delete(t[Uf]);}var pk="__ngContext__";function sd(t,n){Es(n)?(t[pk]=n[Uf],L5(n)):t[pk]=n;}function tI(t){return nI(t[Qu]);}function iI(t){return nI(t[go]);}function nI(t){for(;t!==null&&!qa(t);)t=t[go];return t;}var py;function rI(t){py=t;}function oI(){if(py!==void 0)return py;if(typeof document<"u")return document;throw new X(210,!1);}var Rl=new A("",{providedIn:"root",factory:()=>V5}),V5="ng",Ax=new A(""),Zo=new A("",{providedIn:"platform",factory:()=>"unknown"});var Ne=new A(""),sm=new A("",{providedIn:"root",factory:()=>oI().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var z5="h",B5="b";var aI=!1,j5=new A("",{providedIn:"root",factory:()=>aI});var Rx=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t;}(Rx||{}),ld=new A(""),hk=new Set();function Xo(t){hk.has(t)||(hk.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}));}var Ox=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i;}static __NG_ELEMENT_ID__=H5;}return t;})();function H5(){return new Ox(Te(),In());}var Bc=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t;}(Bc||{}),sI=(()=>{class t{impl=null;execute(){this.impl?.execute();}static ɵprov=P({token:t,providedIn:"root",factory:()=>new t()});}return t;})(),$5=[Bc.EarlyRead,Bc.Write,Bc.MixedReadWrite,Bc.Read],U5=(()=>{class t{ngZone=p(oe);scheduler=p(kl);errorHandler=p(jn,{optional:!0});sequences=new Set();deferredRegistrations=new Set();executing=!1;constructor(){p(ld,{optional:!0});}execute(){let e=this.sequences.size>0;e&&zt(16),this.executing=!0;for(let i of $5)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue);},r.snapshot));}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o);}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&zt(17);}register(e){let{view:i}=e;i!==void 0?((i[Hc]??=[]).push(e),id(i),i[Ue]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e);}addSequence(e){this.sequences.add(e),this.scheduler.notify(7);}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e));}maybeTrace(e,i){return i?i.run(Rx.AFTER_NEXT_RENDER,e):e();}static ɵprov=P({token:t,providedIn:"root",factory:()=>new t()});}return t;})(),hy=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy());}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null;}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Hc];n&&(this.view[Hc]=n.filter(e=>e!==this));}};function Ol(t,n){!n?.injector&&mx(Ol);let e=n?.injector??p(Se);return Xo("NgAfterRender"),lI(t,e,n,!1);}function ci(t,n){!n?.injector&&mx(ci);let e=n?.injector??p(Se);return Xo("NgAfterNextRender"),lI(t,e,n,!0);}function q5(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e;}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read];}function lI(t,n,e,i){let r=n.get(sI);r.impl??=n.get(U5);let o=n.get(ld,null,{optional:!0}),a=e?.phase??Bc.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(od):null,l=n.get(Ox,null,{optional:!0}),c=new hy(r.impl,q5(t,a),l?.view,i,s,o?.snapshot(null));return r.impl.register(c),c;}var W5=()=>null;function cI(t,n,e=!1){return W5(t,n,e);}function dI(t,n){let e=t.contentQueries;if(e!==null){let i=at(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];Gf(o),s.contentQueries(2,n[a],a);}}}finally{at(i);}}}function fy(t,n,e){Gf(0);let i=at(null);try{n(t,e);}finally{at(i);}}function Px(t,n,e){if(px(n)){let i=at(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let l=e[a];s.contentQueries(1,l,a);}}}finally{at(i);}}}var Go=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t;}(Go||{}),rf;function G5(){if(rf===void 0&&(rf=null,gn.trustedTypes))try{rf=gn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t});}catch{}return rf;}function Zf(t){return G5()?.createHTML(t)||t;}var of;function uI(){if(of===void 0&&(of=null,gn.trustedTypes))try{of=gn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t});}catch{}return of;}function fk(t){return uI()?.createHTML(t)||t;}function gk(t){return uI()?.createScriptURL(t)||t;}var Ha=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n;}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Uk})`;}},gy=class extends Ha{getTypeName(){return"HTML";}},_y=class extends Ha{getTypeName(){return"Style";}},by=class extends Ha{getTypeName(){return"Script";}},vy=class extends Ha{getTypeName(){return"URL";}},yy=class extends Ha{getTypeName(){return"ResourceURL";}};function Nr(t){return t instanceof Ha?t.changingThisBreaksApplicationSecurity:t;}function Ga(t,n){let e=Y5(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Uk})`);}return e===n;}function Y5(t){return t instanceof Ha&&t.getTypeName()||null;}function mI(t){return new gy(t);}function pI(t){return new _y(t);}function hI(t){return new by(t);}function fI(t){return new vy(t);}function gI(t){return new yy(t);}function Q5(t){let n=new Cy(t);return K5()?new xy(n):n;}var xy=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n;}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Zf(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e);}catch{return null;}}},Cy=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Zf(n),e;}};function K5(){try{return!!new window.DOMParser().parseFromString(Zf(""),"text/html");}catch{return!1;}}var Z5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xf(t){return t=String(t),t.match(Z5)?t:"unsafe:"+t;}function Ya(t){let n={};for(let e of t.split(","))n[e]=!0;return n;}function lm(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n;}var _I=Ya("area,br,col,hr,img,wbr"),bI=Ya("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vI=Ya("rp,rt"),X5=lm(vI,bI),J5=lm(bI,Ya("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")),ez=lm(vI,Ya("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")),_k=lm(_I,J5,ez,X5),yI=Ya("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tz=Ya("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),iz=Ya("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"),nz=lm(yI,tz,iz),rz=Ya("script,style,template"),wy=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];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){r.push(e),e=sz(e);continue;}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=az(e);if(o){e=o;break;}e=r.pop();}}return this.buf.join("");}startElement(n){let e=bk(n).toLowerCase();if(!_k.hasOwnProperty(e))return this.sanitizedSomething=!0,!rz.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),a=o.name,s=a.toLowerCase();if(!nz.hasOwnProperty(s)){this.sanitizedSomething=!0;continue;}let l=o.value;yI[s]&&(l=Xf(l)),this.buf.push(" ",a,'="',vk(l),'"');}return this.buf.push(">"),!0;}endElement(n){let e=bk(n).toLowerCase();_k.hasOwnProperty(e)&&!_I.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"));}chars(n){this.buf.push(vk(n));}};function oz(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY;}function az(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw xI(n);return n;}function sz(t){let n=t.firstChild;if(n&&oz(t,n))throw xI(n);return n;}function bk(t){let n=t.nodeName;return typeof n=="string"?n:"FORM";}function xI(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);}var lz=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cz=/([^\#-~ |!])/g;function vk(t){return t.replace(/&/g,"&").replace(lz,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";";}).replace(cz,function(n){return"&#"+n.charCodeAt(0)+";";}).replace(/</g,"<").replace(/>/g,">");}var af;function Fx(t,n){let e=null;try{af=af||Q5(t);let i=n?String(n):"";e=af.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=af.getInertBodyElement(i);}while(i!==o);let s=new wy().sanitizeChildren(yk(e)||e);return Zf(s);}finally{if(e){let i=yk(e)||e;for(;i.firstChild;)i.firstChild.remove();}}}function yk(t){return"content"in t&&dz(t)?t.content:null;}function dz(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE";}var vn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t;}(vn||{});function cd(t){let n=Nx();return n?fk(n.sanitize(vn.HTML,t)||""):Ga(t,"HTML")?fk(Nr(t)):Fx(oI(),zn(t));}function Lr(t){let n=Nx();return n?n.sanitize(vn.URL,t)||"":Ga(t,"URL")?Nr(t):Xf(zn(t));}function uz(t){let n=Nx();if(n)return gk(n.sanitize(vn.RESOURCE_URL,t)||"");if(Ga(t,"ResourceURL"))return gk(Nr(t));throw new X(904,!1);}function mz(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?uz:Lr;}function CI(t,n,e){return mz(n,e)(t);}function Nx(){let t=Te();return t&&t[Ba].sanitizer;}var pz=/^>|^->|<!--|-->|--!>|<!-$/g,hz=/(<|>)/g,fz="\u200B$1\u200B";function gz(t){return t.replace(pz,n=>n.replace(hz,fz));}function dd(t){return t.ownerDocument.defaultView;}function wI(t){return t instanceof Function?t():t;}function _z(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r;}e=r+1;}}var DI="ng-template";function bz(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&_z(n[r+1].toLowerCase(),e,0)!==-1)return!0;}else if(Lx(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0;}return!1;}function Lx(t){return t.type===4&&t.value!==DI;}function vz(t,n,e){let i=t.type===4&&!e?DI:t.value;return n===i;}function yz(t,n,e){let i=4,r=t.attrs,o=r!==null?wz(r):0,a=!1;for(let s=0;s<n.length;s++){let l=n[s];if(typeof l=="number"){if(!a&&!ho(i)&&!ho(l))return!1;if(a&&ho(l))continue;a=!1,i=l|i&1;continue;}if(!a)if(i&4){if(i=2|i&1,l!==""&&!vz(t,l,e)||l===""&&n.length===1){if(ho(i))return!1;a=!0;}}else if(i&8){if(r===null||!bz(t,r,l,e)){if(ho(i))return!1;a=!0;}}else{let c=n[++s],h=xz(l,r,Lx(t),e);if(h===-1){if(ho(i))return!1;a=!0;continue;}if(c!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&c!==g){if(ho(i))return!1;a=!0;}}}}return ho(i)||a;}function ho(t){return(t&1)===0;}function xz(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let a=n[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=n[++r];for(;typeof s=="string";)s=n[++r];continue;}else{if(a===4)break;if(a===0){r+=4;continue;}}r+=o?1:2;}return-1;}else return Dz(n,t);}function EI(t,n,e=!1){for(let i=0;i<n.length;i++)if(yz(t,n[i],e))return!0;return!1;}function Cz(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1];}return null;}function wz(t){for(let n=0;n<t.length;n++){let e=t[n];if(PS(e))return n;}return t.length;}function Dz(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++;}return-1;}function Ez(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0;}}return!1;}function xk(t,n){return t?":not("+n.trim()+")":n;}function Mz(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string"){if(i&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]";}else i&8?r+="."+a:i&4&&(r+=" "+a);}else r!==""&&!ho(a)&&(n+=xk(o,r),r=""),i=a,o=o||!ho(i);e++;}return r!==""&&(n+=xk(o,r)),n;}function kz(t){return t.map(Mz).join(",");}function Sz(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!ho(r))break;r=o;}i++;}return e.length&&n.push(1,...e),n;}var tn={};function Iz(t,n){return t.createText(n);}function Tz(t,n,e){t.setValue(n,e);}function Az(t,n){return t.createComment(gz(n));}function MI(t,n,e){return t.createElement(n,e);}function If(t,n,e,i,r){t.insertBefore(n,e,i,r);}function kI(t,n,e){t.appendChild(n,e);}function Ck(t,n,e,i,r){i!==null?If(t,n,e,i,r):kI(t,n,e);}function Rz(t,n,e){t.removeChild(null,n,e);}function Oz(t,n,e){t.setAttribute(n,"style",e);}function Pz(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e);}function SI(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&u5(t,n,i),r!==null&&Pz(t,n,r),o!==null&&Oz(t,n,o);}function Vx(t,n,e,i,r,o,a,s,l,c,h){let g=Bi+i,b=g+r,_=Fz(g,b),x=typeof c=="function"?c():c;return _[Ke]={type:t,blueprint:_,template:e,queries:null,viewQuery:s,declTNode:n,data:_.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:b,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:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:l,consts:x,incompleteFirstPass:!1,ssrId:h};}function Fz(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:tn);return e;}function Nz(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Vx(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n;}function zx(t,n,e,i,r,o,a,s,l,c,h){let g=n.blueprint.slice();return g[Ua]=r,g[Ue]=i|4|128|8|64|1024,(c!==null||t&&t[Ue]&2048)&&(g[Ue]|=2048),xS(g),g[Sn]=g[ed]=t,g[Xi]=e,g[Ba]=a||t&&t[Ba],g[li]=s||t&&t[li],g[Gc]=l||t&&t[Gc]||null,g[nr]=o,g[Uf]=N5(),g[Wc]=h,g[pS]=c,g[vr]=n.type==2?t[vr]:g,g;}function Lz(t,n,e){let i=Qo(n,t),r=Nz(e),o=t[Ba].rendererFactory,a=Bx(t,zx(t,r,null,II(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=a;}function II(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n;}function TI(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r;}function Bx(t,n){return t[Qu]?t[ik][go]=n:t[Qu]=n,t[ik]=n,n;}function d(t=1){AI(Kt(),Te(),bo()+t,!1);}function AI(t,n,e,i){if(!i)if((n[Ue]&3)===3){let o=t.preOrderCheckHooks;o!==null&&cf(n,o,e);}else{let o=t.preOrderHooks;o!==null&&df(n,o,0,e);}El(e);}var Jf=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t;}(Jf||{});function Dy(t,n,e,i){let r=at(null);try{let[o,a,s]=t.inputs[e],l=null;(a&Jf.SignalBased)!==0&&(l=n[o][Kn]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):s!==null&&(i=s.call(n,i)),t.setInput!==null?t.setInput(n,l,i,e,o):fS(n,l,o,i);}finally{at(r);}}function RI(t,n,e,i,r){let o=bo(),a=i&2;try{El(-1),a&&n.length>Bi&&AI(t,n,Bi,!1),zt(a?2:0,r),e(i,r);}finally{El(o),zt(a?3:1,r);}}function eg(t,n,e){$z(t,n,e),(e.flags&64)===64&&Uz(t,n,e);}function jx(t,n,e=Qo){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],s=a===-1?e(n,t):t[a];t[r++]=s;}}}function Vz(t,n,e,i){let o=i.get(j5,aI)||e===Go.ShadowDom,a=t.selectRootElement(n,o);return zz(a),a;}function zz(t){Bz(t);}var Bz=()=>null;function jz(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t;}function cm(t,n,e,i,r,o,a,s){if(!s&&$x(n,t,e,i,r)){td(n)&&Hz(e,n.index);return;}if(n.type&3){let l=Qo(n,e);i=jz(i),r=a!=null?a(r,n.value||"",i):r,o.setProperty(l,i,r);}else n.type&12;}function Hz(t,n){let e=Wo(n,t);e[Ue]&16||(e[Ue]|=64);}function $z(t,n,e){let i=e.directiveStart,r=e.directiveEnd;td(e)&&Lz(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||Mf(e,n);let o=e.initialInputs;for(let a=i;a<r;a++){let s=t.data[a],l=Ku(n,t,a,e);if(sd(l,n),o!==null&&Yz(n,a-i,l,s,e,o),Uo(s)){let c=Wo(e.index,n);c[Xi]=Ku(n,t,a,e);}}}function Uz(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,a=t5();try{El(o);for(let s=i;s<r;s++){let l=t.data[s],c=n[s];oy(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&qz(l,c);}}finally{El(-1),oy(a);}}function qz(t,n){t.hostBindings!==null&&t.hostBindings(1,n);}function Hx(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];EI(n,o.selectors,!1)&&(i??=[],Uo(o)?i.unshift(o):i.push(o));}return i;}function Wz(t,n,e,i,r,o){let a=Qo(t,n);Gz(n[li],a,o,t.value,e,i,r);}function Gz(t,n,e,i,r,o,a){if(o==null)t.removeAttribute(n,r,e);else{let s=a==null?zn(o):a(o,i||"",r);t.setAttribute(n,r,s,e);}}function Yz(t,n,e,i,r,o){let a=o[n];if(a!==null)for(let s=0;s<a.length;s+=2){let l=a[s],c=a[s+1];Dy(i,e,l,c);}}function Qz(t,n){let e=t[Gc],i=e?e.get(jn,null):null;i&&i.handleError(n);}function $x(t,n,e,i,r){let o=t.inputs?.[i],a=t.hostDirectiveInputs?.[i],s=!1;if(a)for(let l=0;l<a.length;l+=2){let c=a[l],h=a[l+1],g=n.data[c];Dy(g,e[c],h,r),s=!0;}if(o)for(let l of o){let c=e[l],h=n.data[l];Dy(h,c,i,r),s=!0;}return s;}function Kz(t,n){let e=Wo(n,t),i=e[Ke];Zz(i,e);let r=e[Ua];r!==null&&e[Wc]===null&&(e[Wc]=cI(r,e[Gc])),zt(18),Ux(i,e,e[Xi]),zt(19,e[Xi]);}function Zz(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e]);}function Ux(t,n,e){Dx(n);try{let i=t.viewQuery;i!==null&&fy(1,i,e);let r=t.template;r!==null&&RI(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[ja]?.finishViewCreation(t),t.staticContentQueries&&dI(t,n),t.staticViewQueries&&fy(2,t.viewQuery,e);let o=t.components;o!==null&&Xz(n,o);}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i;}finally{n[Ue]&=-5,Ex();}}function Xz(t,n){for(let e=0;e<n.length;e++)Kz(t,n[e]);}function dm(t,n,e,i){let r=at(null);try{let o=n.tView,s=t[Ue]&4096?4096:16,l=zx(t,o,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[xl]=c;let h=t[ja];return h!==null&&(l[ja]=h.createEmbeddedView(o)),Ux(o,l,e),l;}finally{at(r);}}function Kc(t,n){return!n||n.firstChild===null||XS(t);}var Jz;function qx(t,n){return Jz(t,n);}var Yo=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t;}(Yo||{});function Wx(t){return(t.flags&32)===32;}function jc(t,n,e,i,r){if(i!=null){let o,a=!1;qa(i)?o=i:Es(i)&&(a=!0,i=i[Ua]);let s=qo(i);t===0&&e!==null?r==null?kI(n,e,s):If(n,e,s,r||null,!0):t===1&&e!==null?If(n,e,s,r||null,!0):t===2?Rz(n,s,a):t===3&&n.destroyNode(s),o!=null&&c8(n,t,o,e,r);}}function e8(t,n){OI(t,n),n[Ua]=null,n[nr]=null;}function t8(t,n,e,i,r,o){i[Ua]=r,i[nr]=n,ng(t,i,e,1,r,o);}function OI(t,n){n[Ba].changeDetectionScheduler?.notify(9),ng(t,n,n[li],2,null,null);}function i8(t){let n=t[Qu];if(!n)return zv(t[Ke],t);for(;n;){let e=null;if(Es(n))e=n[Qu];else{let i=n[kn];i&&(e=i);}if(!e){for(;n&&!n[go]&&n!==t;)Es(n)&&zv(n[Ke],n),n=n[Sn];n===null&&(n=t),Es(n)&&zv(n[Ke],n),e=n&&n[go];}n=e;}}function Gx(t,n){let e=t[Yc],i=e.indexOf(n);e.splice(i,1);}function tg(t,n){if(om(n))return;let e=n[li];e.destroyNode&&ng(t,n,e,3,null,null),i8(n);}function zv(t,n){if(om(n))return;let e=at(null);try{n[Ue]&=-129,n[Ue]|=256,n[Fr]&&Ru(n[Fr]),r8(t,n),n8(t,n),n[Ke].type===1&&n[li].destroy();let i=n[xl];if(i!==null&&qa(n[Sn])){i!==n[Sn]&&Gx(i,n);let r=n[ja];r!==null&&r.detachView(t);}my(n);}finally{at(e);}}function n8(t,n){let e=t.cleanup,i=n[vf];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2;}else{let s=i[e[a+1]];e[a].call(s);}i!==null&&(n[vf]=null);let r=n[Ds];if(r!==null){n[Ds]=null;for(let a=0;a<r.length;a++){let s=r[a];s();}}let o=n[Cl];if(o!==null){n[Cl]=null;for(let a of o)a.destroy();}}function r8(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof Ml)){let o=e[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],l=o[a+1];zt(4,s,l);try{l.call(s);}finally{zt(5,s,l);}}else{zt(4,r,o);try{o.call(r);}finally{zt(5,r,o);}}}}}function PI(t,n,e){return o8(t,n.parent,e);}func ��tion o8(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[Ua];if(td(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===Go.None||r===Go.Emulated)return null;}return Qo(i,e);}function FI(t,n,e){return s8(t,n,e);}function a8(t,n,e){return t.type&40?Qo(t,e):null;}var s8=a8,wk;function ig(t,n,e,i){let r=PI(t,i,n),o=n[li],a=i.parent||n[nr],s=FI(a,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)Ck(o,r,e[l],s,!1);else Ck(o,r,e,s,!1);wk!==void 0&&wk(o,i,n,e,r);}function Wu(t,n){if(n!==null){let e=n.type;if(e&3)return Qo(n,t);if(e&4)return Ey(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Wu(t,i);{let r=t[n.index];return qa(r)?Ey(-1,r):qo(r);}}else{if(e&128)return Wu(t,n.next);if(e&32)return qx(n,t)()||qo(t[n.index]);{let i=NI(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Dl(t[vr]);return Wu(r,i);}else return Wu(t,n.next);}}}return null;}function NI(t,n){if(n!==null){let i=t[vr][nr],r=n.projection;return i.projection[r];}return null;}function Ey(t,n){let e=kn+t+1;if(e<n.length){let i=n[e],r=i[Ke].firstChild;if(r!==null)return Wu(i,r);}return n[wl];}function Yx(t,n,e,i,r,o,a){for(;e!=null;){if(e.type===128){e=e.next;continue;}let s=i[e.index],l=e.type;if(a&&n===0&&(s&&sd(qo(s),i),e.flags|=2),!Wx(e))if(l&8)Yx(t,n,e.child,i,r,o,!1),jc(n,t,r,s,o);else if(l&32){let c=qx(e,i),h;for(;h=c();)jc(n,t,r,h,o);jc(n,t,r,s,o);}else l&16?LI(t,n,i,e,r,o):jc(n,t,r,s,o);e=a?e.projectionNext:e.next;}}function ng(t,n,e,i,r,o){Yx(e,i,t.firstChild,n,r,o,!1);}function l8(t,n,e){let i=n[li],r=PI(t,e,n),o=e.parent||n[nr],a=FI(o,e,n);LI(i,0,n,e,r,a);}function LI(t,n,e,i,r,o){let a=e[vr],l=a[nr].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let h=l[c];jc(n,t,r,h,o);}else{let c=l,h=a[Sn];XS(i)&&(c.flags|=128),Yx(t,n,c,h,r,o,!0);}}function c8(t,n,e,i,r){let o=e[wl],a=qo(e);o!==a&&jc(n,t,i,o,r);for(let s=kn;s<e.length;s++){let l=e[s];ng(l[Ke],l,t,n,i,o);}}function d8(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:Yo.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Yo.Important),t.setStyle(e,i,r,o));}}function Tf(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue;}let o=n[e.index];o!==null&&i.push(qo(o)),qa(o)&&u8(o,i);let a=e.type;if(a&8)Tf(t,n,e.child,i);else if(a&32){let s=qx(e,n),l;for(;l=s();)i.push(l);}else if(a&16){let s=NI(n,e);if(Array.isArray(s))i.push(...s);else{let l=Dl(n[vr]);Tf(l[Ke],l,s,i,!0);}}e=r?e.projectionNext:e.next;}return i;}function u8(t,n){for(let e=kn;e<t.length;e++){let i=t[e],r=i[Ke].firstChild;r!==null&&Tf(i[Ke],i,r,n);}t[wl]!==t[Ua]&&n.push(t[wl]);}function VI(t){if(t[Hc]!==null){for(let n of t[Hc])n.impl.addSequence(n);t[Hc].length=0;}}var zI=[];function m8(t){return t[Fr]??p8(t);}function p8(t){let n=zI.pop()??Object.create(f8);return n.lView=t,n;}function h8(t){t.lView[Fr]!==t&&(t.lView=null,zI.push(t));}var f8=ze(B({},Sc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{id(t.lView);},consumerOnSignalRead(){this.lView[Fr]=this;}});function g8(t){let n=t[Fr]??Object.create(_8);return n.lView=t,n;}var _8=ze(B({},Sc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Dl(t.lView);for(;n&&!BI(n[Ke]);)n=Dl(n);n&&CS(n);},consumerOnSignalRead(){this.lView[Fr]=this;}});function BI(t){return t.type!==2;}function jI(t){if(t[Cl]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Cl])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[Ue]&8192);}}var b8=100;function HI(t,n=!0,e=0){let r=t[Ba].rendererFactory,o=!1;o||r.begin?.();try{v8(t,e);}catch(a){throw n&&Qz(t,a),a;}finally{o||r.end?.();}}function v8(t,n){let e=MS();try{Cf(!0),My(t,n);let i=0;for(;Wf(t);){if(i===b8)throw new X(103,!1);i++,My(t,1);}}finally{Cf(e);}}function y8(t,n,e,i){if(om(n))return;let r=n[Ue],o=!1,a=!1;Dx(n);let s=!0,l=null,c=null;o||(BI(t)?(c=m8(n),l=Au(c)):mv()===null?(s=!1,c=g8(n),l=Au(c)):n[Fr]&&(Ru(n[Fr]),n[Fr]=null));try{xS(n),X6(t.bindingStartIndex),e!==null&&RI(t,n,e,2,i);let h=(r&3)===3;if(!o)if(h){let _=t.preOrderCheckHooks;_!==null&&cf(n,_,null);}else{let _=t.preOrderHooks;_!==null&&df(n,_,0,null),Lv(n,0);}if(a||x8(n),jI(n),$I(n,0),t.contentQueries!==null&&dI(t,n),!o)if(h){let _=t.contentCheckHooks;_!==null&&cf(n,_);}else{let _=t.contentHooks;_!==null&&df(n,_,1),Lv(n,1);}w8(t,n);let g=t.components;g!==null&&qI(n,g,0);let b=t.viewQuery;if(b!==null&&fy(2,b,i),!o)if(h){let _=t.viewCheckHooks;_!==null&&cf(n,_);}else{let _=t.viewHooks;_!==null&&df(n,_,2),Lv(n,2);}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Nv]){for(let _ of n[Nv])_();n[Nv]=null;}o||(VI(n),n[Ue]&=-73);}catch(h){throw o||id(n),h;}finally{c!==null&&(bh(c,l),s&&h8(c)),Ex();}}function $I(t,n){for(let e=tI(t);e!==null;e=iI(e))for(let i=kn;i<e.length;i++){let r=e[i];UI(r,n);}}function x8(t){for(let n=tI(t);n!==null;n=iI(n)){if(!(n[Ue]&2))continue;let e=n[Yc];for(let i=0;i<e.length;i++){let r=e[i];CS(r);}}}function C8(t,n,e){zt(18);let i=Wo(n,t);UI(i,e),zt(19,i[Xi]);}function UI(t,n){gx(t)&&My(t,n);}function My(t,n){let i=t[Ke],r=t[Ue],o=t[Fr],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&vh(o)),a||=!1,o&&(o.dirty=!1),t[Ue]&=-9217,a)y8(i,t,i.template,t[Xi]);else if(r&8192){jI(t),$I(t,1);let s=i.components;s!==null&&qI(t,s,1),VI(t);}}function qI(t,n,e){for(let i=0;i<n.length;i++)C8(t,n[i],e);}function w8(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)El(~r);else{let o=r,a=e[++i],s=e[++i];e5(a,o);let l=n[o];zt(24,l),s(2,l),zt(25,l);}}}finally{El(-1);}}function Qx(t,n){let e=MS()?64:1088;for(t[Ba].changeDetectionScheduler?.notify(n);t;){t[Ue]|=e;let i=Dl(t);if(xf(t)&&!i)return t;t=i;}return null;}function WI(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null];}function GI(t,n){let e=kn+n;if(e<t.length)return t[e];}function um(t,n,e,i=!0){let r=n[Ke];if(D8(r,n,t,e),i){let a=Ey(e,t),s=n[li],l=s.parentNode(t[wl]);l!==null&&t8(r,t[nr],s,n,l,a);}let o=n[Wc];o!==null&&o.firstChild!==null&&(o.firstChild=null);}function YI(t,n){let e=Xu(t,n);return e!==void 0&&tg(e[Ke],e),e;}function Xu(t,n){if(t.length<=kn)return;let e=kn+n,i=t[e];if(i){let r=i[xl];r!==null&&r!==t&&Gx(r,i),n>0&&(t[e-1][go]=i[go]);let o=_f(t,kn+n);e8(i[Ke],i);let a=o[ja];a!==null&&a.detachView(o[Ke]),i[Sn]=null,i[go]=null,i[Ue]&=-129;}return i;}function D8(t,n,e,i){let r=kn+i,o=e.length;i>0&&(e[r-1][go]=n),i<o-kn?(n[go]=e[r],nS(e,kn+i,n)):(e.push(n),n[go]=null),n[Sn]=e;let a=n[xl];a!==null&&e!==a&&QI(a,n);let s=n[ja];s!==null&&s.insertView(t),ny(n),n[Ue]|=128;}function QI(t,n){let e=t[Yc],i=n[Sn];if(Es(i))t[Ue]|=2;else{let r=i[Sn][vr];n[vr]!==r&&(t[Ue]|=2);}e===null?t[Yc]=[n]:e.push(n);}var Ju=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,e=n[Ke];return Tf(e,n,e.firstChild,[]);}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i;}get context(){return this._lView[Xi];}set context(n){this._lView[Xi]=n;}get destroyed(){return om(this._lView);}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Sn];if(qa(n)){let e=n[yf],i=e?e.indexOf(this):-1;i>-1&&(Xu(n,i),_f(e,i));}this._attachedToViewContainer=!1;}tg(this._lView[Ke],this._lView);}onDestroy(n){wS(this._lView,n);}markForCheck(){Qx(this._cdRefInjectingView||this._lView,4);}detach(){this._lView[Ue]&=-129;}reattach(){ny(this._lView),this._lView[Ue]|=128;}detectChanges(){this._lView[Ue]|=1024,HI(this._lView,this.notifyErrorHandler);}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0;}detachFromAppRef(){this._appRef=null;let n=xf(this._lView),e=this._lView[xl];e!==null&&!n&&Gx(e,this._lView),OI(this._lView[Ke],this._lView);}attachToAppRef(n){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=n;let e=xf(this._lView),i=this._lView[xl];i!==null&&!e&&QI(i,this._lView),ny(this._lView);}};var st=(()=>{class t{static __NG_ELEMENT_ID__=k8;}return t;})(),E8=st,M8=class extends E8{_declarationLView;_declarationTContainer;elementRef;constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i;}get ssrId(){return this._declarationTContainer.tView?.ssrId||null;}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e);}createEmbeddedViewImpl(n,e,i){let r=dm(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Ju(r);}};function k8(){return rg(In(),Te());}function rg(t,n){return t.type&4?new M8(n,t,ad(t,n)):null;}function ud(t,n,e,i,r){let o=t.data[n];if(o===null)o=S8(t,n,e,i,r),J6()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=K6();o.injectorIndex=a===null?-1:a.injectorIndex;}return Ss(o,!0),o;}function S8(t,n,e,i,r){let o=ES(),a=yx(),s=a?o:o&&o.parent,l=t.data[n]=T8(t,s,e,n,i,r);return I8(t,l,o,a),l;}function I8(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e));}function T8(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return DS()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};}var hpe=new RegExp(`^(\\d+)*(${B5}|${z5})*(.*)`);var A8=()=>null;function Zc(t,n){return A8(t,n);}var R8=class{},KI=class{},ky=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Jn(n)}.`);}},og=class{static NULL=new ky();},Li=class{},et=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>O8();}return t;})();function O8(){let t=Te(),n=In(),e=Wo(n.index,t);return(Es(e)?e:t)[li];}var P8=(()=>{class t{static ɵprov=P({token:t,providedIn:"root",factory:()=>null});}return t;})();var Bv={},Sy=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e;}get(n,e,i){i=jf(i);let r=this.injector.get(n,Bv,i);return r!==Bv||e===Bv?r:this.parentInjector.get(n,e,i);}};function Iy(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let a=0;a<n.length;a++){let s=n[a];if(typeof s=="number")o=s;else if(o==1)r=Qv(r,s);else if(o==2){let l=s,c=n[++a];i=Qv(i,l+": "+c+";");}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r;}function D(t,n=dt.Default){let e=Te();if(e===null)return te(t,n);let i=In();return jS(i,e,_n(t),n);}function md(){let t="invalid";throw new Error(t);}function Kx(t,n,e,i,r){let o=i===null?null:{"":-1},a=r(t,e);if(a!==null){let s,l=null,c=null,h=N8(a);h===null?s=a:[s,l,c]=h,z8(t,n,e,s,o,l,c);}o!==null&&i!==null&&F8(e,i,o);}function F8(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new X(-301,!1);i.push(n[r],o);}}function N8(t){let n=null,e=!1;for(let a=0;a<t.length;a++){let s=t[a];if(a===0&&Uo(s)&&(n=s),s.findHostDirectiveDefs!==null){e=!0;break;}}if(!e)return null;let i=null,r=null,o=null;for(let a of t)a.findHostDirectiveDefs!==null&&(i??=[],r??=new Map(),o??=new Map(),L8(a,i,o,r)),a===n&&(i??=[],i.push(a));return i!==null?(i.push(...(n===null?t:t.slice(1))),[i,r,o]):null;}function L8(t,n,e,i){let r=n.length;t.findHostDirectiveDefs(t,n,i),e.set(t,[r,n.length-1]);}function V8(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index);}function z8(t,n,e,i,r,o,a){let s=i.length,l=!1;for(let b=0;b<s;b++){let _=i[b];!l&&Uo(_)&&(l=!0,V8(t,e,b)),sy(Mf(e,n),t,_.type);}q8(e,t.data.length,s);for(let b=0;b<s;b++){let _=i[b];_.providersResolver&&_.providersResolver(_);}let c=!1,h=!1,g=TI(t,n,s,null);s>0&&(e.directiveToIndex=new Map());for(let b=0;b<s;b++){let _=i[b];if(e.mergedAttrs=Qc(e.mergedAttrs,_.hostAttrs),j8(t,e,n,g,_),U8(g,_,r),a!==null&&a.has(_)){let[T,L]=a.get(_);e.directiveToIndex.set(_.type,[g,T+e.directiveStart,L+e.directiveStart]);}else(o===null||!o.has(_))&&e.directiveToIndex.set(_.type,g);_.contentQueries!==null&&(e.flags|=4),(_.hostBindings!==null||_.hostAttrs!==null||_.hostVars!==0)&&(e.flags|=64);let x=_.type.prototype;!c&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),h=!0),g++;}B8(t,e,o);}function B8(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))Dk(0,n,r,i),Dk(1,n,r,i),Mk(n,i,!1);else{let o=e.get(r);Ek(0,n,o,i),Ek(1,n,o,i),Mk(n,i,!0);}}}function Dk(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=n.inputs??={}:a=n.outputs??={},a[o]??=[],a[o].push(i),ZI(n,o);}}function Ek(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=n.hostDirectiveInputs??={}:s=n.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,o),ZI(n,a);}}function ZI(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16);}function Mk(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||Lx(t)){t.initialInputs??=[],t.initialInputs.push(null);return;}let a=null,s=0;for(;s<i.length;){let l=i[s];if(l===0){s+=4;continue;}else if(l===5){s+=2;continue;}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let h of c)if(h===n){a??=[],a.push(l,i[s+1]);break;}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let h=0;h<c.length;h+=2)if(c[h]===n){a??=[],a.push(c[h+1],i[s+1]);break;}}s+=2;}t.initialInputs??=[],t.initialInputs.push(a);}function j8(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=yl(r.type,!0)),a=new Ml(o,Uo(r),D);t.blueprint[i]=a,e[i]=a,H8(t,n,i,TI(t,e,r.hostVars,tn),r);}function H8(t,n,e,i,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~n.index;$8(a)!=s&&a.push(s),a.push(e,i,o);}}function $8(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e;}return 0;}function U8(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Uo(n)&&(e[""]=t);}}function q8(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n;}function XI(t,n,e,i,r,o,a,s){let l=n.consts,c=ks(l,a),h=ud(n,t,2,i,c);return o&&Kx(n,e,h,ks(l,s),r),h.mergedAttrs=Qc(h.mergedAttrs,h.attrs),h.attrs!==null&&Iy(h,h.attrs,!1),h.mergedAttrs!==null&&Iy(h,h.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,h),h;}function JI(t,n){Mx(t,n),px(n)&&t.queries.elementEnd(n);}var Af=class extends og{ngModule;constructor(n){super(),this.ngModule=n;}resolveComponentFactory(n){let e=Ms(n);return new Sl(e,this.ngModule);}};function W8(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Jf.SignalBased)!==0};return r&&(o.transform=r),o;});}function G8(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}));}function Y8(t,n,e){let i=n instanceof Ei?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new Sy(e,i):e;}function Q8(t){let n=t.get(Li,null);if(n===null)throw new X(407,!1);let e=t.get(P8,null),i=t.get(kl,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i};}function K8(t,n){let e=(t.selectors[0][0]||"div").toLowerCase();return MI(n,e,e==="svg"?vS:e==="math"?z6:null);}var Sl=class extends KI{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=W8(this.componentDef.inputs),this.cachedInputs;}get outputs(){return this.cachedOutputs??=G8(this.componentDef.outputs),this.cachedOutputs;}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=kz(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e;}create(n,e,i,r){zt(22);let o=at(null);try{let a=this.componentDef,s=i?["ng-version","19.2.7"]:Sz(this.componentDef.selectors[0]),l=Vx(0,null,null,1,0,null,null,null,null,[s],null),c=Y8(a,r||this.ngModule,n),h=Q8(c),g=h.rendererFactory.createRenderer(null,a),b=i?Vz(g,i,a.encapsulation,c):K8(a,g),_=zx(null,l,null,512|II(a),null,null,h,g,c,null,cI(b,c,!0));_[Bi]=b,Dx(_);let x=null;try{let T=XI(Bi,l,_,"#host",()=>[this.componentDef],!0,0);b&&(SI(g,b,T),sd(b,_)),eg(l,_,T),Px(l,T,_),JI(l,T),e!==void 0&&Z8(T,this.ngContentSelectors,e),x=Wo(T.index,_),_[Xi]=x[Xi],Ux(l,_,null);}catch(T){throw x!==null&&my(x),my(_),T;}finally{zt(23),Ex();}return new Ty(this.componentType,_);}finally{at(o);}}},Ty=class extends R8{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e){super(),this._rootLView=e,this._tNode=hx(e[Ke],Bi),this.location=ad(this._tNode,e),this.instance=Wo(this._tNode.index,e)[Xi],this.hostView=this.changeDetectorRef=new Ju(e,void 0,!1),this.componentType=n;}setInput(n,e){let i=this._tNode;if(this.previousInputValues??=new Map(),this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=$x(i,r[Ke],r,n,e);this.previousInputValues.set(n,e);let a=Wo(i.index,r);Qx(a,1);}get injector(){return new vl(this._tNode,this._rootLView);}destroy(){this.hostView.destroy();}onDestroy(n){this.hostView.onDestroy(n);}};function Z8(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null);}}var kt=(()=>{class t{static __NG_ELEMENT_ID__=X8;}return t;})();function X8(){let t=In();return tT(t,Te());}var J8=kt,eT=class extends J8{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i;}get element(){return ad(this._hostTNode,this._hostLView);}get injector(){return new vl(this._hostTNode,this._hostLView);}get parentInjector(){let n=kx(this._hostTNode,this._hostLView);if(FS(n)){let e=Df(n,this._hostLView),i=wf(n),r=e[Ke].data[i+8];return new vl(r,e);}else return new vl(null,this._hostLView);}clear(){for(;this.length>0;)this.remove(this.length-1);}get(n){let e=kk(this._lContainer);return e!==null&&e[n]||null;}get length(){return this._lContainer.length-kn;}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Zc(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,Kc(this._hostTNode,a)),s;}createComponent(n,e,i,r,o){let a=n&&!F6(n),s;if(a)s=e;else{let x=e||{};s=x.index,i=x.injector,r=x.projectableNodes,o=x.environmentInjector||x.ngModuleRef;}let l=a?n:new Sl(Ms(n)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let T=(a?c:this.parentInjector).get(Ei,null);T&&(o=T);}let h=Ms(l.componentType??{}),g=Zc(this._lContainer,h?.id??null),b=g?.firstChild??null,_=l.create(c,r,b,o);return this.insertImpl(_.hostView,s,Kc(this._hostTNode,g)),_;}insert(n,e){return this.insertImpl(n,e,!0);}insertImpl(n,e,i){let r=n._lView;if(j6(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[Sn],c=new eT(l,l[nr],l[Sn]);c.detach(c.indexOf(n));}}let o=this._adjustIndex(e),a=this._lContainer;return um(a,r,o,i),n.attachToViewContainerRef(),nS(jv(a),o,n),n;}move(n,e){return this.insert(n,e);}indexOf(n){let e=kk(this._lContainer);return e!==null?e.indexOf(n):-1;}remove(n){let e=this._adjustIndex(n,-1),i=Xu(this._lContainer,e);i&&(_f(jv(this._lContainer),e),tg(i[Ke],i));}detach(n){let e=this._adjustIndex(n,-1),i=Xu(this._lContainer,e);return i&&_f(jv(this._lContainer),e)!=null?new Ju(i):null;}_adjustIndex(n,e=0){return n??this.length+e;}};function kk(t){return t[yf];}function jv(t){return t[yf]||(t[yf]=[]);}function tT(t,n){let e,i=n[t.index];return qa(i)?e=i:(e=WI(i,n,null,t),n[t.index]=e,Bx(n,e)),tB(e,n,t,i),new eT(e,t,n);}function eB(t,n){let e=t[li],i=e.createComment(""),r=Qo(n,t),o=e.parentNode(r);return If(e,o,i,e.nextSibling(r),!1),i;}var tB=rB,iB=()=>!1;function nB(t,n,e){return iB(t,n,e);}function rB(t,n,e,i){if(t[wl])return;let r;e.type&8?r=qo(i):r=eB(n,e),t[wl]=r;}var Ay=class t{queryList;matches=null;constructor(n){this.queryList=n;}clone(){return new t(this.queryList);}setDirty(){this.queryList.setDirty();}},Ry=class t{queries;constructor(n=[]){this.queries=n;}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone());}return new t(r);}return null;}insertView(n){this.dirtyQueriesWithMatches(n);}detachView(n){this.dirtyQueriesWithMatches(n);}finishViewCreation(n){this.dirtyQueriesWithMatches(n);}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)Xx(n,e).matches!==null&&this.queries[e].setDirty();}},Rf=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=cB(n):this.predicate=n;}},Oy=class t{queries;constructor(n=[]){this.queries=n;}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e);}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n);}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o]);}return e!==null?new t(e):null;}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e);}getByIndex(n){return this.queries[n];}get length(){return this.queries.length;}track(n){this.queries.push(n);}},Py=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e;}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e);}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1);}template(n,e){this.elementStart(n,e);}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null;}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1);}return this._appliesToNextNode;}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,oB(e,o)),this.matchTNodeWithReadOption(n,e,uf(e,n,o,!1,!1));}else i===st?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,uf(e,n,i,!1,!1));}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null){if(r===J||r===kt||r===st&&e.type&4)this.addMatch(e.index,-2);else{let o=uf(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o);}}else this.addMatch(e.index,i);}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e);}};function oB(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1];}return null;}function aB(t,n){return t.type&11?ad(t,n):t.type&4?rg(t,n):null;}function sB(t,n,e,i){return e===-1?aB(n,t):e===-2?lB(t,n,i):Ku(t,t[Ke],e,n);}function lB(t,n,e){if(e===J)return ad(n,t);if(e===st)return rg(n,t);if(e===kt)return tT(n,t);}function iT(t,n,e,i){let r=n[ja].queries[i];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let l=0;a!==null&&l<a.length;l+=2){let c=a[l];if(c<0)s.push(null);else{let h=o[c];s.push(sB(n,h,a[l+1],e.metadata.read));}}r.matches=s;}return r.matches;}function Fy(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=iT(t,n,r,e);for(let s=0;s<o.length;s+=2){let l=o[s];if(l>0)i.push(a[s/2]);else{let c=o[s+1],h=n[-l];for(let g=kn;g<h.length;g++){let b=h[g];b[xl]===b[Sn]&&Fy(b[Ke],b,c,i);}if(h[Yc]!==null){let g=h[Yc];for(let b=0;b<g.length;b++){let _=g[b];Fy(_[Ke],_,c,i);}}}}}return i;}function Zx(t,n){return t[ja].queries[n].queryList;}function nT(t,n,e){let i=new bn((e&4)===4);return U6(t,n,i,i.destroy),(n[ja]??=new Ry()).queries.push(new Ay(i))-1;}function rT(t,n,e){let i=Kt();return i.firstCreatePass&&(aT(i,new Rf(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),nT(i,Te(),n);}function oT(t,n,e,i){let r=Kt();if(r.firstCreatePass){let o=In();aT(r,new Rf(n,e,i),o.index),dB(r,t),(e&2)===2&&(r.staticContentQueries=!0);}return nT(r,Te(),e);}function cB(t){return t.split(",").map(n=>n.trim());}function aT(t,n,e){t.queries===null&&(t.queries=new Oy()),t.queries.track(new Py(n,e));}function dB(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n);}function Xx(t,n){return t.queries.getByIndex(n);}function sT(t,n){let e=t[Ke],i=Xx(e,n);return i.crossesNgTemplate?Fy(e,t,n,[]):iT(e,t,i,n);}function lT(t,n,e){let i,r=Ch(()=>{i._dirtyCounter();let o=uB(i,t);if(n&&o===void 0)throw new X(-951,!1);return o;});return i=r[Kn],i._dirtyCounter=en(0),i._flatValue=void 0,r;}function cT(t){return lT(!0,!1,t);}function dT(t){return lT(!0,!0,t);}function uT(t,n){let e=t[Kn];e._lView=Te(),e._queryIndex=n,e._queryList=Zx(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1));}function uB(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Ue]&4)return n?void 0:Bn;let r=Zx(e,i),o=sT(e,i);return r.reset(o,KS),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue;}function Sk(t,n){return cT(n);}function mB(t,n){return dT(n);}var mm=(Sk.required=mB,Sk);function Ik(t,n){return cT(n);}function pB(t,n){return dT(n);}var mT=(Ik.required=pB,Ik);var $a=class{},Jx=class{};var Ny=class extends $a{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Af(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=aS(n);this._bootstrapComponents=wI(o.bootstrap),this._r3Injector=US(n,e,[{provide:$a,useValue:this},{provide:og,useValue:this.componentFactoryResolver},...i],Jn(n),new Set(["environment"])),r&&this.resolveInjectorInitializers();}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType);}get injector(){return this._r3Injector;}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null;}onDestroy(n){this.destroyCbs.push(n);}},Ly=class extends Jx{moduleType;constructor(n){super(),this.moduleType=n;}create(n){return new Ny(this.moduleType,n,[]);}};var Of=class extends $a{injector;componentFactoryResolver=new Af(this);instance=null;constructor(n){super();let e=new Yu([...n.providers,{provide:$a,useValue:this},{provide:og,useValue:this.componentFactoryResolver}],n.parent||$f(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers();}destroy(){this.injector.destroy();}onDestroy(n){this.injector.onDestroy(n);}};function pm(t,n,e=null){return new Of({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector;}var hB=(()=>{class t{_injector;cachedInjectors=new Map();constructor(e){this._injector=e;}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=lS(!1,e.type),r=i.length>0?pm([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r);}return this.cachedInjectors.get(e);}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy();}finally{this.cachedInjectors.clear();}}static ɵprov=P({token:t,providedIn:"environment",factory:()=>new t(te(Ei))});}return t;})();function E(t){return im(()=>{let n=pT(t),e=ze(B({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===JS.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(hB).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Go.Emulated,styles:t.styles||Bn,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Xo("NgStandalone"),hT(e);let i=t.dependencies;return e.directiveDefs=Tk(i,!1),e.pipeDefs=Tk(i,!0),e.id=vB(e),e;});}function fB(t){return Ms(t)||sS(t);}function gB(t){return t!==null;}function re(t){return im(()=>({type:t.type,bootstrap:t.bootstrap||Bn,declarations:t.declarations||Bn,imports:t.imports||Bn,exports:t.exports||Bn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}));}function _B(t,n){if(t==null)return $o;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,a,s,l;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,l=r[3]||null):(o=r,a=r,s=Jf.None,l=null),e[o]=[i,s,l],n[o]=a;}return e;}function bB(t){if(t==null)return $o;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n;}function z(t){return im(()=>{let n=pT(t);return hT(n),n;});}function eC(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null};}function pT(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||$o,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Bn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:_B(t.inputs,n),outputs:bB(t.outputs),debugInfo:null};}function hT(t){t.features?.forEach(n=>n(t));}function Tk(t,n){if(!t)return null;let e=n?E6:fB;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(gB);}function vB(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n;}function yB(t){return Object.getPrototypeOf(t.prototype).constructor;}function Q(t){let n=yB(t.type),e=!0,i=[t];for(;n;){let r;if(Uo(t))r=n.ɵcmp||n.ɵdir;else{if(n.ɵcmp)throw new X(903,!1);r=n.ɵdir;}if(r){if(e){i.push(r);let a=t;a.inputs=Hv(t.inputs),a.declaredInputs=Hv(t.declaredInputs),a.outputs=Hv(t.outputs);let s=r.hostBindings;s&&EB(t,s);let l=r.viewQuery,c=r.contentQueries;if(l&&wB(t,l),c&&DB(t,c),xB(t,r),n6(t.outputs,r.outputs),Uo(r)&&r.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(r.data.animation);}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let s=o[a];s&&s.ngInherit&&s(t),s===Q&&(e=!1);}}n=Object.getPrototypeOf(n);}CB(i);}function xB(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e]);}}function CB(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Qc(r.hostAttrs,e=Qc(e,r.hostAttrs));}}function Hv(t){return t===$o?{}:t===Bn?[]:t;}function wB(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r);}:t.viewQuery=n;}function DB(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o);}:t.contentQueries=n;}function EB(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r);}:t.hostBindings=n;}function fT(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=gT,e.hostDirectives=i?t.map(Vy):[t]):i?e.hostDirectives.unshift(...t.map(Vy)):e.hostDirectives.unshift(t);};return n.ngInherit=!0,n;}function gT(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)Ak(Vy(o),n,e);}else Ak(i,n,e);}function Ak(t,n,e){let i=sS(t.directive);MB(i.declaredInputs,t.inputs),gT(i,n,e),e.set(i,t),n.push(i);}function Vy(t){return typeof t=="function"?{directive:_n(t),inputs:$o,outputs:$o}:{directive:_n(t.directive),inputs:Rk(t.inputs),outputs:Rk(t.outputs)};}function Rk(t){if(t===void 0||t.length===0)return $o;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n;}function MB(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r;}}function _T(t){return tC(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1;}function kB(t,n){if(Arr ��ay.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value);}}function tC(t){return t!==null&&(typeof t=="function"||typeof t=="object");}function ag(t,n,e){return t[n]=e;}function SB(t,n){return t[n];}function er(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0);}function em(t,n,e,i){let r=er(t,n,e);return er(t,n+1,i)||r;}function bT(t,n,e,i,r){let o=em(t,n,e,i);return er(t,n+2,r)||o;}function IB(t,n,e,i,r,o){let a=em(t,n,e,i);return em(t,n+2,r,o)||a;}function TB(t,n,e,i,r,o,a,s,l){let c=n.consts,h=ud(n,t,4,a||null,s||null);vx()&&Kx(n,e,h,ks(c,l),Hx),h.mergedAttrs=Qc(h.mergedAttrs,h.attrs),Mx(n,h);let g=h.tView=Vx(2,h,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,h),g.queries=n.queries.embeddedTView(h)),h;}function Pf(t,n,e,i,r,o,a,s,l,c){let h=e+Bi,g=n.firstCreatePass?TB(h,n,t,i,r,o,a,s,l):n.data[h];Ss(g,!1);let b=AB(n,t,g,e);Yf()&&ig(n,t,b,g),sd(b,t);let _=WI(b,t,b,g);return t[h]=_,Bx(t,_),nB(_,g,t),qf(g)&&eg(n,t,g),l!=null&&jx(t,g,c),g;}function I(t,n,e,i,r,o,a,s){let l=Te(),c=Kt(),h=ks(c.consts,o);return Pf(l,c,t,n,e,i,r,h,a,s),I;}var AB=RB;function RB(t,n,e,i){return Qf(!0),n[li].createComment("");}var iC=(()=>{class t{log(e){console.log(e);}warn(e){console.warn(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"platform"});}return t;})();var nC=new A(""),hm=new A(""),sg=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(e,i,r){this._ngZone=e,this.registry=i,rC||(OB(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone");});}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1;}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady();});}});});}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks;}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb();}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!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(a=>a.timeoutId!==o),e();},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();}registerApplication(e){this.registry.registerApplication(e,this);}unregisterApplication(e){this.registry.unregisterApplication(e);}findProviders(e,i,r){return[];}static ɵfac=function(i){return new(i||t)(te(oe),te(lg),te(hm));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})(),lg=(()=>{class t{_applications=new Map();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 rC?.findTestabilityInTree(this,e,i)??null;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"platform"});}return t;})();function OB(t){rC=t;}var rC,vT=(()=>{class t{static ɵprov=P({token:t,providedIn:"root",factory:()=>new zy()});}return t;})(),zy=class{queuedEffectCount=0;queues=new Map();schedule(n){this.enqueue(n);}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),this.queuedEffectCount--);}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set());let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n));}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e));}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run();}};function Ts(t){return!!t&&typeof t.then=="function";}function oC(t){return!!t&&typeof t.subscribe=="function";}var yT=new A("");function fm(t){return Jc([{provide:yT,multi:!0,useValue:t}]);}var xT=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i;});appInits=p(yT,{optional:!0})??[];injector=p(Se);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=ir(this.injector,r);if(Ts(o))e.push(o);else if(oC(o)){let a=new Promise((s,l)=>{o.subscribe({complete:s,error:l});});e.push(a);}}let i=()=>{this.done=!0,this.resolve();};Promise.all(e).then(()=>{i();}).catch(r=>{this.reject(r);}),e.length===0&&i(),this.initialized=!0;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),cg=new A("");function PB(){gv(()=>{throw new X(600,!1);});}function FB(t){return t.isBoundToModule;}var NB=10;var tr=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(T5);afterRenderManager=p(sI);zonelessEnabled=p(Sx);rootEffectScheduler=p(vT);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set();afterTick=new H();get allViews(){return[...this.externalTestViews.keys(),...this._views];}get destroyed(){return this._destroyed;}componentTypes=[];components=[];isStable=p(Wa).hasPendingTasks.pipe(ue(e=>!e));constructor(){p(ld,{optional:!0});}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i();}});}).finally(()=>{e.unsubscribe();});}_injector=p(Ei);_rendererFactory=null;get injector(){return this._injector;}bootstrap(e,i){return this.bootstrapImpl(e,i);}bootstrapImpl(e,i,r=Se.NULL){zt(10);let o=e instanceof KI;if(!this._injector.get(xT).done){let _="";throw new X(405,_);}let s;o?s=e:s=this._injector.get(og).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let l=FB(s)?void 0:this._injector.get($a),c=i||s.selector,h=s.create(r,[],c,l),g=h.location.nativeElement,b=h.injector.get(nC,null);return b?.registerApplication(g),h.onDestroy(()=>{this.detachView(h.hostView),mf(this.components,h),b?.unregisterApplication(g);}),this._loadComponent(h),zt(11,h),h;}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick();}_tick(){zt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Rx.CHANGE_DETECTION,this.tickImpl):this.tickImpl();}tickImpl=()=>{if(this._runningTick)throw new X(101,!1);let e=at(null);try{this._runningTick=!0,this.synchronize();}catch(i){this.internalErrorHandler(i);}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,at(e),this.afterTick.next(),zt(13);}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Li,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<NB;)zt(14),this.synchronizeOnce(),zt(15);}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let e=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)LB(i,r,e,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return;}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews();}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Wf(e))){this.dirtyFlags|=2;return;}else this.dirtyFlags&=-8;}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this);}detachView(e){let i=e;mf(this._views,i),i.detachFromAppRef();}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(cg,[]).forEach(r=>r(e));}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy());}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[];}}onDestroy(e){return this._destroyListeners.push(e),()=>mf(this._destroyListeners,e);}destroy(){if(this._destroyed)throw new X(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy();}get viewCount(){return this._views.length;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function mf(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1);}function LB(t,n,e,i){if(!e&&!Wf(t))return;HI(t,n,e&&!i?0:1);}function ee(t,n,e,i){let r=Te(),o=Al();if(er(r,o,n)){let a=Kt(),s=rd();Wz(s,r,t,n,e,i);}return ee;}function aC(t,n,e,i){return er(t,Al(),e)?n+zn(e)+i:tn;}function sC(t,n,e,i,r,o){let a=Cx(),s=em(t,a,e,r);return am(2),s?n+zn(e)+i+zn(r)+o:tn;}function VB(t,n,e,i,r,o,a,s){let l=Cx(),c=bT(t,l,e,r,a);return am(3),c?n+zn(e)+i+zn(r)+o+zn(a)+s:tn;}function zB(t,n,e,i,r,o,a,s,l,c,h,g){let b=Cx(),_=IB(t,b,e,r,a,l);return _=er(t,b+4,h)||_,am(5),_?n+zn(e)+i+zn(r)+o+zn(a)+s+zn(l)+c+zn(h)+g:tn;}function sf(t,n){return t<<17|n<<2;}function Il(t){return t>>17&32767;}function BB(t){return(t&2)==2;}function jB(t,n){return t&131071|n<<17;}function By(t){return t|2;}function Xc(t){return(t&131068)>>2;}function $v(t,n){return t&-131069|n<<2;}function HB(t){return(t&1)===1;}function jy(t){return t|1;}function $B(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=Il(a),l=Xc(a);t[i]=e;let c=!1,h;if(Array.isArray(e)){let g=e;h=g[1],(h===null||rm(g,h)>0)&&(c=!0);}else h=e;if(r){if(l!==0){let b=Il(t[s+1]);t[i+1]=sf(b,s),b!==0&&(t[b+1]=$v(t[b+1],i)),t[s+1]=jB(t[s+1],i);}else t[i+1]=sf(s,0),s!==0&&(t[s+1]=$v(t[s+1],i)),s=i;}else t[i+1]=sf(l,0),s===0?s=i:t[l+1]=$v(t[l+1],i),l=i;c&&(t[i+1]=By(t[i+1])),Ok(t,h,i,!0),Ok(t,h,i,!1),UB(n,h,t,i,o),a=sf(s,l),o?n.classBindings=a:n.styleBindings=a;}function UB(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&rm(o,n)>=0&&(e[i+1]=jy(e[i+1]));}function Ok(t,n,e,i){let r=t[e+1],o=n===null,a=i?Il(r):Xc(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],c=t[a+1];qB(l,n)&&(s=!0,t[a+1]=i?jy(c):By(c)),a=i?Il(c):Xc(c);}s&&(t[e+1]=i?By(r):jy(r));}function qB(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?rm(t,n)>=0:!1;}var fo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function WB(t){return t.substring(fo.key,fo.keyEnd);}function GB(t){return YB(t),CT(t,wT(t,0,fo.textEnd));}function CT(t,n){let e=fo.textEnd;return e===n?-1:(n=fo.keyEnd=QB(t,fo.key=n,e),wT(t,n,e));}function YB(t){fo.key=0,fo.keyEnd=0,fo.value=0,fo.valueEnd=0,fo.textEnd=t.length;}function wT(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n;}function QB(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n;}function v(t,n,e){let i=Te(),r=Al();if(er(i,r,n)){let o=Kt(),a=rd();cm(o,a,i,t,n,i[li],e,!1);}return v;}function Hy(t,n,e,i,r){$x(n,t,e,r?"class":"style",i);}function xi(t,n,e){return DT(t,n,e,!1),xi;}function Z(t,n){return DT(t,n,null,!0),Z;}function bt(t){cC(tj,lC,t,!0);}function lC(t,n){for(let e=GB(n);e>=0;e=CT(n,e))nm(t,WB(n),!0);}function DT(t,n,e,i){let r=Te(),o=Kt(),a=am(2);if(o.firstUpdatePass&&MT(o,t,a,i),n!==tn&&er(r,a,n)){let s=o.data[bo()];kT(o,s,r,r[li],t,r[a+1]=nj(n,e),i,a);}}function cC(t,n,e,i){let r=Kt(),o=am(2);r.firstUpdatePass&&MT(r,null,o,i);let a=Te();if(e!==tn&&er(a,o,e)){let s=r.data[bo()];if(ST(s,i)&&!ET(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=Qv(l,e||"")),Hy(r,s,a,e,i);}else ij(r,s,a,a[li],a[o+1],a[o+1]=ej(t,n,e),i,o);}}function ET(t,n){return n>=t.expandoStartIndex;}function MT(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[bo()],a=ET(t,e);ST(o,i)&&n===null&&!a&&(n=!1),n=KB(r,o,n,i),$B(r,o,n,e,a,i);}}function KB(t,n,e,i){let r=i5(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=Uv(null,t,n,e,i),e=tm(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=Uv(r,t,n,e,i),o===null){let l=ZB(t,n,i);l!==void 0&&Array.isArray(l)&&(l=Uv(null,t,n,l[1],i),l=tm(l,n.attrs,i),XB(t,n,i,l));}else o=JB(t,n,i);}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e;}function ZB(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Xc(i)!==0)return t[Il(i)];}function XB(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Il(r)]=i;}function JB(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;i=tm(i,a,e);}return tm(i,n.attrs,e);}function Uv(t,n,e,i,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=n[s],i=tm(i,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i;}function tm(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let a=n[o];typeof a=="number"?r=a:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),nm(t,a,e?!0:n[++o]));}return t===void 0?null:t;}function ej(t,n,e){if(e==null||e==="")return Bn;let i=[],r=Nr(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i;}function tj(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&nm(t,i,e);}function ij(t,n,e,i,r,o,a,s){r===tn&&(r=Bn);let l=0,c=0,h=0<r.length?r[0]:null,g=0<o.length?o[0]:null;for(;h!==null||g!==null;){let b=l<r.length?r[l+1]:void 0,_=c<o.length?o[c+1]:void 0,x=null,T;h===g?(l+=2,c+=2,b!==_&&(x=g,T=_)):g===null||h!==null&&h<g?(l+=2,x=h):(c+=2,x=g,T=_),x!==null&&kT(t,n,e,i,x,T,a,s),h=l<r.length?r[l]:null,g=c<o.length?o[c]:null;}}function kT(t,n,e,i,r,o,a,s){if(!(n.type&3))return;let l=t.data,c=l[s+1],h=HB(c)?Pk(l,n,e,r,Xc(c),a):void 0;if(!Ff(h)){Ff(o)||BB(c)&&(o=Pk(l,null,e,r,s,a));let g=yS(bo(),e);d8(i,a,g,r,o);}}function Pk(t,n,e,i,r,o){let a=n===null,s;for(;r>0;){let l=t[r],c=Array.isArray(l),h=c?l[1]:l,g=h===null,b=e[r+1];b===tn&&(b=g?Bn:void 0);let _=g?Pv(b,i):h===i?b:void 0;if(c&&!Ff(_)&&(_=Pv(l,i)),Ff(_)&&(s=_,a))return s;let x=t[r+1];r=a?Il(x):Xc(x);}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(s=Pv(l,i));}return s;}function Ff(t){return t!==void 0;}function nj(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Jn(Nr(t)))),t;}function ST(t,n){return(t.flags&(n?8:16))!==0;}function pd(t,n,e){let i=Te(),r=aC(i,t,n,e);cC(nm,lC,r,!0);}function IT(t,n,e,i,r){let o=Te(),a=sC(o,t,n,e,i,r);cC(nm,lC,a,!0);}var $y=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a);}else this.attach(i,o);}move(n,e){this.attach(e,this.detach(n));}};function qv(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0;}function rj(t,n,e){let i,r,o=0,a=t.length-1,s=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=a&&o<=l;){let c=t.at(o),h=n[o],g=qv(o,c,o,h,e);if(g!==0){g<0&&t.updateValue(o,h),o++;continue;}let b=t.at(a),_=n[l],x=qv(a,b,l,_,e);if(x!==0){x<0&&t.updateValue(a,_),a--,l--;continue;}let T=e(o,c),L=e(a,b),W=e(o,h);if(Object.is(W,L)){let ie=e(l,_);Object.is(ie,T)?(t.swap(o,a),t.updateValue(a,_),l--,a--):t.move(a,o),t.updateValue(o,h),o++;continue;}if(i??=new Nf(),r??=Nk(t,o,a,e),Uy(t,i,o,W))t.updateValue(o,h),o++,a++;else if(r.has(W))i.set(T,t.detach(o)),a--;else{let ie=t.create(o,n[o]);t.attach(o,ie),o++,a++;}}for(;o<=l;)Fk(t,i,e,o,n[o]),o++;}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=a;){let h=t.at(o),g=c.value,b=qv(o,h,o,g,e);if(b!==0)b<0&&t.updateValue(o,g),o++,c=l.next();else{i??=new Nf(),r??=Nk(t,o,a,e);let _=e(o,g);if(Uy(t,i,o,_))t.updateValue(o,g),o++,a++,c=l.next();else if(!r.has(_))t.attach(o,t.create(o,g)),o++,a++,c=l.next();else{let x=e(o,h);i.set(x,t.detach(o)),a--;}}}for(;!c.done;)Fk(t,i,e,t.length,c.value),c=l.next();}for(;o<=a;)t.destroy(t.detach(a--));i?.forEach(l=>{t.destroy(l);});}function Uy(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1;}function Fk(t,n,e,i,r){if(Uy(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o);}}function Nk(t,n,e,i){let r=new Set();for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r;}var Nf=class{kvMap=new Map();_vMap=void 0;has(n){return this.kvMap.has(n);}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0;}get(n){return this.kvMap.get(n);}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map());let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e);}else this.kvMap.set(n,e);}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e);}}};function j(t,n){Xo("NgControlFlow");let e=Te(),i=Al(),r=e[i]!==tn?e[i]:-1,o=r!==-1?Lf(e,Bi+r):void 0,a=0;if(er(e,i,t)){let s=at(null);try{if(o!==void 0&&YI(o,a),t!==-1){let l=Bi+t,c=Lf(e,l),h=Yy(e[Ke],l),g=Zc(c,h.tView.ssrId),b=dm(e,h,n,{dehydratedView:g});um(c,b,a,Kc(h,g));}}finally{at(s);}}else if(o!==void 0){let s=GI(o,a);s!==void 0&&(s[Xi]=n);}}var qy=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i;}get $count(){return this.lContainer.length-kn;}};function rr(t){return t;}function Qa(t,n){return n;}var Wy=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i;}};function Ut(t,n,e,i,r,o,a,s,l,c,h,g,b){Xo("NgControlFlow");let _=Te(),x=Kt(),T=l!==void 0,L=Te(),W=s?a.bind(L[vr][Xi]):a,ie=new Wy(T,W);L[Bi+t]=ie,Pf(_,x,t+1,n,e,i,r,ks(x.consts,o)),T&&Pf(_,x,t+2,l,c,h,g,ks(x.consts,b));}var Gy=class extends $y{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i;}get length(){return this.lContainer.length-kn;}at(n){return this.getLView(n)[Xi].$implicit;}attach(n,e){let i=e[Wc];this.needsIndexUpdate||=n!==this.length,um(this.lContainer,e,n,Kc(this.templateTNode,i));}detach(n){return this.needsIndexUpdate||=n!==this.length-1,oj(this.lContainer,n);}create(n,e){let i=Zc(this.lContainer,this.templateTNode.tView.ssrId),r=dm(this.hostLView,this.templateTNode,new qy(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r;}destroy(n){tg(n[Ke],n),this.operationsCounter?.recordDestroy();}updateValue(n,e){this.getLView(n)[Xi].$implicit=e;}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset();}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Xi].$index=n;}getLView(n){return aj(this.lContainer,n);}};function qt(t){let n=at(null),e=bo();try{let i=Te(),r=i[Ke],o=i[e],a=e+1,s=Lf(i,a);if(o.liveCollection===void 0){let c=Yy(r,a);o.liveCollection=new Gy(s,i,c);}else o.liveCollection.reset();let l=o.liveCollection;if(rj(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=Al(),h=l.length===0;if(er(i,c,h)){let g=e+2,b=Lf(i,g);if(h){let _=Yy(r,g),x=Zc(b,_.tView.ssrId),T=dm(i,_,void 0,{dehydratedView:x});um(b,T,0,Kc(_,x));}else YI(b,0);}}}finally{at(n);}}function Lf(t,n){return t[n];}function oj(t,n){return Xu(t,n);}function aj(t,n){return GI(t,n);}function Yy(t,n){return hx(t,n);}function m(t,n,e,i){let r=Te(),o=Kt(),a=Bi+t,s=r[li],l=o.firstCreatePass?XI(a,o,r,n,Hx,vx(),e,i):o.data[a],c=sj(o,r,l,s,n,t);r[a]=c;let h=qf(l);return Ss(l,!0),SI(s,c,l),!Wx(l)&&Yf()&&ig(o,r,c,l),(q6()===0||h)&&sd(c,r),W6(),h&&(eg(o,r,l),Px(o,l,r)),i!==null&&jx(r,l),m;}function u(){let t=In();yx()?xx():(t=t.parent,Ss(t,!1));let n=t;Y6(n)&&Q6(),G6();let e=Kt();return e.firstCreatePass&&JI(e,n),n.classesWithoutHost!=null&&c5(n)&&Hy(e,n,Te(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&d5(n)&&Hy(e,n,Te(),n.stylesWithoutHost,!1),u;}function C(t,n,e,i){return m(t,n,e,i),u(),C;}var sj=(t,n,e,i,r,o)=>(Qf(!0),MI(i,r,a5()));function lj(t,n,e,i,r){let o=n.consts,a=ks(o,i),s=ud(n,t,8,"ng-container",a);a!==null&&Iy(s,a,!0);let l=ks(o,r);return vx()&&Kx(n,e,s,l,Hx),s.mergedAttrs=Qc(s.mergedAttrs,s.attrs),n.queries!==null&&n.queries.elementStart(n,s),s;}function _e(t,n,e){let i=Te(),r=Kt(),o=t+Bi,a=r.firstCreatePass?lj(o,r,i,n,e):r.data[o];Ss(a,!0);let s=cj(r,i,a,t);return i[o]=s,Yf()&&ig(r,i,s,a),sd(s,i),qf(a)&&(eg(r,i,a),Px(r,a,i)),e!=null&&jx(i,a),_e;}function be(){let t=In(),n=Kt();return yx()?xx():(t=t.parent,Ss(t,!1)),n.firstCreatePass&&(Mx(n,t),px(t)&&n.queries.elementEnd(t)),be;}function Xt(t,n,e){return _e(t,n,e),be(),Xt;}var cj=(t,n,e,i)=>(Qf(!0),Az(n[li],""));function K(){return Te();}function Mi(t,n,e){let i=Te(),r=Al();if(er(i,r,n)){let o=Kt(),a=rd();cm(o,a,i,t,n,i[li],e,!0);}return Mi;}var _l=void 0;function dj(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5;}var uj=["en",[["a","p"],["AM","PM"],_l],[["AM","PM"],_l,_l],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],_l,[["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"]],_l,[["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}",_l,"{1} 'at' {0}",_l],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",dj],Wv={};function Vr(t){let n=mj(t),e=Lk(n);if(e)return e;let i=n.split("-")[0];if(e=Lk(i),e)return e;if(i==="en")return uj;throw new X(701,!1);}function Lk(t){return t in Wv||(Wv[t]=gn.ng&&gn.ng.common&&gn.ng.common.locales&&gn.ng.common.locales[t]),Wv[t];}var Vi=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t;}(Vi||{});function mj(t){return t.toLowerCase().replace(/_/g,"-");}var Vf="en-US";var pj=Vf;function hj(t){typeof t=="string"&&(pj=t.toLowerCase().replace(/_/g,"-"));}function Vk(t,n,e){return function i(r){if(r===Function)return e;let o=td(t)?Wo(t.index,n):n;Qx(o,5);let a=n[Xi],s=zk(n,a,e,r),l=i.__ngNextListenerFn__;for(;l;)s=zk(n,a,l,r)&&s,l=l.__ngNextListenerFn__;return s;};}function zk(t,n,e,i){let r=at(null);try{return zt(6,n,e),e(i)!==!1;}catch(o){return fj(t,o),!1;}finally{zt(7,n,e),at(r);}}function fj(t,n){let e=t[Gc],i=e?e.get(jn,null):null;i&&i.handleError(n);}function Bk(t,n,e,i,r,o){let a=n[e],s=n[Ke],c=s.data[e].outputs[i],h=a[c],g=s.firstCreatePass?bx(s):null,b=_x(n),_=h.subscribe(o),x=b.length;b.push(o,_),g&&g.push(r,t.index,x,-(x+1));}var gj=(t,n,e)=>{};function S(t,n,e,i){let r=Te(),o=Kt(),a=In();return TT(o,r,r[li],a,t,n,i),S;}function _j(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===i){let s=n[vf],l=r[o+2];return s.length>l?s[l]:null;}typeof a=="string"&&(o+=2);}return null;}function TT(t,n,e,i,r,o,a){let s=qf(i),c=t.firstCreatePass?bx(t):null,h=_x(n),g=!0;if(i.type&3||a){let b=Qo(i,n),_=a?a(b):b,x=h.length,T=a?W=>a(qo(W[i.index])):i.index,L=null;if(!a&&s&&(L=_j(t,n,r,i.index)),L!==null){let W=L.__ngLastListenerFn__||L;W.__ngNextListenerFn__=o,L.__ngLastListenerFn__=o,g=!1;}else{o=Vk(i,n,o),gj(_,r,o);let W=e.listen(_,r,o);h.push(o,W),c&&c.push(r,T,x,x+1);}}else o=Vk(i,n,o);if(g){let b=i.outputs?.[r],_=i.hostDirectiveOutputs?.[r];if(_&&_.length)for(let x=0;x<_.length;x+=2){let T=_[x],L=_[x+1];Bk(i,n,T,L,r,o);}if(b&&b.length)for(let x of b)Bk(i,n,x,r,r,o);}}function y(t=1){return r5(t);}function bj(t,n){let e=null,i=Cz(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue;}if(i===null?EI(t,o,!0):Ez(i,o))return r;}return e;}function De(t){let n=Te()[vr][nr];if(!n.projection){let e=t?t.length:1,i=n.projection=C6(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=t?bj(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o);}o=o.next;}}}function le(t,n=0,e,i,r,o){let a=Te(),s=Kt(),l=i?t+1:null;l!==null&&Pf(a,s,l,i,r,o,null,e);let c=ud(s,Bi+t,16,null,e||null);c.projection===null&&(c.projection=n),xx();let g=!a[Wc]||DS();a[vr][nr].projection[c.projection]===null&&l!==null?vj(a,s,l):g&&!Wx(c)&&l8(s,a,c);}function vj(t,n,e){let i=Bi+e,r=n.data[i],o=t[i],a=Zc(o,r.tView.ssrId),s=dm(t,r,void 0,{dehydratedView:a});um(o,s,0,Kc(r,a));}function G(t,n,e){return or(t,"",n,"",e),G;}function or(t,n,e,i,r){let o=Te(),a=aC(o,n,e,i);if(a!==tn){let s=Kt(),l=rd();cm(s,l,o,t,a,o[li],r,!1);}return or;}function dC(t,n,e,i,r,o,a){let s=Te(),l=sC(s,n,e,i,r,o);if(l!==tn){let c=Kt(),h=rd();cm(c,h,s,t,l,s[li],a,!1);}return dC;}function Ee(t,n,e,i){oT(t,n,e,i);}function $(t,n,e){rT(t,n,e);}function R(t){let n=Te(),e=Kt(),i=wx();Gf(i+1);let r=Xx(e,i);if(t.dirty&&B6(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=sT(n,i);t.reset(o,KS),t.notifyOnChanges();}return!0;}return!1;}function O(){return Zx(Te(),wx());}function AT(t,n,e,i,r){uT(n,oT(t,e,i,r));}function gm(t,n,e,i){uT(t,rT(n,e,i));}function hd(t=1){Gf(wx()+t);}function RT(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i;}function $e(t){let n=Z6();return fx(n,Bi+t);}function f(t,n=""){let e=Te(),i=Kt(),r=t+Bi,o=i.firstCreatePass?ud(i,r,1,n,null):i.data[r],a=yj(i,e,o,n,t);e[r]=a,Yf()&&ig(i,e,a,o),Ss(o,!1);}var yj=(t,n,e,i,r)=>(Qf(!0),Iz(n[li],i));function w(t){return F("",t,""),w;}function F(t,n,e){let i=Te(),r=aC(i,t,n,e);return r!==tn&&dg(i,bo(),r),F;}function xr(t,n,e,i,r){let o=Te(),a=sC(o,t,n,e,i,r);return a!==tn&&dg(o,bo(),a),xr;}function _m(t,n,e,i,r,o,a){let s=Te(),l=VB(s,t,n,e,i,r,o,a);return l!==tn&&dg(s,bo(),l),_m;}function uC(t,n,e,i,r,o,a,s,l,c,h){let g=Te(),b=zB(g,t,n,e,i,r,o,a,s,l,c,h);return b!==tn&&dg(g,bo(),b),uC;}function dg(t,n,e){let i=yS(n,t);Tz(t[li],i,e);}function pi(t,n,e){ZS(n)&&(n=n());let i=Te(),r=Al();if(er(i,r,n)){let o=Kt(),a=rd();cm(o,a,i,t,n,i[li],e,!1);}return pi;}function Ci(t,n){let e=ZS(t);return e&&t.set(n),e;}function hi(t,n){let e=Te(),i=Kt(),r=In();return TT(i,e,e[li],r,t,n),hi;}var xj={};function mC(t){let n=Kt(),e=Te(),i=t+Bi,r=ud(n,i,128,null,null);return Ss(r,!1),RT(n,e,i,xj),mC;}function Cj(t,n,e){let i=Kt();if(i.firstCreatePass){let r=Uo(t);Qy(e,i.data,i.blueprint,r,!0),Qy(n,i.data,i.blueprint,r,!1);}}function Qy(t,n,e,i,r){if(t=_n(t),Array.isArray(t))for(let o=0;o<t.length;o++)Qy(t[o],n,e,i,r);else{let o=Kt(),a=Te(),s=In(),l=qc(t)?t:_n(t.provide),c=uS(t),h=s.providerIndexes&1048575,g=s.directiveStart,b=s.providerIndexes>>20;if(qc(t)||!t.multi){let _=new Ml(c,r,D),x=Yv(l,n,r?h:h+b,g);x===-1?(sy(Mf(s,a),o,l),Gv(o,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(_),a.push(_)):(e[x]=_,a[x]=_);}else{let _=Yv(l,n,h+b,g),x=Yv(l,n,h,h+b),T=_>=0&&e[_],L=x>=0&&e[x];if(r&&!L||!r&&!T){sy(Mf(s,a),o,l);let W=Ej(r?Dj:wj,e.length,r,i,c);!r&&L&&(e[x].providerFactory=W),Gv(o,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(W),a.push(W);}else{let W=OT(e[r?x:_],c,!r&&i);Gv(o,t,_>-1?_:x,W);}!r&&i&&L&&e[x].componentProviders++;}}}function Gv(t,n,e,i){let r=qc(n),o=I6(n);if(r||o){let l=(o?_n(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let h=c.indexOf(e);h===-1?c.push(e,[i,l]):c[h+1].push(i,l);}else c.push(e,l);}}}function OT(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1;}function Yv(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1;}function wj(t,n,e,i){return Ky(this.multi,[]);}function Dj(t,n,e,i){let r=this.multi,o;if(this.providerFactory){let a=this.providerFactory.componentProviders,s=Ku(e,e[Ke],this.providerFactory.index,i);o=s.slice(0,a),Ky(r,o);for(let l=a;l<s.length;l++)o.push(s[l]);}else o=[],Ky(r,o);return o;}function Ky(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i());}return n;}function Ej(t,n,e,i,r){let o=new Ml(t,e,D);return o.multi=[],o.index=n,o.componentProviders=0,OT(o,r,i&&!e),o;}function ye(t,n=[]){return e=>{e.providersResolver=(i,r)=>Cj(i,r?r(t):t,n);};}function cn(t,n,e){let i=nd()+t,r=Te();return r[i]===tn?ag(r,i,e?n.call(e):n()):SB(r,i);}function rt(t,n,e,i){return FT(Te(),nd(),t,n,e,i);}function Pl(t,n,e,i,r){return NT(Te(),nd(),t,n,e,i,r);}function PT(t,n,e,i,r,o){return Mj(Te(),nd(),t,n,e,i,r,o);}function pC(t,n){let e=t[n];return e===tn?void 0:e;}function FT(t,n,e,i,r,o){let a=n+e;return er(t,a,r)?ag(t,a+1,o?i.call(o,r):i(r)):pC(t,a+1);}function NT(t,n,e,i,r,o,a){let s=n+e;return em(t,s,r,o)?ag(t,s+2,a?i.call(a,r,o):i(r,o)):pC(t,s+2);}function Mj(t,n,e,i,r,o,a,s){let l=n+e;return bT(t,l,r,o,a)?ag(t,l+3,s?i.call(s,r,o,a):i(r,o,a)):pC(t,l+3);}function Jo(t,n){let e=Kt(),i,r=t+Bi;e.firstCreatePass?(i=kj(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=yl(i.type,!0)),a,s=Xn(D);try{let l=Ef(!1),c=o();return Ef(l),RT(e,Te(),r,c),c;}finally{Xn(s);}}function kj(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i;}}function ug(t,n,e){let i=t+Bi,r=Te(),o=fx(r,i);return LT(r,i)?FT(r,nd(),n,o.transform,e,o):o.transform(e);}function fd(t,n,e,i){let r=t+Bi,o=Te(),a=fx(o,r);return LT(o,r)?NT(o,nd(),n,a.transform,e,i,a):a.transform(e,i);}function LT(t,n){return t[Ke].data[n].pure;}function zr(t,n){return rg(t,n);}var Tl=class{full;major;minor;patch;constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".");}},hC=new Tl("19.2.7"),Zy=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e;}},mg=(()=>{class t{compileModuleSync(e){return new Ly(e);}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e));}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=aS(e),o=wI(r.declarations).reduce((a,s)=>{let l=Ms(s);return l&&a.push(new Sl(l)),a;},[]);return new Zy(i,o);}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e));}clearCache(){}clearCacheFor(e){}getModuleId(e){}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Sj=(()=>{class t{zone=p(oe);changeDetectionScheduler=p(kl);applicationRef=p(tr);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick();});}}));}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe();}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function Ij({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new oe(ze(B({},Tj()),{scheduleInRootZone:e})),[{provide:oe,useFactory:t},{provide:Uc,multi:!0,useFactory:()=>{let i=p(Sj,{optional:!0});return()=>i.initialize();}},{provide:Uc,multi:!0,useFactory:()=>{let i=p(Aj);return()=>{i.initialize();};}},n===!0?{provide:WS,useValue:!0}:[],{provide:GS,useValue:e??qS}];}function Tj(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1};}var Aj=(()=>{class t{subscription=new Ce();initialized=!1;zone=p(oe);pendingTasks=p(Wa);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPending ��Macrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null);});}));}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),e??=this.pendingTasks.add();}));}ngOnDestroy(){this.subscription.unsubscribe();}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Rj=(()=>{class t{appRef=p(tr);taskService=p(Wa);ngZone=p(oe);zonelessEnabled=p(Sx);tracing=p(ld,{optional:!0});disableScheduling=p(WS,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ce();angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Sf):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(GS,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup();})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup();})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof uy||!this.zoneIsDefined);}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break;}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break;}case 6:{this.appRef.dirtyFlags|=2,i=!0;break;}case 12:{this.appRef.dirtyFlags|=16,i=!0;break;}case 13:{this.appRef.dirtyFlags|=2,i=!0;break;}case 11:{i=!0;break;}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8;}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?ck:YS;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()));}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Sf+this.angularZoneId));}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return;}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick();},void 0,this.schedulerTickApplyArgs);}catch(i){throw this.taskService.remove(e),i;}finally{this.cleanup();}this.useMicrotaskScheduler=!0,ck(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e);});}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup();}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e);}}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function Oj(){return typeof $localize<"u"&&$localize.locale||Vf;}var As=new A("",{providedIn:"root",factory:()=>p(As,dt.Optional|dt.SkipSelf)||Oj()});var Xy=new A(""),Pj=new A("");function Uu(t){return!t.moduleRef;}function Fj(t){let n=Uu(t)?t.r3Injector:t.moduleRef.injector,e=n.get(oe);return e.run(()=>{Uu(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(jn,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o);}});}),Uu(t)){let o=()=>n.destroy(),a=t.platformInjector.get(Xy);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o);});}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(Xy);a.add(o),t.moduleRef.onDestroy(()=>{mf(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o);});}return Lj(i,e,()=>{let o=n.get(xT);return o.runInitializers(),o.donePromise.then(()=>{let a=n.get(As,Vf);if(hj(a||Vf),!n.get(Pj,!0))return Uu(t)?n.get(tr):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Uu(t)){let l=n.get(tr);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l;}else return Nj(t.moduleRef,t.allPlatformModules),t.moduleRef;});});});}function Nj(t,n){let e=t.injector.get(tr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new X(-403,!1);n.push(t);}function Lj(t,n,e){try{let i=e();return Ts(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r;}):i;}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i;}}var pf=null;function Vj(t=[],n){return Se.create({name:n,providers:[{provide:Hf,useValue:"platform"},{provide:Xy,useValue:new Set([()=>pf=null])},...t]});}function zj(t=[]){if(pf)return pf;let n=Vj(t);return pf=n,PB(),Bj(n),n;}function Bj(t){let n=t.get(Ax,null);ir(t,()=>{n?.forEach(e=>e());});}var pe=(()=>{class t{static __NG_ELEMENT_ID__=jj;}return t;})();function jj(t){return Hj(In(),Te(),(t&16)===16);}function Hj(t,n,e){if(td(t)&&!e){let i=Wo(t.index,n);return new Ju(i,i);}else if(t.type&175){let i=n[vr];return new Ju(i,n);}return null;}var Jy=class{constructor(){}supports(n){return _T(n);}create(n){return new ex(n);}},$j=(t,n)=>n,ex=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||$j;}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e);}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let a=!i||e&&e.currentIndex<jk(i,r,o)?e:i,s=jk(a,r,o),l=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(e=e._next,a.previousIndex==null)r++;else{o||(o=[]);let c=s-r,h=l-r;if(c!=h){for(let b=0;b<c;b++){let _=b<o.length?o[b]:o[b]=0,x=_+b;h<=x&&x<c&&(o[b]=_+1);}let g=a.previousIndex;o[g]=h-c;}}s!==l&&n(a,s,l);}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e);}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e);}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e);}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e);}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e);}diff(n){if(n==null&&(n=[]),!_T(n))throw new X(900,!1);return this.check(n)?this:null;}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,a;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)o=n[s],a=this._trackByFn(s,o),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,o,a,s),i=!0):(i&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next;}else r=0,kB(n,s=>{a=this._trackByFn(r,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,r),i=!0):(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++;}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty;}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null;}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null;}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new tx(e,i),o,r)),n;}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n;}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e;}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null);}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n;}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n;}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n;}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new zf()),this._linkedRecords.put(n),n.currentIndex=i,n;}_remove(n){return this._addToRemovals(this._unlink(n));}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n;}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n;}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new zf()),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n;}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n;}},tx=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e;}},ix=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n);}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null;}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null;}},zf=class{map=new Map();put(n){let e=n.trackById,i=this.map.get(e);i||(i=new ix(),this.map.set(e,i)),i.add(n);}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null;}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n;}get isEmpty(){return this.map.size===0;}clear(){this.map.clear();}};function jk(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r;}var nx=class{constructor(){}supports(n){return n instanceof Map||tC(n);}create(){return new rx();}},rx=class{_records=new Map();_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null;}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e);}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e);}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e);}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e);}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e);}diff(n){if(!n)n=new Map();else if(!(n instanceof Map||tC(n)))throw new X(900,!1);return this.check(n)?this:null;}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o);}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;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(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n;}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null;}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let r=this._records.get(n);this._maybeAddToChanges(r,e);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r;}let i=new ox(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i;}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null;}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n));}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n);}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n);}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i));}},ox=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n;}};function Hk(){return new ea([new Jy()]);}var ea=(()=>{class t{factories;static ɵprov=P({token:t,providedIn:"root",factory:Hk});constructor(e){this.factories=e;}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r);}return new t(e);}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Hk()),deps:[[t,new _o(),new yr()]]};}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new X(901,!1);}}return t;})();function $k(){return new fC([new nx()]);}var fC=(()=>{class t{static ɵprov=P({token:t,providedIn:"root",factory:$k});factories;constructor(e){this.factories=e;}static create(e,i){if(i){let r=i.factories.slice();e=e.concat(r);}return new t(e);}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||$k()),deps:[[t,new _o(),new yr()]]};}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new X(901,!1);}}return t;})();var VT=(()=>{class t{constructor(e){}static ɵfac=function(i){return new(i||t)(te(tr));};static ɵmod=re({type:t});static ɵinj=ne({});}return t;})();function zT(t){zt(8);try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=zj(i),o=[Ij({}),{provide:kl,useExisting:Rj},...(e||[])],a=new Of({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Fj({r3Injector:a.injector,platformInjector:r,rootComponent:n});}catch(n){return Promise.reject(n);}finally{zt(9);}}function q(t){return typeof t=="boolean"?t:t!=null&&t!=="false";}function ut(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n;}function ar(t){return vv(t);}function Ka(t,n){return Ch(t,n?.equal);}var ax=class{[Kn];constructor(n){this[Kn]=n;}destroy(){this[Kn].destroy();}};function bm(t,n){!n?.injector&&mx(bm);let e=n?.injector??p(Se),i=n?.manualCleanup!==!0?e.get(od):null,r,o=e.get(Ox,null,{optional:!0}),a=e.get(kl);return o!==null&&!n?.forceRoot?(r=Wj(o.view,a,t),i instanceof kf&&i._lView===o.view&&(i=null)):r=Gj(t,e.get(vT),a),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new ax(r);}var BT=ze(B({},Sc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Zu,run(){if(this.dirty=!1,this.hasRun&&!vh(this))return;this.hasRun=!0;let t=i=>(this.cleanupFns??=[]).push(i),n=Au(this),e=Cf(!1);try{this.maybeCleanup(),this.fn(t);}finally{Cf(e),bh(this,n);}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()();}finally{this.cleanupFns=[];}}}),Uj=ze(B({},BT),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12);},destroy(){Ru(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this);}}),qj=ze(B({},BT),{consumerMarkedDirty(){this.view[Ue]|=8192,id(this.view),this.notifier.notify(13);},destroy(){Ru(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Cl]?.delete(this);}});function Wj(t,n,e){let i=Object.create(qj);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=e,t[Cl]??=new Set(),t[Cl].add(i),i.consumerMarkedDirty(i),i;}function Gj(t,n,e){let i=Object.create(Uj);return i.fn=t,i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i;}function pg(t,n){let e=Ms(t),i=n.elementInjector||$f();return new Sl(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector);}function jT(t){let n=Ms(t);if(!n)return null;let e=new Sl(n);return{get selector(){return e.selector;},get type(){return e.componentType;},get inputs(){return e.inputs;},get outputs(){return e.outputs;},get ngContentSelectors(){return e.ngContentSelectors;},get isStandalone(){return n.standalone;},get isSignal(){return n.signals;}};}var gd={production:!0,apiUrl:"https://api.johnturman.net/api/v1"};var ve=new A("");var UT=null;function Cr(){return UT;}function gC(t){UT??=t;}var vm=class{},ym=(()=>{class t{historyGo(e){throw new Error("");}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>p(qT),providedIn:"platform"});}return t;})(),_C=new A(""),qT=(()=>{class t extends ym{_location;_history;_doc=p(ve);constructor(){super(),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return Cr().getBaseHref(this._doc);}onPopState(e){let i=Cr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e);}onHashChange(e){let i=Cr().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){this._history.pushState(e,i,r);}replaceState(e,i,r){this._history.replaceState(e,i,r);}forward(){this._history.forward();}back(){this._history.back();}historyGo(e=0){this._history.go(e);}getState(){return this._history.state;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>new t(),providedIn:"platform"});}return t;})();function hg(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n;}function HT(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t;}function vo(t){return t&&t[0]!=="?"?`?${t}`:t;}var yo=(()=>{class t{historyGo(e){throw new Error("");}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>p(gg),providedIn:"root"});}return t;})(),fg=new A(""),gg=(()=>{class t extends yo{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??p(ve).location?.origin??"";}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;}prepareExternalUrl(e){return hg(this._baseHref,e);}path(e=!1){let i=this._platformLocation.pathname+vo(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i;}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+vo(o));this._platformLocation.pushState(e,i,a);}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+vo(o));this._platformLocation.replaceState(e,i,a);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState();}historyGo(e=0){this._platformLocation.historyGo?.(e);}static ɵfac=function(i){return new(i||t)(te(ym),te(fg,8));};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),ta=(()=>{class t{_subject=new H();_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=Kj(HT($T(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type});});}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[];}path(e=!1){return this.normalize(this._locationStrategy.path(e));}getState(){return this._locationStrategy.getState();}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+vo(i));}normalize(e){return t.stripTrailingSlash(Qj(this._basePath,$T(e)));}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e);}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+vo(i)),r);}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+vo(i)),r);}forward(){this._locationStrategy.forward();}back(){this._locationStrategy.back();}historyGo(e=0){this._locationStrategy.historyGo?.(e);}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state);}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);};}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i));}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0});}static normalizeQueryParams=vo;static joinWithSlash=hg;static stripTrailingSlash=HT;static ɵfac=function(i){return new(i||t)(te(yo));};static ɵprov=P({token:t,factory:()=>Yj(),providedIn:"root"});}return t;})();function Yj(){return new ta(te(yo));}function Qj(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n;}function $T(t){return t.replace(/\/index.html$/,"");}function Kj(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e;}return t;}var DC=(()=>{class t extends yo{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(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 i.length>0?i.substring(1):i;}prepareExternalUrl(e){let i=hg(this._baseHref,e);return i.length>0?"#"+i:i;}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+vo(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,a);}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+vo(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,a);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState();}historyGo(e=0){this._platformLocation.historyGo?.(e);}static ɵfac=function(i){return new(i||t)(te(ym),te(fg,8));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();var Tn=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t;}(Tn||{}),Bt=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t;}(Bt||{}),sr=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t;}(sr||{}),Xa={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function KT(t){return Vr(t)[Vi.LocaleId];}function ZT(t,n,e){let i=Vr(t),r=[i[Vi.DayPeriodsFormat],i[Vi.DayPeriodsStandalone]],o=Br(r,n);return Br(o,e);}function XT(t,n,e){let i=Vr(t),r=[i[Vi.DaysFormat],i[Vi.DaysStandalone]],o=Br(r,n);return Br(o,e);}function JT(t,n,e){let i=Vr(t),r=[i[Vi.MonthsFormat],i[Vi.MonthsStandalone]],o=Br(r,n);return Br(o,e);}function e2(t,n){let i=Vr(t)[Vi.Eras];return Br(i,n);}function xm(t,n){let e=Vr(t);return Br(e[Vi.DateFormat],n);}function Cm(t,n){let e=Vr(t);return Br(e[Vi.TimeFormat],n);}function wm(t,n){let i=Vr(t)[Vi.DateTimeFormat];return Br(i,n);}function Dm(t,n){let e=Vr(t),i=e[Vi.NumberSymbols][n];if(typeof i>"u"){if(n===Xa.CurrencyDecimal)return e[Vi.NumberSymbols][Xa.Decimal];if(n===Xa.CurrencyGroup)return e[Vi.NumberSymbols][Xa.Group];}return i;}function t2(t){if(!t[Vi.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Vi.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`);}function i2(t){let n=Vr(t);return t2(n),(n[Vi.ExtraData][2]||[]).map(i=>typeof i=="string"?bC(i):[bC(i[0]),bC(i[1])]);}function n2(t,n,e){let i=Vr(t);t2(i);let r=[i[Vi.ExtraData][0],i[Vi.ExtraData][1]],o=Br(r,n)||[];return Br(o,e)||[];}function Br(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined");}function bC(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e};}var Zj=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_g={},Xj=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function r2(t,n,e,i){let r=sH(t);n=Za(e,n)||n;let a=[],s;for(;n;)if(s=Xj.exec(n),s){a=a.concat(s.slice(1));let h=a.pop();if(!h)break;n=h;}else{a.push(n);break;}let l=r.getTimezoneOffset();i&&(l=a2(i,l),r=aH(r,i));let c="";return a.forEach(h=>{let g=rH(h);c+=g?g(r,e,l):h==="''"?"'":h.replace(/(^'|'$)/g,"").replace(/''/g,"'");}),c;}function Cg(t,n,e){let i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i;}function Za(t,n){let e=KT(t);if(_g[e]??={},_g[e][n])return _g[e][n];let i="";switch(n){case"shortDate":i=xm(t,sr.Short);break;case"mediumDate":i=xm(t,sr.Medium);break;case"longDate":i=xm(t,sr.Long);break;case"fullDate":i=xm(t,sr.Full);break;case"shortTime":i=Cm(t,sr.Short);break;case"mediumTime":i=Cm(t,sr.Medium);break;case"longTime":i=Cm(t,sr.Long);break;case"fullTime":i=Cm(t,sr.Full);break;case"short":let r=Za(t,"shortTime"),o=Za(t,"shortDate");i=bg(wm(t,sr.Short),[r,o]);break;case"medium":let a=Za(t,"mediumTime"),s=Za(t,"mediumDate");i=bg(wm(t,sr.Medium),[a,s]);break;case"long":let l=Za(t,"longTime"),c=Za(t,"longDate");i=bg(wm(t,sr.Long),[l,c]);break;case"full":let h=Za(t,"fullTime"),g=Za(t,"fullDate");i=bg(wm(t,sr.Full),[h,g]);break;}return i&&(_g[e][n]=i),i;}function bg(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return n!=null&&i in n?n[i]:e;})),t;}function xo(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,o=e));let a=String(t);for(;a.length<n;)a="0"+a;return i&&(a=a.slice(a.length-n)),o+a;}function Jj(t,n){return xo(t,3).substring(0,n);}function ji(t,n,e=0,i=!1,r=!1){return function(o,a){let s=eH(t,o);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return Jj(s,n);let l=Dm(a,Xa.MinusSign);return xo(s,n,l,i,r);};}function eH(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new Error(`Unknown DateType value "${t}".`);}}function Jt(t,n,e=Tn.Format,i=!1){return function(r,o){return tH(r,o,t,n,e,i);};}function tH(t,n,e,i,r,o){switch(e){case 2:return JT(n,r,i)[t.getMonth()];case 1:return XT(n,r,i)[t.getDay()];case 0:let a=t.getHours(),s=t.getMinutes();if(o){let c=i2(n),h=n2(n,r,i),g=c.findIndex(b=>{if(Array.isArray(b)){let[_,x]=b,T=a>=_.hours&&s>=_.minutes,L=a<x.hours||a===x.hours&&s<x.minutes;if(_.hours<x.hours){if(T&&L)return!0;}else if(T||L)return!0;}else if(b.hours===a&&b.minutes===s)return!0;return!1;});if(g!==-1)return h[g];}return ZT(n,r,i)[a<12?0:1];case 3:return e2(n,i)[t.getFullYear()<=0?0:1];default:let l=e;throw new Error(`unexpected translation type ${l}`);}}function vg(t){return function(n,e,i){let r=-1*i,o=Dm(e,Xa.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+xo(a,2,o)+xo(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+xo(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+xo(a,2,o)+":"+xo(Math.abs(r%60),2,o);case 3:return i===0?"Z":(r>=0?"+":"")+xo(a,2,o)+":"+xo(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${t}"`);}};}var iH=0,xg=4;function nH(t){let n=Cg(t,iH,1).getDay();return Cg(t,0,1+(n<=xg?xg:xg+7)-n);}function o2(t){let n=t.getDay(),e=n===0?-3:xg-n;return Cg(t.getFullYear(),t.getMonth(),t.getDate()+e);}function vC(t,n=!1){return function(e,i){let r;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();r=1+Math.floor((a+o)/7);}else{let o=o2(e),a=nH(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5);}return xo(r,t,Dm(i,Xa.MinusSign));};}function yg(t,n=!1){return function(e,i){let o=o2(e).getFullYear();return xo(o,t,Dm(i,Xa.MinusSign),n);};}var yC={};function rH(t){if(yC[t])return yC[t];let n;switch(t){case"G":case"GG":case"GGG":n=Jt(3,Bt.Abbreviated);break;case"GGGG":n=Jt(3,Bt.Wide);break;case"GGGGG":n=Jt(3,Bt.Narrow);break;case"y":n=ji(0,1,0,!1,!0);break;case"yy":n=ji(0,2,0,!0,!0);break;case"yyy":n=ji(0,3,0,!1,!0);break;case"yyyy":n=ji(0,4,0,!1,!0);break;case"Y":n=yg(1);break;case"YY":n=yg(2,!0);break;case"YYY":n=yg(3);break;case"YYYY":n=yg(4);break;case"M":case"L":n=ji(1,1,1);break;case"MM":case"LL":n=ji(1,2,1);break;case"MMM":n=Jt(2,Bt.Abbreviated);break;case"MMMM":n=Jt(2,Bt.Wide);break;case"MMMMM":n=Jt(2,Bt.Narrow);break;case"LLL":n=Jt(2,Bt.Abbreviated,Tn.Standalone);break;case"LLLL":n=Jt(2,Bt.Wide,Tn.Standalone);break;case"LLLLL":n=Jt(2,Bt.Narrow,Tn.Standalone);break;case"w":n=vC(1);break;case"ww":n=vC(2);break;case"W":n=vC(1,!0);break;case"d":n=ji(2,1);break;case"dd":n=ji(2,2);break;case"c":case"cc":n=ji(7,1);break;case"ccc":n=Jt(1,Bt.Abbreviated,Tn.Standalone);break;case"cccc":n=Jt(1,Bt.Wide,Tn.Standalone);break;case"ccccc":n=Jt(1,Bt.Narrow,Tn.Standalone);break;case"cccccc":n=Jt(1,Bt.Short,Tn.Standalone);break;case"E":case"EE":case"EEE":n=Jt(1,Bt.Abbreviate ��d);break;case"EEEE":n=Jt(1,Bt.Wide);break;case"EEEEE":n=Jt(1,Bt.Narrow);break;case"EEEEEE":n=Jt(1,Bt.Short);break;case"a":case"aa":case"aaa":n=Jt(0,Bt.Abbreviated);break;case"aaaa":n=Jt(0,Bt.Wide);break;case"aaaaa":n=Jt(0,Bt.Narrow);break;case"b":case"bb":case"bbb":n=Jt(0,Bt.Abbreviated,Tn.Standalone,!0);break;case"bbbb":n=Jt(0,Bt.Wide,Tn.Standalone,!0);break;case"bbbbb":n=Jt(0,Bt.Narrow,Tn.Standalone,!0);break;case"B":case"BB":case"BBB":n=Jt(0,Bt.Abbreviated,Tn.Format,!0);break;case"BBBB":n=Jt(0,Bt.Wide,Tn.Format,!0);break;case"BBBBB":n=Jt(0,Bt.Narrow,Tn.Format,!0);break;case"h":n=ji(3,1,-12);break;case"hh":n=ji(3,2,-12);break;case"H":n=ji(3,1);break;case"HH":n=ji(3,2);break;case"m":n=ji(4,1);break;case"mm":n=ji(4,2);break;case"s":n=ji(5,1);break;case"ss":n=ji(5,2);break;case"S":n=ji(6,1);break;case"SS":n=ji(6,2);break;case"SSS":n=ji(6,3);break;case"Z":case"ZZ":case"ZZZ":n=vg(0);break;case"ZZZZZ":n=vg(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=vg(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=vg(2);break;default:return null;}return yC[t]=n,n;}function a2(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e;}function oH(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t;}function aH(t,n,e){let r=t.getTimezoneOffset(),o=a2(n,r);return oH(t,-1*(o-r));}function sH(t){if(WT(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,o=1,a=1]=t.split("-").map(s=>+s);return Cg(r,o-1,a);}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(Zj))return lH(i);}let n=new Date(t);if(!WT(n))throw new Error(`Unable to convert "${t}" into a date`);return n;}function lH(t){let n=new Date(0),e=0,i=0,r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let a=Number(t[4]||0)-e,s=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,a,s,l,c),n;}function WT(t){return t instanceof Date&&!isNaN(t.valueOf());}var xC=/\s+/,GT=[],wr=(()=>{class t{_ngEl;_renderer;initialClasses=GT;rawClass;stateMap=new Map();constructor(e,i){this._ngEl=e,this._renderer=i;}set klass(e){this.initialClasses=e!=null?e.trim().split(xC):GT;}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(xC):e;}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff();}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0});}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1;}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(xC).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r);});}static ɵfac=function(i){return new(i||t)(D(J),D(et));};static ɵdir=z({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}});}return t;})();var wg=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r;}get first(){return this.index===0;}get last(){return this.index===this.count-1;}get even(){return this.index%2===0;}get odd(){return!this.even;}},ei=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0;}set ngForTrackBy(e){this._trackByFn=e;}get ngForTrackBy(){return this._trackByFn;}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r;}set ngForTemplate(e){e&&(this._template=e);}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy));}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e);}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new wg(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let s=i.get(o);i.move(s,a),YT(s,r);}});for(let r=0,o=i.length;r<o;r++){let s=i.get(r).context;s.index=r,s.count=o,s.ngForOf=this._ngForOf;}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);YT(o,r);});}static ngTemplateContextGuard(e,i){return!0;}static ɵfac=function(i){return new(i||t)(D(kt),D(st),D(ea));};static ɵdir=z({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}});}return t;})();function YT(t,n){t.context.$implicit=n.item;}var Rt=(()=>{class t{_viewContainer;_context=new Dg();_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i;}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView();}set ngIfThen(e){QT(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView();}set ngIfElse(e){QT(e,!1),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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0;}static ɵfac=function(i){return new(i||t)(D(kt),D(st));};static ɵdir=z({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}});}return t;})(),Dg=class{$implicit=null;ngIf=null;};function QT(t,n){if(t&&!t.createEmbeddedView)throw new X(2020,!1);}var yn=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r;}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create());}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e);}}_setStyle(e,i){let[r,o]=e.split("."),a=r.indexOf("-")===-1?void 0:Yo.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a);}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue));}static ɵfac=function(i){return new(i||t)(D(J),D(fC),D(et));};static ɵdir=z({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}});}return t;})(),Rs=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e;}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return;}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0});}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector;}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r);}});}static ɵfac=function(i){return new(i||t)(D(kt));};static ɵdir=z({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[He]});}return t;})();function s2(t,n){return new X(2100,!1);}var CC=class{createSubscription(n,e){return ar(()=>n.subscribe({next:e,error:i=>{throw i;}}));}dispose(n){ar(()=>n.unsubscribe());}},wC=class{createSubscription(n,e){return n.then(e,i=>{throw i;});}dispose(n){}},cH=new wC(),dH=new CC(),Em=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e;}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null;}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e);}finally{this.markForCheckOnValueUpdate=!0;}return this._latestValue;}return e!==this._obj?(this._dispose(),this.transform(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(Ts(e))return cH;if(oC(e))return dH;throw s2(t,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.markForCheckOnValueUpdate&&this._ref?.markForCheck());}static ɵfac=function(i){return new(i||t)(D(pe,16));};static ɵpipe=eC({name:"async",type:t,pure:!1});}return t;})();var uH="mediumDate",l2=new A(""),c2=new A(""),Fl=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,i,r){this.locale=e,this.defaultTimezone=i,this.defaultOptions=r;}transform(e,i,r,o){if(e==null||e===""||e!==e)return null;try{let a=i??this.defaultOptions?.dateFormat??uH,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return r2(e,a,o||this.locale,s);}catch(a){throw s2(t,a.message);}}static ɵfac=function(i){return new(i||t)(D(As,16),D(l2,24),D(c2,24));};static ɵpipe=eC({name:"date",type:t,pure:!0});}return t;})();var U=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({});}return t;})();function Mm(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o);}return null;}var Eg="browser",d2="server";function EC(t){return t===Eg;}function Mg(t){return t===d2;}var Nl=class{};var u2=(()=>{class t{static ɵprov=P({token:t,providedIn:"root",factory:()=>new MC(p(ve),window)});}return t;})(),MC=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e;}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n;}getScrollPosition(){return[this.window.scrollX,this.window.scrollY];}scrollToPosition(n){this.window.scrollTo(n[0],n[1]);}scrollToAnchor(n){let e=mH(this.document,n);e&&(this.scrollToElement(e),e.focus());}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n;}scrollToElement(n){let e=n.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]);}};function mH(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(a)return a;}r=i.nextNode();}}return null;}var Ig=new A(""),TC=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map();constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this;}),this._plugins=e.slice().reverse();}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o);}getZone(){return this._zone;}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new X(5101,!1);return this._eventNameToPlugin.set(e,i),i;}static ɵfac=function(i){return new(i||t)(te(Ig),te(oe));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})(),km=class{_doc;constructor(n){this._doc=n;}manager;},kg="ng-app-id";function m2(t){for(let n of t)n.remove();}function p2(t,n){let e=n.createElement("style");return e.textContent=t,e;}function pH(t,n,e,i){let r=t.head?.querySelectorAll(`style[${kg}="${n}"],link[${kg}="${n}"]`);if(r)for(let o of r)o.removeAttribute(kg),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});}function SC(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e;}var AC=(()=>{class t{doc;appId;nonce;inline=new Map();external=new Map();hosts=new Set();isServer;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.isServer=Mg(o),pH(e,i,this.inline,this.external),this.hosts.add(e.head);}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,p2);i?.forEach(r=>this.addUsage(r,this.external,SC));}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external));}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))});}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(m2(r.elements),i.delete(e)));}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])m2(e);this.hosts.clear();}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,p2(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,SC(i,this.doc)));}removeHost(e){this.hosts.delete(e);}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(kg,this.appId),e.appendChild(i);}static ɵfac=function(i){return new(i||t)(te(ve),te(Rl),te(sm,8),te(Zo));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})(),kC={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},RC=/%COMP%/g;var f2="%COMP%",hH=`_nghost-${f2}`,fH=`_ngcontent-${f2}`,gH=!0,_H=new A("",{providedIn:"root",factory:()=>gH});function bH(t){return fH.replace(RC,t);}function vH(t){return hH.replace(RC,t);}function g2(t,n){return n.map(e=>e.replace(RC,t));}var Tm=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map();defaultRenderer;platformIsServer;constructor(e,i,r,o,a,s,l,c=null,h=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=s,this.ngZone=l,this.nonce=c,this.tracingService=h,this.platformIsServer=Mg(s),this.defaultRenderer=new Sm(e,a,l,this.platformIsServer,this.tracingService);}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Go.ShadowDom&&(i=ze(B({},i),{encapsulation:Go.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof Sg?r.applyToHost(e):r instanceof Im&&r.applyStyles(),r;}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,b=this.tracingService;switch(i.encapsulation){case Go.Emulated:o=new Sg(l,c,i,this.appId,h,a,s,g,b);break;case Go.ShadowDom:return new IC(l,c,e,i,a,s,this.nonce,g,b);default:o=new Im(l,c,i,h,a,s,g,b);break;}r.set(i.id,o);}return o;}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(e){this.rendererByCompId.delete(e);}static ɵfac=function(i){return new(i||t)(te(TC),te(AC),te(Rl),te(_H),te(ve),te(Zo),te(oe),te(sm),te(ld,8));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})(),Sm=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o;}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(kC[e]||e,n):this.doc.createElement(n);}createComment(n){return this.doc.createComment(n);}createText(n){return this.doc.createTextNode(n);}appendChild(n,e){(h2(n)?n.content:n).appendChild(e);}insertBefore(n,e,i){n&&(h2(n)?n.content:n).insertBefore(e,i);}removeChild(n,e){e.remove();}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new X(-5104,!1);return e||(i.textContent=""),i;}parentNode(n){return n.parentNode;}nextSibling(n){return n.nextSibling;}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=kC[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i);}else n.setAttribute(e,i);}removeAttribute(n,e,i){if(i){let r=kC[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`);}else n.removeAttribute(e);}addClass(n,e){n.classList.add(e);}removeClass(n,e){n.classList.remove(e);}setStyle(n,e,i,r){r&(Yo.DashCase|Yo.Important)?n.style.setProperty(e,i,r&Yo.Important?"important":""):n.style[e]=i;}removeStyle(n,e,i){i&Yo.DashCase?n.style.removeProperty(e):n.style[e]="";}setProperty(n,e,i){n!=null&&(n[e]=i);}setValue(n,e){n.nodeValue=e;}listen(n,e,i,r){if(typeof n=="string"&&(n=Cr().getGlobalEventTarget(this.doc,n),!n))throw new X(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r);}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault();};}};function h2(t){return t.tagName==="TEMPLATE"&&t.content!==void 0;}var IC=class extends Sm{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,a,s,l,c){super(n,o,a,l,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=g2(r.id,h);for(let b of h){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=b,this.shadowRoot.appendChild(_);}let g=r.getExternalStyles?.();if(g)for(let b of g){let _=SC(b,o);s&&_.setAttribute("nonce",s),this.shadowRoot.appendChild(_);}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n;}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e);}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i);}removeChild(n,e){return super.removeChild(null,e);}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)));}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot);}},Im=class extends Sm{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,a,s,l,c){super(n,o,a,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=c?g2(c,h):h,this.styleUrls=i.getExternalStyles?.(c);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},Sg=class extends Im{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,l,c){let h=r+"-"+i.id;super(n,e,i,o,a,s,l,c,h),this.contentAttr=bH(h),this.hostAttr=vH(h);}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"");}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i;}};var Tg=class t extends vm{supportsDOMEvents=!0;static makeCurrent(){gC(new t());}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r);};}dispatchEvent(n,e){n.dispatchEvent(e);}remove(n){n.remove();}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n);}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle");}getDefaultDocument(){return document;}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE;}isShadowRoot(n){return n instanceof DocumentFragment;}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null;}getBaseHref(n){let e=yH();return e==null?null:xH(e);}resetBaseElement(){Am=null;}getUserAgent(){return window.navigator.userAgent;}getCookie(n){return Mm(document.cookie,n);}},Am=null;function yH(){return Am=Am||document.querySelector("base"),Am?Am.getAttribute("href"):null;}function xH(t){return new URL(t,document.baseURI).pathname;}var Ag=class{addToWindow(n){gn.getAngularTestability=(i,r=!0)=>{let o=n.findTestabilityInTree(i,r);if(o==null)throw new X(5103,!1);return o;},gn.getAllAngularTestabilities=()=>n.getAllTestabilities(),gn.getAllAngularRootElements=()=>n.getAllRootElements();let e=i=>{let r=gn.getAllAngularTestabilities(),o=r.length,a=function(){o--,o==0&&i();};r.forEach(s=>{s.whenStable(a);});};gn.frameworkStabilizers||(gn.frameworkStabilizers=[]),gn.frameworkStabilizers.push(e);}findTestabilityInTree(n,e,i){if(e==null)return null;let r=n.getTestability(e);return r??(i?Cr().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null);}},CH=(()=>{class t{build(){return new XMLHttpRequest();}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})(),b2=(()=>{class t extends km{constructor(e){super(e);}supports(e){return!0;}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o);}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o);}static ɵfac=function(i){return new(i||t)(te(ve));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})(),_2=["alt","control","meta","shift"],wH={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},DH={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},v2=(()=>{class t extends km{constructor(e){super(e);}supports(e){return t.parseEventName(e)!=null;}addEventListener(e,i,r,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cr().onAndCancel(e,a.domEventName,s,o));}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),_2.forEach(c=>{let h=i.indexOf(c);h>-1&&(i.splice(h,1),a+=c+".");}),a+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l;}static matchEventFullKeyCode(e,i){let r=wH[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),_2.forEach(a=>{if(a!==r){let s=DH[a];s(e)&&(o+=a+".");}}),o+=r,o===i);}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o));};}static _normalizeKey(e){return e==="esc"?"escape":e;}static ɵfac=function(i){return new(i||t)(te(ve));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();function OC(t,n){return zT(B({rootComponent:t},EH(n)));}function EH(t){return{appProviders:[...y2,...(t?.providers??[])],platformProviders:IH};}function MH(){Tg.makeCurrent();}function kH(){return new jn();}function SH(){return rI(document),document;}var IH=[{provide:Zo,useValue:Eg},{provide:Ax,useValue:MH,multi:!0},{provide:ve,useFactory:SH}];var TH=[{provide:hm,useClass:Ag},{provide:nC,useClass:sg,deps:[oe,lg,hm]},{provide:sg,useClass:sg,deps:[oe,lg,hm]}],y2=[{provide:Hf,useValue:"root"},{provide:jn,useFactory:kH},{provide:Ig,useClass:b2,multi:!0,deps:[ve]},{provide:Ig,useClass:v2,multi:!0,deps:[ve]},Tm,AC,TC,{provide:Li,useExisting:Tm},{provide:Nl,useClass:CH},[]],PC=(()=>{class t{constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[...y2,...TH],imports:[U,VT]});}return t;})();var bd=class{},Rm=class{},lt=class t{headers;normalizedNames=new Map();lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map(),n.split(`
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o);}});}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map(),n.forEach((e,i)=>{this.addHeaderEntry(i,e);})):this.lazyInit=()=>{this.headers=new Map(),Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i);});}:this.headers=new Map();}has(n){return this.init(),this.headers.has(n.toLowerCase());}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null;}keys(){return this.init(),Array.from(this.normalizedNames.values());}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null;}append(n,e){return this.clone({name:n,value:e,op:"a"});}set(n,e){return this.clone({name:n,value:e,op:"s"});}delete(n,e){return this.clone({name:n,value:e,op:"d"});}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n);}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null));}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e));});}clone(n){let e=new t();return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e;}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a);}break;}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e]);}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r);}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)));}};var Og=class{encodeKey(n){return x2(n);}encodeValue(n){return x2(n);}decodeKey(n){return decodeURIComponent(n);}decodeValue(n){return decodeURIComponent(n);}};function AH(t,n){let e=new Map();return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l);}),e;}var RH=/%(\d[a-f0-9])/gi,OH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function x2(t){return encodeURIComponent(t).replace(RH,(n,e)=>OH[e]??n);}function Rg(t){return`${t}`;}var Ja=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Og(),n.fromString){if(n.fromObject)throw new X(2805,!1);this.map=AH(n.fromString,this.encoder);}else n.fromObject?(this.map=new Map(),Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Rg):[Rg(i)];this.map.set(e,r);})):this.map=null;}has(n){return this.init(),this.map.has(n);}get(n){this.init();let e=this.map.get(n);return e?e[0]:null;}getAll(n){return this.init(),this.map.get(n)||null;}keys(){return this.init(),Array.from(this.map.keys());}append(n,e){return this.clone({param:n,value:e,op:"a"});}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[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(n,e){return this.clone({param:n,value:e,op:"s"});}delete(n,e){return this.clone({param:n,value:e,op:"d"});}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&");}).filter(n=>n!=="").join("&");}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e;}init(){this.map===null&&(this.map=new Map()),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Rg(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Rg(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param);}else{this.map.delete(n.param);break;}}}),this.cloneFrom=this.updates=null);}};var Pg=class{map=new Map();set(n,e){return this.map.set(n,e),this;}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n);}delete(n){return this.map.delete(n),this;}has(n){return this.map.has(n);}keys(){return this.map.keys();}};function PH(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0;}}function C2(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer;}function w2(t){return typeof Blob<"u"&&t instanceof Blob;}function D2(t){return typeof FormData<"u"&&t instanceof FormData;}function FH(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams;}var E2="Content-Type",M2="Accept",S2="X-Request-URL",I2="text/plain",T2="application/json",NH=`${T2}, ${I2}, */*`,_d=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(PH(this.method)||r?(this.body=i!==void 0?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.transferCache=o.transferCache),this.headers??=new lt(),this.context??=new Pg(),!this.params)this.params=new Ja(),this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+l+a;}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||C2(this.body)||w2(this.body)||D2(this.body)||FH(this.body)?this.body:this.body instanceof Ja?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();}detectContentTypeHeader(){return this.body===null||D2(this.body)?null:w2(this.body)?this.body.type||null:C2(this.body)?null:typeof this.body=="string"?I2:this.body instanceof Ja?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?T2:null;}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,a=n.body!==void 0?n.body:this.body,s=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,h=n.params||this.params,g=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((b,_)=>b.set(_,n.setHeaders[_]),c)),n.setParams&&(h=Object.keys(n.setParams).reduce((b,_)=>b.set(_,n.setParams[_]),h)),new t(e,i,a,{params:h,headers:c,context:g,reportProgress:l,responseType:r,withCredentials:s,transferCache:o});}},Ll=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t;}(Ll||{}),vd=class{headers;status;statusText;url;ok;type;constructor(n,e=200,i="OK"){this.headers=n.headers||new lt(),this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300;}},Fg=class t extends vd{constructor(n={}){super(n);}type=Ll.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.stat ��usText,url:n.url||this.url||void 0});}},Om=class t extends vd{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null;}type=Ll.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0});}},Pm=class extends vd{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null;}},LH=200,VH=204;function FC(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache};}var Hi=(()=>{class t{handler;constructor(e){this.handler=e;}request(e,i,r={}){let o;if(e instanceof _d)o=e;else{let l;r.headers instanceof lt?l=r.headers:l=new lt(r.headers);let c;r.params&&(r.params instanceof Ja?c=r.params:c=new Ja({fromObject:r.params})),o=new _d(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache});}let a=se(o).pipe(Bo(l=>this.handler.handle(l)));if(e instanceof _d||r.observe==="events")return a;let s=a.pipe(Ie(l=>l instanceof Om));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(ue(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new X(2806,!1);return l.body;}));case"blob":return s.pipe(ue(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new X(2807,!1);return l.body;}));case"text":return s.pipe(ue(l=>{if(l.body!==null&&typeof l.body!="string")throw new X(2808,!1);return l.body;}));case"json":default:return s.pipe(ue(l=>l.body));}case"response":return s;default:throw new X(2809,!1);}}delete(e,i={}){return this.request("DELETE",e,i);}get(e,i={}){return this.request("GET",e,i);}head(e,i={}){return this.request("HEAD",e,i);}jsonp(e,i){return this.request("JSONP",e,{params:new Ja().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,FC(r,i));}post(e,i,r={}){return this.request("POST",e,FC(r,i));}put(e,i,r={}){return this.request("PUT",e,FC(r,i));}static ɵfac=function(i){return new(i||t)(te(bd));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();var zH=new A("");function A2(t,n){return n(t);}function BH(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)});}function jH(t,n,e){return(i,r)=>ir(e,()=>n(i,o=>t(o,r)));}var R2=new A(""),LC=new A(""),O2=new A(""),VC=new A("",{providedIn:"root",factory:()=>!0});function HH(){let t=null;return(n,e)=>{t===null&&(t=(p(R2,{optional:!0})??[]).reduceRight(BH,A2));let i=p(Wa);if(p(VC)){let o=i.add();return t(n,e).pipe(jo(()=>i.remove(o)));}else return t(n,e);};}var Ng=(()=>{class t extends bd{backend;injector;chain=null;pendingTasks=p(Wa);contributeToStability=p(VC);constructor(e,i){super(),this.backend=e,this.injector=i;}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(LC),...this.injector.get(O2,[])]));this.chain=i.reduceRight((r,o)=>jH(r,o,this.injector),A2);}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(jo(()=>this.pendingTasks.remove(i)));}else return this.chain(e,i=>this.backend.handle(i));}static ɵfac=function(i){return new(i||t)(te(Rm),te(Ei));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();var $H=/^\)\]\}',?\n/,UH=RegExp(`^${S2}:`,"m");function qH(t){return"responseURL"in t&&t.responseURL?t.responseURL:UH.test(t.getAllResponseHeaders())?t.getResponseHeader(S2):null;}var NC=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e;}handle(e){if(e.method==="JSONP")throw new X(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?Vt(i.ɵloadImpl()):se(null)).pipe(si(()=>new qe(o=>{let a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((T,L)=>a.setRequestHeader(T,L.join(","))),e.headers.has(M2)||a.setRequestHeader(M2,NH),!e.headers.has(E2)){let T=e.detectContentTypeHeader();T!==null&&a.setRequestHeader(E2,T);}if(e.responseType){let T=e.responseType.toLowerCase();a.responseType=T!=="json"?T:"text";}let s=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let T=a.statusText||"OK",L=new lt(a.getAllResponseHeaders()),W=qH(a)||e.url;return l=new Fg({headers:L,status:a.status,statusText:T,url:W}),l;},h=()=>{let{headers:T,status:L,statusText:W,url:ie}=c(),Y=null;L!==VH&&(Y=typeof a.response>"u"?a.responseText:a.response),L===0&&(L=Y?LH:0);let me=L>=200&&L<300;if(e.responseType==="json"&&typeof Y=="string"){let we=Y;Y=Y.replace($H,"");try{Y=Y!==""?JSON.parse(Y):null;}catch(Oe){Y=we,me&&(me=!1,Y={error:Oe,text:Y});}}me?(o.next(new Om({body:Y,headers:T,status:L,statusText:W,url:ie||void 0})),o.complete()):o.error(new Pm({error:Y,headers:T,status:L,statusText:W,url:ie||void 0}));},g=T=>{let{url:L}=c(),W=new Pm({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:L||void 0});o.error(W);},b=!1,_=T=>{b||(o.next(c()),b=!0);let L={type:Ll.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(L.total=T.total),e.responseType==="text"&&a.responseText&&(L.partialText=a.responseText),o.next(L);},x=T=>{let L={type:Ll.UploadProgress,loaded:T.loaded};T.lengthComputable&&(L.total=T.total),o.next(L);};return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),e.reportProgress&&(a.addEventListener("progress",_),s!==null&&a.upload&&a.upload.addEventListener("progress",x)),a.send(s),o.next({type:Ll.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",g),e.reportProgress&&(a.removeEventListener("progress",_),s!==null&&a.upload&&a.upload.removeEventListener("progress",x)),a.readyState!==a.DONE&&a.abort();};})));}static ɵfac=function(i){return new(i||t)(te(Nl));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})(),P2=new A(""),WH="XSRF-TOKEN",GH=new A("",{providedIn:"root",factory:()=>WH}),YH="X-XSRF-TOKEN",QH=new A("",{providedIn:"root",factory:()=>YH}),Fm=class{},KH=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r;}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Mm(e,this.cookieName),this.lastCookieString=e),this.lastToken;}static ɵfac=function(i){return new(i||t)(te(ve),te(Zo),te(GH));};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();function ZH(t,n){let e=t.url.toLowerCase();if(!p(P2)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=p(Fm).getToken(),r=p(QH);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t);}var zC=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t;}(zC||{});function XH(t,n){return{ɵkind:t,ɵproviders:n};}function BC(...t){let n=[Hi,NC,Ng,{provide:bd,useExisting:Ng},{provide:Rm,useFactory:()=>p(zH,{optional:!0})??p(NC)},{provide:LC,useValue:ZH,multi:!0},{provide:P2,useValue:!0},{provide:Fm,useClass:KH}];for(let e of t)n.push(...e.ɵproviders);return Jc(n);}var k2=new A("");function jC(){return XH(zC.LegacyInterceptors,[{provide:k2,useFactory:HH},{provide:LC,useExisting:k2,multi:!0}]);}var An=(()=>{class t{_doc;constructor(e){this._doc=e;}getTitle(){return this._doc.title;}setTitle(e){this._doc.title=e||"";}static ɵfac=function(i){return new(i||t)(te(ve));};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Dr=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:function(i){let r=null;return i?r=new(i||t)():r=te(JH),r;},providedIn:"root"});}return t;})(),JH=(()=>{class t extends Dr{_doc;constructor(e){super(),this._doc=e;}sanitize(e,i){if(i==null)return null;switch(e){case vn.NONE:return i;case vn.HTML:return Ga(i,"HTML")?Nr(i):Fx(this._doc,String(i)).toString();case vn.STYLE:return Ga(i,"Style")?Nr(i):i;case vn.SCRIPT:if(Ga(i,"Script"))return Nr(i);throw new X(5200,!1);case vn.URL:return Ga(i,"URL")?Nr(i):Xf(String(i));case vn.RESOURCE_URL:if(Ga(i,"ResourceURL"))return Nr(i);throw new X(5201,!1);default:throw new X(5202,!1);}}bypassSecurityTrustHtml(e){return mI(e);}bypassSecurityTrustStyle(e){return pI(e);}bypassSecurityTrustScript(e){return hI(e);}bypassSecurityTrustUrl(e){return fI(e);}bypassSecurityTrustResourceUrl(e){return gI(e);}static ɵfac=function(i){return new(i||t)(te(ve));};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var tt="primary",Ym=Symbol("RouteTitle"),WC=class{params;constructor(n){this.params=n||{};}has(n){return Object.prototype.hasOwnProperty.call(this.params,n);}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e;}return null;}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e];}return[];}get keys(){return Object.keys(this.params);}};function Bl(t){return new WC(t);}function H2(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let a=i[o],s=t[o];if(a[0]===":")r[a.substring(1)]=s;else if(a!==s.path)return null;}return{consumed:t.slice(0,i.length),posParams:r};}function e9(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ia(t[e],n[e]))return!1;return!0;}function ia(t,n){let e=t?GC(t):void 0,i=n?GC(n):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],!$2(t[r],n[r]))return!1;return!0;}function GC(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)];}function $2(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r);}else return t===n;}function U2(t){return t.length>0?t[t.length-1]:null;}function Ns(t){return Fc(t)?t:Ts(t)?Vt(Promise.resolve(t)):se(t);}var t9={exact:W2,subset:G2},q2={exact:i9,subset:n9,ignored:()=>!0};function F2(t,n,e){return t9[e.paths](t.root,n.root,e.matrixParams)&&q2[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment);}function i9(t,n){return ia(t,n);}function W2(t,n,e){if(!Vl(t.segments,n.segments)||!zg(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!W2(t.children[i],n.children[i],e))return!1;return!0;}function n9(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>$2(t[e],n[e]));}function G2(t,n,e){return Y2(t,n,n.segments,e);}function Y2(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Vl(r,e)||n.hasChildren()||!zg(r,e,i));}else if(t.segments.length===e.length){if(!Vl(t.segments,e)||!zg(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!G2(t.children[r],n.children[r],i))return!1;return!0;}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Vl(t.segments,r)||!zg(t.segments,r,i)||!t.children[tt]?!1:Y2(t.children[tt],n,o,i);}}function zg(t,n,e){return n.every((i,r)=>q2[e](t[r].parameters,i.parameters));}var ra=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Ot([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i;}get queryParamMap(){return this._queryParamMap??=Bl(this.queryParams),this._queryParamMap;}toString(){return a9.serialize(this);}},Ot=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this);}hasChildren(){return this.numberOfChildren>0;}get numberOfChildren(){return Object.keys(this.children).length;}toString(){return Bg(this);}},Os=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e;}get parameterMap(){return this._parameterMap??=Bl(this.parameters),this._parameterMap;}toString(){return K2(this);}};function r9(t,n){return Vl(t,n)&&t.every((e,i)=>ia(e.parameters,n[i].parameters));}function Vl(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path);}function o9(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===tt&&(e=e.concat(n(r,i)));}),Object.entries(t.children).forEach(([i,r])=>{i!==tt&&(e=e.concat(n(r,i)));}),e;}var jl=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>new Ps(),providedIn:"root"});}return t;})(),Ps=class{parse(n){let e=new QC(n);return new ra(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment());}serialize(n){let e=`/${Nm(n.root,!0)}`,i=c9(n.queryParams),r=typeof n.fragment=="string"?`#${s9(n.fragment)}`:"";return`${e}${i}${r}`;}},a9=new Ps();function Bg(t){return t.segments.map(n=>K2(n)).join("/");}function Nm(t,n){if(!t.hasChildren())return Bg(t);if(n){let e=t.children[tt]?Nm(t.children[tt],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==tt&&i.push(`${r}:${Nm(o,!1)}`);}),i.length>0?`${e}(${i.join("//")})`:e;}else{let e=o9(t,(i,r)=>r===tt?[Nm(t.children[tt],!1)]:[`${r}:${Nm(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[tt]!=null?`${Bg(t)}/${e[0]}`:`${Bg(t)}/(${e.join("//")})`;}}function Q2(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",");}function Lg(t){return Q2(t).replace(/%3B/gi,";");}function s9(t){return encodeURI(t);}function YC(t){return Q2(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&");}function jg(t){return decodeURIComponent(t);}function N2(t){return jg(t.replace(/\+/g,"%20"));}function K2(t){return`${YC(t.path)}${l9(t.parameters)}`;}function l9(t){return Object.entries(t).map(([n,e])=>`;${YC(n)}=${YC(e)}`).join("");}function c9(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Lg(e)}=${Lg(r)}`).join("&"):`${Lg(e)}=${Lg(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:"";}var d9=/^[^\/()?;#]+/;function HC(t){let n=t.match(d9);return n?n[0]:"";}var u9=/^[^\/()?;=#]+/;function m9(t){let n=t.match(u9);return n?n[0]:"";}var p9=/^[^=?&#]+/;function h9(t){let n=t.match(p9);return n?n[0]:"";}var f9=/^[^&#]+/;function g9(t){let n=t.match(f9);return n?n[0]:"";}var QC=class{url;remaining;constructor(n){this.url=n,this.remaining=n;}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ot([],{}):new Ot([],this.parseChildren());}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n;}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null;}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[tt]=new Ot(n,e)),i;}parseSegment(){let n=HC(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new X(4009,!1);return this.capture(n),new Os(jg(n),this.parseMatrixParams());}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n;}parseParam(n){let e=m9(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=HC(this.remaining);r&&(i=r,this.capture(i));}n[jg(e)]=jg(i);}parseQueryParam(n){let e=h9(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let a=g9(this.remaining);a&&(i=a,this.capture(i));}let r=N2(e),o=N2(i);if(n.hasOwnProperty(r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o);}else n[r]=o;}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=HC(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new X(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=tt);let a=this.parseChildren();e[o]=Object.keys(a).length===1?a[tt]:new Ot([],a),this.consumeOptional("//");}return e;}peekStartsWith(n){return this.remaining.startsWith(n);}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1;}capture(n){if(!this.consumeOptional(n))throw new X(4011,!1);}};function Z2(t){return t.segments.length>0?new Ot([],{[tt]:t}):t;}function X2(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=X2(r);if(i===tt&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))n[a]=s;else(o.segments.length>0||o.hasChildren())&&(n[i]=o);}let e=new Ot(t.segments,n);return _9(e);}function _9(t){if(t.numberOfChildren===1&&t.children[tt]){let n=t.children[tt];return new Ot(t.segments.concat(n.segments),n.children);}return t;}function Fs(t){return t instanceof ra;}function J2(t,n,e=null,i=null){let r=eA(t);return tA(r,n,e,i);}function eA(t){let n;function e(o){let a={};for(let l of o.children){let c=e(l);a[l.outlet]=c;}let s=new Ot(o.url,a);return o===t&&(n=s),s;}let i=e(t.root),r=Z2(i);return n??r;}function tA(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return $C(r,r,r,e,i);let o=b9(n);if(o.toRoot())return $C(r,r,new Ot([],{}),e,i);let a=v9(o,r,t),s=a.processChildren?Vm(a.segmentGroup,a.index,o.commands):nA(a.segmentGroup,a.index,o.commands);return $C(r,a.segmentGroup,s,e,i);}function $g(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath;}function Bm(t){return typeof t=="object"&&t!=null&&t.outlets;}function $C(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(h=>`${h}`):`${c}`;});let a;t===n?a=e:a=iA(t,n,e);let s=Z2(X2(a));return new ra(s,o,r);}function iA(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=iA(o,n,e);}),new Ot(t.segments,i);}var Ug=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&$g(i[0]))throw new X(4003,!1);let r=i.find(Bm);if(r&&r!==U2(i))throw new X(4004,!1);}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/";}};function b9(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ug(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c;}),[...r,{outlets:s}];}if(o.segmentPath)return[...r,o.segmentPath];}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s));}),r):[...r,o];},[]);return new Ug(e,n,i);}var Cd=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i;}};function v9(t,n,e){if(t.isAbsolute)return new Cd(n,!0,0);if(!e)return new Cd(n,!1,NaN);if(e.parent===null)return new Cd(e,!0,0);let i=$g(t.commands[0])?0:1,r=e.segments.length-1+i;return y9(e,r,t.numberOfDoubleDots);}function y9(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new X(4005,!1);r=i.segments.length;}return new Cd(i,!1,r-o);}function x9(t){return Bm(t[0])?t[0].outlets:{[tt]:t};}function nA(t,n,e){if(t??=new Ot([],{}),t.segments.length===0&&t.hasChildren())return Vm(t,n,e);let i=C9(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Ot(t.segments.slice(0,i.pathIndex),{});return o.children[tt]=new Ot(t.segments.slice(i.pathIndex),t.children),Vm(o,0,r);}else return i.match&&r.length===0?new Ot(t.segments,{}):i.match&&!t.hasChildren()?KC(t,n,e):i.match?Vm(t,0,r):KC(t,n,e);}function Vm(t,n,e){if(e.length===0)return new Ot(t.segments,{});{let i=x9(e),r={};if(Object.keys(i).some(o=>o!==tt)&&t.children[tt]&&t.numberOfChildren===1&&t.children[tt].segments.length===0){let o=Vm(t.children[tt],n,e);return new Ot(t.segments,o.children);}return Object.entries(i).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=nA(t.children[o],n,a));}),Object.entries(t.children).forEach(([o,a])=>{i[o]===void 0&&(r[o]=a);}),new Ot(t.segments,r);}}function C9(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let a=t.segments[r],s=e[i];if(Bm(s))break;let l=`${s}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!V2(l,c,a))return o;i+=2;}else{if(!V2(l,{},a))return o;i++;}r++;}return{match:!0,pathIndex:r,commandIndex:i};}function KC(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(Bm(o)){let l=w9(o.outlets);return new Ot(i,l);}if(r===0&&$g(e[0])){let l=t.segments[n];i.push(new Os(l.path,L2(e[0]))),r++;continue;}let a=Bm(o)?o.outlets[tt]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&$g(s)?(i.push(new Os(a,L2(s))),r+=2):(i.push(new Os(a,{})),r++);}return new Ot(i,{});}function w9(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=KC(new Ot([],{}),0,i));}),n;}function L2(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n;}function V2(t,n,e){return t==e.path&&ia(n,e.parameters);}var Hg="imperative",nn=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t;}(nn||{}),Mr=class{id;url;constructor(n,e){this.id=n,this.url=e;}},kr=class extends Mr{type=nn.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r;}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`;}},Hn=class extends Mr{urlAfterRedirects;type=nn.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i;}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;}},lr=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t;}(lr||{}),Dd=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t;}(Dd||{}),na=class extends Mr{reason;code;type=nn.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r;}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`;}},oa=class extends Mr{reason;code;type=nn.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r;}},Ed=class extends Mr{error;target;type=nn.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r;}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;}},jm=class extends Mr{urlAfterRedirects;state;type=nn.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r;}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},qg=class extends Mr{urlAfterRedirects;state;type=nn.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r;}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},Wg=class extends Mr{urlAfterRedirects;state;shouldActivate;type=nn.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,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})`;}},Gg=class extends Mr{urlAfterRedirects;state;type=nn.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r;}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},Yg=class extends Mr{urlAfterRedirects;state;type=nn.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r;}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},Qg=class{route;type=nn.RouteConfigLoadStart;constructor(n){this.route=n;}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`;}},Kg=class{route;type=nn.RouteConfigLoadEnd;constructor(n){this.route=n;}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`;}},Zg=class{snapshot;type=nn.ChildActivationStart;constructor(n){this.snapshot=n;}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Xg=class{snapshot;type=nn.ChildActivationEnd;constructor(n){this.snapshot=n;}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Jg=class{snapshot;type=nn.ActivationStart;constructor(n){this.snapshot=n;}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},e0=class{snapshot;type=nn.ActivationEnd;constructor(n){this.snapshot=n;}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Md=class{routerEvent;position;anchor;type=nn.Scroll;constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i;}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`;}},Hm=class{},kd=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e;}};function D9(t,n){return t.providers&&!t._injector&&(t._injector=pm(t.providers,n,`Route: ${t.path}`)),t._injector??n;}function Co(t){return t.outlet||tt;}function E9(t,n){let e=t.filter(i=>Co(i)===n);return e.push(...t.filter(i=>Co(i)!==n)),e;}function Qm(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector;}return null;}var t0=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Qm(this.route?.snapshot)??this.rootInjector;}constructor(n){this.rootInjector=n,this.children=new Hl(this.rootInjector);}},Hl=(()=>{class t{rootInjector;contexts=new Map();constructor(e){this.rootInjector=e;}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r);}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null);}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map(),e;}onOutletReAttached(e){this.contexts=e;}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new t0(this.rootInjector),this.contexts.set(e,i)),i;}getContext(e){return this.contexts.get(e)||null;}static ɵfac=function(i){return new(i||t)(te(Ei));};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),i0=class{_root;constructor(n){this._root=n;}get root(){return this._root.value;}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null;}children(n){let e=ZC(n,this._root);return e?e.children.map(i=>i.value):[];}firstChild(n){let e=ZC(n,this._root);return e&&e.children.length>0?e.children[0].value:null;}siblings(n){let e=XC(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n);}pathFromRoot(n){return XC(n,this._root).map(e=>e.value);}};function ZC(t,n){if(t===n.value)return n;for(let e of n.children){let i=ZC(t,e);if(i)return i;}return null;}function XC(t,n){if(t===n.value)return[n];for(let e of n.children){let i=XC(t,e);if(i.length)return i.unshift(n),i;}return[];}var Er=class{value;children;constructor(n,e){this.value=n,this.children=e;}toString(){return`TreeNode(${this.value})`;}};function xd(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n;}var $m=class extends i0{snapshot;constructor(n,e){super(n),this.snapshot=e,aw(this,n);}toString(){return this.snapshot.toString();}};function rA(t){let n=M9(t),e=new Qt([new Os("",{})]),i=new Qt({}),r=new Qt({}),o=new Qt({}),a=new Qt(""),s=new Rn(e,i,o,a,r,tt,t,n.root);return s.snapshot=n.root,new $m(new Er(s,[]),n);}function M9(t){let n={},e={},i={},r="",o=new zl([],n,i,r,e,tt,t,null,{});return new Um("",new Er(o,[]));}var Rn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,a,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ue(c=>c[Ym]))??se(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o;}get routeConfig(){return this._futureSnapshot.routeConfig;}get root(){return this._routerState.root;}get parent(){return this._routerState.parent(this);}get firstChild(){return this._routerState.firstChild(this);}get children(){return this._routerState.children(this);}get pathFromRoot(){return this._routerState.pathFromRoot(this);}get paramMap(){return this._paramMap??=this.params.pipe(ue(n=>Bl(n))),this._paramMap;}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ue(n=>Bl(n))),this._queryParamMap;}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`;}};function n0(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:B(B({},n.params),t.params),data:B(B({},n.data),t.data),resolve:B(B(B(B({},t.data),n.data),r?.data),t._resolvedData)}:i={params:B({},t.params),data:B({},t.data),resolve:B(B({},t.data),t._resolvedData??{})},r&&aA(r)&&(i.resolve[Ym]=r.title),i;}var zl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Ym];}constructor(n,e,i,r,o,a,s,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c;}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??=Bl(this.params),this._paramMap;}get queryParamMap(){return this._queryParamMap??=Bl(this.queryParams),this._queryParamMap;}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`;}},Um=class extends i0{url;constructor(n,e){super(e),this.url=n,aw(this,e);}toString(){return oA(this._root);}};function aw(t,n){n.value._routerState=t,n.children.forEach(e=>aw(t,e));}function oA(t){let n=t.children.length>0?` { ${t.children.map(oA).join(", ")} } `:"";return`${t.value}${n}`;}function UC(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ia(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragm ��ent),ia(n.params,e.params)||t.paramsSubject.next(e.params),e9(n.url,e.url)||t.urlSubject.next(e.url),ia(n.data,e.data)||t.dataSubject.next(e.data);}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data);}function JC(t,n){let e=ia(t.params,n.params)&&r9(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||JC(t.parent,n.parent));}function aA(t){return typeof t.title=="string"||t.title===null;}var sA=new A(""),ts=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated;}_activatedRoute=null;name=tt;activateEvents=new V();deactivateEvents=new V();attachEvents=new V();detachEvents=new V();routerOutletData=nt(void 0);parentContexts=p(Hl);location=p(kt);changeDetector=p(pe);inputBinder=p(Km,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName();}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this);}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this;}ngOnInit(){this.initializeOutletWithName();}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector));}get isActivated(){return!!this.activated;}get component(){if(!this.activated)throw new X(4012,!1);return this.activated.instance;}get activatedRoute(){if(!this.activated)throw new X(4012,!1);return this._activatedRoute;}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{};}detach(){if(!this.activated)throw new X(4012,!1);this.location.detach();let 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.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance);}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e);}}activateWith(e,i){if(this.isActivated)throw new X(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new ew(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[He]});}return t;})(),ew=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r;}get(n,e){return n===Rn?this.route:n===Hl?this.childContexts:n===sA?this.outletData:this.parent.get(n,e);}},Km=new A(""),sw=(()=>{class t{outletDataSubscriptions=new Map();bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e);}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e);}subscribeToRouteData(e){let{activatedRoute:i}=e,r=po([i.queryParams,i.params,i.data]).pipe(si(([o,a,s],l)=>(s=B(B(B({},o),a),s),l===0?se(s):Promise.resolve(s)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return;}let a=jT(i.component);if(!a){this.unsubscribeFromRouteData(e);return;}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,o[s]);});this.outletDataSubscriptions.set(e,r);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();function k9(t,n,e){let i=qm(t,n._root,e?e._root:void 0);return new $m(i,n);}function qm(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=S9(t,n,e);return new Er(i,r);}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>qm(t,s)),a;}}let i=I9(n.value),r=n.children.map(o=>qm(t,o));return new Er(i,r);}}function S9(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return qm(t,i,r);return qm(t,i);});}function I9(t){return new Rn(new Qt(t.url),new Qt(t.params),new Qt(t.queryParams),new Qt(t.fragment),new Qt(t.data),t.outlet,t.component,t);}var Sd=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e;}},lA="ngNavigationCancelingError";function r0(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Fs(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=cA(!1,lr.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r;}function cA(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[lA]=!0,e.cancellationCode=n,e;}function T9(t){return dA(t)&&Fs(t.url);}function dA(t){return!!t&&t[lA];}var A9=(t,n,e,i)=>ue(r=>(new tw(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),tw=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o;}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),UC(this.futureState.root),this.activateChildRoutes(e,i,n);}deactivateChildRoutes(n,e,i){let r=xd(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a];}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i);});}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o){if(r.component){let a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,e,a.children);}else this.deactivateChildRoutes(n,e,i);}else o&&this.deactivateRouteAndItsChildren(e,i);}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e);}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=xd(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){let a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s});}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=xd(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null);}activateChildRoutes(n,e,i){let r=xd(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new e0(o.value.snapshot));}),n.children.length&&this.forwardEvent(new Xg(n.value.snapshot));}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(UC(r),r===o){if(r.component){let a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,a.children);}else this.activateChildRoutes(n,e,i);}else if(r.component){let a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),UC(s.route.value),this.activateChildRoutes(n,null,a.children);}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children);}else this.activateChildRoutes(n,null,i);}},o0=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1];}},wd=class{component;route;constructor(n,e){this.component=n,this.route=e;}};function R9(t,n,e){let i=t._root,r=n?n._root:null;return Lm(i,r,e,[i.value]);}function O9(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n};}function Td(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!Qk(t)?t:n.get(t):i;}function Lm(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=xd(n);return t.children.forEach(a=>{P9(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet];}),Object.entries(o).forEach(([a,s])=>zm(s,e.getContext(a),r)),r;}function P9(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=F9(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new o0(i)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Lm(t,n,s?s.children:null,i,r):Lm(t,n,e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new wd(s.outlet.component,a));}else a&&zm(n,s,r),r.canActivateChecks.push(new o0(i)),o.component?Lm(t,null,s?s.children:null,i,r):Lm(t,null,e,i,r);return r;}function F9(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Vl(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Vl(t.url,n.url)||!ia(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!JC(t,n)||!ia(t.queryParams,n.queryParams);case"paramsChange":default:return!JC(t,n);}}function zm(t,n,e){let i=xd(t),r=t.value;Object.entries(i).forEach(([o,a])=>{r.component?n?zm(a,n.children.getContext(o),e):zm(a,null,e):zm(a,n,e);}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new wd(n.outlet.component,r)):e.canDeactivateChecks.push(new wd(null,r)):e.canDeactivateChecks.push(new wd(null,r));}function Zm(t){return typeof t=="function";}function N9(t){return typeof t=="boolean";}function L9(t){return t&&Zm(t.canLoad);}function V9(t){return t&&Zm(t.canActivate);}function z9(t){return t&&Zm(t.canActivateChild);}function B9(t){return t&&Zm(t.canDeactivate);}function j9(t){return t&&Zm(t.canMatch);}function uA(t){return t instanceof La||t?.name==="EmptyError";}var Vg=Symbol("INITIAL_VALUE");function Id(){return si(t=>po(t.map(n=>n.pipe(de(1),ht(Vg)))).pipe(ue(n=>{for(let e of n)if(e!==!0){if(e===Vg)return Vg;if(e===!1||H9(e))return e;}return!0;}),Ie(n=>n!==Vg),de(1)));}function H9(t){return Fs(t)||t instanceof Sd;}function $9(t,n){return Ni(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return a.length===0&&o.length===0?se(ze(B({},e),{guardsResult:!0})):U9(a,i,r,t).pipe(Ni(s=>s&&N9(s)?q9(i,o,t,n):se(s)),ue(s=>ze(B({},e),{guardsResult:s})));});}function U9(t,n,e,i){return Vt(t).pipe(Ni(r=>K9(r.component,r.route,e,n,i)),za(r=>r!==!0,!0));}function q9(t,n,e,i){return Vt(n).pipe(Bo(r=>xs(G9(r.route.parent,i),W9(r.route,i),Q9(t,r.path,e),Y9(t,r.route,e))),za(r=>r!==!0,!0));}function W9(t,n){return t!==null&&n&&n(new Jg(t)),se(!0);}function G9(t,n){return t!==null&&n&&n(new Zg(t)),se(!0);}function Y9(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return se(!0);let r=i.map(o=>zo(()=>{let a=Qm(n)??e,s=Td(o,a),l=V9(s)?s.canActivate(n,t):ir(a,()=>s(n,t));return Ns(l).pipe(za());}));return se(r).pipe(Id());}function Q9(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>O9(a)).filter(a=>a!==null).map(a=>zo(()=>{let s=a.guards.map(l=>{let c=Qm(a.node)??e,h=Td(l,c),g=z9(h)?h.canActivateChild(i,t):ir(c,()=>h(i,t));return Ns(g).pipe(za());});return se(s).pipe(Id());}));return se(o).pipe(Id());}function K9(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return se(!0);let a=o.map(s=>{let l=Qm(n)??r,c=Td(s,l),h=B9(c)?c.canDeactivate(t,n,e,i):ir(l,()=>c(t,n,e,i));return Ns(h).pipe(za());});return se(a).pipe(Id());}function Z9(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return se(!0);let o=r.map(a=>{let s=Td(a,t),l=L9(s)?s.canLoad(n,e):ir(t,()=>s(n,e));return Ns(l);});return se(o).pipe(Id(),mA(i));}function mA(t){return Mv(vi(n=>{if(typeof n!="boolean")throw r0(t,n);}),ue(n=>n===!0));}function X9(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return se(!0);let o=r.map(a=>{let s=Td(a,t),l=j9(s)?s.canMatch(n,e):ir(t,()=>s(n,e));return Ns(l);});return se(o).pipe(Id(),mA(i));}var Wm=class{segmentGroup;constructor(n){this.segmentGroup=n||null;}},Gm=class extends Error{urlTree;constructor(n){super(),this.urlTree=n;}};function yd(t){return ys(new Wm(t));}function J9(t){return ys(new X(4e3,!1));}function e$(t){return ys(cA(!1,lr.GuardRejected));}var iw=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e;}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return se(i);if(r.numberOfChildren>1||!r.children[tt])return J9(`${n.redirectTo}`);r=r.children[tt];}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let s=e,{queryParams:l,fragment:c,routeConfig:h,url:g,outlet:b,params:_,data:x,title:T}=r,L=ir(o,()=>s({params:_,data:x,queryParams:l,fragment:c,routeConfig:h,url:g,outlet:b,title:T}));if(L instanceof ra)throw new Gm(L);e=L;}let a=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new Gm(a);return a;}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new ra(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment);}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);i[r]=e[s];}else i[r]=o;}),i;}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(n,l,i,r);}),new Ot(o,a);}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i));}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new X(4001,!1);return r;}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++;}return n;}},nw={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function t$(t,n,e,i,r){let o=pA(t,n,e);return o.matched?(i=D9(n,i),X9(i,n,e,r).pipe(ue(a=>a===!0?o:B({},nw)))):se(o);}function pA(t,n,e){if(n.path==="**")return i$(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?B({},nw):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||H2)(e,t,n);if(!r)return B({},nw);let o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path;});let a=r.consumed.length>0?B(B({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}};}function i$(t){return{matched:!0,parameters:t.length>0?U2(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}};}function z2(t,n,e,i){return e.length>0&&o$(t,e,i)?{segmentGroup:new Ot(n,r$(i,new Ot(e,t.children))),slicedSegments:[]}:e.length===0&&a$(t,e,i)?{segmentGroup:new Ot(t.segments,n$(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Ot(t.segments,t.children),slicedSegments:e};}function n$(t,n,e,i){let r={};for(let o of e)if(s0(t,n,o)&&!i[Co(o)]){let a=new Ot([],{});r[Co(o)]=a;}return B(B({},i),r);}function r$(t,n){let e={};e[tt]=n;for(let i of t)if(i.path===""&&Co(i)!==tt){let r=new Ot([],{});e[Co(i)]=r;}return e;}function o$(t,n,e){return e.some(i=>s0(t,n,i)&&Co(i)!==tt);}function a$(t,n,e){return e.some(i=>s0(t,n,i));}function s0(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path==="";}function s$(t,n,e){return n.length===0&&!t.children[e];}var rw=class{};function l$(t,n,e,i,r,o,a="emptyOnly"){return new ow(t,n,e,i,r,a,o).recognize();}var c$=31,ow=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,a,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new iw(this.urlSerializer,this.urlTree);}noMatchError(n){return new X(4002,`'${n.segmentGroup}'`);}recognize(){let n=z2(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ue(({children:e,rootSnapshot:i})=>{let r=new Er(i,e),o=new Um("",r),a=J2(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a};}));}match(n){let e=new zl([],Object.freeze({}),Object.freeze(B({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),tt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,tt,e).pipe(ue(i=>({children:i,rootSnapshot:e})),Mn(i=>{if(i instanceof Gm)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Wm?this.noMatchError(i):i;}));}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(ue(a=>a instanceof Er?[a]:[]));}processChildren(n,e,i,r){let o=[];for(let a of Object.keys(i.children))a==="primary"?o.unshift(a):o.push(a);return Vt(o).pipe(Bo(a=>{let s=i.children[a],l=E9(e,a);return this.processSegmentGroup(n,l,s,a,r);}),Rv((a,s)=>(a.push(...s),a)),Cs(null),Av(),Ni(a=>{if(a===null)return yd(i);let s=hA(a);return d$(s),se(s);}));}processSegment(n,e,i,r,o,a,s){return Vt(e).pipe(Bo(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,a,s).pipe(Mn(c=>{if(c instanceof Wm)return se(null);throw c;}))),za(l=>!!l),Mn(l=>{if(uA(l))return s$(i,r,o)?se(new rw()):yd(i);throw l;}));}processSegmentAgainstRoute(n,e,i,r,o,a,s,l){return Co(i)!==a&&(a===tt||!s0(r,o,i))?yd(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,a,l):yd(r);}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,a,s){let{matched:l,parameters:c,consumedSegments:h,positionalParamSegments:g,remainingSegments:b}=pA(e,r,o);if(!l)return yd(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>c$&&(this.allowRedirects=!1));let _=new zl(o,c,Object.freeze(B({},this.urlTree.queryParams)),this.urlTree.fragment,B2(r),Co(r),r.component??r._loadedComponent??null,r,j2(r)),x=n0(_,s,this.paramsInheritanceStrategy);_.params=Object.freeze(x.params),_.data=Object.freeze(x.data);let T=this.applyRedirects.applyRedirectCommands(h,r.redirectTo,g,_,n);return this.applyRedirects.lineralizeSegments(r,T).pipe(Ni(L=>this.processSegment(n,i,e,L.concat(b),a,!1,s)));}matchSegmentAgainstRoute(n,e,i,r,o,a){let s=t$(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),s.pipe(si(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(si(({routes:c})=>{let h=i._loadedInjector??n,{parameters:g,consumedSegments:b,remainingSegments:_}=l,x=new zl(b,g,Object.freeze(B({},this.urlTree.queryParams)),this.urlTree.fragment,B2(i),Co(i),i.component??i._loadedComponent??null,i,j2(i)),T=n0(x,a,this.paramsInheritanceStrategy);x.params=Object.freeze(T.params),x.data=Object.freeze(T.data);let{segmentGroup:L,slicedSegments:W}=z2(e,b,_,c);if(W.length===0&&L.hasChildren())return this.processChildren(h,c,L,x).pipe(ue(Y=>new Er(x,Y)));if(c.length===0&&W.length===0)return se(new Er(x,[]));let ie=Co(i)===o;return this.processSegment(h,c,L,W,ie?tt:o,!0,x).pipe(ue(Y=>new Er(x,Y instanceof Er?[Y]:[])));}))):yd(e)));}getChildConfig(n,e,i){return e.children?se({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?se({routes:e._loadedRoutes,injector:e._loadedInjector}):Z9(n,e,i,this.urlSerializer).pipe(Ni(r=>r?this.configLoader.loadChildren(n,e).pipe(vi(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector;})):e$(e))):se({routes:[],injector:n});}};function d$(t){t.sort((n,e)=>n.value.outlet===tt?-1:e.value.outlet===tt?1:n.value.outlet.localeCompare(e.value.outlet));}function u$(t){let n=t.value.routeConfig;return n&&n.path==="";}function hA(t){let n=[],e=new Set();for(let i of t){if(!u$(i)){n.push(i);continue;}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i);}for(let i of e){let r=hA(i.children);n.push(new Er(i.value,r));}return n.filter(i=>!e.has(i));}function B2(t){return t.data||{};}function j2(t){return t.resolve||{};}function m$(t,n,e,i,r,o){return Ni(a=>l$(t,n,e,i,a.extractedUrl,r,o).pipe(ue(({state:s,tree:l})=>ze(B({},a),{targetSnapshot:s,urlAfterRedirects:l}))));}function p$(t,n){return Ni(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return se(e);let o=new Set(r.map(l=>l.route)),a=new Set();for(let l of o)if(!a.has(l))for(let c of fA(l))a.add(c);let s=0;return Vt(a).pipe(Bo(l=>o.has(l)?h$(l,i,t,n):(l.data=n0(l,l.parent,t).resolve,se(void 0))),vi(()=>s++),Lc(1),Ni(l=>s===a.size?se(e):Di));});}function fA(t){let n=t.children.map(e=>fA(e)).flat();return[t,...n];}function h$(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!aA(r)&&(o[Ym]=r.title),f$(o,t,n,i).pipe(ue(a=>(t._resolvedData=a,t.data=n0(t,t.parent,e).resolve,null)));}function f$(t,n,e,i){let r=GC(t);if(r.length===0)return se({});let o={};return Vt(r).pipe(Ni(a=>g$(t[a],n,e,i).pipe(za(),vi(s=>{if(s instanceof Sd)throw r0(new Ps(),s);o[a]=s;}))),Lc(1),ue(()=>o),Mn(a=>uA(a)?Di:ys(a)));}function g$(t,n,e,i){let r=Qm(n)??i,o=Td(t,r),a=o.resolve?o.resolve(n,e):ir(r,()=>o(n,e));return Ns(a);}function qC(t){return si(n=>{let e=t(n);return e?Vt(e).pipe(ue(()=>n)):se(n);});}var lw=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===tt);return i;}getResolvedTitleForRoute(e){return e.data[Ym];}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>p(gA),providedIn:"root"});}return t;})(),gA=(()=>{class t extends lw{title;constructor(e){super(),this.title=e;}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i);}static ɵfac=function(i){return new(i||t)(te(An));};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),$l=new A("",{providedIn:"root",factory:()=>({})}),cw=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&C(0,"router-outlet");},dependencies:[ts],encapsulation:2});}return t;})();function dw(t){let n=t.children&&t.children.map(dw),e=n?ze(B({},t),{children:n}):B({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==tt&&(e.component=cw),e;}var Ul=new A(""),l0=(()=>{class t{componentLoaders=new WeakMap();childrenLoaders=new WeakMap();onLoadStartListener;onLoadEndListener;compiler=p(mg);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return se(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Ns(e.loadComponent()).pipe(ue(bA),vi(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o;}),jo(()=>{this.componentLoaders.delete(e);})),r=new vs(i,()=>new H()).pipe(Oc());return this.componentLoaders.set(e,r),r;}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return se({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=_A(i,this.compiler,e,this.onLoadEndListener).pipe(jo(()=>{this.childrenLoaders.delete(i);})),a=new vs(o,()=>new H()).pipe(Oc());return this.childrenLoaders.set(i,a),a;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function _A(t,n,e,i){return Ns(t.loadChildren()).pipe(ue(bA),Ni(r=>r instanceof Jx||Array.isArray(r)?se(r):Vt(n.compileModuleAsync(r))),ue(r=>{i&&i(t);let o,a,s=!1;return Array.isArray(r)?(a=r,s=!0):(o=r.create(e).injector,a=o.get(Ul,[],{optional:!0,self:!0}).flat()),{routes:a.map(dw),injector:o};}));}function _$(t){return t&&typeof t=="object"&&"default"in t;}function bA(t){return _$(t)?t.default:t;}var c0=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>p(b$),providedIn:"root"});}return t;})(),b$=(()=>{class t{shouldProcessUrl(e){return!0;}extract(e){return e;}merge(e,i){return e;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),uw=new A(""),mw=new A("");function vA(t,n,e){let i=t.get(mw),r=t.get(ve);return t.get(oe).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,a=new Promise(c=>{o=c;}),s=r.startViewTransition(()=>(o(),v$(t))),{onViewTransitionCreated:l}=i;return l&&ir(t,()=>l({transition:s,from:n,to:e})),a;});}function v$(t){return new Promise(n=>{ci({read:()=>setTimeout(n)},{injector:t});});}var pw=new A(""),d0=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new H();transitionAbortSubject=new H();configLoader=p(l0);environmentInjector=p(Ei);destroyRef=p(od);urlSerializer=p(jl);rootContexts=p(Hl);location=p(ta);inputBindingEnabled=p(Km,{optional:!0})!==null;titleStrategy=p(lw);options=p($l,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(c0);createViewTransition=p(uw,{optional:!0});navigationErrorHandler=p(pw,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0;}transitions;afterPreactivation=()=>se(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new Qg(r)),i=r=>this.events.next(new Kg(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0;});}complete(){this.transitions?.complete();}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ze(B({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i}));}setupNavigations(e){return this.transitions=new Qt(null),this.transitions.pipe(Ie(i=>i!==null),si(i=>{let r=!1,o=!1;return se(i).pipe(si(a=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",lr.SupersededByNewNavigation),Di;this.currentTransition=i,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?ze(B({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&l!=="reload"){let c="";return this.events.next(new oa(a.id,this.urlSerializer.serialize(a.rawUrl),c,Dd.IgnoredSameUrlNavigation)),a.resolve(!1),Di;}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return se(a).pipe(si(c=>(this.events.next(new kr(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?Di:Promise.resolve(c))),m$(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),vi(c=>{i.targetSnapshot=c.targetSnapshot,i.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=ze(B({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let h=new jm(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h);}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:c,extractedUrl:h,source:g,restoredState:b,extras:_}=a,x=new kr(c,this.urlSerializer.serialize(h),g,b);this.events.next(x);let T=rA(this.rootComponentType).snapshot;return this.currentTransition=i=ze(B({},a),{targetSnapshot:T,urlAfterRedirects:h,extras:ze(B({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,se(i);}else{let c="";return this.events.next(new oa(a.id,this.urlSerializer.serialize(a.extractedUrl),c,Dd.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Di;}}),vi(a=>{let s=new qg(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s);}),ue(a=>(this.currentTransition=i=ze(B({},a),{guards:R9(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),$9(this.environmentInjector,a=>this.events.next(a)),vi(a=>{if(i.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw r0(this.urlSerializer,a.guardsResult);let s=new Wg(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s);}),Ie(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",lr.GuardRejected),!1)),qC(a=>{if(a.guards.canActivateChecks.length!==0)return se(a).pipe(vi(s=>{let l=new Gg(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l);}),si(s=>{let l=!1;return se(s).pipe(p$(this.paramsInheritanceStrategy,this.environmentInjector),vi({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(s,"",lr.NoDataFromResolver);}}));}),vi(s=>{let l=new Yg(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l);}));}),qC(a=>{let s=l=>{let c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(vi(h=>{l.component=h;}),ue(()=>{})));for(let h of l.children)c.push(...s(h));return c;};return po(s(a.targetSnapshot.root)).pipe(Cs(null),de(1));}),qC(()=>this.afterPreactivation()),si(()=>{let{currentSnapshot:a,targetSnapshot:s}=i,l=this.createViewTransition?.(this.environmentInjector,a.root,s.root);return l?Vt(l).pipe(ue(()=>i)):se(i);}),ue(a=>{let s=k9(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=i=ze(B({},a),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,i;}),vi(()=>{this.events.next(new Hm());}),A9(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),de(1),vi({next:a=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Hn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0);},complete:()=>{r=!0;}}),Ve(this.transitionAbortSubject.pipe(vi(a=>{throw a;}))),jo(()=>{!r&&!o&&this.cancelNavigationTransition(i,"",lr.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null);}),Mn(a=>{if(this.destroyed)return i.resolve(!1),Di;if(o=!0,dA(a))this.events.next(new na(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode)),T9(a)?this.events.next(new kd(a.url,a.navigationBehaviorOptions)):i.resolve(!1);else{let s=new Ed(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);try{let l=ir(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(l instanceof Sd){let{message:c,cancellationCode:h}=r0(this.urlSerializer,l);this.events.next(new na(i.id,this.urlSerializer.serialize(i.extractedUrl),c,h)),this.events.next(new kd(l.redirectTo,l.navigationBehaviorOptions));}else throw this.events.next(s),a;}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l);}}return Di;}));}));}cancelNavigationTransition(e,i,r){let o=new na(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1);}isUpdatingInternalState(){return this.currentTran ��sition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString();}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function y$(t){return t!==Hg;}var u0=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>p(x$),providedIn:"root"});}return t;})(),a0=class{shouldDetach(n){return!1;}store(n,e){}shouldAttach(n){return!1;}retrieve(n){return null;}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig;}},x$=(()=>{class t extends a0{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),yA=(()=>{class t{urlSerializer=p(jl);options=p($l,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(ta);urlHandlingStrategy=p(c0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ra();getCurrentUrlTree(){return this.currentUrlTree;}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree;}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,a=r??o;return a instanceof ra?this.urlSerializer.serialize(a):a;}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r;}routerState=rA(null);getRouterState(){return this.routerState;}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento();}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState};}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:()=>p(C$),providedIn:"root"});}return t;})(),C$=(()=>{class t extends yA{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState();}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId;}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate");});});}handleRouterEvent(e,i){e instanceof kr?this.updateStateMemento():e instanceof oa?this.commitTransition(i):e instanceof jm?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Hm?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof na&&(e.code===lr.GuardRejected||e.code===lr.NoDataFromResolver)?this.restoreHistory(i):e instanceof Ed?this.restoreHistory(i,!0):e instanceof Hn&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId);}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||o){let s=this.browserPageId,l=B(B({},a),this.generateNgRouterState(r,s));this.location.replaceState(e,"",l);}else{let s=B(B({},a),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",s);}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId));}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,ɵrouterPageId:i}:{navigationId:e};}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function m0(t,n){t.events.pipe(Ie(e=>e instanceof Hn||e instanceof na||e instanceof Ed||e instanceof oa),ue(e=>e instanceof Hn||e instanceof oa?0:(e instanceof na?e.code===lr.Redirect||e.code===lr.SupersededByNewNavigation:!1)?2:1),Ie(e=>e!==2),de(1)).subscribe(()=>{n();});}var w$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},D$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ze=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree();}get rawUrlTree(){return this.stateManager.getRawUrlTree();}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(iC);stateManager=p(yA);options=p($l,{optional:!0})||{};pendingTasks=p(Wa);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(d0);urlSerializer=p(jl);location=p(ta);urlHandlingStrategy=p(c0);_events=new H();get events(){return this._events;}get routerState(){return this.stateManager.getRouterState();}navigated=!1;routeReuseStrategy=p(u0);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Ul,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Km,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e);}}),this.subscribeToNavigationEvents();}eventsSubscription=new Ce();subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof na&&i.code!==lr.Redirect&&i.code!==lr.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Hn)this.navigated=!0;else if(i instanceof kd){let a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=B({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||y$(r.source)},a);this.scheduleNavigation(s,Hg,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise});}}M$(i)&&this._events.next(i);}catch(r){this.navigationTransitions.transitionAbortSubject.next(r);}});this.eventsSubscription.add(e);}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e;}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Hg,this.stateManager.restoredState());}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i);});}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){let l=B({},r);delete l.navigationId,delete l.ɵrouterPageId,Object.keys(l).length!==0&&(o.state=l);}let s=this.parseUrl(e);this.scheduleNavigation(s,i,a,o);}get url(){return this.serializeUrl(this.currentUrlTree);}getCurrentNavigation(){return this.navigationTransitions.currentNavigation;}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation;}resetConfig(e){this.config=e.map(dw),this.navigated=!1;}ngOnDestroy(){this.dispose();}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe();}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a,h=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":h=B(B({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null;}h!==null&&(h=this.removeEmptyProps(h));let g;try{let b=r?r.snapshot:this.routerState.snapshot.root;g=eA(b);}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),g=this.currentUrlTree.root;}return tA(g,e,h,c??null);}navigateByUrl(e,i={skipLocationChange:!1}){let r=Fs(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Hg,null,i);}navigate(e,i={skipLocationChange:!1}){return E$(e),this.navigateByUrl(this.createUrlTree(e,i),i);}serializeUrl(e){return this.urlSerializer.serialize(e);}parseUrl(e){try{return this.urlSerializer.parse(e);}catch{return this.urlSerializer.parse("/");}}isActive(e,i){let r;if(i===!0?r=B({},w$):i===!1?r=B({},D$):r=i,Fs(e))return F2(this.currentUrlTree,e,r);let o=this.parseUrl(e);return F2(this.currentUrlTree,o,r);}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{});}scheduleNavigation(e,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,l,c;a?(s=a.resolve,l=a.reject,c=a.promise):c=new Promise((g,b)=>{s=g,l=b;});let h=this.pendingTasks.add();return m0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h));}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(g=>Promise.reject(g));}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function E$(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new X(4008,!1);}function M$(t){return!(t instanceof Hm)&&!(t instanceof kd);}var xt=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new H();constructor(e,i,r,o,a,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Hn&&this.updateHref();}):this.setTabIndexIfNotOnNativeEl("0");}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e);}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this);}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Fs(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"));}onClick(e,i,r,o,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||i||r||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l),!this.isAnchorElement;}ngOnDestroy(){this.subscription?.unsubscribe();}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:CI(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i);}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e);}get urlTree(){return this.routerLinkInput===null?null:Fs(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment});}static ɵfac=function(i){return new(i||t)(D(Ze),D(Rn),Kf("tabindex"),D(et),D(J),D(yo));};static ɵdir=z({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&S("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey);}),i&2&&ee("target",r.target);},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q],replaceUrl:[2,"replaceUrl","replaceUrl",q],routerLink:"routerLink"},features:[He]});}return t;})(),is=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive;}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new V();constructor(e,i,r,o,a){this.router=e,this.element=i,this.renderer=r,this.cdr=o,this.link=a,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof Hn&&this.update();});}ngAfterContentInit(){se(this.links.changes,se(null)).pipe(Vo()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Vt(e).pipe(Vo()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update();});}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(r=>!!r);}ngOnChanges(e){this.update();}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe();}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i);}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e));});}isLinkActive(e){let i=k$(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>{let o=r.urlTree;return o?e.isActive(o,i):!1;};}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e);}static ɵfac=function(i){return new(i||t)(D(Ze),D(J),D(et),D(pe),D(xt,8));};static ɵdir=z({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(i,r,o){if(i&1&&Ee(o,xt,5),i&2){let a;R(a=O())&&(r.links=a);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[He]});}return t;})();function k$(t){return!!t.paths;}var Xm=class{};var xA=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o,a){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=a;}setUpPreloading(){this.subscription=this.router.events.pipe(Ie(e=>e instanceof Hn),Bo(()=>this.preload())).subscribe(()=>{});}preload(){return this.processRoutes(this.injector,this.router.config);}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe();}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=pm(o.providers,e,`Route: ${o.path}`));let a=o._injector??e,s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes));}return Vt(r).pipe(Vo());}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=se(null);let o=r.pipe(Ni(a=>a===null?se(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return Vt([o,a]).pipe(Vo());}else return o;});}static ɵfac=function(i){return new(i||t)(te(Ze),te(mg),te(Ei),te(Xm),te(l0));};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),CA=new A(""),S$=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,i,r,o,a={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled";}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents();}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof kr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Hn?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof oa&&e.code===Dd.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment));});}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Md&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]));});}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Md(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i));});},0);});}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe();}static ɵfac=function(i){md();};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();function fw(t,...n){return Jc([{provide:Ul,multi:!0,useValue:t},[],{provide:Rn,useFactory:wA,deps:[Ze]},{provide:cg,multi:!0,useFactory:DA},n.map(e=>e.ɵproviders)]);}function wA(t){return t.routerState.root;}function Jm(t,n){return{ɵkind:t,ɵproviders:n};}function DA(){let t=p(Se);return n=>{let e=t.get(tr);if(n!==e.components[0])return;let i=t.get(Ze),r=t.get(EA);t.get(gw)===1&&i.initialNavigation(),t.get(SA,null,dt.Optional)?.setUpPreloading(),t.get(CA,null,dt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe());};}var EA=new A("",{factory:()=>new H()}),gw=new A("",{providedIn:"root",factory:()=>1});function MA(){let t=[{provide:gw,useValue:0},fm(()=>{let n=p(Se);return n.get(_C,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Ze),o=n.get(EA);m0(r,()=>{i(!0);}),n.get(d0).afterPreactivation=()=>(i(!0),o.closed?se(void 0):o),r.initialNavigation();}));})];return Jm(2,t);}function kA(){let t=[fm(()=>{p(Ze).setUpLocationChangeListener();}),{provide:gw,useValue:2}];return Jm(3,t);}var SA=new A("");function IA(t){return Jm(0,[{provide:SA,useExisting:xA},{provide:Xm,useExisting:t}]);}function TA(){return Jm(8,[sw,{provide:Km,useExisting:sw}]);}function AA(t){Xo("NgRouterViewTransitions");let n=[{provide:uw,useValue:vA},{provide:mw,useValue:B({skipNextTransition:!!t?.skipInitialTransition},t)}];return Jm(9,n);}var RA=[ta,{provide:jl,useClass:Ps},Ze,Hl,{provide:Rn,useFactory:wA,deps:[Ze]},l0,[]],Dt=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[RA,[],{provide:Ul,multi:!0,useValue:e},[],i?.errorHandler?{provide:pw,useValue:i.errorHandler}:[],{provide:$l,useValue:i||{}},i?.useHash?T$():A$(),I$(),i?.preloadingStrategy?IA(i.preloadingStrategy).ɵproviders:[],i?.initialNavigation?R$(i):[],i?.bindToComponentInputs?TA().ɵproviders:[],i?.enableViewTransitions?AA().ɵproviders:[],O$()]};}static forChild(e){return{ngModule:t,providers:[{provide:Ul,multi:!0,useValue:e}]};}static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({});}return t;})();function I$(){return{provide:CA,useFactory:()=>{let t=p(u2),n=p(oe),e=p($l),i=p(d0),r=p(jl);return e.scrollOffset&&t.setOffset(e.scrollOffset),new S$(r,i,t,n,e);}};}function T$(){return{provide:yo,useClass:DC};}function A$(){return{provide:yo,useClass:gg};}function R$(t){return[t.initialNavigation==="disabled"?kA().ɵproviders:[],t.initialNavigation==="enabledBlocking"?MA().ɵproviders:[]];}var hw=new A("");function O$(){return[{provide:hw,useFactory:DA},{provide:cg,multi:!0,useExisting:hw}];}var _w;try{_w=typeof Intl<"u"&&Intl.v8BreakIterator;}catch{_w=!1;}var Re=(()=>{class t{_platformId=p(Zo);isBrowser=this._platformId?EC(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||_w)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var ep;function OA(){if(ep==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ep=!0}));}finally{ep=ep||!1;}return ep;}function Ls(t){return OA()?t:!!t.capture;}var wo=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t;}(wo||{}),p0,ql;function h0(){if(ql==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ql=!1,ql;if("scrollBehavior"in document.documentElement.style)ql=!0;else{let t=Element.prototype.scrollTo;t?ql=!/\{\s*\[native code\]\s*\}/.test(t.toString()):ql=!1;}}return ql;}function Ad(){if(typeof document!="object"||!document)return wo.NORMAL;if(p0==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),p0=wo.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,p0=t.scrollLeft===0?wo.NEGATED:wo.INVERTED),t.remove();}return p0;}var bw;function PA(){if(bw==null){let t=typeof document<"u"?document.head:null;bw=!!(t&&(t.createShadowRoot||t.attachShadow));}return bw;}function vw(t){if(PA()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n;}return null;}function Do(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n;}return t;}function $n(t){return t.composedPath?t.composedPath()[0]:t.target;}function yw(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha;}function Wt(t,n,e,i,r){let o=parseInt(hC.major),a=parseInt(hC.minor);return o>19||o===19&&a>0||o===0&&a===0?t.listen(n,e,i,r):(n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r);});}var Rd,FA=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function xw(){if(Rd)return Rd;if(typeof document!="object"||!document)return Rd=new Set(FA),Rd;let t=document.createElement("input");return Rd=new Set(FA.filter(n=>(t.setAttribute("type",n),t.type===n))),Rd;}function Wl(t){return t.buttons===0||t.detail===0;}function Gl(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1);}function Un(t,n=0){return f0(t)?Number(t):arguments.length===2?n:0;}function f0(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t));}function qn(t){return t instanceof J?t.nativeElement:t;}var NA=new A("cdk-input-modality-detector-options"),LA={ignoreKeys:[18,17,224,91,16]},VA=650,Cw={passive:!0,capture:!0},zA=(()=>{class t{_platform=p(Re);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value;}_mostRecentTarget=null;_modality=new Qt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$n(e));};_onMousedown=e=>{Date.now()-this._lastTouchMs<VA||(this._modality.next(Wl(e)?"keyboard":"mouse"),this._mostRecentTarget=$n(e));};_onTouchstart=e=>{if(Gl(e)){this._modality.next("keyboard");return;}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$n(e);};constructor(){let e=p(oe),i=p(ve),r=p(NA,{optional:!0});if(this._options=B(B({},LA),r),this.modalityDetected=this._modality.pipe(gl(1)),this.modalityChanged=this.modalityDetected.pipe(Xh()),this._platform.isBrowser){let o=p(Li).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Wt(o,i,"keydown",this._onKeydown,Cw),Wt(o,i,"mousedown",this._onMousedown,Cw),Wt(o,i,"touchstart",this._onTouchstart,Cw)]);}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e());}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),tp=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t;}(tp||{}),BA=new A("cdk-focus-monitor-default-options"),g0=Ls({passive:!0,capture:!0}),ki=(()=>{class t{_ngZone=p(oe);_platform=p(Re);_inputModalityDetector=p(zA);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map();_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map();_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1);};_document=p(ve,{optional:!0});_stopInputModalityDetector=new H();constructor(){let e=p(BA,{optional:!0});this._detectionMode=e?.detectionMode||tp.IMMEDIATE;}_rootNodeFocusAndBlurListener=e=>{let i=$n(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r);};monitor(e,i=!1){let r=qn(e);if(!this._platform.isBrowser||r.nodeType!==1)return se();let o=vw(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new H(),rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject;}stopMonitoring(e){let i=qn(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r));}focusVia(e,i,r){let o=qn(e),a=this._getDocument().activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&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:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program";}_shouldBeAttributedToTouch(e){return this._detectionMode===tp.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget);}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program");}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===tp.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?VA:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r);}});}_onFocus(e,i){let r=this._elementInfo.get(i),o=$n(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r);}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null));}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i));}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,g0),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,g0);}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener);}),this._inputModalityDetector.modalityDetected.pipe(Ve(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0);}));}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,g0),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,g0),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,i),this._lastFocusOrigin=i;}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r]);}),i;}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(i))return!0;}return!1;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),ip=(()=>{class t{_elementRef=p(J);_focusMonitor=p(ki);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new V();constructor(){}get focusOrigin(){return this._focusOrigin;}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i);});}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});}return t;})();var _0=new WeakMap(),it=(()=>{class t{_appRef;_injector=p(Se);_environmentInjector=p(Ei);load(e){let i=this._appRef=this._appRef||this._injector.get(tr),r=_0.get(i);r||(r={loaders:new Set(),refs:[]},_0.set(i,r),i.onDestroy(()=>{_0.get(i)?.refs.forEach(o=>o.destroy()),_0.delete(i);})),r.l ��oaders.has(e)||(r.loaders.add(e),r.refs.push(pg(e,{environmentInjector:this._environmentInjector})));}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Hr=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
`],encapsulation:2,changeDetection:0});}return t;})();function Od(t){return Array.isArray(t)?t:[t];}var jA=new Set(),Yl,$A=(()=>{class t{_platform=p(Re);_nonce=p(sm,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):F$;}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&P$(e,this._nonce),this._matchMedia(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function P$(t,n){if(!jA.has(t))try{Yl||(Yl=document.createElement("style"),n&&Yl.setAttribute("nonce",n),Yl.setAttribute("type","text/css"),document.head.appendChild(Yl)),Yl.sheet&&(Yl.sheet.insertRule(`@media ${t} {body{ }}`,0),jA.add(t));}catch(e){console.error(e);}}function F$(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}};}var ns=(()=>{class t{_mediaMatcher=p($A);_zone=p(oe);_queries=new Map();_destroySubject=new H();constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete();}isMatched(e){return HA(Od(e)).some(r=>this._registerQuery(r).mql.matches);}observe(e){let r=HA(Od(e)).map(a=>this._registerQuery(a).observable),o=po(r);return o=xs(o.pipe(de(1)),o.pipe(gl(1),Va(0))),o.pipe(ue(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l;}),s;}));}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new qe(a=>{let s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s);};}).pipe(ht(i),ue(({matches:a})=>({query:e,matches:a})),Ve(this._destroySubject)),mql:i};return this._queries.set(e,o),o;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function HA(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim());}function N$(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0;}return!1;}var UA=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),qA=(()=>{class t{_mutationObserverFactory=p(UA);_observedElements=new Map();_ngZone=p(oe);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i));}observe(e){let i=qn(e);return new qe(r=>{let a=this._observeElement(i).pipe(ue(s=>s.filter(l=>!N$(l))),Ie(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s);});});return()=>{a.unsubscribe(),this._unobserveElement(i);};});}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new H(),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)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e);}}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),b0=(()=>{class t{_contentObserver=p(qA);_elementRef=p(J);event=new V();get disabled(){return this._disabled;}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe();}_disabled=!1;get debounce(){return this._debounce;}set debounce(e){this._debounce=Un(e),this._subscribe();}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe();}ngOnDestroy(){this._unsubscribe();}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Va(this.debounce)):e).subscribe(this.event);}_unsubscribe(){this._currentSubscription?.unsubscribe();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});}return t;})(),Pd=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[UA]});}return t;})();var v0=(()=>{class t{_platform=p(Re);constructor(){}isDisabled(e){return e.hasAttribute("disabled");}isVisible(e){return V$(e)&&getComputedStyle(e).visibility==="visible";}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=L$(W$(e));if(i&&(WA(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=WA(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!U$(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0;}isFocusable(e,i){return q$(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e));}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function L$(t){try{return t.frameElement;}catch{return null;}}function V$(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length);}function z$(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea";}function B$(t){return H$(t)&&t.type=="hidden";}function j$(t){return $$(t)&&t.hasAttribute("href");}function H$(t){return t.nodeName.toLowerCase()=="input";}function $$(t){return t.nodeName.toLowerCase()=="a";}function QA(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)));}function WA(t){if(!QA(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n;}function U$(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea";}function q$(t){return B$(t)?!1:z$(t)||j$(t)||t.hasAttribute("contenteditable")||QA(t);}function W$(t){return t.ownerDocument&&t.ownerDocument.defaultView||window;}var Dw=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled;}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor));}_enabled=!0;constructor(n,e,i,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=a,o||this.attachAnchors();}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1;}attachAnchors(){return this._hasAttached?!0:(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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)));});}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)));});}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)));});}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element);}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i;}return e.focus(n),!0;}return this.focusFirstTabbableElement(n);}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e;}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e;}hasAttached(){return this._hasAttached;}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r;}return null;}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r;}return null;}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n;}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex");}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor));}_executeOnStable(n){this._injector?ci(n,{injector:this._injector}):setTimeout(n);}},y0=(()=>{class t{_checker=p(v0);_ngZone=p(oe);_document=p(ve);_injector=p(Se);constructor(){p(it).load(Hr);}create(e,i=!1){return new Dw(e,this._checker,this._ngZone,this._document,i,this._injector);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Ew=(()=>{class t{_elementRef=p(J);_focusTrapFactory=p(y0);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1;}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e);}autoCapture;constructor(){p(Re).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0));}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null);}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus();}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors();}ngOnChanges(e){let i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus();}_captureFocus(){this._previouslyFocusedElement=Do(),this.focusTrap?.focusInitialElementWhenReady();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",q],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",q]},exportAs:["cdkTrapFocus"],features:[He]});}return t;})(),KA=new A("liveAnnouncerElement",{providedIn:"root",factory:ZA});function ZA(){return null;}var XA=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),G$=0,Ql=(()=>{class t{_ngZone=p(oe);_defaultOptions=p(XA,{optional:!0});_liveElement;_document=p(ve);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=p(KA,{optional:!0});this._liveElement=e||this._createLiveElement();}announce(e,...i){let r=this._defaultOptions,o,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;},100),this._currentPromise));}clear(){this._liveElement&&(this._liveElement.textContent="");}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${G$++}`,this._document.body.appendChild(r),r;}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e);}}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Vs=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t;}(Vs||{}),GA="cdk-high-contrast-black-on-white",YA="cdk-high-contrast-white-on-black",ww="cdk-high-contrast-active",x0=(()=>{class t{_platform=p(Re);_hasCheckedHighContrastMode;_document=p(ve);_breakpointSubscription;constructor(){this._breakpointSubscription=p(ns).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses());});}getHighContrastMode(){if(!this._platform.isBrowser)return Vs.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let 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)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Vs.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Vs.BLACK_ON_WHITE;}return Vs.NONE;}ngOnDestroy(){this._breakpointSubscription.unsubscribe();}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(ww,GA,YA),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Vs.BLACK_ON_WHITE?e.add(ww,GA):i===Vs.WHITE_ON_BLACK&&e.add(ww,YA);}}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),rs=(()=>{class t{constructor(){p(x0)._applyBodyHighContrastModeCssClasses();}static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[Pd]});}return t;})();var Mw={},Ge=(()=>{class t{_appId=p(Rl);getId(e){return this._appId!=="ng"&&(e+=this._appId),Mw.hasOwnProperty(e)||(Mw[e]=0),`${e}${Mw[e]++}`;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Y$=200,C0=class{_letterKeyStream=new H();_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new H();selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:Y$;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i);}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete();}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n;}setItems(n){this._items=n;}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e));}isTyping(){return this._pressedLetters.length>0;}reset(){this._pressedLetters=[];}_setupKeyHandler(n){this._letterKeyStream.pipe(vi(e=>this._pressedLetters.push(e)),Va(n),Ie(()=>this._pressedLetters.length>0),ue(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break;}}this._pressedLetters=[];});}};function ti(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey;}var Fd=class{_items;_activeItemIndex=-1;_activeItem=en(null);_wrap=!1;_typeaheadSubscription=Ce.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof bn?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Is(n)&&(this._effectRef=bm(()=>this._itemsChanged(n()),{injector:e}));}tabOut=new H();change=new H();skipPredicate(n){return this._skipPredicateFn=n,this;}withWrap(n=!0){return this._wrap=n,this;}withVerticalOrientation(n=!0){return this._vertical=n,this;}withHorizontalOrientation(n){return this._horizontal=n,this;}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this;}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new C0(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i);}),this;}cancelTypeahead(){return this._typeahead?.reset(),this;}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this;}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this;}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex);}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break;}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break;}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break;}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break;}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break;}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break;}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break;}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break;}else return;default:(r||ti(n,"shiftKey"))&&this._typeahead?.handleKey(n);return;}this._typeahead?.reset(),n.preventDefault();}get activeItemIndex(){return this._activeItemIndex;}get activeItem(){return this._activeItem();}isTyping(){return!!this._typeahead&&this._typeahead.isTyping();}setFirstItemActive(){this._setActiveItemByIndex(0,1);}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1);}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1);}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1);}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i);}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete();}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n);}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return;}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n);}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n);}}_getItemsArray(){return Is(this._items)?this._items():this._items instanceof bn?this._items.toArray():this._items;}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i));}}};var np=class extends Fd{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles();}};var Eo=class extends Fd{_origin="program";setFocusOrigin(n){return this._origin=n,this;}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin);}};var tR=" ";function Iw(t,n,e){let i=S0(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(tR)));}function I0(t,n,e){let i=S0(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(tR)):t.removeAttribute(n);}function S0(t,n){return t.getAttribute(n)?.match(/\S+/g)??[];}var iR="cdk-describedby-message",k0="cdk-describedby-host",Sw=0,rp=(()=>{class t{_platform=p(Re);_document=p(ve);_messageRegistry=new Map();_messagesContainer=null;_id=`${Sw++}`;constructor(){p(it).load(Hr),this._id=p(Rl)+"-"+Sw++;}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=kw(i,r);typeof i!="string"?(eR(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o);}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=kw(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o);}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null);}ngOnDestroy(){let e=this._document.querySelectorAll(`[${k0}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(k0);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear();}_createMessageElement(e,i){let r=this._document.createElement("div");eR(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(kw(e,i),{messageElement:r,referenceCount:0});}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e);}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r;}_removeCdkDescribedByReferenceIds(e){let i=S0(e,"aria-describedby").filter(r=>r.indexOf(iR)!=0);e.setAttribute("aria-describedby",i.join(" "));}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Iw(e,"aria-describedby",r.messageElement.id),e.setAttribute(k0,this._id),r.referenceCount++;}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,I0(e,"aria-describedby",r.messageElement.id),e.removeAttribute(k0);}_isElementDescribedByMessage(e,i){let r=S0(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1;}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1;}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function kw(t,n){return typeof t=="string"?`${n||""}/${t}`:t;}function eR(t,n){t.id||(t.id=`${iR}-${n}-${Sw++}`);}var K$=new A("cdk-dir-doc",{providedIn:"root",factory:Z$});function Z$(){return p(ve);}var X$=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function nR(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?X$.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr";}var St=(()=>{class t{value="ltr";change=new V();constructor(){let e=p(K$,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=nR(i||r||"ltr");}}ngOnDestroy(){this.change.complete();}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var da=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({});}return t;})();var he=(()=>{class t{constructor(){p(x0)._applyBodyHighContrastModeCssClasses();}static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[da,da]});}return t;})();var J$=["*",[["mat-toolbar-row"]]],e7=["*","mat-toolbar-row"],t7=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]});}return t;})(),dn=(()=>{class t{_elementRef=p(J);_platform=p(Re);_document=p(ve);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()));}_checkToolbarMixedModes(){this._toolbarRows.length;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&&Ee(o,t7,5),i&2){let a;R(a=O())&&(r._toolbarRows=a);}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(bt(r.color?"mat-"+r.color:""),Z("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0));},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:e7,decls:2,vars:0,template:function(i,r){i&1&&(De(J$),le(0),le(1,1));},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}
`],encapsulation:2,changeDetection:0});}return t;})();var un=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he,he]});}return t;})();var T0;function i7(){if(T0===void 0&&(T0=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(T0=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}));}return T0;}function op(t){return i7()?.createHTML(t)||t;}function rR(t){return Error(`Unable to find icon with the name "${t}"`);}function n7(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.");}function oR(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`);}function aR(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`);}var os=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i;}},lR=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map();_iconSetConfigs=new Map();_cachedIconsByUrl=new Map();_inProgressUrlFetches=new Map();_fontCssClassesByAlias=new Map();_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,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 os(r,null,o));}addSvgIconResolver(e){return this._resolvers.push(e),this;}addSvgIconLiteralInNamespace(e,i,r,o){let a=this._sanitizer.sanitize(vn.HTML,r);if(!a)throw aR(r);let s=op(a);return this._addSvgIconConfig(e,i,new os("",s,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 os(i,null,r));}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(vn.HTML,i);if(!o)throw aR(i);let a=op(o);return this._addSvgIconSetConfig(e,new os("",a,r));}registerFontClassAlias(e,i=e){retur ��n 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){let i=this._sanitizer.sanitize(vn.RESOURCE_URL,e);if(!i)throw oR(e);let r=this._cachedIconsByUrl.get(i);return r?se(A0(r)):this._loadSvgIconFromConfig(new os(e,null)).pipe(vi(o=>this._cachedIconsByUrl.set(i,o)),ue(o=>A0(o)));}getNamedSvgIcon(e,i=""){let r=sR(i,e),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);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):ys(rR(r));}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear();}_getSvgFromConfig(e){return e.svgText?se(A0(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ue(i=>A0(i)));}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return se(r);let o=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Mn(s=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(vn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),se(null);})));return zu(o).pipe(ue(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw rR(e);return a;}));}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s;}}return null;}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(vi(i=>e.svgText=i),ue(()=>this._svgElementFromConfig(e)));}_loadSvgIconSetFromConfig(e){return e.svgText?se(null):this._fetchIcon(e).pipe(vi(i=>e.svgText=i));}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(op("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r);}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r;}_toSvgElement(e){let i=this._svgElementFromString(op("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:a,value:s}=r[o];a!=="id"&&i.setAttribute(a,s);}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){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw n7();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(vn.RESOURCE_URL,i);if(!a)throw oR(i);let s=this._inProgressUrlFetches.get(a);if(s)return s;let l=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(ue(c=>op(c)),jo(()=>this._inProgressUrlFetches.delete(a)),$u());return this._inProgressUrlFetches.set(a,l),l;}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(sR(e,i),r),this;}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this;}_svgElementFromConfig(e){if(!e.svgElement){let 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++){let o=this._resolvers[r](i,e);if(o)return r7(o)?new os(o.url,null,o.options):new os(o,null);}}static ɵfac=function(i){return new(i||t)(te(Hi,8),te(Dr),te(ve,8),te(jn));};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function A0(t){return t.cloneNode(!0);}function sR(t,n){return t+":"+n;}function r7(t){return!!(t.url&&t.options);}var o7=["*"],a7=new A("MAT_ICON_DEFAULT_OPTIONS"),s7=new A("mat-icon-location",{providedIn:"root",factory:l7});function l7(){let t=p(ve),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""};}var cR=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],c7=cR.map(t=>`[${t}]`).join(", "),d7=/^url\(['"]?#(.*?)['"]?\)$/,Ae=(()=>{class t{_elementRef=p(J);_iconRegistry=p(lR);_location=p(s7);_errorHandler=p(jn);_defaultColor;get color(){return this._color||this._defaultColor;}set color(e){this._color=e;}_color;inline=!1;get svgIcon(){return this._svgIcon;}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e);}_svgIcon;get fontSet(){return this._fontSet;}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses());}_fontSet;get fontIcon(){return this._fontIcon;}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses());}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ce.EMPTY;constructor(){let e=p(new Ji("aria-hidden"),{optional:!0}),i=p(a7,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true");}_splitIconName(e){if(!e)return["",""];let 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(){let e=this._elementsWithExternalReferences;if(e&&e.size){let 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();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e);}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove();}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon);}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e;}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`);});});}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(c7),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map();for(let o=0;o<i.length;o++)cR.forEach(a=>{let s=i[o],l=s.getAttribute(a),c=l?l.match(d7):null;if(c){let h=r.get(s);h||(h=[],r.set(s,h)),h.push({name:a,value:c[1]});}});}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(de(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a));});}}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(ee("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),bt(r.color?"mat-"+r.color:""),Z("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"));},inputs:{color:"color",inline:[2,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:o7,decls:1,vars:0,template:function(i,r){i&1&&(De(),le(0));},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}
`],encapsulation:2,changeDetection:0});}return t;})(),xe=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he,he]});}return t;})();function rn(t){return t!=null&&`${t}`!="false";}function zi(t){return t==null?"":typeof t=="string"?t:`${t}px`;}var Wn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t;}(Wn||{}),Tw=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Wn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r;}fadeOut(){this._renderer.fadeOutRipple(this);}},dR=Ls({passive:!0,capture:!0}),Aw=class{_events=new Map();addHandler(n,e,i,r){let o=this._events.get(e);if(o){let a=o.get(i);a?a.add(r):o.set(i,new Set([r]));}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,dR);});}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,dR)));}_delegateEventHandler=n=>{let e=$n(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n));});};},ap={enterDuration:225,exitDuration:150},u7=800,uR=Ls({passive:!0,capture:!0}),mR=["mousedown","touchstart"],pR=["mouseup","mouseleave","touchend","touchcancel"],m7=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
`],encapsulation:2,changeDetection:0});}return t;})(),Kl=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map();_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Aw();constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=qn(i)),o&&o.get(it).load(m7);}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=B(B({},ap),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||p7(n,e,r),s=n-r.left,l=e-r.top,c=o.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=`${s-a}px`,h.style.top=`${l-a}px`,h.style.height=`${a*2}px`,h.style.width=`${a*2}px`,i.color!=null&&(h.style.backgroundColor=i.color),h.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(h);let g=window.getComputedStyle(h),b=g.transitionProperty,_=g.transitionDuration,x=b==="none"||_==="0s"||_==="0s, 0s"||r.width===0&&r.height===0,T=new Tw(this,h,i,x);h.style.transform="scale3d(1, 1, 1)",T.state=Wn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=T);let L=null;return!x&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let W=()=>{L&&(L.fallbackTimer=null),clearTimeout(Y),this._finishRippleTransition(T);},ie=()=>this._destroyRipple(T),Y=setTimeout(ie,c+100);h.addEventListener("transitionend",W),h.addEventListener("transitioncancel",ie),L={onTransitionEnd:W,onTransitionCancel:ie,fallbackTimer:Y};}),this._activeRipples.set(T,L),(x||!c)&&this._finishRippleTransition(T),T;}fadeOutRipple(n){if(n.state===Wn.FADING_OUT||n.state===Wn.HIDDEN)return;let e=n.element,i=B(B({},ap),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=Wn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n);}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut());}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut();});}setupTriggerEvents(n){let e=qn(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,mR.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this);}));}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{pR.forEach(e=>{this._triggerElement.addEventListener(e,this,uR);});}),this._pointerUpEventsRegistered=!0);}_finishRippleTransition(n){n.state===Wn.FADING_IN?this._startFadeOutTransition(n):n.state===Wn.FADING_OUT&&this._destroyRipple(n);}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Wn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut();}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Wn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove();}_onMousedown(n){let e=Wl(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+u7;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig));}_onTouchStart(n){if(!this._target.rippleDisabled&&!Gl(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)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._getActiveRipples().forEach(n=>{let e=n.state===Wn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Wn.FADING_IN;!n.config.persistent&&e&&n.fadeOut();}));}_getActiveRipples(){return Array.from(this._activeRipples.keys());}_removeTriggerEvents(){let n=this._triggerElement;n&&(mR.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(pR.forEach(e=>n.removeEventListener(e,this,uR)),this._pointerUpEventsRegistered=!1));}};function p7(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r);}var zs=new A("mat-ripple-global-options"),mn=(()=>{class t{_elementRef=p(J);_animationMode=p(Ne,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled;}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled();}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement;}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled();}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=p(oe),i=p(Re),r=p(zs,{optional:!0}),o=p(Se);this._globalOptions=r||{},this._rippleRenderer=new Kl(this,e,this._elementRef,i,o);}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:B(B(B({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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 typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,B(B({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,B(B({},this.rippleConfig),e));}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&Z("mat-ripple-unbounded",r.unbounded);},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]});}return t;})();var h7={capture:!0},f7=["focus","mousedown","mouseenter","touchstart"],Rw="mat-ripple-loader-uninitialized",Ow="mat-ripple-loader-class-name",hR="mat-ripple-loader-centered",R0="mat-ripple-loader-disabled",fR=(()=>{class t{_document=p(ve);_animationMode=p(Ne,{optional:!0});_globalRippleOptions=p(zs,{optional:!0});_platform=p(Re);_ngZone=p(oe);_injector=p(Se);_eventCleanups;_hosts=new Map();constructor(){let e=p(Li).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>f7.map(i=>Wt(e,this._document,i,this._onInteraction,h7)));}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i());}configureRipple(e,i){e.setAttribute(Rw,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(Ow))&&e.setAttribute(Ow,i.className||""),i.centered&&e.setAttribute(hR,""),i.disabled&&e.setAttribute(R0,"");}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(R0,""):e.removeAttribute(R0);}_onInteraction=e=>{let i=$n(e);if(i instanceof HTMLElement){let r=i.closest(`[${Rw}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r);}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Ow)),e.append(i);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,a=r?0:o?.animation?.enterDuration??ap.enterDuration,s=r?0:o?.animation?.exitDuration??ap.exitDuration,l={rippleDisabled:r||o?.disabled||e.hasAttribute(R0),rippleConfig:{centered:e.hasAttribute(hR),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:s}}},c=new Kl(l,this._ngZone,i,this._platform,this._injector),h=!l.rippleDisabled;h&&c.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:c,hasSetUpEvents:h}),e.removeAttribute(Rw);}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e));}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var ni=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
`],encapsulation:2,changeDetection:0});}return t;})();var g7=["mat-icon-button",""],_7=["*"];var b7=new A("MAT_BUTTON_CONFIG");var v7=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],sp=(()=>{class t{_elementRef=p(J);_ngZone=p(oe);_animationMode=p(Ne,{optional:!0});_focusMonitor=p(ki);_rippleLoader=p(fR);_isFab=!1;color;get disableRipple(){return this._disableRipple;}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled();}_disableRipple=!1;get disabled(){return this._disabled;}set disabled(e){this._disabled=e,this._updateRippleDisabled();}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){p(it).load(ni);let e=p(b7,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:o,mdcClasses:a}of v7)i.hasAttribute(o)&&r.add(...a);}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0);}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement);}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i);}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null;}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0;}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled);}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",q],disabled:[2,"disabled","disabled",q],ariaDisabled:[2,"aria-disabled","ariaDisabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]}});}return t;})();var gR=(()=>{class t extends sp{_renderer=p(et);_cleanupClick;tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents);});}ngOnDestroy(){super.ngOnDestroy(),this._cleanupClick?.();}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation());};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null;}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:ut(e)]},features:[Q]});}return t;})(),Si=(()=>{class t extends sp{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0});}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ee("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),bt(r.color?"mat-"+r.color:""),Z("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0));},exportAs:["matButton"],features:[Q],attrs:g7,ngContentSelectors:_7,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(De(),C(0,"span",0),le(1),C(2,"span",1)(3,"span",2));},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0});}return t;})();var cr=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he,he]});}return t;})();var bR=["mat-button",""],Pw=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Fw=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],y7=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat ��-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
`,x7=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`;var C7=["mat-mini-fab",""],w7=`.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display, block)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;height:var(--mdc-extended-fab-container-height, 56px);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-sys-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-sys-label-large-tracking));box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}
`,ke=(()=>{class t extends sp{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵcmp=E({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ee("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),bt(r.color?"mat-"+r.color:""),Z("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0));},exportAs:["matButton"],features:[Q],attrs:bR,ngContentSelectors:Fw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(De(Pw),C(0,"span",0),le(1),m(2,"span",1),le(3,1),u(),le(4,2),C(5,"span",2)(6,"span",3)),i&2&&Z("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab);},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat- ��filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
`],encapsulation:2,changeDetection:0});}return t;})(),Ui=(()=>{class t extends gR{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵcmp=E({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,r){i&2&&(ee("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),bt(r.color?"mat-"+r.color:""),Z("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0));},exportAs:["matButton","matAnchor"],features:[Q],attrs:bR,ngContentSelectors:Fw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(De(Pw),C(0,"span",0),le(1),m(2,"span",1),le(3,1),u(),le(4,2),C(5,"span",2)(6,"span",3)),i&2&&Z("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab);},styles:[y7,x7],encapsulation:2,changeDetection:0});}return t;})(),D7=new A("mat-mdc-fab-default-options",{providedIn:"root",factory:vR});function vR(){return{color:"accent"};}var _R=vR();var O0=(()=>{class t extends sp{_options=p(D7,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||_R,this.color=this._options.color||_R.color;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ee("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),bt(r.color?"mat-"+r.color:""),Z("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0));},exportAs:["matButton"],features:[Q],attrs:C7,ngContentSelectors:Fw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(De(Pw),C(0,"span",0),le(1),m(2,"span",1),le(3,1),u(),le(4,2),C(5,"span",2)(6,"span",3)),i&2&&Z("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab);},styles:[w7],encapsulation:2,changeDetection:0});}return t;})();var ce=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he,cr,he]});}return t;})();var E7=["determinateSpinner"];function M7(t,n){if(t&1&&(Zt(),m(0,"svg",11),C(1,"circle",12),u()),t&2){let e=y();ee("viewBox",e._viewBox()),d(),xi("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ee("r",e._circleRadius());}}var k7=new A("mat-progress-spinner-default-options",{providedIn:"root",factory:S7});function S7(){return{diameter:yR};}var yR=100,I7=10,qi=(()=>{class t{_elementRef=p(J);_noopAnimations;get color(){return this._color||this._defaultColor;}set color(e){this._color=e;}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=p(Ne,{optional:!0}),i=p(k7);this._noopAnimations=e==="NoopAnimations"&&!!i&&!i._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",i&&(i.color&&(this.color=this._defaultColor=i.color),i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth));}mode;get value(){return this.mode==="determinate"?this._value:0;}set value(e){this._value=Math.max(0,Math.min(100,e||0));}_value=0;get diameter(){return this._diameter;}set diameter(e){this._diameter=e||0;}_diameter=yR;get strokeWidth(){return this._strokeWidth??this.diameter/10;}set strokeWidth(e){this._strokeWidth=e||0;}_strokeWidth;_circleRadius(){return(this.diameter-I7)/2;}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`;}_strokeCircumference(){return 2*Math.PI*this._circleRadius();}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null;}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&$(E7,5),i&2){let o;R(o=O())&&(r._determinateCircle=o.first);}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(ee("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),bt("mat-"+r.color),xi("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),Z("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"));},inputs:{color:"color",mode:"mode",value:[2,"value","value",ut],diameter:[2,"diameter","diameter",ut],strokeWidth:[2,"strokeWidth","strokeWidth",ut]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(I(0,M7,2,8,"ng-template",null,0,zr),m(2,"div",2,1),Zt(),m(4,"svg",3),C(5,"circle",4),u()(),Ko(),m(6,"div",5)(7,"div",6)(8,"div",7),Xt(9,8),u(),m(10,"div",9),Xt(11,8),u(),m(12,"div",10),Xt(13,8),u()()()),i&2){let o=$e(1);d(4),ee("viewBox",r._viewBox()),d(),xi("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),ee("r",r._circleRadius()),d(4),v("ngTemplateOutlet",o),d(2),v("ngTemplateOutlet",o),d(2),v("ngTemplateOutlet",o);}},dependencies:[Rs],styles:[`.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
`],encapsulation:2,changeDetection:0});}return t;})();var Wi=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he]});}return t;})();var Ld=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this);}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach());}get isAttached(){return this._attachedHost!=null;}setAttachedHost(n){this._attachedHost=n;}},dr=class extends Ld{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=o;}},Gi=class extends Ld{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r;}get origin(){return this.templateRef.elementRef;}attach(n,e=this.context){return this.context=e,super.attach(n);}detach(){return this.context=void 0,super.detach();}},P0=class extends Ld{element;constructor(n){super(),this.element=n instanceof J?n.nativeElement:n;}},as=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal;}attach(n){if(n instanceof dr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Gi)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof P0)return this._attachedPortal=n,this.attachDomPortal(n);}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn();}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0;}setDisposeFn(n){this._disposeFn=n;}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null);}};var Vd=class extends as{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o;}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get($a,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy());}else{let i=this._appRef,r=n.injector||this._defaultInjector||Se.NULL,o=r.get(Ei,i.injector);e=pg(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy();});}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e;}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r);}),this._attachedPortal=n,i;}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i);});};dispose(){super.dispose(),this.outletElement.remove();}_getComponentRootNode(n){return n.hostView.rootNodes[0];}};var Nw=(()=>{class t extends Gi{constructor(){let e=p(st),i=p(kt);super(e,i);}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Q]});}return t;})();var on=(()=>{class t extends as{_moduleRef=p($a,{optional:!0});_document=p(ve);_viewContainerRef=p(kt);_isInitialized=!1;_attachedRef;constructor(){super();}get portal(){return this._attachedPortal;}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null);}attached=new V();get attachedRef(){return this._attachedRef;}ngOnInit(){this._isInitialized=!0;}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null;}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r;}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i;}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r);});};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode;}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Q]});}return t;})();var On=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({});}return t;})();var lp=class{};function cp(t){return t&&typeof t.connect=="function"&&!(t instanceof vs);}var Bs=function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t;}(Bs||{}),zd=new A("_ViewRepeater");var T7=20,Bd=(()=>{class t{_ngZone=p(oe);_platform=p(Re);_renderer=p(Li).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new H();_scrolledCount=0;scrollContainers=new Map();register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)));}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e));}scrolled(e=T7){return this._platform.isBrowser?new qe(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Nc(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0);};}):se();}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete();}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Ie(o=>!o||r.indexOf(o)>-1));}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o);}),i;}_scrollableContainsElement(e,i){let r=qn(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),dp=(()=>{class t{elementRef=p(J);scrollDispatcher=p(Bd);ngZone=p(oe);dir=p(St,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new H();_renderer=p(et);_cleanupScroll;_elementScrolled=new H();constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this);}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete();}elementScrolled(){return this._elementScrolled;}getElementRef(){return this.elementRef;}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Ad()!=wo.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Ad()==wo.INVERTED?e.left=e.right:Ad()==wo.NEGATED&&(e.l ��eft=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e);}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;h0()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left));}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:i:e=="end"&&(e=a?i:r),a&&Ad()==wo.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Ad()==wo.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft;}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});}return t;})(),A7=20,ma=(()=>{class t{_platform=p(Re);_listeners;_viewportSize;_change=new H();_document=p(ve,{optional:!0});constructor(){let e=p(oe),i=p(Li).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)];}this.change().subscribe(()=>this._viewportSize=null);});}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete();}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e;}getViewportRect(){let 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};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,s=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:s};}change(e=A7){return e>0?this._change.pipe(Nc(e)):this._change;}_getWindow(){return this._document.defaultView||window;}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0};}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Mo=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({});}return t;})(),up=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[da,Mo,da,Mo]});}return t;})();var xR=h0(),F0=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e;}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=zi(-this._previousScrollPosition.left),n.style.top=zi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0;}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),xR&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xR&&(i.scrollBehavior=o,r.scrollBehavior=a);}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width;}};var N0=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r;}attach(n){this._overlayRef,this._overlayRef=n;}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(Ie(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition();})):this._scrollSubscription=n.subscribe(this._detach);}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach());};},mp=class{enable(){}disable(){}attach(){}};function Lw(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return i||r||o||a;});}function CR(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return i||r||o||a;});}var L0=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r;}attach(n){this._overlayRef,this._overlayRef=n;}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Lw(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;}},SR=(()=>{class t{_scrollDispatcher=p(Bd);_viewportRuler=p(ma);_ngZone=p(oe);_document=p(ve);constructor(){}noop=()=>new mp();close=e=>new N0(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new F0(this._viewportRuler,this._document);reposition=e=>new L0(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),$r=class{positionStrategy;scrollStrategy=new mp();panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i]);}}};var V0=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e;}};var IR=(()=>{class t{_attachedOverlays=[];_document=p(ve);_isAttached;constructor(){}ngOnDestroy(){this.detach();}add(e){this.remove(e),this._attachedOverlays.push(e);}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach();}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),TR=(()=>{class t extends IR{_ngZone=p(oe);_renderer=p(Li).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener);}),this._isAttached=!0);}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1);}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break;}};static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),AR=(()=>{class t extends IR{_platform=p(Re);_ngZone=p(oe);_renderer=p(Li).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[Wt(this._renderer,i,"pointerdown",this._pointerDownListener,r),Wt(this._renderer,i,"click",this._clickListener,r),Wt(this._renderer,i,"auxclick",this._clickListener,r),Wt(this._renderer,i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0;}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1);}_pointerDownListener=e=>{this._pointerDownEventTarget=$n(e);};_clickListener=e=>{let i=$n(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(wR(s.overlayElement,i)||wR(s.overlayElement,r))break;let l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e);}};static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function wR(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode;}return!1;}var RR=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
`],encapsulation:2,changeDetection:0});}return t;})(),B0=(()=>{class t{_platform=p(Re);_containerElement;_document=p(ve);_styleLoader=p(it);constructor(){}ngOnDestroy(){this._containerElement?.remove();}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement;}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||yw()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove();}let i=this._document.createElement("div");i.classList.add(e),yw()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i;}_loadStyles(){this._styleLoader.load(RR);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Vw=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r);}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing");});}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove();};},Xl=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new H();_attachments=new H();_detachments=new H();_positionStrategy;_scrollStrategy;_locationChanges=Ce.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new H();_outsidePointerEvents=new H();_renders=new H();_afterRenderRef;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,l,c,h=!1,g,b){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=h,this._injector=g,this._renderer=b,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=ar(()=>Ol(()=>{this._renders.next();},{injector:this._injector}));}get overlayElement(){return this._pane;}get backdropElement(){return this._backdropRef?.element||null;}get hostElement(){return this._host;}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=ci(()=>{this.hasAttached()&&this.updatePosition();},{injector:this._injector}),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),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()));}),e;}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n;}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),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),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()));}updateSize(n){this._config=B(B({},this._config),n),this._updateElementSize();}setDirection(n){this._config=ze(B({},this._config),{direction:n}),this._updateElementDirection();}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0);}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1);}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr";}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()));}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection());}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=zi(this._config.width),n.height=zi(this._config.height),n.minWidth=zi(this._config.minWidth),n.minHeight=zi(this._config.minHeight),n.maxWidth=zi(this._config.maxWidth),n.maxHeight=zi(this._config.maxHeight);}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none";}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Vw(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e);}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n));}):this._backdropRef.element.classList.add(n);}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host);}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach();}_toggleClasses(n,e,i){let r=Od(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r));}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(Ve(At(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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()),n.unsubscribe());});});}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.();}},DR="cdk-overlay-connected-position-bounding-box",O7=/([A-Za-z%]+)$/,pp=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new H();_resizeSubscription=Ce.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions;}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n);}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(DR),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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){this.reapplyLastPosition();return;}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),c=this._getOverlayPoint(l,e,s),h=this._getOverlayFit(c,e,i,s);if(h.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return;}if(this._canFitWithFlexibleDimensions(h,c,i)){o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue;}(!a||a.overlayFit.visibleArea<h.visibleArea)&&(a={overlayFit:h,overlayPoint:c,originPoint:l,position:s,overlayRect:e});}if(o.length){let s=null,l=-1;for(let c of o){let h=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);h>l&&(l=h,s=c);}this._isPushed=!1,this._applyPosition(s.position,s.origin);return;}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return;}this._applyPosition(a.position,a.originPoint);}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe();}dispose(){this._isDisposed||(this._boundingBox&&Zl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(DR),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0);}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e);}else this.apply();}withScrollableContainers(n){return this._scrollables=n,this;}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this;}withViewportMargin(n){return this._viewportMargin=n,this;}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this;}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this;}withPush(n=!0){return this._canPush=n,this;}withLockedPosition(n=!0){return this._positionLocked=n,this;}setOrigin(n){return this._origin=n,this;}withDefaultOffsetX(n){return this._offsetX=n,this;}withDefaultOffsetY(n){return this._offsetY=n,this;}withTransformOriginOn(n){return this._transformOriginSelector=n,this;}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?a:s;}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o};}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o};}_getOverlayFit(n,e,i,r){let o=MR(e),{x:a,y:s}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let h=0-a,g=a+o.width-i.width,b=0-s,_=s+o.height-i.height,x=this._subtractOverflows(o.width,h,g),T=this._subtractOverflows(o.height,b,_),L=x*T;return{visibleArea:L,isCompletelyWithinViewport:o.width*o.height===L,fitsInViewportVertically:T===o.height,fitsInViewportHorizontally:x==o.width};}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,a=ER(this._overlayRef.getConfig().minHeight),s=ER(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||a!=null&&a<=r,c=n.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c;}return!1;}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=MR(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),h=0,g=0;return r.width<=o.width?h=c||-a:h=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?g=l||-s:g=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:h,y:g},{x:n.x+h,y:n.y+g};}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!P7(this._lastScrollVisibility,i)){let r=new V0(n,i);this._positionChanges.next(r);}this._lastScrollVisibility=i;}this._lastPosition=n,this._isInitialRender=!1;}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`;}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=n.y,o=i.height-a+this._viewportMargin;else if(e.overlayY==="bottom")s=i.height-n.y+this._viewportMargin*2,o=i.height-s+this._viewportMargin;else{let _=Math.min(i.bottom-n.y+i.top,n.y),x=this._lastBoundingBoxSize.height;o=_*2,a=n.y-_,o>x&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-x/2);}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,h,g,b;if(c)b=i.width-n.x+this._viewportMargin*2,h=n.x-this._viewportMargin;else if(l)g=n.x,h=i.right-n.x;else{let _=Math.min(i.right-n.x+i.left,n.x),x=this._lastBoundingBoxSize.width;h=_*2,g=n.x-_,h>x&&!this._isInitialRender&&!this._growAfterOpen&&(g=n.x-x/2);}return{top:a,left:g,bottom:s,right:b,width:h,height:o};}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=zi(i.height),r.top=zi(i.top),r.bottom=zi(i.bottom),r.width=zi(i.width),r.left=zi(i.left),r.right=zi(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=zi(o)),a&&(r.maxWidth=zi(a));}this._lastBoundingBoxSize=i,Zl(this._boundingBox.style,r);}_resetBoundingBoxStyles(){Zl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""});}_resetOverlayElementStyles(){Zl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""});}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let h=this._viewportRuler.getViewportScrollPosition();Zl(i,this._getExactOverlayY(e,n,h)),Zl(i,this._getExactOverlayX(e,n,h));}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=zi(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=zi(a.maxWidth):o&&(i.maxWidth="")),Zl(this._pane.style,i);}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`;}else r.top=zi(o.y);return r;}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`;}else r.left=zi(o.x);return r;}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:CR(n,i),isOriginOutsideView:Lw(n,i),isOverlayClipped:CR(e,i),isOverlayOutsideView:Lw(e,i)};}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n);}_getNarrowedViewportRect(){let n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin};}_isRtl(){return this._overlayRef.getDirection()==="rtl";}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed;}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY;}_validatePositions(){}_addPanelClasses(n){this._pane&&Od(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e));});}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n);}),this._appliedPanelClasses=[]);}_getOriginRect(){let n=this._origin;if(n instanceof J)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e};}};function Zl(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t;}function ER(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(O7);return!e||e==="px"?parseFloat(n):null;}return t||null;}function MR(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)};}function P7(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView;}var kR="cdk-global-overlay-wrapper",z0=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(kR),this._isDisposed=!1;}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignIt ��ems="flex-start",this;}left(n=""){return this._xOffset=n,this._xPosition="left",this;}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this;}right(n=""){return this._xOffset=n,this._xPosition="right",this;}start(n=""){return this._xOffset=n,this._xPosition="start",this;}end(n=""){return this._xOffset=n,this._xPosition="end",this;}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this;}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this;}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this;}centerVertically(n=""){return this.top(n),this._alignItems="center",this;}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),h=this._xPosition,g=this._xOffset,b=this._overlayRef.getConfig().direction==="rtl",_="",x="",T="";l?T="flex-start":h==="center"?(T="center",b?x=g:_=g):b?h==="left"||h==="end"?(T="flex-end",_=g):(h==="right"||h==="start")&&(T="flex-start",x=g):h==="left"||h==="start"?(T="flex-start",_=g):(h==="right"||h==="end")&&(T="flex-end",x=g),n.position=this._cssPosition,n.marginLeft=l?"0":_,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":x,e.justifyContent=T,e.alignItems=c?"flex-start":this._alignItems;}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(kR),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0;}},OR=(()=>{class t{_viewportRuler=p(ma);_document=p(ve);_platform=p(Re);_overlayContainer=p(B0);constructor(){}global(){return new z0();}flexibleConnectedTo(e){return new pp(e,this._viewportRuler,this._document,this._platform,this._overlayContainer);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Gt=(()=>{class t{scrollStrategies=p(SR);_overlayContainer=p(B0);_positionBuilder=p(OR);_keyboardDispatcher=p(TR);_injector=p(Se);_ngZone=p(oe);_document=p(ve);_directionality=p(St);_location=p(ta);_outsideClickDispatcher=p(AR);_animationsModuleType=p(Ne,{optional:!0});_idGenerator=p(Ge);_renderer=p(Li).createRenderer(null,null);_appRef;_styleLoader=p(it);constructor(){}create(e){this._styleLoader.load(RR);let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new $r(e);return a.direction=a.direction||this._directionality.value,new Xl(o,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ei),this._renderer);}position(){return this._positionBuilder;}_createPaneElement(e){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i;}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e;}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(tr)),new Vd(e,null,this._appRef,this._injector,this._document);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),F7=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],PR=new A("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Gt);return()=>t.scrollStrategies.reposition();}}),jd=(()=>{class t{elementRef=p(J);constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]});}return t;})(),j0=(()=>{class t{_overlay=p(Gt);_dir=p(St,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=Ce.EMPTY;_attachSubscription=Ce.EMPTY;_detachSubscription=Ce.EMPTY;_positionSubscription=Ce.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=p(PR);_disposeOnNavigation=!1;_ngZone=p(oe);origin;positions;positionStrategy;get offsetX(){return this._offsetX;}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position);}get offsetY(){return this._offsetY;}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position);}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation;}set disposeOnNavigation(e){this._disposeOnNavigation=e;}backdropClick=new V();positionChange=new V();attach=new V();detach=new V();overlayKeydown=new V();overlayOutsideClick=new V();constructor(){let e=p(st),i=p(kt);this._templatePortal=new Gi(e,i),this.scrollStrategy=this._scrollStrategyFactory();}get overlayRef(){return this._overlayRef;}get dir(){return this._dir?this._dir.value:"ltr";}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose();}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay());}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=F7);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!ti(i)&&(i.preventDefault(),this.detachOverlay());}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=$n(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i);});}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new $r({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i;}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector);}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e;}_getOrigin(){return this.origin instanceof jd?this.origin.elementRef:this.origin;}_getOriginElement(){return this.origin instanceof jd?this.origin.elementRef.nativeElement:this.origin instanceof J?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null;}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e);}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ws(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe();})),this.open=!0;}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1;}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",q],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",q],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",q],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",q],push:[2,"cdkConnectedOverlayPush","push",q],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",q]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[He]});}return t;})();function N7(t){return()=>t.scrollStrategies.reposition();}var L7={provide:PR,deps:[Gt],useFactory:N7},Gn=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[Gt,L7],imports:[da,On,up,up]});}return t;})();var V7=["mat-menu-item",""],z7=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],B7=["mat-icon, [matMenuItemIcon]","*"];function j7(t,n){t&1&&(Zt(),m(0,"svg",2),C(1,"polygon",3),u());}var H7=["*"];function $7(t,n){if(t&1){let e=K();m(0,"div",0),S("click",function(){M(e);let r=y();return k(r.closed.emit("click"));})("animationstart",function(r){M(e);let o=y();return k(o._onAnimationStart(r.animationName));})("animationend",function(r){M(e);let o=y();return k(o._onAnimationDone(r.animationName));})("animationcancel",function(r){M(e);let o=y();return k(o._onAnimationDone(r.animationName));}),m(1,"div",1),le(2),u()();}if(t&2){let e=y();bt(e._classList),Z("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating),v("id",e.panelId),ee("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null);}}var Bw=new A("MAT_MENU_PANEL"),Sr=(()=>{class t{_elementRef=p(J);_document=p(ve);_focusMonitor=p(ki);_parentMenu=p(Bw,{optional:!0});_changeDetectorRef=p(pe);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new H();_focused=new H();_highlighted=!1;_triggersSubmenu=!1;constructor(){p(it).load(ni),this._parentMenu?.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(){let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<i.length;r++)i[r].remove();return e.textContent?.trim()||"";}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck();}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck();}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement();}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(i,r){i&1&&S("click",function(a){return r._checkDisabled(a);})("mouseenter",function(){return r._handleMouseEnter();}),i&2&&(ee("role",r.role)("tabindex",r._getTabIndex())("aria-disabled",r.disabled)("disabled",r.disabled||null),Z("mat-mdc-menu-item-highlighted",r._highlighted)("mat-mdc-menu-item-submenu-trigger",r._triggersSubmenu));},inputs:{role:"role",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q]},exportAs:["matMenuItem"],attrs:V7,ngContentSelectors:B7,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(i,r){i&1&&(De(z7),le(0),m(1,"span",0),le(2,1),u(),C(3,"div",1),I(4,j7,2,0,":svg:svg",2)),i&2&&(d(3),v("matRippleDisabled",r.disableRipple||r.disabled)("matRippleTrigger",r._getHostElement()),d(),j(r._triggersSubmenu?4:-1));},dependencies:[mn],encapsulation:2,changeDetection:0});}return t;})();var U7=new A("MatMenuContent");var q7=new A("mat-menu-default-options",{providedIn:"root",factory:W7});function W7(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"};}var zw="_mat-menu-enter",H0="_mat-menu-exit",ur=(()=>{class t{_elementRef=p(J);_changeDetectorRef=p(pe);_injector=p(Se);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled;_allItems;_directDescendantItems=new bn();_classList={};_panelAnimationState="void";_animationDone=new H();_isAnimating=!1;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;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();}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let i=this._previousPanelClass,r=B({},this._classList);i&&i.length&&i.split(" ").forEach(o=>{r[o]=!1;}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0;}),this._elementRef.nativeElement.className=""),this._classList=r;}_previousPanelClass;get classList(){return this.panelClass;}set classList(e){this.panelClass=e;}closed=new V();close=this.closed;panelId=p(Ge).getId("mat-menu-panel-");constructor(){let e=p(q7);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop,this._animationsDisabled=p(Ne,{optional:!0})==="NoopAnimations";}ngOnInit(){this.setPositionClasses();}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Eo(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ht(this._directDescendantItems),si(e=>At(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let i=this._keyManager;if(this._panelAnimationState==="enter"&&i.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive();}});}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout);}_hovered(){return this._directDescendantItems.changes.pipe(ht(this._directDescendantItems),si(i=>At(...i.map(r=>r._hovered))));}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:ti(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return;}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=ci(()=>{let i=this._resolvePanel();if(!i||!i.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus();}},{injector:this._injector});}resetActiveItem(){this._keyManager.setActiveItem(-1);}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=ze(B({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck();}_onAnimationDone(e){let i=e===H0;(i||e===zw)&&(i&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(i?"void":"enter"),this._isAnimating=!1);}_onAnimationStart(e){(e===zw||e===H0)&&(this._isAnimating=!0);}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let i=this._resolvePanel();i&&(i.scrollTop=0);}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(H0),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?zw:H0);}),this._changeDetectorRef.markForCheck();}_updateDirectDescendants(){this._allItems.changes.pipe(ht(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges();});}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-menu"]],contentQueries:function(i,r,o){if(i&1&&(Ee(o,U7,5),Ee(o,Sr,5),Ee(o,Sr,4)),i&2){let a;R(a=O())&&(r.lazyContent=a.first),R(a=O())&&(r._allItems=a),R(a=O())&&(r.items=a);}},viewQuery:function(i,r){if(i&1&&$(st,5),i&2){let o;R(o=O())&&(r.templateRef=o.first);}},hostVars:3,hostBindings:function(i,r){i&2&&ee("aria-label",null)("aria-labelledby",null)("aria-describedby",null);},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",q],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:q(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[ye([{provide:Bw,useExisting:t}])],ngContentSelectors:H7,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(i,r){i&1&&(De(),I(0,$7,3,12,"ng-template"));},styles:[`mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}
`],encapsulation:2,changeDetection:0});}return t;})(),FR=new A("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Gt);return()=>t.scrollStrategies.reposition();}});function G7(t){return()=>t.scrollStrategies.reposition();}var Y7={provide:FR,deps:[Gt],useFactory:G7},Q7={passive:!0};var hp=new WeakMap(),pa=(()=>{class t{_overlay=p(Gt);_element=p(J);_viewContainerRef=p(kt);_menuItemInstance=p(Sr,{optional:!0,self:!0});_dir=p(St,{optional:!0});_focusMonitor=p(ki);_ngZone=p(oe);_scrollStrategy=p(FR);_changeDetectorRef=p(pe);_cleanupTouchstart;_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=Ce.EMPTY;_hoverSubscription=Ce.EMPTY;_menuCloseSubscription=Ce.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;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._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),(i==="click"||i==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i);})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()));}_menu;menuData;restoreFocus=!0;menuOpened=new V();onMenuOpen=this.menuOpened;menuClosed=new V();onMenuClose=this.menuClosed;constructor(){let e=p(Bw,{optional:!0}),i=p(et);this._parentMaterialMenu=e instanceof ur?e:void 0,this._cleanupTouchstart=Wt(i,this._element.nativeElement,"touchstart",r=>{Gl(r)||(this._openedBy="touch");},Q7);}ngAfterContentInit(){this._handleHover();}ngOnDestroy(){this.menu&&this._ownsMenu(this.menu)&&hp.delete(this.menu),this._cleanupTouchstart(),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);}get menuOpen(){return this._menuOpen;}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr";}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu);}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu();}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;this._pendingRemoval?.unsubscribe();let i=hp.get(e);hp.set(e,this),i&&i!==this&&i.closeMenu();let r=this._createOverlay(e),o=r.getConfig(),a=o.positionStrategy;this._setPosition(e,a),o.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,r.hasAttached()||(r.attach(this._getPortal(e)),e.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),e instanceof ur&&(e._setIsOpen(!0),e._directDescendantItems.changes.pipe(Ve(e.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0);}));}closeMenu(){this.menu?.close.emit();}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i);}updatePosition(){this._overlayRef?.updatePosition();}_destroyMenu(e){let i=this._overlayRef,r=this._menu;!i||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof ur&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(de(1)).subscribe(()=>{i.detach(),r.lazyContent?.detach();}),r._setIsOpen(!1)):(i.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&hp.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1));}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck());}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe(r=>{this.menu instanceof ur&&this.menu._handleKeydown(r);});}return this._overlayRef;}_getOverlayConfig(e){return new $r({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"});}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a);});});}_setPosition(e,i){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[a,s],[h,g]=[r,o],b=0;if(this.triggersSubmenu()){if(g=r=e.xPosition==="before"?"start":"end",o=h=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let _=this._parentMaterialMenu.items.first;this._parentInnerPadding=_?_._getHostElement().offsetTop:0;}b=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding;}}else e.overlapTrigger||(l=a==="top"?"bottom":"top",c=s==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:h,overlayY:a,offsetY:b},{originX:o,originY:l,overlayX:g,overlayY:a,offsetY:b},{originX:r,originY:c,overlayX:h,overlayY:s,offsetY:-b},{originX:o,originY:c,overlayX:g,overlayY:s,offsetY:-b}]);}_menuClosingActions(){let e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:se(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ie(a=>this._menuOpen&&a!==this._menuItemInstance)):se();return At(e,r,o,i);}_handleMousedown(e){Wl(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault());}_handleKeydown(e){let i=e.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(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().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&(this._openedBy="mouse",this.openMenu());}));}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Gi(e.templateRef,this._viewContainerRef)),this._portal;}_ownsMenu(e){return hp.get(e)===this;}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({ty ��pe:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&S("click",function(a){return r._handleClick(a);})("mousedown",function(a){return r._handleMousedown(a);})("keydown",function(a){return r._handleKeydown(a);}),i&2&&ee("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null);},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]});}return t;})(),ha=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[Y7],imports:[cr,he,Gn,Mo,he]});}return t;})(),NR={transformMenu:{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null}},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},fadeInItems:{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null}},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}},Rxe=NR.fadeInItems,Oxe=NR.transformMenu;var K7=["tooltip"],jw=20;var Hw=new A("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Gt);return()=>t.scrollStrategies.reposition({scrollThrottle:jw});}});function zR(t){return()=>t.scrollStrategies.reposition({scrollThrottle:jw});}var BR={provide:Hw,deps:[Gt],useFactory:zR};function jR(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500};}var HR=new A("mat-tooltip-default-options",{providedIn:"root",factory:jR});var LR="tooltip-panel",VR=Ls({passive:!0}),Z7=8,X7=8,J7=24,eU=200,Et=(()=>{class t{_elementRef=p(J);_ngZone=p(oe);_platform=p(Re);_ariaDescriber=p(rp);_focusMonitor=p(ki);_dir=p(St);_injector=p(Se);_viewContainerRef=p(kt);_defaultOptions=p(HR,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=$R;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position;}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()));}get positionAtOrigin(){return this._positionAtOrigin;}set positionAtOrigin(e){this._positionAtOrigin=rn(e),this._detach(),this._overlayRef=null;}get disabled(){return this._disabled;}set disabled(e){let i=rn(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message));}get showDelay(){return this._showDelay;}set showDelay(e){this._showDelay=Un(e);}_showDelay;get hideDelay(){return this._hideDelay;}set hideDelay(e){this._hideDelay=Un(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay);}_hideDelay;touchGestures="auto";get message(){return this._message;}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i);}_message="";get tooltipClass(){return this._tooltipClass;}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass);}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new H();_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=Z7;}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ve(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0));});}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,VR);}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e);}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return;}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new dr(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Ve(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e);}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()));}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e);}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible();}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof J)return this._overlayRef;this._detach();}let i=this._injector.get(Bd).getAncestorScrollContainers(this._elementRef),r=this._injector.get(Gt),o=r.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ve(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0));}),this._overlayRef=r.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${LR}`,scrollStrategy:this._injector.get(Hw)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ve(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ve(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ve(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!ti(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)));}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ve(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef);})),this._overlayRef;}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null;}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(B(B({},r.main),o.main)),this._addOffset(B(B({},r.fallback),o.fallback))]);}_addOffset(e){let i=X7,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-8:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-8:i:e.originX==="end"&&(e.offsetX=r?i:-8),e;}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}};}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}};}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),ci(()=>{this._tooltipInstance&&this._overlayRef.updatePosition();},{injector:this._injector}));}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck());}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i};}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=i==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${LR}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a);}this._currentPosition=a;}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i);}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r);},this._defaultOptions?.touchLongPressShowDelay??o);}])),this._addListeners(this._passiveListeners));}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide();}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&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,VR);});}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID;}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(ve).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide();}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent";}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||ci({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip");}},{injector:this._injector}));}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&Z("mat-mdc-tooltip-disabled",r.disabled);},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]});}return t;})(),$R=(()=>{class t{_changeDetectorRef=p(pe);_elementRef=p(J);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new H();_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=p(Ne,{optional:!0});this._animationsDisabled=e==="NoopAnimations";}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0;},e);}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0;},e);}afterHidden(){return this._onHide;}isVisible(){return this._isVisible;}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null;}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0);}_markForCheck(){this._changeDetectorRef.markForCheck();}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1));}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck();}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>J7&&e.width>=eU;}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation);}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0;}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next();}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0);}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e));}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&$(K7,7),i&2){let o;R(o=O())&&(r._tooltip=o.first);}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&S("mouseleave",function(a){return r._handleMouseLeave(a);});},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=K();m(0,"div",1,0),S("animationend",function(s){return M(o),k(r._handleAnimationEnd(s));}),m(2,"div",2),f(3),u()();}i&2&&(Z("mdc-tooltip--multiline",r._isMultiline),v("ngClass",r.tooltipClass),d(3),w(r.message));},dependencies:[wr],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
`],encapsulation:2,changeDetection:0});}return t;})(),Xe=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[BR],imports:[rs,Gn,he,he,Mo]});}return t;})();var UR=(()=>{class t{constructor(e){this.localeId=e,this.english="Anglais",this.french="Fran\xE7ais",this.spanish="Espagnol",this.languages=[],this.languages.push({name:this.english,path:"en-US",abbreviation:"en",color:"#ffb6c1"}),this.languages.push({name:this.spanish,path:"es",abbreviation:"es",color:"#87cefa"}),this.languages.push({name:this.french,path:"fr",abbreviation:"fr",color:"#20b2aa"}),this.languages=this.getLanguages(),this.activeLanguage=this.getLanguageByPath(this.localeId);}getLanguages(){return this.languages;}getActiveLanguage(){return this.activeLanguage;}setActiveLanguage(e){this.activeLanguage=e;}getDefaultLanguage(){return this.getLanguageByPath("en-US");}getLanguageByPath(e){let i=this.languages.find(r=>r.path===e);return i||(console.log("language by path not found"),this.languages[0]);}getLanguageByAbbreviation(e){let i=this.languages.find(r=>r.abbreviation.toLowerCase()===e.toLowerCase());return i||(console.log("language by abbreviation not found"),this.languages[0]);}static{this.ɵfac=function(i){return new(i||t)(te(As));};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();function iU(t,n){if(t&1){let e=K();m(0,"div")(1,"button",7),S("click",function(){let r=M(e).$implicit,o=y();return k(o.selectLanguage(r));}),m(2,"span"),f(3),u(),m(4,"span",8),f(5),u()()();}if(t&2){let e=n.$implicit,i=y();d(),v("disabled",i.menuItemDisabled(e)),d(),pd("language-abbr language-option lang-option-",e.abbreviation,""),d(),w(e.abbreviation),d(2),w(e.name);}}var qR=(()=>{class t{constructor(e){this.langService=e,this.toolTipMsg="S\xE9lectionner une Langue",this.unableToSelect="Incapable de s\xE9lectionner la langue.",this.languages=[];}ngOnInit(){this.languages=this.langService.getLanguages();}menuItemDisabled(e){return this.langService.getActiveLanguage().path===e.path;}selectLanguage(e){let i=window.location.pathname,r=this.langService.getActiveLanguage().path,o="/"+r+"/",a=i.indexOf(o);if(a===-1){alert(this.unableToSelect),this.langService.setActiveLanguage(e);return;}let s=i.substring(0,a)+"/"+e.path+i.substring(a+r.length+1);window.location.replace(s);}static{this.ɵfac=function(i){return new(i||t)(D(UR));};}static{this.ɵcmp=E({type:t,selectors:[["language-picker"]],decls:8,vars:4,consts:[["pickerMenu","matMenu"],["id","language-selector"],["mat-icon-button","","id","selector-button",3,"matTooltip","matMenuTriggerFor"],["id","abbr-container",1,"flex-center"],[1,"language-abbr"],["id","language-picker-menu"],[4,"ngFor","ngForOf"],["mat-menu-item","",1,"language-button",3,"click","disabled"],[1,"language-name"]],template:function(i,r){if(i&1&&(m(0,"span",1)(1,"button",2)(2,"span",3)(3,"span",4),f(4),u()()(),m(5,"mat-menu",5,0),I(7,iU,6,6,"div",6),u()()),i&2){let o=$e(6);d(),v("matTooltip",r.toolTipMsg)("matMenuTriggerFor",o),d(3),w(r.langService.getActiveLanguage().abbreviation),d(3),v("ngForOf",r.languages);}},dependencies:[U,ei,ce,Si,ha,ur,Sr,pa,xe,Xe,Et],styles:[".language-abbr[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-weight:700;height:25px}.language-option[_ngcontent-%COMP%]{border-radius:50%;padding:5px;margin-right:10px;border:1px solid var(--mat-sys-on-surface)}"]});}}return t;})();function nU(t,n){}var js=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext;};var Uw=(()=>{class t extends as{_elementRef=p(J);_focusTrapFactory=p(y0);_config;_interactivityChecker=p(v0);_ngZone=p(oe);_overlayRef=p(Xl);_focusMonitor=p(ki);_renderer=p(et);_platform=p(Re);_document=p(ve,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=p(pe);_injector=p(Se);_isDestroyed=!1;constructor(){super(),this._config=p(js,{optional:!0})||new js(),this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy);}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck();}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck());}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus();}_captureInitialFocus(){this._trapFocus();}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus();}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i;}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i;}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i;};_recaptureFocus(){this._containsFocus()||this._trapFocus();}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex");},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r);})),e.focus(i);}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i);}_trapFocus(e){this._isDestroyed||ci(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break;}},{injector:this._injector});}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Do(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus());}this._focusTrap&&this._focusTrap.destroy();}_focusDialogContainer(e){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(e);}_containsFocus(){let e=this._elementRef.nativeElement,i=Do();return e===i||e.contains(i);}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Do()));}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus();});}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&$(on,7),i&2){let o;R(o=O())&&(r._portalOutlet=o.first);}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&ee("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null);},features:[Q],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&I(0,nU,0,0,"ng-template",0);},dependencies:[on],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
`],encapsulation:2});}return t;})(),gp=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new H();backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!ti(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}));}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"});}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close();});}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null;}}updatePosition(){return this.overlayRef.updatePosition(),this;}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this;}addPanelClass(n){return this.overlayRef.addPanelClass(n),this;}removePanelClass(n){return this.overlayRef.removePanelClass(n),this;}},rU=new A("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=p(Gt);return()=>t.scrollStrategies.block();}}),oU=new A("DialogData"),aU=new A("DefaultDialogConfig");var qw=(()=>{class t{_overlay=p(Gt);_injector=p(Se);_defaultOptions=p(aU,{optional:!0});_parentDialog=p(t,{optional:!0,skipSelf:!0});_overlayContainer=p(B0);_idGenerator=p(Ge);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new H();_afterOpenedAtThisLevel=new H();_ariaHiddenElements=new Map();_scrollStrategy=p(rU);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel;}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel;}afterAllClosed=zo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ht(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new js();i=B(B({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),a=this._overlay.create(o),s=new gp(a,i),l=this._attachContainer(a,s,i);return s.containerInstance=l,this._attachDialogContent(e,s,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s;}closeAll(){$w(this.openDialogs,e=>e.close());}getDialogById(e){return this.openDialogs.find(i=>i.id===e);}ngOnDestroy(){$w(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1);}),$w(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[];}_getOverlayConfig(e){let i=new $r({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),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,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i;}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:js,useValue:r},{provide:gp,useValue:i},{provide:Xl,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=Uw;let l=new dr(s,r.viewContainerRef,Se.create({parent:o||this._injector,providers:a}));return e.attach(l).instance;}_attachDialogContent(e,i,r,o){if(e instanceof st){let a=this._createInjector(o,i,r,void 0),s={$implicit:o.data,dialogRef:i};o.templateContext&&(s=B(B({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Gi(e,null,s,a));}else{let a=this._createInjector(o,i,r,this._injector),s=r.attachComponentPortal(new dr(e,o.viewContainerRef,a));i.componentRef=s,i.componentInstance=s.instance;}}_createInjector(e,i,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:oU,useValue:e.data},{provide:gp,useValue:i}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(St,null,{optional:!0}))&&s.push({provide:St,useValue:{value:e.direction,change:se()}}),Se.create({parent:a||o,providers:s});}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden");}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()));}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"));}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel;}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function $w(t,n){let e=t.length;for(;e--;)n(t[e]);}var WR=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[qw],imports:[Gn,On,rs,On]});}return t;})();function sU(t,n){}var bp=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0; ��backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration;},Ww="mdc-dialog--open",GR="mdc-dialog--opening",YR="mdc-dialog--closing",lU=150,cU=75,ZR=(()=>{class t extends Uw{_animationMode=p(Ne,{optional:!0});_animationStateChanged=new V();_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?KR(this._config.enterAnimationDuration)??lU:0;_exitAnimationDuration=this._animationsEnabled?KR(this._config.exitAnimationDuration)??cU:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation();}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(QR,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(GR,Ww)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ww),Promise.resolve().then(()=>this._finishDialogOpen()));}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ww),this._animationsEnabled?(this._hostElement.style.setProperty(QR,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(YR)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose());}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck();}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration);};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration});};_clearAnimationClasses(){this._hostElement.classList.remove(GR,YR);}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e);}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e();});}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus();}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e});}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer);}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i;}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵcmp=E({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(Mi("id",r._config.id),ee("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Z("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0));},features:[Q],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(m(0,"div",0)(1,"div",1),I(2,sU,0,0,"ng-template",2),u()());},dependencies:[on],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
`],encapsulation:2});}return t;})(),QR="--mat-dialog-transition-duration";function KR(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Un(t.substring(0,t.length-2)):t.endsWith("s")?Un(t.substring(0,t.length-1))*1e3:t==="0"?0:null;}var _p=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t;}(_p||{}),Lt=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new H();_beforeClosed=new H();_result;_closeFallbackTimeout;_state=_p.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(Ie(r=>r.state==="opened"),de(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete();}),i._animationStateChanged.pipe(Ie(r=>r.state==="closed"),de(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose();}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose();}),At(this.backdropClick(),this.keydownEvents().pipe(Ie(r=>r.keyCode===27&&!this.disableClose&&!ti(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),Gw(this,r.type==="keydown"?"keyboard":"mouse"));});}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Ie(e=>e.state==="closing"),de(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100);}),this._state=_p.CLOSING,this._containerInstance._startExitAnimation();}afterOpened(){return this._afterOpened;}afterClosed(){return this._ref.closed;}beforeClosed(){return this._beforeClosed;}backdropClick(){return this._ref.backdropClick;}keydownEvents(){return this._ref.keydownEvents;}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this;}updateSize(n="",e=""){return this._ref.updateSize(n,e),this;}addPanelClass(n){return this._ref.addPanelClass(n),this;}removePanelClass(n){return this._ref.removePanelClass(n),this;}getState(){return this._state;}_finishDialogClose(){this._state=_p.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null;}};function Gw(t,n,e){return t._closeInteractionType=n,t.close(e);}var Yt=new A("MatMdcDialogData"),XR=new A("mat-mdc-dialog-default-options"),JR=new A("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Gt);return()=>t.scrollStrategies.block();}});var ri=(()=>{class t{_overlay=p(Gt);_defaultOptions=p(XR,{optional:!0});_scrollStrategy=p(JR);_parentDialog=p(t,{optional:!0,skipSelf:!0});_idGenerator=p(Ge);_dialog=p(qw);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new H();_afterOpenedAtThisLevel=new H();dialogConfigClass=bp;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel;}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel;}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel;}afterAllClosed=zo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ht(void 0)));constructor(){this._dialogRefConstructor=Lt,this._dialogContainerType=ZR,this._dialogDataToken=Yt;}open(e,i){let r;i=B(B({},this._defaultOptions||new bp()),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,ze(B({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:js,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(a,s,l)=>(r=new this._dialogRefConstructor(a,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next());}),r;}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();}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close();}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Ii=(()=>{class t{dialogRef=p(Lt,{optional:!0});_elementRef=p(J);_dialog=p(ri);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=tO(this._elementRef,this._dialog.openDialogs));}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue);}_onButtonClick(e){Gw(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult);}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&S("click",function(a){return r._onButtonClick(a);}),i&2&&ee("aria-label",r.ariaLabel||null)("type",r.type);},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[He]});}return t;})(),eO=(()=>{class t{_dialogRef=p(Lt,{optional:!0});_elementRef=p(J);_dialog=p(ri);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=tO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd();});}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove();});}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t});}return t;})(),oi=(()=>{class t extends eO{id=p(Ge).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id);}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id);}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&Mi("id",r.id);},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Q]});}return t;})(),ai=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[fT([dp])]});}return t;})(),ui=(()=>{class t extends eO{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1);}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1);}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&Z("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end");},inputs:{align:"align"},features:[Q]});}return t;})();function tO(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null;}var vt=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[ri],imports:[WR,Gn,On,he,he]});}return t;})();var fa=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this.data=i,this.router=r,this.title="Modifications non enregistr\xE9es",this.saveChangesMsg="Vous avez des modifications non enregistr\xE9es. Continuer quand m\xEAme ?",this.cancelMsg="Annuler",this.continueMsg="Continuer",this.newTab="Nouvel onglet",this.destinationUrl="",this.navigation=void 0;}ngOnInit(){this.destinationUrl=this.data.destinationUrl||"",this.navigation=this.data.navigation||void 0;}navigate(){this.navigation?this.router.navigate(this.navigation):this.destinationUrl?window.open(this.destinationUrl,"_self"):console.warn("unable to navigate."),this.dialogRef.close();}navigateNewTab(){this.dialogRef.close(),window.open(this.destinationUrl,"_blank");}static{this.ɵfac=function(i){return new(i||t)(D(Lt),D(Yt),D(Ze));};}static{this.ɵcmp=E({type:t,selectors:[["unsaved-changes-dialog"]],decls:13,vars:5,consts:[[1,"modal-content"],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","","mat-dialog-close",""],["mat-button","",3,"click"]],template:function(i,r){i&1&&(m(0,"div",0)(1,"h1",1),f(2),u(),m(3,"div",2)(4,"p"),f(5),u()(),m(6,"div",3)(7,"button",4),f(8),u(),m(9,"button",5),S("click",function(){return r.navigate();}),f(10),u(),m(11,"button",5),S("click",function(){return r.navigateNewTab();}),f(12),u()()()),i&2&&(d(2),w(r.title),d(3),w(r.saveChangesMsg),d(3),w(r.cancelMsg),d(2),w(r.continueMsg),d(2),w(r.newTab));},dependencies:[vt,Ii,oi,ui,ai,ce,ke,U],encapsulation:2});}}return t;})();var ct=(()=>{class t{constructor(e){this.http=e,console.log("environment - ",gd);}demoMode(){return window.self!==window.top;}fetchSite(){let e=new lt({"Content-Type":"application/json"}),i={data:window.location.host},r=gd.apiUrl+"/site";return this.http.post(r,i,{headers:e});}static{this.ɵfac=function(i){return new(i||t)(te(Hi));};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var Fn=(()=>{class t{constructor(){this.changes=new Map();}set(e,i){console.log("set unsaved changes key:",e),this.changes.set(e,i);}unset(e){this.changes.delete(e),console.log("unset unsaved changes key:",e);}clear(){this.changes.clear();}hasUnsavedChanges(){return this.changes.size>0;}static{this.ɵfac=function(i){return new(i||t)();};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var ga=(()=>{class t{constructor(e,i){this.http=e,this.site=i,this.baseUrl=this.site.site.wpHost+"/wp-json/wp/v2";}isLoggedIn(e){let i=new lt({"Content-Type":"application/json",Authorization:`Bearer ${e}`}),r=this.site.site.wpHost+"/wp-json/jwt-auth/v1/token/validate";return this.http.post(r,{},{withCredentials:!1,headers:i}).pipe(ue(o=>({loggedIn:o.success,user:o.data})),Mn(o=>se({loggedIn:!1,error:o.message})));}getLoginToken(e,i){let r=new lt({"Content-Type":"application/json"}),o={username:e,password:i,site:window.location.host},a=this.site.site.apiHost+"/login/";return this.http.post(a,o,{headers:r});}createPost(e,i,r,o,a="pending"){let s=new lt({"Content-Type":"application/json",Authorization:`Bearer ${e}`}),l="";r.forEach(g=>{l+='<div class="chat-message">',l+=g,l+="</div><br />";});let c={title:i,content:l,status:a},h=this.site.site.wpHost+"/wp-json/wp/v2/posts";return o&&(h+="/"+o,console.log("update post")),this.http.post(h,c,{headers:s});}fetchRecentContent(e){let i=this.baseUrl+"/posts?_embed&per_page=5",r=this.site.site.wpPostCategories;return r&&(i+=`&categories=${r}`),this.http.get(i);}fetchNews(e){let i=this.baseUrl+"/posts?_embed&per_page=4",r=this.site.site.wpNewsCategories;return r&&(i+=`&categories=${r}`),this.http.get(i);}fetchFeaturedImages(e){return this.http.get(this.baseUrl+"/media?per_page=12&media_type=image");}getPostJsonFromUrl(e){console.log("fetch post at",e);let i="";return this.http.get(e);}fetchArticle(e,i){let r=new lt({"Content-Type":"application/json",Authorization:`Bearer ${e}`});return this.http.get(this.baseUrl+"/posts/"+i);}decodeHtmlEntities(e){let i=document.createElement("textarea");return i.innerHTML=e,i.textContent||"";}convertWpPosts(e){let i=[],r=[];return e.forEach(o=>{let a={id:o.id,date:o.date,date_gmt:o.date_gmt,guid:{rendered:o.guid.rendered},modified:o.modified,modified_gmt:o.modified_gmt,slug:o.slug,status:o.status,type:o.type,link:o.link,title:{rendered:o.title.rendered},content:{rendered:o.content.rendered,protected:o.content.protected},excerpt:{rendered:o.excerpt.rendered,protected:o.excerpt.protected},author:o.author,featured_media:o.featured_media,comment_status:o.comment_status,ping_status:o.ping_status,sticky:o.sticky,template:o.template,format:o.format,meta:{footnotes:o.meta.footnotes},categories:[],tags:[],_links:{},_embedded:o._embedded};i.push(a);}),i.forEach(o=>{let a={title:o.title.rendered,url:o.link,imageUrl:"",fullImageUrl:"",excerpt:this.decodeHtmlEntities(o.excerpt.rendered),date:o.modified,author:o._embedded.author[0].name,category:o._embedded["wp:term"]?o._embedded["wp:term"][0][0].name:"Uncategorized"};o._embedded["wp:featuredmedia"]&&o._embedded["wp:featuredmedia"][0].media_details&&(a.imageUrl=o._embedded["wp:featuredmedia"][0].media_details.sizes.thumbnail.source_url,a.fullImageUrl=o._embedded["wp:featuredmedia"][0].source_url),a.title=this.decodeHtmlEntities(a.title);let s=new Date(a.date),l=new Intl.DateTimeFormat("en-US",{month:"long",day:"numeric",year:"numeric"}).format(s);a.date=l,r.push(a);}),r;}static{this.ɵfac=function(i){return new(i||t)(te(Hi),te(ct));};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var Nn=(()=>{class t{constructor(e){this.wp=e,this.sharedDrupalId="e2b59604-0148-4eb2-bd29-6959171fe159";}doLogin(e,i){return this.wp.getLoginToken(e,i);}isLoggedIn(){return!!this.user;}logout(){this.user=void 0;}static{this.ɵfac=function(i){return new(i||t)(te(ga));};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var iO=(()=>{class t{constructor(e,i,r,o,a){this.router=e,this.site=i,this.unsavedChanges=r,this.dialog=o,this.userService=a,this.LogoutEvent=new V(),this.settingsTxt="Param\xE8tres",this.imagesTxt="Images",this.charactersTxt="G\xE9rer les personnages",this.widgetsTxt="G\xE9rer les widgets",this.helpTxt="Centre d'aide",this.navLabel="Menu de navigation",this.chat="Discussion",this.newTab="Nouveau Chatbot",this.manageContent="G\xE9rer le contenu",this.logoutTxt="D\xE9connexion",this.wpHostName="";}ngOnInit(){let e=this.site.site.wpHost,i=e.indexOf("//");console.assert(i!==-1,"invalid index"),this.wpHostName=e.substring(i+2);}logout(){console.log("logout"),this.userService.logout(),this.LogoutEvent.emit(!0);}goToSettings(){this.router.navigate(["/settings"]);}openInNewTab(){window.open(window.location.href,"_blank");}getHost(){return window.location.hostname;}returnToSite(){window.open("/");}goToCms(e){let i=e==="wordpress"?this.site.site.wpHost:this.site.site.drupalHost;this.unsavedChanges.hasUnsavedChanges()?this.dialog.open(fa,{width:"350px",enterAnimationDuration:"500ms",exitAnimationDuration:"300ms",hasBackdrop:!0,disableClose:!1,data:{destinationUrl:i}}):window.open(i,"_self");}static{this.ɵfac=function(i){return new(i||t)(D(Ze),D(ct),D(Fn),D(ri),D(Nn));};}static{this.ɵcmp=E({type:t,selectors:[["cb-header-links"]],outputs:{LogoutEvent:"LogoutEvent"},decls:55,vars:22,consts:[["menu","matMenu"],["id","links-menu-trigger","mat-icon-button","","aria-label","navigation menu",3,"matMenuTriggerFor"],[1,"header-links-menu"],["mat-menu-item","",3,"routerLink","disabled"],["mat-menu-item","",3,"click","disabled"],["mat-menu-item","",3,"click"]],template:function(i,r){if(i&1){let o=K();m(0,"button",1)(1,"mat-icon"),f(2,"more_vert"),u()(),m(3,"mat-menu",2,0)(5,"a",3)(6,"mat-icon"),f(7,"question_answer"),u(),m(8,"span"),f(9),u()(),m(10,"a",3)(11,"mat-icon"),f(12,"image"),u(),m(13,"span"),f(14),u()(),m(15,"a",3)(16,"mat-icon"),f(17,"people"),u(),m(18,"span"),f(19),u()(),m(20,"a",3)(21,"mat-icon"),f(22,"widgets"),u(),m(23,"span"),f(24),u()(),m(25,"a",3)(26,"mat-icon"),f(27,"help"),u(),m(28,"span"),f(29),u()(),m(30,"button",4),S("click",function(){return M(o),k(r.goToSettings());}),m(31,"mat-icon"),f(32,"settings"),u(),m(33,"span"),f(34),u()(),m(35,"button",5),S("click",function(){return M(o),k(r.openInNewTab());}),m(36,"mat-icon"),f(37,"open_in_new"),u(),m(38,"span"),f(39),u()(),m(40,"button",5),S("click",function(){return M(o),k(r.goToCms("wordpress"));}),m(41,"mat-icon"),f(42,"keyboard_return"),u(),m(43,"span"),f(44),u()(),m(45,"button",5),S("click",function(){return M(o),k(r.goToCms("drupal"));}),m(46,"mat-icon"),f(47,"dataset"),u(),m(48,"span"),f(49),u()(),m(50,"button",5),S("click",function(){return M(o),k(r.logout());}),m(51,"mat-icon"),f(52,"logout"),u(),m(53,"span"),f(54),u()()();}if(i&2){let o=$e(4);v("matMenuTriggerFor",o),d(5),v("routerLink","/chat")("disabled",r.router.url==="/chat"),d(4),w(r.chat),d(),v("routerLink","/image")("disabled",r.router.url==="/image"),d(4),w(r.imagesTxt),d(),v("routerLink","/characters")("disabled",r.router.url==="/characters"),d(4),w(r.charactersTxt),d(),v("routerLink","/chat/widget-manager")("disabled",r.router.url==="/chat/widget-manager"),d(4),w(r.widgetsTxt),d(),v("routerLink","/help")("disabled",r.router.url==="/help"),d(4),w(r.helpTxt),d(),v("disabled",r.router.url==="/settings"),d(4),w(r.settingsTxt),d(5),w(r.newTab),d(5),w(r.wpHostName),d(5),w(r.manageContent),d(5),w(r.logoutTxt);}},dependencies:[U,Dt,xt,xe,Ae,ha,ur,Sr,pa,ce,Si,vt],encapsulation:2});}}return t;})();var q0=(()=>{class t{constructor(){if(this.palettes=[],this.site=p(ct),this.addAll(),this.addIds(),this.site.demoMode())this.activePalette=this.palettes[7];else if(window.sessionStorage.getItem("palette")){let e=this.palettes.find(i=>i.color+i.id===window.sessionStorage.getItem("palette"));e?(this.activePalette=e,document.body.classList.toggle("dark-mode",this.activePalette.mode==="Dark")):(console.warn("palette not found in session storage."),this.activePalette=this.palettes[0]);}else this.activePalette=this.palettes[8];this.activate(this.activePalette);}activate(e){let i=document.body,r="cb-palette-";document.body.classList.remove(r+this.activePalette.color),this.activePalette=e,document.body.classList.add(r+this.activePalette.color),window.sessionStorage.setItem("palette",this.activePalette.color+this.activePalette.id),i.classList.toggle("dark-mode",this.activePalette.mode==="Dark");}addIds(){this.palettes.forEach((e,i)=>{e.id=i;});}addAll(){this.add({color:"green",name:"Green",mode:"Dark"}),this.add({color:"yellow",name:"Yellow",mode:"Dark"}),this.add({color:"cyan",name:"Cyan",mode:"Dark"}),this.add({color:"magenta",name:"Magenta",mode:"Dark"}),this.add({color:"orange",name:"Orange",mode:"Dark"}),this.add({color:"chartreuse",name:"Chartreuse",mode:"Dark"}),this.add({color:"spring-green",name:"Spring Green",mode:"Dark"}),this.add({color:"azure",name:"Azure",mode:"Dark"}),this.add({color:"violet",name:"Violet",mode:"Dark"}),this.add({color:"rose",name:"Rose",mode:"Dark"}),this.add({color:"red",name:"Red",mode:"Dark"}),this.add({color:"green",name:"Green",mode:"Light"}),this.add({color:"blue",name:"Blue",mode:"Light"}),this.add({color:"yellow",name:"Yellow",mode:"Light"}),this.add({color:"cyan",name:"Cyan",mode:"Light"}),this.add({color:"magenta",name:"Magenta",mode:"Light"}),this.add({color:"orange",name:"Orange",mode:"Light"}),this.add({color:"chartreuse",name:"Chartreuse",mode:"Light"}),this.add({color:"spring-green",name:"Spring Green",mode:"Light"}),this.add({color:"azure",name:"Azure",mode:"Light"}),this.add({color:"violet",name:"Violet",mode:"Light"}),this.add({color:"rose",name:"Rose",mode:"Light"}),this.add({color:"red",name:"Red",mode:"Light"}),this.add({color:"blue",name:"Blue",mode:"Dark"});}add(e){this.palettes.push(e);}static{this.ɵfac=function(i){return new(i||t)();};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();function uU(t,n){if(t&1){let e=K();m(0,"div")(1,"button",4),S("click",function(){let r=M(e).$implicit,o=y();return k(o.selectPalette(r));}),m(2,"mat-icon"),f(3,"text_fields"),u(),m(4,"span",5),f(5),u()()();}if(t&2){let e=n.$implicit;d(2),IT("palette-icon ",e.mode.toLowerCase()," ",e.id,""),d(3),xr("",e.name," (",e.mode,")");}}var nO=(()=>{class t{constructor(){this.helpStr="S\xE9lectionnez une couleur de th\xE8me.",this.selectPaletteEvent=new V(),this.paletteService=p(q0);}selectPalette(e){console.log("palette is ",e),this.selectPaletteEvent.emit(e);}static{this.ɵfac=function(i){return new(i||t)();};}static{this.ɵcmp=E({type:t,selectors:[["cb-palette-picker"]],outputs:{selectPaletteEvent:"selectPaletteEvent"},decls:8,vars:2,consts:[["menu",""],["id","palette-picker"],["mat-icon-button","","aria-label","palette picker",3,"matTooltip","matMenuTriggerFor"],["id","palette-picker-menu"],["mat-menu-item","",1,"palette-button",3,"click"],[1,"palette"]],template:function(i,r){if(i&1&&(m(0,"span",1)(1,"button",2)(2,"mat-icon"),f(3,"format_color_fill"),u()(),m(4,"mat-menu",3,0),Ut(6,uU,6,6,"div",null,rr),u()()),i&2){let o=$e(5);d(),v("matTooltip",r.helpStr)("matMenuTriggerFor",o),d(5),qt(r.paletteService.palettes);}},dependencies:[xe,Ae,ce,Si,Xe,Et,ha,ur,Sr,pa],styles:[".cb-palette-1[_ngcontent-%COMP%]{background-color:#fff;color:#026e00}.cb-palette-2[_ngcontent-%COMP%]{background-color:#121212}.cb-palette-3[_ngcontent-%COMP%]{background-color:#cdcd00;color:#121212}.cb-palette-4[_ngcontent-%COMP%]{background-color:#121212;color:#cdcd00}"]});}}return t;})();var W0=function(t){return t._1024x1024="1024x1024",t._1792x1024="1792x1024",t._1024x1792="1024x1792",t;}(W0||{}),G0=function(t){return t.standard="standard",t.hd="hd",t;}(G0||{}),Y0=function(t){return t.vivid="vivid",t.natural="natural",t;}(Y0||{}),jt=(()=>{class t{static{this.sNextID=0;}constructor(){this.id=0,this.userId=1,this.endpoint=ae.unknown,this.body="",this.bodyOriginal="",this.id=t.sNextID++;}}return t;})(),ae=function(t){return t.unknown="unknown",t.chat="chat",t.chatAlt="chatAlt",t.ancientPhilosophy="ancientPhilosophy",t.jokes="jokes",t.topTen="topTen",t.imageGenerate="imageGenerate",t.imageEdit="imageEdit",t.imageVariations="imageVariations",t.openaimodels="openaimodels",t.characters="characters",t.imagePrompts="imagePrompts",t.toFrench="toFrench",t.toSpanish="toSpanish",t.chatStream="chatStream",t.home="home",t.chemicalElements="chemicalElements",t.socrates="socrates",t.particlePhysics="particlePhysics",t.blackjack="blackjack",t.pythonTutor="pythonTutor",t.mlTutor="mlTutor",t.dynamicWidget="dynamicWidget",t.character="character",t;}(ae||{}),Pt=function(t){return t[t.human=0]="human",t[t.ai=1]="ai",t[t.unknown=2]="unknown",t;}(Pt||{});var Ur=(()=>{class t{constructor(e){this.site=e,this.homeCards=[],this.textCards=[],this.imageCards=[],this.helpCards=[],this.homeCards=[{id:"chat",title:"Discussion",subtitle:"Widgets AI int\xE9gr\xE9s",description:"Une collection de widgets de chat IA g\xE9n\xE9raux et sp\xE9cialis\xE9s. Tous les widgets ici utilisent des Mod\xE8les de Langage de Grande Taille (LLMs).",icon:"question_answer",quickLinks:[{name:"Posez-moi n'importe quoi",href:"/chat/ask-me-anything",tooltip:"Discussion \xE0 usage g\xE9n\xE9ral"},{name:"Blagues",href:"chat/jokes",tooltip:"Une blague diff\xE9rente \xE0 �� chaque fois !"},{name:"\xC9l\xE9ments Chimiques",href:"chat/chemical-elements",tooltip:"Informations et quiz interactif sur les \xE9l\xE9ments chimiques."},{name:"Physique des particules",href:"chat/particle-physics",tooltip:"Informations et quiz interactifs sur les particules subatomiques."},{name:"Blackjack",href:"chat/blackjack",tooltip:"Jouez au blackjack. Le chatbot est le croupier."},{name:"Python Tutor",href:"chat/python-tutor",tooltip:"Apprenez et soyez interrog\xE9 sur divers sujets Python"},{name:"Tuteur ML",href:"chat/ml-tutor",tooltip:"Apprenez et testez vos connaissances sur les techniques et biblioth\xE8ques de machine learning."},{name:"Philosophie Ancienne",href:"/chat/ancient-philosophy",tooltip:"Paroles de sagesse, principalement des philosophes anciens de l'Ouest et de l'Est."},{name:"Socrate",href:"chat/socrates",tooltip:"Mesurez votre esprit avec Socrate."},{name:"En Espa\xF1ol",href:"/chat/to-spanish",tooltip:"Traducir al espa\xF1ol"},{name:"En Fran\xE7ais",href:"/chat/to-french",tooltip:"Traduire en fran\xE7ais"},{name:"Voir tout",href:"/chat",tooltip:"Explorer les widgets int\xE9gr\xE9s"}],link:{name:"Voir le tableau de bord",href:"/chat"},weight:1,enabled:!0,hidden:!1,dynamic:!0},{id:"images",title:"Images",subtitle:"Widgets de texte en image",description:"Utilisez les widgets ici pour cr\xE9er des images \xE0 partir de texte. Des variations, l'\xE9dition, le t\xE9l\xE9chargement, le t\xE9l\xE9chargement, la gestion des invites et d'autres fonctionnalit\xE9s sont \xE9galement disponibles.",icon:"photo_library",quickLinks:[{name:"Tableau de bord",href:"/image",tooltip:"Explorez les widgets d'image"},{name:"Cr\xE9er",href:"image/generate",tooltip:"G\xE9n\xE9rer des images \xE0 partir de texte."},{name:"Modifier",href:"image/edit",tooltip:"Effectuer des corrections d'image (Inpaint) et \xE9tendre une image (Outpaint) en utilisant des masques d'image."},{name:"Variations",href:"image/variations",tooltip:"Cr\xE9er des variantes sur les images."},{name:"Instructions",href:"image/prompts",tooltip:"Cr\xE9ez facilement des instructions sophistiqu\xE9es pour les images."}],link:{name:"Voir le tableau de bord",href:"image"},weight:2,enabled:!0,hidden:!1,dynamic:!0},{id:"characters",title:"Personnages",subtitle:"Personnages IA g\xE9r\xE9s par l'utilisateur",description:"",icon:"people",link:{name:"G\xE9rer les personnages",href:"characters"},weight:3,enabled:!0,hidden:!1,dynamic:!0},{id:"widgets",title:"Widgets",subtitle:"Widgets g\xE9r\xE9s par l'utilisateur",description:"",icon:"widgets",link:{name:"G\xE9rer les widgets",href:"chat/widget-manager"},weight:4,enabled:!0,hidden:!1,dynamic:!0},{id:"recent",title:"Contenu r\xE9cent",subtitle:"Articles et images sauvegard\xE9s",description:"",icon:"calendar_today",link:{name:"Voir tout",href:"about"},quickLinks:[{name:"Parcourir les publications",href:this.site.site.wpHost+"/wp-admin/edit.php",tooltip:"Parcourir les publications dans le CMS.",external:!0},{name:"Parcourir les Images",href:this.site.site.wpHost+"/wp-admin/upload.php",tooltip:"Parcourir toutes les images dans le CMS.",external:!0}],weight:5,enabled:!0,hidden:!0,dynamic:!0},{id:"news",title:"Actualit\xE9s",subtitle:"Derni\xE8res nouvelles",description:"",icon:"newspaper",quickLinks:[{name:"Toutes les Nouvelles",href:this.site.site.wpHost,tooltip:"Parcourir le CMS.",external:!0}],link:{name:"Toutes les Nouvelles",href:""},weight:6,enabled:!0,hidden:!0,dynamic:!0},{id:"help",title:"Centre d'aide",subtitle:"Informations sur le site",description:"En savoir plus sur notre chatbot et obtenir un support technique.",icon:"help",link:{name:"Voir les sujets d'aide",href:"help"},weight:10,enabled:!0,hidden:!1,dynamic:!1}],this.imageCards=[{title:"Cr\xE9er",subtitle:"Widget d'image",description:"Cr\xE9er des images \xE0 partir de descriptions textuelles. Options de t\xE9l\xE9chargement et autres disponibles.",icon:"add_photo_alternate",link:{name:"Commencez ici !",href:"/image/generate"},weight:0,enabled:!0,hidden:!1,routeKey:ae.imageGenerate,dynamic:!1},{title:"Modifier",subtitle:"Widget d'image",description:"Am\xE9liorez les r\xE9gions d'une image en fonction d'une description textuelle.",icon:"auto_fix_high",link:{name:"C'est parti !",href:"/image/edit"},weight:1,enabled:!0,hidden:!1,routeKey:ae.imageEdit,dynamic:!1},{title:"Variations",subtitle:"Widget d'image",description:"T\xE9l\xE9chargez une image et obtenez des variations bas\xE9es sur votre image originale.",icon:"burst_mode",link:{name:"Tr\xE8s bien !",href:"/image/variations"},weight:2,enabled:!0,hidden:!1,routeKey:ae.imageVariations,dynamic:!1},{title:"Instructions",subtitle:"Widget d'image",description:"G\xE9n\xE9rez des consignes d\xE9taill\xE9es pour cr\xE9er des images.",icon:"auto_awesome",link:{name:"G\xE9n\xE9rer des consignes",href:"/image/prompts"},weight:3,enabled:!0,hidden:!1,routeKey:ae.imagePrompts,dynamic:!1}],this.textCards=[{title:"Posez-moi n'importe quoi",subtitle:"Widget de Chat",description:"Ce widget de chat est polyvalent et utilise des API d'IA (OpenAI). Il est capable de r\xE9aliser des choses incroyables, y compris l'\xE9criture de code et de po\xE9sie, r\xE9pondre \xE0 des questions de math\xE9matiques et d'histoire, et bien plus encore. L'API est form\xE9e avec des donn\xE9es jusqu'\xE0 environ un an auparavant.",icon:"wechat",link:{name:"Essayez-le !",href:"/chat/ask-me-anything"},help:"Posez n'importe quelle question et fournissez des d\xE9tails lorsque cela est appropri\xE9. Le chatbot prendra en compte tous les messages dans la conversation actuelle (c'est-\xE0-dire sur cette page) lorsqu'il r\xE9pondra.",weight:1,enabled:!0,hidden:!1,routeKey:ae.chat,dynamic:!1},{title:"Posez-moi n'importe quoi (GPT 3.5)",subtitle:"Widget de Chat",description:"Cette application de chat polyvalente est bas\xE9e sur GPT 3.5 Turbo. Ce widget est nettement plus rapide que le widget principal \"Demandez-moi n'importe quoi\", mais fonctionne principalement de la m\xEAme mani\xE8re.",icon:"wechat",link:{name:"Parlons !",href:"/chat/ask-me-anything-alt"},weight:2,enabled:!1,hidden:!1,routeKey:ae.chatAlt,dynamic:!1},{title:"Blagues",subtitle:"Widget de Chat",description:"Entrez un sujet et obtenez une nouvelle blague \xE0 chaque fois.",icon:"mic_external_on",link:{name:"Fais-moi rire",href:"/chat/jokes"},weight:3,enabled:!0,hidden:!1,routeKey:ae.jokes,dynamic:!1},{title:"\xC9l\xE9ments Chimiques",subtitle:"Widget de Chat",description:"Informations et quiz interactif sur les \xE9l\xE9ments du tableau p\xE9riodique.",icon:"science",link:{name:"Essayez-le !",href:"/chat/chemical-elements"},weight:4,enabled:!0,hidden:!1,routeKey:ae.chemicalElements,dynamic:!1},{title:"Physique des particules",subtitle:"Widget de Chat",description:"Informations et quiz interactifs sur les particules subatomiques.",icon:"bolt",link:{name:"Essayez-le !",href:"/chat/particle-physics"},weight:5,enabled:!0,hidden:!0,routeKey:ae.particlePhysics,dynamic:!1},{title:"Blackjack",subtitle:"Widget de Chat",description:"Jouez au blackjack contre le chatbot.",icon:"table_bar",link:{name:"Jouer maintenant",href:"/chat/blackjack"},weight:6,enabled:!0,hidden:!1,routeKey:ae.blackjack,dynamic:!1},{title:"Python Tutor",subtitle:"Widget de Chat",description:"Apprenez sur Python et soyez interrog\xE9 par un chatbot.",icon:"school",link:{name:"Apprenez Python",href:"/chat/python-tutor"},weight:7,enabled:!0,hidden:!1,routeKey:ae.pythonTutor,dynamic:!1},{title:"Tuteur ML",subtitle:"Widget de Chat",description:"Apprenez les techniques et biblioth\xE8ques de machine learning. Testez vos connaissances avec le chatbot.",icon:"engineering",link:{name:"\xC9tudier le ML maintenant",href:"/chat/ml-tutor"},weight:8,enabled:!0,hidden:!1,routeKey:ae.mlTutor,dynamic:!1},{title:"Philosophie Ancienne",subtitle:"Widget IA",description:"Paroles de sagesse des philosophes anciens. La plupart des citations proviennent de philosophes anciens occidentaux et orientaux, mais vous verrez \xE9galement des citations d'autres p\xE9riodes et sources.",icon:"library_books",link:{name:"Allez-y",href:"/chat/ancient-philosophy"},weight:9,enabled:!0,hidden:!1,routeKey:ae.ancientPhilosophy,dynamic:!1},{title:"Socrate",subtitle:"Chat de texte",description:"Ce widget est une d\xE9monstration interactive de la m\xE9thode socratique.",icon:"wine_bar",link:{name:"R\xE9fl\xE9chir",href:"/chat/socrates"},help:"Conversez avec le grand Socrate.",weight:10,enabled:!0,hidden:!1,routeKey:ae.socrates,dynamic:!1},{title:"En Espa\xF1ol",subtitle:"Chat de texte",description:"Ce widget bas\xE9 sur du texte est configur\xE9 pour se traduire facilement en espagnol depuis n'importe quelle langue.",icon:"translate",link:{name:"Traduire maintenant",href:"/chat/to-spanish"},help:"Le chatbot prendra en compte tous les messages de la conversation actuelle (c'est-\xE0-dire sur cette page) lors de sa r\xE9ponse.",weight:11,enabled:!0,hidden:!1,routeKey:ae.toSpanish,dynamic:!1},{title:"En Fran\xE7ais",subtitle:"Chat de texte",description:"Ce widget bas\xE9 sur du texte est configur\xE9 pour se traduire facilement en fran\xE7ais depuis n'importe quelle langue.",icon:"translate",link:{name:"Traduire maintenant",href:"/chat/to-french"},help:"Le chatbot prendra en compte tous les messages de la conversation actuelle (c'est-\xE0-dire sur cette page) lors de sa r\xE9ponse.",weight:12,enabled:!0,hidden:!1,routeKey:ae.toFrench,dynamic:!1},{title:"Gestionnaire de personnages",subtitle:"G\xE9rer vos personnages",description:"Cr\xE9er, modifier et utiliser des personnages.",icon:"face",link:{name:"G\xE9rer les personnages",href:"/characters"},weight:13,enabled:!0,hidden:!1,dynamic:!1},{title:"Gestionnaire de widget",subtitle:"Widget d'IA \xE9troite",description:"Cr\xE9ez, modifiez et utilisez des widgets d'IA \xE9troite.",icon:"widgets",link:{name:"G\xE9rer les widgets",href:"/chat/widget-manager"},weight:14,enabled:!0,hidden:!1,dynamic:!1},{title:"Dix meilleurs",subtitle:"Widget de Chat",description:"Entrez un sujet et obtenez une liste des dix faits int\xE9ressants.",icon:"123",link:{name:"Allons-y !",href:"/chat/topten"},weight:15,enabled:!1,hidden:!1,routeKey:ae.topTen,dynamic:!1},{title:"Personnage",subtitle:"Widget de Chat",description:"Entrez le texte et cliquez sur envoyer pour commencer les communications.",icon:"person",link:{name:"Rencontrer",href:"/chat/character"},weight:16,enabled:!0,hidden:!0,routeKey:ae.character,dynamic:!1}],this.helpCards=[{id:"about",title:"Sur",subtitle:"Informations sur le site",description:"",icon:"info",weight:7,enabled:!0,hidden:!1,dynamic:!0},{id:"support",title:"Soutien",subtitle:"Informations sur le site",description:"",icon:"contact_support",weight:8,enabled:!0,hidden:!1,dynamic:!0},{id:"api",title:"Statut",subtitle:"Informations sur l'API",description:"Disponibilit\xE9 de statut et de mod\xE8le.",icon:"api",quickLinks:[{name:"Voir tout",href:"models"}],link:{name:"Voir tout",href:"models"},weight:9,enabled:!0,hidden:!1,dynamic:!0}],this.homeCards.sort(this.sortByWeight),this.textCards.sort(this.sortByWeight),this.imageCards.sort(this.sortByWeight),this.helpCards.sort(this.sortByWeight);}sortByWeight(e,i){return e.weight<i.weight?-1:e.weight>i.weight?1:0;}scrollToBottom(){let e=document.getElementsByTagName("cb-prompter")[0];e&&e.scrollIntoView({behavior:"auto",block:"center"});}static{this.ɵfac=function(i){return new(i||t)(te(ct));};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var Hs=(()=>{class t{constructor(){}get(e){let i=localStorage.getItem(e);if(i!==null){let r=JSON.parse(i);if(new Date(r.expirationDate)>new Date())return r.value;localStorage.removeItem(e);}return null;}set(e,i,r=60){let o=new Date(new Date().getTime()+6e4*r),a={value:i,expirationDate:o.toISOString()};localStorage.setItem(e,JSON.stringify(a));}remove(e){localStorage.removeItem(e);}static{this.ɵfac=function(i){return new(i||t)();};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();function mU(t,n){t&1&&C(0,"div",2);}var pU=new A("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var aO=(()=>{class t{_elementRef=p(J);_ngZone=p(oe);_changeDetectorRef=p(pe);_renderer=p(et);_cleanupTransitionEnd;_animationMode=p(Ne,{optional:!0});constructor(){let e=p(pU,{optional:!0});this._isNoopAnimation=this._animationMode==="NoopAnimations",e&&(e.color&&(this.color=this._defaultColor=e.color),this.mode=e.mode||this.mode);}_isNoopAnimation=!1;get color(){return this._color||this._defaultColor;}set color(e){this._color=e;}_color;_defaultColor="primary";get value(){return this._value;}set value(e){this._value=oO(e||0),this._changeDetectorRef.markForCheck();}_value=0;get bufferValue(){return this._bufferValue||0;}set bufferValue(e){this._bufferValue=oO(e||0),this._changeDetectorRef.markForCheck();}_bufferValue=0;animationEnd=new V();get mode(){return this._mode;}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck();}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler);});}ngOnDestroy(){this._cleanupTransitionEnd?.();}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`;}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`;}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query";}_transitionendHandler=e=>{this.animationEnd.observers.length===0||!e.target||!e.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}));};static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,r){i&2&&(ee("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),bt("mat-"+r.color),Z("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()));},inputs:{color:"color",value:[2,"value","value",ut],bufferValue:[2,"bufferValue","bufferValue",ut],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,r){i&1&&(m(0,"div",0),C(1,"div",1),I(2,mU,1,0,"div",2),u(),m(3,"div",3),C(4,"span",4),u(),m(5,"div",5),C(6,"span",4),u()),i&2&&(d(),xi("flex-basis",r._getBufferBarFlexBasis()),d(),j(r.mode==="buffer"?2:-1),d(),xi("transform",r._getPrimaryBarTransform()));},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}
`],encapsulation:2,changeDetection:0});}return t;})();function oO(t,n=0,e=100){return Math.max(n,Math.min(e,t));}var _a=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he]});}return t;})();var sO={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};function fU(t,n){if(t&1){let e=K();m(0,"div",1)(1,"button",2),S("click",function(){M(e);let r=y();return k(r.action());}),f(2),u()();}if(t&2){let e=y();d(2),F(" ",e.data.action," ");}}var gU=["label"];function _U(t,n){}var bU=Math.pow(2,31)-1,yp=class{_overlayRef;instance;containerInstance;_afterDismissed=new H();_afterOpened=new H();_onAction=new H();_durationTimeoutId;_dismissedByAction=!1;constructor(n,e){this._overlayRef=e,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss());}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId);}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId);}closeWithAction(){this.dismissWithAction();}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,bU));}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete());}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1;}afterDismissed(){return this._afterDismissed;}afterOpened(){return this.containerInstance._onEnter;}onAction(){return this._onAction;}},cO=new A("MatSnackBarData"),Hd=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom";},vU=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]});}return t;})(),yU=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]});}return t;})(),xU=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]});}return t;})(),dO=(()=>{class t{snackBarRef=p(yp);data=p(cO);constructor(){}action(){this.snackBarRef.dismissWithAction();}get hasAction(){return!!this.data.action;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(m(0,"div",0),f(1),u(),I(2,fU,3,1,"div",1)),i&2&&(d(),F(" ",r.data.message,`
`),d(),j(r.hasAction?2:-1));},dependencies:[ke,vU,yU,xU],styles:[`.mat-mdc-simple-snack-bar{display:flex}
`],encapsulation:2,changeDetection:0});}return t;})(),Yw="_mat-snack-bar-enter",Qw="_mat-snack-bar-exit",CU=(()=>{class t extends as{_ngZone=p(oe);_elementRef=p(J);_changeDetectorRef=p(pe);_platform=p(Re);_rendersRef;_animationsDisabled=p(Ne,{optional:!0})==="NoopAnimations";snackBarConfig=p(Hd);_document=p(ve);_trackedModals=new Set();_enterFallback;_exitFallback;_renders=new H();_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new H();_onExit=new H();_onEnter=new H();_animationState="void";_live;_label;_role;_liveElementId=p(Ge).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Ol(()=>this._renders.next(),{manualCleanup:!0});}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i;}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i;}attachDomPortal=e=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),i;};onAnimationEnd(e){e===Qw?this._completeExit():e===Yw&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete();}));}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?this._renders.pipe(de(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Yw)));}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Yw);},200)));}exit(){return this._destroyed?se(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?this._renders.pipe(de(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Qw)));}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Qw),200));}),this._onExit);}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy();}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete();});}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(a=>e.classList.add(a)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,o="mdc-snackbar__label";r.classList.toggle(o,!r.querySelector(`.${o}`));}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");this._trackedModals.add(o),a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e);}}_clearFromModals(){this._trackedModals.forEach(e=>{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns");}}),this._trackedModals.clear();}_assertNotAttached(){this._portalOutlet.hasAttached();}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,i=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(i&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(o=document.activeElement),i.removeAttribute("aria-hidden"),r.appendChild(i),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete();}},this._announceDelay);});}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&($(on,7),$(gU,7)),i&2){let o;R(o=O())&&(r._portalOutlet=o.first),R(o=O())&&(r._label=o.first);}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,r){i&1&&S("animationend",function(a){return r.onAnimationEnd(a.animationName);})("animationcancel",function(a){return r.onAnimationEnd(a.animationName);}),i&2&&Z("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled);},features:[Q],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(m(0,"div",1)(1,"div",2,0)(3,"div",3),I(4,_U,0,0,"ng-template",4),u(),C(5,"div"),u()()),i&2&&(d(5),ee("aria-live",r._live)("role",r._role)("id",r._liveElementId));},dependencies:[on],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar- ��surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
`],encapsulation:2});}return t;})();function wU(){return new Hd();}var DU=new A("mat-snack-bar-default-options",{providedIn:"root",factory:wU}),an=(()=>{class t{_overlay=p(Gt);_live=p(Ql);_injector=p(Se);_breakpointObserver=p(ns);_parentSnackBar=p(t,{optional:!0,skipSelf:!0});_defaultConfig=p(DU);_snackBarRefAtThisLevel=null;simpleSnackBarComponent=dO;snackBarContainerComponent=CU;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel;}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e;}constructor(){}openFromComponent(e,i){return this._attach(e,i);}openFromTemplate(e,i){return this._attach(e,i);}open(e,i="",r){let o=B(B({},this._defaultConfig),r);return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o);}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss();}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss();}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=Se.create({parent:r||this._injector,providers:[{provide:Hd,useValue:i}]}),a=new dr(this.snackBarContainerComponent,i.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=i,s.instance;}_attach(e,i){let r=B(B(B({},new Hd()),this._defaultConfig),i),o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new yp(a,o);if(e instanceof st){let l=new Gi(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l);}else{let l=this._createInjector(r,s),c=new dr(e,void 0,l),h=a.attachComponentPortal(c);s.instance=h.instance;}return this._breakpointObserver.observe(sO.HandsetPortrait).pipe(Ve(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches);}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness);}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef;}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear();}),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter();}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter();}_createOverlay(e){let i=new $r();i.direction=e.direction;let r=this._overlay.position().global(),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,s=!a&&e.horizontalPosition!=="center";return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i);}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Se.create({parent:r||this._injector,providers:[{provide:yp,useValue:i},{provide:cO,useValue:e.data}]});}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var $s=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[an],imports:[Gn,On,ce,he,dO,he]});}return t;})();var ss=(()=>{class t{constructor(e,i,r,o){this.http=e,this.site=i,this._snackBar=r,this.user=o,this.cancelRequest$=new H();}sendFapiMessage(e,i,r){if(r||(r="You are a helpful assistant."),e.d3RequestData)return this.createD3Image(e.d3RequestData);let o={endpoint:e.endpoint,options:e.options||{},userId:e.userId,conversation:i,msg:e.body,prompt:e.body,instructions:r,temperature:e.temperature||"",maskBase64:e.maskBase64||"",croppedBase64:e.croppedBase64||"",imageCount:e.imageCount||"",imageSize:e.imageSize||"",devHost:this.site.site.drupalHost,sourceImage:e.images?e.images[0]:""};switch(console.log("send msg: ",o),e.endpoint){case ae.imageGenerate:return this.createImage(o);case ae.imageVariations:return this.createImageVariations(o);case ae.imageEdit:return this.createImageEdits(o);default:throw console.log("route not found"),new Error("function not implemented");}}createD3Image(e){let i=this.user.user?.fapiToken,r=new lt({Authorization:`Bearer ${i}`});console.log("creating d3 image");let o=this.site.site.apiHost+"/image/d3create/";return this.http.post(o,e,{headers:r});}createImage(e){let i=this.user.user?.fapiToken,r=new lt({Authorization:`Bearer ${i}`}),o=this.site.site.apiHost+"/image/create/";return this.http.post(o,e,{headers:r});}createImageVariations(e){let i=this.user.user?.fapiToken,r=new lt({Authorization:`Bearer ${i}`}),o=this.site.site.apiHost+"/image/variations/";return this.http.post(o,e,{headers:r});}createImageEdits(e){let i=this.user.user?.fapiToken,r=new lt({Authorization:`Bearer ${i}`}),o=this.site.site.apiHost+"/image/edit/";return this.http.post(o,e,{headers:r});}sendFile(e){let i=this.user.user?.fapiToken,r=new lt({Authorization:`Bearer ${i}`}),o=new FormData();o.append("file",e,e.name);let a=this.site.site.apiHost+"/image/upload/";return this.http.post(a,o,{headers:r});}getSize(e,i){let r=this.site.site.apiHost+"/compress/get-compressed-jpg-size/",o={url:e,compression_level:i},a=this.user.user?.fapiToken,s=new lt({Authorization:`Bearer ${a}`});return this.http.post(r,o,{headers:s});}cancelRequest(){this.cancelRequest$.next();}ngOnDestroy(){this.cancelRequest$.next(),this.cancelRequest$.complete();}compressAndSave(e,i){console.log("writing compressed image");let r=this.site.site.apiHost+"/compress/convert-to-jpg/",o={url:e,compression_level:i},a=this.user.user?.fapiToken,s=new lt({Authorization:`Bearer ${a}`});return this.http.post(r,o,{headers:s});}saveToMediaLibrary(e,i){let r=this;this.compressAndSave(e,i).pipe(de(1)).subscribe({next(o){console.log("save image result:",o),r._snackBar.open("Image ajout\xE9e \xE0 la biblioth\xE8que multim\xE9dia",void 0,{duration:3e3,panelClass:["custom-snack","custom-snack-success"]});},error(o){console.log("Error: ",o),r._snackBar.open("Impossible d'ajouter l'image \xE0 la biblioth\xE8que multim\xE9dia",void 0,{duration:3e3,panelClass:["custom-snack","custom-snack-error"]});},complete(){}});}static{this.ɵfac=function(i){return new(i||t)(te(Hi),te(ct),te(an),te(Nn));};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var K0=(()=>{class t{_animationMode=p(Ne,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&Z("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations");},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
`],encapsulation:2,changeDetection:0});}return t;})();var EU=["text"],MU=[[["mat-icon"]],"*"],kU=["mat-icon","*"];function SU(t,n){if(t&1&&C(0,"mat-pseudo-checkbox",1),t&2){let e=y();v("disabled",e.disabled)("state",e.selected?"checked":"unchecked");}}function IU(t,n){if(t&1&&C(0,"mat-pseudo-checkbox",3),t&2){let e=y();v("disabled",e.disabled);}}function TU(t,n){if(t&1&&(m(0,"span",4),f(1),u()),t&2){let e=y();d(),F("(",e.group.label,")");}}var Zw=new A("MAT_OPTION_PARENT_COMPONENT"),Xw=new A("MatOptgroup");var Kw=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e;}},ls=(()=>{class t{_element=p(J);_changeDetectorRef=p(pe);_parent=p(Zw,{optional:!0});group=p(Xw,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple;}get selected(){return this._selected;}value;id=p(Ge).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled;}set disabled(e){this._disabled=e;}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple;}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator);}onSelectionChange=new V();_text;_stateChanges=new H();constructor(){let e=p(it);e.load(ni),e.load(Hr),this._signalDisableRipple=!!this._parent&&Is(this._parent.disableRipple);}get active(){return this._active;}get viewValue(){return(this._text?.nativeElement.textContent||"").trim();}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent());}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent());}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&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){(e.keyCode===13||e.keyCode===32)&&!ti(e)&&(this._selectViaInteraction(),e.preventDefault());}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0));}_getTabIndex(){return this.disabled?"-1":"0";}_getHostElement(){return this._element.nativeElement;}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e);}}ngOnDestroy(){this._stateChanges.complete();}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Kw(this,e));}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&$(EU,7),i&2){let o;R(o=O())&&(r._text=o.first);}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&S("click",function(){return r._selectViaInteraction();})("keydown",function(a){return r._handleKeydown(a);}),i&2&&(Mi("id",r.id),ee("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Z("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled));},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:kU,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(De(MU),I(0,SU,1,2,"mat-pseudo-checkbox",1),le(1),m(2,"span",2,0),le(4,1),u(),I(5,IU,1,1,"mat-pseudo-checkbox",3)(6,TU,2,1,"span",4),C(7,"div",5)),i&2&&(j(r.multiple?0:-1),d(5),j(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),d(),j(r.group&&r.group._inert?6:-1),d(),v("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple));},dependencies:[K0,mn],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
`],encapsulation:2,changeDetection:0});}return t;})();function mO(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let a=0;a<t+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o;}return 0;}function pO(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e;}var Jw=class{_box;_destroyed=new H();_resizeSubject=new H();_resizeObserver;_elementObservables=new Map();constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)));}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new qe(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n);};}).pipe(Ie(e=>e.some(i=>i.target===n)),tf({bufferSize:1,refCount:!0}),Ve(this._destroyed))),this._elementObservables.get(n);}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear();}},Z0=(()=>{class t{_cleanupErrorListener;_observers=new Map();_ngZone=p(oe);constructor(){typeof ResizeObserver<"u";}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.();}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Jw(r)),this._observers.get(r).observe(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var AU=["notch"],RU=["matFormFieldNotchedOutline",""],OU=["*"],PU=["textField"],FU=["iconPrefixContainer"],NU=["textPrefixContainer"],LU=["iconSuffixContainer"],VU=["textSuffixContainer"],zU=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],BU=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function jU(t,n){t&1&&C(0,"span",20);}function HU(t,n){if(t&1&&(m(0,"label",19),le(1,1),I(2,jU,1,0,"span",20),u()),t&2){let e=y(2);v("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ee("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),j(!e.hideRequiredMarker&&e._control.required?2:-1);}}function $U(t,n){if(t&1&&I(0,HU,3,5,"label",19),t&2){let e=y();j(e._hasFloatingLabel()?0:-1);}}function UU(t,n){t&1&&C(0,"div",7);}function qU(t,n){}function WU(t,n){if(t&1&&I(0,qU,0,0,"ng-template",13),t&2){y(2);let e=$e(1);v("ngTemplateOutlet",e);}}function GU(t,n){if(t&1&&(m(0,"div",9),I(1,WU,1,1,null,13),u()),t&2){let e=y();v("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),j(e._forceDisplayInfixLabel()?-1:1);}}function YU(t,n){t&1&&(m(0,"div",10,2),le(2,2),u());}function QU(t,n){t&1&&(m(0,"div",11,3),le(2,3),u());}function KU(t,n){}function ZU(t,n){if(t&1&&I(0,KU,0,0,"ng-template",13),t&2){y();let e=$e(1);v("ngTemplateOutlet",e);}}function XU(t,n){t&1&&(m(0,"div",14,4),le(2,4),u());}function JU(t,n){t&1&&(m(0,"div",15,5),le(2,5),u());}function eq(t,n){t&1&&C(0,"div",16);}function tq(t,n){t&1&&le(0,6);}function iq(t,n){if(t&1&&(m(0,"mat-hint",21),f(1),u()),t&2){let e=y(2);v("id",e._hintLabelId),d(),w(e.hintLabel);}}function nq(t,n){if(t&1&&(I(0,iq,2,2,"mat-hint",21),le(1,7),C(2,"div",22),le(3,8)),t&2){let e=y();j(e.hintLabel?0:-1);}}var Ft=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["mat-label"]]});}return t;})(),yO=new A("MatError"),ec=(()=>{class t{id=p(Ge).getId("mat-mdc-error-");constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,r){i&2&&Mi("id",r.id);},inputs:{id:"id"},features:[ye([{provide:yO,useExisting:t}])]});}return t;})(),e1=(()=>{class t{align="start";id=p(Ge).getId("mat-mdc-hint-");static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(Mi("id",r.id),ee("align",null),Z("mat-mdc-form-field-hint-end",r.align==="end"));},inputs:{align:"align",id:"id"}});}return t;})(),rq=new A("MatPrefix");var oq=new A("MatSuffix");var xO=new A("FloatingLabelParent"),hO=(()=>{class t{_elementRef=p(J);get floating(){return this._floating;}set floating(e){this._floating=e,this.monitorResize&&this._handleResize();}_floating=!1;get monitorResize(){return this._monitorResize;}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe();}_monitorResize=!1;_resizeObserver=p(Z0);_ngZone=p(oe);_parent=p(xO);_resizeSubscription=new Ce();constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe();}getWidth(){return aq(this._elementRef.nativeElement);}get element(){return this._elementRef.nativeElement;}_handleResize(){setTimeout(()=>this._parent._handleLabelResized());}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize());});}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&Z("mdc-floating-label--float-above",r.floating);},inputs:{floating:"floating",monitorResize:"monitorResize"}});}return t;})();function aq(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i;}var fO="mdc-line-ripple--active",X0="mdc-line-ripple--deactivating",gO=(()=>{class t{_elementRef=p(J);_cleanupTransitionEnd;constructor(){let e=p(oe),i=p(et);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd);});}activate(){let e=this._elementRef.nativeElement.classList;e.remove(X0),e.add(fO);}deactivate(){this._elementRef.nativeElement.classList.add(X0);}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(X0);e.propertyName==="opacity"&&r&&i.remove(fO,X0);};ngOnDestroy(){this._cleanupTransitionEnd();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});}return t;})(),_O=(()=>{class t{_elementRef=p(J);_ngZone=p(oe);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="");}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label");}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&$(AU,5),i&2){let o;R(o=O())&&(r._notch=o.first);}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&Z("mdc-notched-outline--notched",r.open);},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:RU,ngContentSelectors:OU,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(De(),C(0,"div",1),m(1,"div",2,0),le(3),u(),C(4,"div",3));},encapsulation:2,changeDetection:0});}return t;})(),xp=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t});}return t;})();var Cp=new A("MatFormField"),sq=new A("MAT_FORM_FIELD_DEFAULT_OPTIONS"),bO="fill",lq="auto",vO="fixed",cq="translateY(-50%)",Nt=(()=>{class t{_elementRef=p(J);_changeDetectorRef=p(pe);_dir=p(St);_platform=p(Re);_idGenerator=p(Ge);_ngZone=p(oe);_injector=p(Se);_defaults=p(sq,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=mT(Ft);get hideRequiredMarker(){return this._hideRequiredMarker;}set hideRequiredMarker(e){this._hideRequiredMarker=rn(e);}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||lq;}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck());}_floatLabel;get appearance(){return this._appearance;}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||bO;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0);}_appearance=bO;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||vO;}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||vO;}_subscriptSizing=null;get hintLabel(){return this._hintLabel;}set hintLabel(e){this._hintLabel=e,this._processHints();}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl;}set _control(e){this._explicitFormFieldControl=e;}_destroyed=new H();_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),this._animationsDisabled=p(Ne,{optional:!0})==="NoopAnimations";}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled");},300);}),this._changeDetectorRef.detectChanges();}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions();}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck();}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.un ��subscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete();}getLabelId=Ka(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef;}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always");}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck();}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(ht([void 0,void 0]),ue(()=>[i.errorState,i.userAriaDescribedBy]),ef(),Ie(([[o,a],[s,l]])=>o!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ve(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()));}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText);}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),At(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck();});}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck();}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck();}),this._validateHints(),this._syncDescribedByIds();}_assertFormFieldControl(){this._control;}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused);}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Ol(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset());},{injector:this._injector}),this._dir.change.pipe(Ve(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0);}_shouldAlwaysFloat(){return this.floatLabel==="always";}_hasOutline(){return this.appearance==="outline";}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat();}_hasFloatingLabel=Ka(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1;}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e];}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint";}_handleLabelResized(){this._refreshOutlineNotchWidth();}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth());}_processHints(){this._validateHints(),this._syncDescribedByIds();}_validateHints(){this._hintChildren;}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):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);}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return;}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return;}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,h=a?.getBoundingClientRect().width??0,g=this._dir.value==="rtl"?"-1":"1",b=`${s+l}px`,x=`calc(${g} * (${b} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
--mat-mdc-form-field-label-transform,
${cq} translateX(${x})
)`;let T=s+l+c+h;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${T}px)`);}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e;}return document.documentElement.contains(e);}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(AT(o,r._labelChild,Ft,5),Ee(o,xp,5),Ee(o,rq,5),Ee(o,oq,5),Ee(o,yO,5),Ee(o,e1,5)),i&2){hd();let a;R(a=O())&&(r._formFieldControl=a.first),R(a=O())&&(r._prefixChildren=a),R(a=O())&&(r._suffixChildren=a),R(a=O())&&(r._errorChildren=a),R(a=O())&&(r._hintChildren=a);}},viewQuery:function(i,r){if(i&1&&($(PU,5),$(FU,5),$(NU,5),$(LU,5),$(VU,5),$(hO,5),$(_O,5),$(gO,5)),i&2){let o;R(o=O())&&(r._textField=o.first),R(o=O())&&(r._iconPrefixContainer=o.first),R(o=O())&&(r._textPrefixContainer=o.first),R(o=O())&&(r._iconSuffixContainer=o.first),R(o=O())&&(r._textSuffixContainer=o.first),R(o=O())&&(r._floatingLabel=o.first),R(o=O())&&(r._notchedOutline=o.first),R(o=O())&&(r._lineRipple=o.first);}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(i,r){i&2&&Z("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"));},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ye([{provide:Cp,useExisting:t},{provide:xO,useExisting:t}])],ngContentSelectors:BU,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=K();De(zU),I(0,$U,1,1,"ng-template",null,0,zr),m(2,"div",6,1),S("click",function(s){return M(o),k(r._control.onContainerClick(s));}),I(4,UU,1,0,"div",7),m(5,"div",8),I(6,GU,2,2,"div",9)(7,YU,3,0,"div",10)(8,QU,3,0,"div",11),m(9,"div",12),I(10,ZU,1,1,null,13),le(11),u(),I(12,XU,3,0,"div",14)(13,JU,3,0,"div",15),u(),I(14,eq,1,0,"div",16),u(),m(15,"div",17),mC(16),m(17,"div",18),I(18,tq,1,0)(19,nq,4,1),u()();}if(i&2){let o;d(2),Z("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),d(2),j(!r._hasOutline()&&!r._control.disabled?4:-1),d(2),j(r._hasOutline()?6:-1),d(),j(r._hasIconPrefix?7:-1),d(),j(r._hasTextPrefix?8:-1),d(2),j(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),d(2),j(r._hasTextSuffix?12:-1),d(),j(r._hasIconSuffix?13:-1),d(),j(r._hasOutline()?-1:14),d(),Z("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();d(2),Z("mat-mdc-form-field-error-wrapper",a==="error")("mat-mdc-form-field-hint-wrapper",a==="hint"),d(),j((o=a)==="error"?18:o==="hint"?19:-1);}},dependencies:[hO,_O,Rs,gO,e1],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat ��-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
`],encapsulation:2,changeDetection:0});}return t;})();var wp=(()=>{class t{_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=[];}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var tc=class{applyChanges(n,e,i,r,o){n.forEachOperation((a,s,l)=>{let c,h;if(a.previousIndex==null){let g=i(a,s,l);c=e.createEmbeddedView(g.templateRef,g.context,g.index),h=Bs.INSERTED;}else l==null?(e.remove(s),h=Bs.REMOVED):(c=e.get(s),e.move(c,l),h=Bs.MOVED);o&&o({context:c?.context,operation:h,record:a});});}detach(){}};var ic=class{_multiple;_emitChanges;compareWith;_selection=new Set();_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected;}changed=new H();constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0);}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e;}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e;}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r;}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n);}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e;}isSelected(n){return this._selection.has(this._getConcreteValue(n));}isEmpty(){return this._selection.size===0;}hasValue(){return!this.isEmpty();}sort(n){this._multiple&&this.selected&&this._selected.sort(n);}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(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n));}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n));}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n));}_verifyValueAssignment(n){n.length>1&&this._multiple;}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length);}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n;}else return n;}};var TO=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i;}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);}static ɵfac=function(i){return new(i||t)(D(et),D(J));};static ɵdir=z({type:t});}return t;})(),AO=(()=>{class t extends TO{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,features:[Q]});}return t;})(),Tr=new A("");var dq={provide:Tr,useExisting:yi(()=>fi),multi:!0};function uq(){let t=Cr()?Cr().getUserAgent():"";return /android (\d+)/.test(t.toLowerCase());}var mq=new A(""),fi=(()=>{class t extends TO{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!uq());}writeValue(e){let i=e??"";this.setProperty("value",i);}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e);}_compositionStart(){this._composing=!0;}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e);}static ɵfac=function(i){return new(i||t)(D(et),D(J),D(mq,8));};static ɵdir=z({type:t,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(i,r){i&1&&S("input",function(a){return r._handleInput(a.target.value);})("blur",function(){return r.onTouched();})("compositionstart",function(){return r._compositionStart();})("compositionend",function(a){return r._compositionEnd(a.target.value);});},standalone:!1,features:[ye([dq]),Q]});}return t;})();function a1(t){return t==null||s1(t)===0;}function s1(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null;}var So=new A(""),nc=new A(""),pq=/^(?=.{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])?)*$/,Mt=class{static min(n){return hq(n);}static max(n){return fq(n);}static required(n){return gq(n);}static requiredTrue(n){return _q(n);}static email(n){return bq(n);}static minLength(n){return vq(n);}static maxLength(n){return yq(n);}static pattern(n){return xq(n);}static nullValidator(n){return RO();}static compose(n){return VO(n);}static composeAsync(n){return zO(n);}};function hq(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null;};}function fq(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null;};}function gq(t){return a1(t.value)?{required:!0}:null;}function _q(t){return t.value===!0?null:{required:!0};}function bq(t){return a1(t.value)||pq.test(t.value)?null:{email:!0};}function vq(t){return n=>{let e=n.value?.length??s1(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null;};}function yq(t){return n=>{let e=n.value?.length??s1(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null;};}function xq(t){if(!t)return RO;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(a1(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}};};}function RO(t){return null;}function OO(t){return t!=null;}function PO(t){return Ts(t)?Vt(t):t;}function FO(t){let n={};return t.forEach(e=>{n=e!=null?B(B({},n),e):n;}),Object.keys(n).length===0?null:n;}function NO(t,n){return n.map(e=>e(t));}function Cq(t){return!t.validate;}function LO(t){return t.map(n=>Cq(n)?n:e=>n.validate(e));}function VO(t){if(!t)return null;let n=t.filter(OO);return n.length==0?null:function(e){return FO(NO(e,n));};}function l1(t){return t!=null?VO(LO(t)):null;}function zO(t){if(!t)return null;let n=t.filter(OO);return n.length==0?null:function(e){let i=NO(e,n).map(PO);return zu(i).pipe(ue(FO));};}function c1(t){return t!=null?zO(LO(t)):null;}function wO(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n];}function BO(t){return t._rawValidators;}function jO(t){return t._rawAsyncValidators;}function t1(t){return t?Array.isArray(t)?t:[t]:[];}function e_(t,n){return Array.isArray(t)?t.includes(n):t===n;}function DO(t,n){let e=t1(n);return t1(t).forEach(r=>{e_(e,r)||e.push(r);}),e;}function EO(t,n){return t1(n).filter(e=>!e_(t,e));}var t_=class{get value(){return this.control?this.control.value:null;}get valid(){return this.control?this.control.valid:null;}get invalid(){return this.control?this.control.invalid:null;}get pending(){return this.control?this.control.pending:null;}get disabled(){return this.control?this.control.disabled:null;}get enabled(){return this.control?this.control.enabled:null;}get errors(){return this.control?this.control.errors:null;}get pristine(){return this.control?this.control.pristine:null;}get dirty(){return this.control?this.control.dirty:null;}get touched(){return this.control?this.control.touched:null;}get status(){return this.control?this.control.status:null;}get untouched(){return this.control?this.control.untouched:null;}get statusChanges(){return this.control?this.control.statusChanges:null;}get valueChanges(){return this.control?this.control.valueChanges:null;}get path(){return null;}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=l1(this._rawValidators);}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=c1(this._rawAsyncValidators);}get validator(){return this._composedValidatorFn||null;}get asyncValidator(){return this._composedAsyncValidatorFn||null;}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n);}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[];}reset(n=void 0){this.control&&this.control.reset(n);}hasError(n,e){return this.control?this.control.hasError(n,e):!1;}getError(n,e){return this.control?this.control.getError(n,e):null;}},xn=class extends t_{name;get formDirective(){return null;}get path(){return null;}},Ir=class extends t_{_parent=null;name=null;valueAccessor=null;},i_=class{_cd;constructor(n){this._cd=n;}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched;}get isUntouched(){return!!this._cd?.control?.untouched;}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine;}get isDirty(){return!!this._cd?.control?.dirty;}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid;}get isInvalid(){return!!this._cd?.control?.invalid;}get isPending(){return!!this._cd?.control?.pending;}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted;}},wq={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},FDe=ze(B({},wq),{"[class.ng-submitted]":"isSubmitted"}),Ti=(()=>{class t extends i_{constructor(e){super(e);}static ɵfac=function(i){return new(i||t)(D(Ir,2));};static ɵdir=z({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&Z("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending);},standalone:!1,features:[Q]});}return t;})(),qr=(()=>{class t extends i_{constructor(e){super(e);}static ɵfac=function(i){return new(i||t)(D(xn,10));};static ɵdir=z({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&Z("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted);},standalone:!1,features:[Q]});}return t;})();var Dp="VALID",J0="INVALID",$d="PENDING",Ep="DISABLED",Us=class{},n_=class extends Us{value;source;constructor(n,e){super(),this.value=n,this.source=e;}},kp=class extends Us{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e;}},Sp=class extends Us{touched;source;constructor(n,e){super(),this.touched=n,this.source=e;}},Ud=class extends Us{status;source;constructor(n,e){super(),this.status=n,this.source=e;}},i1=class extends Us{source;constructor(n){super(),this.source=n;}},n1=class extends Us{source;constructor(n){super(),this.source=n;}};function d1(t){return(s_(t)?t.validators:t)||null;}function Dq(t){return Array.isArray(t)?l1(t):t||null;}function u1(t,n){return(s_(n)?n.asyncValidators:t)||null;}function Eq(t){return Array.isArray(t)?c1(t):t||null;}function s_(t){return t!=null&&!Array.isArray(t)&&typeof t=="object";}function HO(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new X(1e3,"");if(!i[e])throw new X(1001,"");}function $O(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new X(1002,"");});}var qd=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e);}get validator(){return this._composedValidatorFn;}set validator(n){this._rawValidators=this._composedValidatorFn=n;}get asyncValidator(){return this._composedAsyncValidatorFn;}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n;}get parent(){return this._parent;}get status(){return ar(this.statusReactive);}set status(n){ar(()=>this.statusReactive.set(n));}_status=Ka(()=>this.statusReactive());statusReactive=en(void 0);get valid(){return this.status===Dp;}get invalid(){return this.status===J0;}get pending(){return this.status==$d;}get disabled(){return this.status===Ep;}get enabled(){return this.status!==Ep;}errors;get pristine(){return ar(this.pristineReactive);}set pristine(n){ar(()=>this.pristineReactive.set(n));}_pristine=Ka(()=>this.pristineReactive());pristineReactive=en(!0);get dirty(){return!this.pristine;}get touched(){return ar(this.touchedReactive);}set touched(n){ar(()=>this.touchedReactive.set(n));}_touched=Ka(()=>this.touchedReactive());touchedReactive=en(!1);get untouched(){return!this.touched;}_events=new H();events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change";}setValidators(n){this._assignValidators(n);}setAsyncValidators(n){this._assignAsyncValidators(n);}addValidators(n){this.setValidators(DO(n,this._rawValidators));}addAsyncValidators(n){this.setAsyncValidators(DO(n,this._rawAsyncValidators));}removeValidators(n){this.setValidators(EO(n,this._rawValidators));}removeAsyncValidators(n){this.setAsyncValidators(EO(n,this._rawAsyncValidators));}hasValidator(n){return e_(this._rawValidators,n);}hasAsyncValidator(n){return e_(this._rawAsyncValidators,n);}clearValidators(){this.validator=null;}clearAsyncValidators(){this.asyncValidator=null;}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ze(B({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Sp(!0,i));}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n));}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i});}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Sp(!1,i));}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ze(B({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new kp(!1,i));}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent});}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new kp(!0,i));}markAsPending(n={}){this.status=$d;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Ud(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ze(B({},n),{sourceControl:e}));}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ep,this.errors=null,this._forEachChild(r=>{r.disable(ze(B({},n),{onlySelf:!0}));}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new n_(this.value,i)),this._events.next(new Ud(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ze(B({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0));}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Dp,this._forEachChild(i=>{i.enable(ze(B({},n),{onlySelf:!0}));}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ze(B({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1));}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e));}setParent(n){this._parent=n;}getRawValue(){return this.value;}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Dp||this.status===$d)&&this._runAsyncValidator(i,n.emitEvent);}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new n_(this.value,e)),this._events.next(new Ud(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ze(B({},n),{sourceControl:e}));}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent});}_setInitialStatus(){this.status=this._allControlsDisabled()?Ep:Dp;}_runValidator(){return this.validator?this.validator(this):null;}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=$d,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=PO(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n});});}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n;}return!1;}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted);}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this);}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null;}hasError(n,e){return!!this.getError(n,e);}get root(){let n=this;for(;n._parent;)n=n._parent;return n;}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Ud(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i);}_initObservables(){this.valueChanges=new V(),this.statusChanges=new V();}_calculateStatus(){return this._allControlsDisabled()?Ep:this.errors?J0:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($d)?$d:this._anyControlsHaveStatus(J0)?J0:Dp;}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n);}_anyControlsDirty(){return this._anyControls(n=>n.dirty);}_anyControlsTouched(){return this._anyControls(n=>n.touched);}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new kp(this.pristine,e));}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Sp(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e);}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n;}_setUpdateStrategy(n){s_(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn);}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty();}_find(n){return null;}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=Dq(this._rawValidators);}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Eq(this._rawAsyncValidators);}},Wd=class extends qd{constructor(n,e,i){super(d1(e),u1(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator});}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e);}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange();}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange();}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled;}setValue(n,e={}){$O(this,!0,n),Object.keys(n).forEach(i=>{HO(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(n={},e={}){this._forEachChild ��((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent});}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e);}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n));}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n;}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e);});}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange);});}_updateValue(){this.value=this._reduceValue();}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1;}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e));}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o);}),i;}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled;}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null;}};var r1=class extends Wd{};var Gd=new A("",{providedIn:"root",factory:()=>l_}),l_="always";function c_(t,n){return[...n.path,t];}function Ip(t,n,e=l_){m1(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),kq(t,n),Iq(t,n),Sq(t,n),Mq(t,n);}function r_(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),a_(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}));}function o_(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n);});}function Mq(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i);};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e);});}}function m1(t,n){let e=BO(t);n.validator!==null?t.setValidators(wO(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=jO(t);n.asyncValidator!==null?t.setAsyncValidators(wO(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();o_(n._rawValidators,r),o_(n._rawAsyncValidators,r);}function a_(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=BO(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o));}}if(n.asyncValidator!==null){let r=jO(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o));}}}let i=()=>{};return o_(n._rawValidators,i),o_(n._rawAsyncValidators,i),e;}function kq(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&UO(t,n);});}function Sq(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&UO(t,n),t.updateOn!=="submit"&&t.markAsTouched();});}function UO(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1;}function Iq(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i);};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e);});}function qO(t,n){t==null,m1(t,n);}function Tq(t,n){return a_(t,n);}function p1(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue);}function Aq(t){return Object.getPrototypeOf(t.constructor)===AO;}function WO(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1);});}function h1(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===fi?e=o:Aq(o)?i=o:r=o;}),r||i||e||null;}function Rq(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1);}var Oq={provide:xn,useExisting:yi(()=>cs)},Mp=Promise.resolve(),cs=(()=>{class t extends xn{callSetDisabledState;get submitted(){return ar(this.submittedReactive);}_submitted=Ka(()=>this.submittedReactive());submittedReactive=en(!1);_directives=new Set();form;ngSubmit=new V();options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Wd({},l1(e),c1(i));}ngAfterViewInit(){this._setUpdateStrategy();}get formDirective(){return this;}get control(){return this.form;}get path(){return[];}get controls(){return this.form.controls;}addControl(e){Mp.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ip(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e);});}getControl(e){return this.form.get(e.path);}removeControl(e){Mp.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e);});}addFormGroup(e){Mp.then(()=>{let i=this._findContainer(e.path),r=new Wd({});qO(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1});});}removeFormGroup(e){Mp.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name);});}getFormGroup(e){return this.form.get(e.path);}updateModel(e,i){Mp.then(()=>{this.form.get(e.path).setValue(i);});}setValue(e){this.control.setValue(e);}onSubmit(e){return this.submittedReactive.set(!0),WO(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog";}onReset(){this.resetForm();}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1);}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn);}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form;}static ɵfac=function(i){return new(i||t)(D(So,10),D(nc,10),D(Gd,8));};static ɵdir=z({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&S("submit",function(a){return r.onSubmit(a);})("reset",function(){return r.onReset();});},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ye([Oq]),Q]});}return t;})();function MO(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1);}function kO(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t;}var ba=class extends qd{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(d1(e),u1(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),s_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(kO(n)?this.defaultValue=n.value:this.defaultValue=n);}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e);}patchValue(n,e={}){this.setValue(n,e);}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1;}_updateValue(){}_anyControls(n){return!1;}_allControlsDisabled(){return this.disabled;}registerOnChange(n){this._onChange.push(n);}_unregisterOnChange(n){MO(this._onChange,n);}registerOnDisabledChange(n){this._onDisabledChange.push(n);}_unregisterOnDisabledChange(n){MO(this._onDisabledChange,n);}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1;}_applyFormState(n){kO(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n;}};var Pq=t=>t instanceof ba,Fq=(()=>{class t extends xn{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this);}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this);}get control(){return this.formDirective.getFormGroup(this);}get path(){return c_(this.name==null?this.name:this.name.toString(),this._parent);}get formDirective(){return this._parent?this._parent.formDirective:null;}_checkParentType(){}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,standalone:!1,features:[Q]});}return t;})();var Nq={provide:Ir,useExisting:yi(()=>Io)},SO=Promise.resolve(),Io=(()=>{class t extends Ir{_changeDetectorRef;callSetDisabledState;control=new ba();static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new V();constructor(e,i,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=h1(this,o);}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)});}this._setUpControl();}"isDisabled"in e&&this._updateDisabled(e),p1(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this);}get path(){return this._getPath(this.name);}get formDirective(){return this._parent?this._parent.formDirective:null;}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0;}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn);}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone);}_setUpStandalone(){Ip(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1});}_checkForErrors(){this._checkName();}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name;}_updateValue(e){SO.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck();});}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&q(i);SO.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck();});}_getPath(e){return this._parent?c_(e,this._parent):[e];}static ɵfac=function(i){return new(i||t)(D(xn,9),D(So,10),D(nc,10),D(Tr,10),D(pe,8),D(Gd,8));};static ɵdir=z({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ye([Nq]),Q,He]});}return t;})();var Wr=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1});}return t;})(),Lq={provide:Tr,useExisting:yi(()=>f1),multi:!0},f1=(()=>{class t extends AO{writeValue(e){let i=e??"";this.setProperty("value",i);}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i));};}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){i&1&&S("input",function(a){return r.onChange(a.target.value);})("blur",function(){return r.onTouched();});},standalone:!1,features:[ye([Lq]),Q]});}return t;})();var g1=new A(""),Vq={provide:Ir,useExisting:yi(()=>Tp)},Tp=(()=>{class t extends Ir{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new V();static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=h1(this,r);}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&r_(i,this,!1),Ip(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1});}p1(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.form&&r_(this.form,this,!1);}get path(){return[];}get control(){return this.form;}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}_isControlChanged(e){return e.hasOwnProperty("form");}static ɵfac=function(i){return new(i||t)(D(So,10),D(nc,10),D(Tr,10),D(g1,8),D(Gd,8));};static ɵdir=z({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ye([Vq]),Q,He]});}return t;})(),zq={provide:xn,useExisting:yi(()=>mr)},mr=(()=>{class t extends xn{callSetDisabledState;get submitted(){return ar(this._submittedReactive);}set submitted(e){this._submittedReactive.set(e);}_submitted=Ka(()=>this._submittedReactive());_submittedReactive=en(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new V();constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i);}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form);}ngOnDestroy(){this.form&&(a_(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){let i=this.form.get(e.path);return Ip(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i;}getControl(e){return this.form.get(e.path);}removeControl(e){r_(e.control||null,e,!1),Rq(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._submittedReactive.set(!0),WO(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new i1(this.control)),e?.target?.method==="dialog";}onReset(){this.resetForm();}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new n1(this.form));}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(r_(i||null,e),Pq(r)&&(Ip(r,e,this.callSetDisabledState),e.control=r));}),this.form._updateTreeValidity({emitEvent:!1});}_setUpFormContainer(e){let i=this.form.get(e.path);qO(i,e),i.updateValueAndValidity({emitEvent:!1});}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&Tq(i,e)&&i.updateValueAndValidity({emitEvent:!1});}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{});}_updateValidators(){m1(this.form,this),this._oldForm&&a_(this._oldForm,this);}static ɵfac=function(i){return new(i||t)(D(So,10),D(nc,10),D(Gd,8));};static ɵdir=z({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&S("submit",function(a){return r.onSubmit(a);})("reset",function(){return r.onReset();});},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ye([zq]),Q,He]});}return t;})(),Bq={provide:xn,useExisting:yi(()=>d_)},d_=(()=>{class t extends Fq{name=null;constructor(e,i,r){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(r);}_checkParentType(){YO(this._parent);}static ɵfac=function(i){return new(i||t)(D(xn,13),D(So,10),D(nc,10));};static ɵdir=z({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ye([Bq]),Q]});}return t;})(),jq={provide:xn,useExisting:yi(()=>GO)},GO=(()=>{class t extends xn{_parent;name=null;constructor(e,i,r){super(),this._parent=e,this._setValidators(i),this._setAsyncValidators(r);}ngOnInit(){YO(this._parent),this.formDirective.addFormArray(this);}ngOnDestroy(){this.formDirective?.removeFormArray(this);}get control(){return this.formDirective.getFormArray(this);}get formDirective(){return this._parent?this._parent.formDirective:null;}get path(){return c_(this.name==null?this.name:this.name.toString(),this._parent);}static ɵfac=function(i){return new(i||t)(D(xn,13),D(So,10),D(nc,10));};static ɵdir=z({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ye([jq]),Q]});}return t;})();function YO(t){return!(t instanceof d_)&&!(t instanceof mr)&&!(t instanceof GO);}var Hq={provide:Ir,useExisting:yi(()=>ds)},ds=(()=>{class t extends Ir{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new V();static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=h1(this,o);}ngOnChanges(e){this._added||this._setUpControl(),p1(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model));}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this);}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e);}get path(){return c_(this.name==null?this.name:this.name.toString(),this._parent);}get formDirective(){return this._parent?this._parent.formDirective:null;}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0;}static ɵfac=function(i){return new(i||t)(D(xn,13),D(So,10),D(nc,10),D(Tr,10),D(g1,8));};static ɵdir=z({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ye([Hq]),Q,He]});}return t;})();var QO=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({});}return t;})(),o1=class extends qd{constructor(n,e,i){super(d1(e),u1(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator});}controls;at(n){return this.controls[this._adjustIndex(n)];}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange();}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent});}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent});}setControl(n,e,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange();}get length(){return this.controls.length;}setValue(n,e={}){$O(this,!1,n),n.forEach((i,r)=>{HO(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e);}patchValue(n,e={}){n!=null&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent});}),this.updateValueAndValidity(e));}reset(n=[],e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent});}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e);}getRawValue(){return this.controls.map(n=>n.getRawValue());}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}));}_adjustIndex(n){return n<0?n+this.length:n;}_syncPendingControls(){let n=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n;}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i);});}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value);}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e));}_setUpControls(){this._forEachChild(n=>this._registerControl(n));}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled;}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange);}_find(n){return this.at(n)??null;}};function IO(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0);}var qs=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t();return e.useNonNullable=!0,e;}group(e,i=null){let r=this._reduceControls(e),o={};return IO(i)?o=i:i!==null&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new Wd(r,o);}record(e,i=null){let r=this._reduceControls(e);return new r1(r,i);}control(e,i,r){let o={};return this.useNonNullable?(IO(i)?o=i:(o.validators=i,o.asyncValidators=r),new ba(e,ze(B({},o),{nonNullable:!0}))):new ba(e,i,r);}array(e,i,r){let o=e.map(a=>this._createControl(a));return new o1(o,i,r);}_reduceControls(e){let i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r]);}),i;}_createControl(e){if(e instanceof ba)return e;if(e instanceof qd)return e;if(Array.isArray(e)){let i=e[0],r=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(i,r,o);}else return this.control(e);}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var gi=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Gd,useValue:e.callSetDisabledState??l_}]};}static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[QO]});}return t;})(),Gr=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:g1,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Gd,useValue:e.callSetDisabledState??l_}]};}static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[QO]});}return t;})();var Ws=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted));}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Yd=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o;}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next());}};var It=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he,Pd,he]});}return t;})();var u_=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he]});}return t;})();var _1=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[cr,he,u_]});}return t;})();var $q=["trigger"],Uq=["panel"],qq=[[["mat-select-trigger"]],"*"],Wq=["mat-select-trigger","*"];function Gq(t,n){if(t&1&&(m(0,"span",4),f(1),u()),t&2){let e=y();d(),w(e.placeholder);}}function Yq(t,n){t&1&&le(0);}function Qq(t,n){if(t&1&&(m(0,"span",11),f(1),u()),t&2){let e=y(2);d(),w(e.triggerValue);}}function Kq(t,n){if(t&1&&(m(0,"span",5),I(1,Yq,1,0)(2,Qq,2,1,"span",11),u()),t&2){let e=y();d(),j(e.customTrigger?1:2);}}function Zq(t,n){if(t&1){let e=K();m(0,"div",12,1),S("keydown",function(r){M(e);let o=y();return k(o._handleKeydown(r));}),le(2,1),u();}if(t&2){let e=y();pd("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),Z("mat-select-panel-animations-enabled",!e._animationsDisabled),v("ngClass",e.panelClass),ee("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby());}}var b1=new A("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=p(Gt);return()=>t.scrollStrategies.reposition();}});function KO(t){return()=>t.scrollStrategies.reposition();}var ZO=new A("MAT_SELECT_CONFIG"),XO={provide:b1,deps:[Gt],useFactory:KO},JO=new A("MatSelectTrigger"),m_=class{source;value;constructor(n,e){this.source=n,this.value=e;}},rc=(()=>{class t{_viewportRuler=p(ma);_changeDetectorRef=p(pe);_elementRef=p(J);_dir=p(St,{optional:!0});_idGenerator=p(Ge);_renderer=p(et);_parentFormField=p(Cp,{optional:!0});ngControl=p(Ir,{self:!0,optional:!0});_liveAnnouncer=p(Ql);_defaultOptions=p(ZO,{optional:!0});_animationsDisabled=p(Ne,{optional:!0})==="NoopAnimations";_initialized=new H();_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=mO(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=pO(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight);}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0);}_getChangeEvent(e){return new m_(this,e);}_scrollStrategyFactory=p(b1);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new H();_errorStateTracker;stateChanges=new H();disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen;}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator;}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties();}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder;}set placeholder(e){this._placeholder=e,this.stateChanges.next();}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Mt.required)??!1;}set required(e){this._required=e,this.stateChanges.next();}_required;get multiple(){return this._multiple;}set multiple(e){this._selectionModel,this._multiple=e;}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith;}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection();}get value(){return this._value;}set value(e){this._assignValue(e)&&this._onChange(e);}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher;}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}typeaheadDebounceInterval;sortComparator;get id(){return this._id;}set id(e){this._id=e||this._uid,this.stateChanges.next();}_id;get errorState(){return this._errorStateTracker.errorState;}set errorState(e){this._errorStateTracker.errorState=e;}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=zo(()=>{let e=this.options;return e?e.changes.pipe(ht(e),si(()=>At(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(si(()=>this.optionSelectionChanges));});openedChange=new V();_openedStream=this.openedChange.pipe(Ie(e=>e),ue(()=>{}));_closedStream=this.openedChange.pipe(Ie(e=>!e),ue(()=>{}));selectionChange=new V();valueChange=new V();constructor(){let e=p(Ws),i=p(cs,{optional:!0}),r=p(mr,{optional:!0}),o=p(new Ji("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Yd(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id;}ngOnInit(){this._selectionModel=new ic(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ve(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges());});}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ve(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect());}),this.options.changes.pipe(ht(null),Ve(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection();});}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby");}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState());}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval);}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal();}toggle(){this.panelOpen?this.close():this.open();}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(de(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled();}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)));}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&I0(this._trackedModal,"aria-owns",i),Iw(e,"aria-owns",i),this._trackedModal=e;}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;I0(this._trackedModal,"aria-owns",e),this._trackedModal=null;}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)));}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return;}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0;};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay());}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay();},200);e.classList.add("mat-select-panel-exit");}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck();}writeValue(e){this._assignValue(e);}registerOnChange(e){this._onChange=e;}regist ��erOnTouched(e){this._onTouched=e;}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next();}get panelOpen(){return this._panelOpen;}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0];}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ");}return this._selectionModel.selected[0].viewValue;}updateErrorState(){this._errorStateTracker.updateErrorState();}_isRtl(){return this._dir?this._dir.value==="rtl":!1;}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e));}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!ti(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4);}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!ti(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect());});}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction();}}_handleOverlayKeydown(e){e.keyCode===27&&!ti(e)&&(e.preventDefault(),this.close());}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next());}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next());}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:"";}get empty(){return!this._selectionModel||this._selectionModel.isEmpty();}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next();});}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1);}this._changeDetectorRef.markForCheck();}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e);}catch{return!1;}});return i&&this._selectionModel.select(i),i;}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1;}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof jd?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth;}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck();}_initKeyManager(){this._keyManager=new np(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close());}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction();});}_resetOptions(){let e=At(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ve(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus());}),At(...this.options.map(i=>i._stateChanges)).pipe(Ve(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next();});}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next();}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next();}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck();}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break;}this._keyManager.setActiveItem(e);}else this._keyManager.setActiveItem(this._selectionModel.selected[0]);}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir;}focus(e){this._elementRef.nativeElement.focus(e);}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e;}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null;}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i;}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby");}onContainerClick(){this.focus(),this.open();}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder;}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(Ee(o,JO,5),Ee(o,ls,5),Ee(o,Xw,5)),i&2){let a;R(a=O())&&(r.customTrigger=a.first),R(a=O())&&(r.options=a),R(a=O())&&(r.optionGroups=a);}},viewQuery:function(i,r){if(i&1&&($($q,5),$(Uq,5),$(j0,5)),i&2){let o;R(o=O())&&(r.trigger=o.first),R(o=O())&&(r.panel=o.first),R(o=O())&&(r._overlayDir=o.first);}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&S("keydown",function(a){return r._handleKeydown(a);})("focus",function(){return r._onFocus();})("blur",function(){return r._onBlur();}),i&2&&(ee("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),Z("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple));},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ut(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],placeholder:"placeholder",required:[2,"required","required",q],multiple:[2,"multiple","multiple",q],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",q],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ut],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",q]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ye([{provide:xp,useExisting:t},{provide:Zw,useExisting:t}]),He],ngContentSelectors:Wq,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=K();De(qq),m(0,"div",2,0),S("click",function(){return M(o),k(r.open());}),m(3,"div",3),I(4,Gq,2,1,"span",4)(5,Kq,3,1,"span",5),u(),m(6,"div",6)(7,"div",7),Zt(),m(8,"svg",8),C(9,"path",9),u()()()(),I(10,Zq,3,10,"ng-template",10),S("detach",function(){return M(o),k(r.close());})("backdropClick",function(){return M(o),k(r.close());})("overlayKeydown",function(s){return M(o),k(r._handleOverlayKeydown(s));});}if(i&2){let o=$e(1);d(3),ee("id",r._valueId),d(),j(r.empty?4:5),d(6),v("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0);}},dependencies:[jd,j0,wr],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
`],encapsulation:2,changeDetection:0});}return t;})();var Ao=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({providers:[XO],imports:[Gn,_1,he,Mo,It,_1,he]});}return t;})();var Ye=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t;}(Ye||{}),Yr="*";function ac(t,n){return{type:Ye.Trigger,name:t,definitions:n,options:{}};}function sc(t,n=null){return{type:Ye.Animate,styles:n,timings:t};}function eP(t,n=null){return{type:Ye.Sequence,steps:t,options:n};}function Ar(t){return{type:Ye.Style,styles:t,offset:null};}function ya(t,n,e){return{type:Ye.State,name:t,styles:n,options:e};}function lc(t,n,e=null){return{type:Ye.Transition,expr:t,animation:n,options:e};}var va=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e;}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[]);}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n);}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n);}onDestroy(n){this._onDestroyFns.push(n);}hasStarted(){return this._started;}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0;}triggerMicrotask(){queueMicrotask(()=>this._onFinish());}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[];}pause(){}restart(){}finish(){this._onFinish();}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[]);}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns;}setPosition(n){this._position=this.totalTime?n*this.totalTime:1;}getPosition(){return this.totalTime?this._position/this.totalTime:1;}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0;}},oc=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish();}),a.onDestroy(()=>{++i==o&&this._onDestroy();}),a.onStart(()=>{++r==o&&this._onStart();});}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0);}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[]);}init(){this.players.forEach(n=>n.init());}onStart(n){this._onStartFns.push(n);}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[]);}onDone(n){this._onDoneFns.push(n);}onDestroy(n){this._onDestroyFns.push(n);}hasStarted(){return this._started;}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play());}pause(){this.players.forEach(n=>n.pause());}restart(){this.players.forEach(n=>n.restart());}finish(){this._onFinish(),this.players.forEach(n=>n.finish());}destroy(){this._onDestroy();}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[]);}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1;}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r);});}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0;}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy();});}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0;}},Qd="!";var Xq=[[["caption"]],[["colgroup"],["col"]],"*"],Jq=["caption","colgroup, col","*"];function eW(t,n){t&1&&le(0,2);}function tW(t,n){t&1&&(m(0,"thead",0),Xt(1,1),u(),m(2,"tbody",0),Xt(3,2)(4,3),u(),m(5,"tfoot",0),Xt(6,4),u());}function iW(t,n){t&1&&Xt(0,1)(1,2)(2,3)(3,4);}var Ro=new A("CDK_TABLE");var b_=(()=>{class t{template=p(st);constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkCellDef",""]]});}return t;})(),v_=(()=>{class t{template=p(st);constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkHeaderCellDef",""]]});}return t;})(),nP=(()=>{class t{template=p(st);constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkFooterCellDef",""]]});}return t;})(),Kd=(()=>{class t{_table=p(Ro,{optional:!0});_hasStickyChanged=!1;get name(){return this._name;}set name(e){this._setNameInput(e);}_name;get sticky(){return this._sticky;}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0);}_sticky=!1;get stickyEnd(){return this._stickyEnd;}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0);}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e;}resetStickyChanged(){this._hasStickyChanged=!1;}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`];}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName());}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,o){if(i&1&&(Ee(o,b_,5),Ee(o,v_,5),Ee(o,nP,5)),i&2){let a;R(a=O())&&(r.cell=a.first),R(a=O())&&(r.headerCell=a.first),R(a=O())&&(r.footerCell=a.first);}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",q],stickyEnd:[2,"stickyEnd","stickyEnd",q]},features:[ye([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]});}return t;})(),h_=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName);}},rP=(()=>{class t extends h_{constructor(){super(p(Kd),p(J));}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Q]});}return t;})();var oP=(()=>{class t extends h_{constructor(){let e=p(Kd),i=p(J);super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r);}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Q]});}return t;})(),f_=class{tasks=[];endTasks=[];},g_=new A("_COALESCED_STYLE_SCHEDULER"),y1=(()=>{class t{_currentSchedule=null;_ngZone=p(oe);constructor(){}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e);}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e);}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new f_(),this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new f_();for(let i of e.tasks)i();for(let i of e.endTasks)i();}this._currentSchedule=null;})));}static ɵfac=function(i){return new(i||t)();};static ɵprov=P({token:t,factory:t.ɵfac});}return t;})();var x1=(()=>{class t{template=p(st);_differs=p(ea);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i);}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns);}extractCellTemplate(e){return this instanceof Ap?e.headerCell.template:this instanceof C1?e.footerCell.template:e.cell.template;}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,features:[He]});}return t;})(),Ap=(()=>{class t extends x1{_table=p(Ro,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky;}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0);}_sticky=!1;constructor(){super(p(st),p(ea));}ngOnChanges(e){super.ngOnChanges(e);}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e;}resetStickyChanged(){this._hasStickyChanged=!1;}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",q]},features:[Q,He]});}return t;})(),C1=(()=>{class t extends x1{_table=p(Ro,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky;}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0);}_sticky=!1;constructor(){super(p(st),p(ea));}ngOnChanges(e){super.ngOnChanges(e);}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e;}resetStickyChanged(){this._hasStickyChanged=!1;}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",q]},features:[Q,He]});}return t;})(),y_=(()=>{class t extends x1{_table=p(Ro,{optional:!0});when;constructor(){super(p(st),p(ea));}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Q]});}return t;})(),cc=(()=>{class t{_viewContainer=p(kt);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this;}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null);}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","cdkCellOutlet",""]]});}return t;})(),w1=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&Xt(0,0);},dependencies:[cc],encapsulation:2});}return t;})();var D1=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&Xt(0,0);},dependencies:[cc],encapsulation:2});}return t;})(),x_=(()=>{class t{templateRef=p(st);_contentClassName="cdk-no-data-row";constructor(){}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["ng-template","cdkNoDataRow",""]]});}return t;})(),tP=["top","bottom","left","right"],v1=class{_isNativeHtmlTable;_stickCellCss;direction;_coalescedStyleScheduler;_isBrowser;_needsPositionStickyOnElement;_positionListener;_tableInjector;_elemSizeCache=new WeakMap();_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(n=>this._updateCachedSizes(n)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(n,e,i,r,o=!0,a=!0,s,l){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._tableInjector=l,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`};}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)r.nodeType===r.ELEMENT_NODE&&i.push(r,...Array.from(r.children));this._afterNextRender({write:()=>{for(let r of i)this._removeStickyStyle(r,e);}});}updateStickyColumns(n,e,i,r=!0,o=!0){if(!n.length||!this._isBrowser||!(e.some(L=>L)||i.some(L=>L))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return;}let a=n[0],s=a.children.length,l=this.direction==="rtl",c=l?"right":"left",h=l?"left":"right",g=e.lastIndexOf(!0),b=i.indexOf(!0),_,x,T;o&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),this._afterNextRender({earlyRead:()=>{_=this._getCellWidths(a,r),x=this._getStickyStartColumnPositions(_,e),T=this._getStickyEndColumnPositions(_,i);},write:()=>{for(let L of n)for(let W=0;W<s;W++){let ie=L.children[W];e[W]&&this._addStickyStyle(ie,c,x[W],W===g),i[W]&&this._addStickyStyle(ie,h,T[W],W===b);}this._positionListener&&_.some(L=>!!L)&&(this._positionListener.stickyColumnsUpdated({sizes:g===-1?[]:_.slice(0,g+1).map((L,W)=>e[W]?L:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:b===-1?[]:_.slice(b).map((L,W)=>i[W+b]?L:null).reverse()}));}});}stickRows(n,e,i){if(!this._isBrowser)return;let r=i==="bottom"?n.slice().reverse():n,o=i==="bottom"?e.slice().reverse():e,a=[],s=[],l=[];this._afterNextRender({earlyRead:()=>{for(let c=0,h=0;c<r.length;c++){if(!o[c])continue;a[c]=h;let g=r[c];l[c]=this._isNativeHtmlTable?Array.from(g.children):[g];let b=this._retrieveElementSize(g).height;h+=b,s[c]=b;}},write:()=>{let c=o.lastIndexOf(!0);for(let h=0;h<r.length;h++){if(!o[h])continue;let g=a[h],b=h===c;for(let _ of l[h])this._addStickyStyle(_,i,g,b);}i==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:a,elements:l}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:a,elements:l});}});}updateStickyFooterContainer(n,e){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1));}});}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0;}_removeStickyStyle(n,e){if(!n.classList.contains(this._stickCellCss))return;for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);tP.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss));}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ");}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of tP)n.style[r]&&(i+=e[r]);return i?`${i}`:"";}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let o=0;o<r.length;o++){let a=r[o];i.push(this._retrieveElementSize(a).width);}return this._cachedCellWidths=i,i;}_getStickyStartColumnPositions(n,e){let i=[],r=0;for(let o=0;o<n.length;o++)e[o]&&(i[o]=r,r+=n[o]);return i;}_getStickyEndColumnPositions(n,e){let i=[],r=0;for(let o=n.length;o>0;o--)e[o]&&(i[o]=r,r+=n[o]);return i;}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r;}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(n);}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length);}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&nW(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r);}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.update ��StickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null;}},0));}_afterNextRender(n){this._tableInjector?ci(n,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{n.earlyRead?.(),n.write();});}};function nW(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n));}var __=new A("CDK_SPL");var E1=(()=>{class t{viewContainer=p(kt);elementRef=p(J);constructor(){let e=p(Ro);e._rowOutlet=this,e._outletAssigned();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","rowOutlet",""]]});}return t;})(),M1=(()=>{class t{viewContainer=p(kt);elementRef=p(J);constructor(){let e=p(Ro);e._headerRowOutlet=this,e._outletAssigned();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","headerRowOutlet",""]]});}return t;})(),k1=(()=>{class t{viewContainer=p(kt);elementRef=p(J);constructor(){let e=p(Ro);e._footerRowOutlet=this,e._outletAssigned();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","footerRowOutlet",""]]});}return t;})(),S1=(()=>{class t{viewContainer=p(kt);elementRef=p(J);constructor(){let e=p(Ro);e._noDataRowOutlet=this,e._outletAssigned();}static ɵfac=function(i){return new(i||t)();};static ɵdir=z({type:t,selectors:[["","noDataRowOutlet",""]]});}return t;})();var I1=(()=>{class t{_differs=p(ea);_changeDetectorRef=p(pe);_elementRef=p(J);_dir=p(St,{optional:!0});_platform=p(Re);_viewRepeater=p(zd);_coalescedStyleScheduler=p(g_);_viewportRuler=p(ma);_stickyPositioningListener=p(__,{optional:!0,skipSelf:!0});_document=p(ve);_data;_onDestroy=new H();_renderRows;_renderChangeSubscription;_columnDefsByName=new Map();_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set();_customRowDefs=new Set();_customHeaderRowDefs=new Set();_customFooterRowDefs=new Set();_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map();_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell";}return this._cellRoleInternal;}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn;}set trackBy(e){this._trackByFn=e;}_trackByFn;get dataSource(){return this._dataSource;}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e);}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows;}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles());}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout;}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0;}_fixedLayout=!1;contentChanged=new V();viewChange=new Qt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=p(Se);constructor(){p(new Ji("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r);}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Ve(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0;});}ngAfterContentInit(){this._hasInitialized=!0;}ngAfterContentChecked(){this._canRender()&&this._render();}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear();}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),cp(this.dataSource)&&this.dataSource.disconnect(this);}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return;}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===Bs.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context);}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);o.context.$implicit=r.item.data;}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles();}addColumnDef(e){this._customColumnDefs.add(e);}removeColumnDef(e){this._customColumnDefs.delete(e);}addRowDef(e){this._customRowDefs.add(e);}removeRowDef(e){this._customRowDefs.delete(e);}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0;}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0;}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0;}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0;}setNoDataRow(e){this._customNoDataRow=e;}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=iP(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none");}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged());}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=iP(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none");}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged());}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a]);}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s<i.length;s++)this._renderRows[s].rowDef===o&&a.push(i[s]);this._addStickyColumnStyles(a,o);}),r.forEach((o,a)=>{this._addStickyColumnStyles([o],this._footerRowDefs[a]);}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged());}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render());}_canRender(){return this._hasAllOutlets&&this._hasInitialized;}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates();}_getAllRenderRows(){let e=[],i=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map(),!this._data)return e;for(let r=0;r<this._data.length;r++){let o=this._data[r],a=this._getRenderRowsForData(o,r,i.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap());for(let s=0;s<a.length;s++){let l=a[s],c=this._cachedRenderRowsMap.get(l.data);c.has(l.rowDef)?c.get(l.rowDef).push(l):c.set(l.rowDef,[l]),e.push(l);}}return e;}_getRenderRowsForData(e,i,r){return this._getRowDefs(e,i).map(a=>{let s=r&&r.has(a)?r.get(a):[];if(s.length){let l=s.shift();return l.dataIndex=i,l;}else return{data:e,rowDef:a,dataIndex:i};});}_cacheColumnDefs(){this._columnDefsByName.clear(),p_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i);});}_cacheRowDefs(){this._headerRowDefs=p_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=p_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=p_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0];}_renderUpdatedColumns(){let e=(a,s)=>{let l=!!s.getColumnsDiff();return a||l;},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o;}_switchDataSource(e){this._data=[],cp(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e;}_observeRenderChanges(){if(!this.dataSource)return;let e;cp(this.dataSource)?e=this.dataSource.connect(this):Fc(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=se(this.dataSource)),this._renderChangeSubscription=e.pipe(Ve(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows();});}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles();}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles();}_addStickyColumnStyles(e,i){let r=Array.from(i?.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l;}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths);}_getRenderedRows(e){let i=[];for(let r=0;r<e.viewContainer.length;r++){let o=e.viewContainer.get(r);i.push(o.rootNodes[0]);}return i;}_getRowDefs(e,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(i,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;o&&r.push(o);}return r.length,r;}_getEmbeddedViewArgs(e,i){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:i};}_renderRow(e,i,r,o={}){let a=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),a;}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))cc.mostRecentCellOutlet&&cc.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck();}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i<r;i++){let a=e.get(i).context;a.count=r,a.first=i===0,a.last=i===r-1,a.even=i%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[i].dataIndex,a.renderIndex=i):a.index=this._renderRows[i].dataIndex;}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,i=>{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r);});}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows();}_checkStickyStates(){let e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles());}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new v1(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:se()).pipe(Ve(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles();});}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this);}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName));}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck();}static ɵfac=function(i){return new(i||t)();};static ɵcmp=E({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,o){if(i&1&&(Ee(o,x_,5),Ee(o,Kd,5),Ee(o,y_,5),Ee(o,Ap,5),Ee(o,C1,5)),i&2){let a;R(a=O())&&(r._noDataRow=a.first),R(a=O())&&(r._contentColumnDefs=a),R(a=O())&&(r._contentRowDefs=a),R(a=O())&&(r._contentHeaderRowDefs=a),R(a=O())&&(r._contentFooterRowDefs=a);}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&Z("cdk-table-fixed-layout",r.fixedLayout);},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",q],fixedLayout:[2,"fixedLayout","fixedLayout",q]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[ye([{provide:Ro,useExisting:t},{provide:zd,useClass:tc},{provide:g_,useClass:y1},{provide:__,useValue:null}])],ngContentSelectors:Jq,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(De(Xq),le(0),le(1,1),I(2,eW,1,0)(3,tW,7,0)(4,iW,4,0)),i&2&&(d(2),j(r._isServer?2:-1),d(),j(r._isNativeHtmlTable?3:4));},dependencies:[M1,E1,S1,k1],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
`],encapsulation:2});}return t;})();function p_(t,n){return t.concat(Array.from(n));}function iP(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode;}return null;}var aP=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[up]});}return t;})();var rW=[[["caption"]],[["colgroup"],["col"]],"*"],oW=["caption","colgroup, col","*"];function aW(t,n){t&1&&le(0,2);}function sW(t,n){t&1&&(m(0,"thead",0),Xt(1,1),u(),m(2,"tbody",2),Xt(3,3)(4,4),u(),m(5,"tfoot",0),Xt(6,5),u());}function lW(t,n){t&1&&Xt(0,1)(1,3)(2,4)(3,5);}var sn=(()=>{class t extends I1{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵcmp=E({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&Z("mdc-table-fixed-layout",r.fixedLayout);},exportAs:["matTable"],features:[ye([{provide:I1,useExisting:t},{provide:Ro,useExisting:t},{provide:g_,useClass:y1},{provide:zd,useClass:tc},{provide:__,useValue:null}]),Q],ngContentSelectors:oW,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(De(rW),le(0),le(1,1),I(2,aW,1,0)(3,sW,7,0)(4,lW,4,0)),i&2&&(d(2),j(r._isServer?2:-1),d(),j(r._isNativeHtmlTable?3:4));},dependencies:[M1,E1,S1,k1],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
`],encapsulation:2});}return t;})(),Qr=(()=>{class t extends b_{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["","matCellDef",""]],features:[ye([{provide:b_,useExisting:t}]),Q]});}return t;})(),Kr=(()=>{class t extends v_{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["","matHeaderCellDef",""]],features:[ye([{provide:v_,useExisting:t}]),Q]});}return t;})();var Zr=(()=>{class t extends Kd{get name(){return this._name;}set name(e){this._setNameInput(e);}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`);}static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[ye([{provide:Kd,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Q]});}return t;})(),Xr=(()=>{class t extends rP{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Q]});}return t;})();var Jr=(()=>{class t extends oP{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Q]});}return t;})();var eo=(()=>{class t extends Ap{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",q]},features:[ye([{provide:Ap,useExisting:t}]),Q]});}return t;})();var to=(()=>{class t extends y_{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[ye([{provide:y_,useExisting:t}]),Q]});}return t;})(),io=(()=>{class t extends w1{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵcmp=E({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ye([{provide:w1,useExisting:t}]),Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&Xt(0,0);},dependencies:[cc],encapsulation:2});}return t;})();var no=(()=>{class t extends D1{static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵcmp=E({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ye([{provide:D1,useExisting:t}]),Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&Xt(0,0);},dependencies:[cc],encapsulation:2});}return t;})(),Zd=(()=>{class t extends x_{_contentClassName="mat-mdc-no-data-row";static ɵfac=(()=>{let e;return function(r){return(e||(e=Fe(t)))(r||t);};})();static ɵdir=z({type:t,selectors:[["ng-template","matNoDataRow",""]],features:[ye([{provide:x_,useExisting:t}]),Q]});}return t;})();var ro=(()=>{class t{static ɵfac=function(i){return new(i||t)();};static ɵmod=re({type:t});static ɵinj=ne({imports:[he,aP,he]});}return t;})(),cW=9007199254740991,hr=class extends lp{_data;_renderData=new Qt([]);_filter=new Qt("");_internalPageChanges=new H();_renderChangesSubscription=null;filteredData;get data(){return this._data.value;}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n);}get filter(){return this._filter.value;}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data);}get sort(){return this._sort;}set sort(n){this._sort=n,this._updateChangeSubscription();}_sort;get paginator(){return this._paginator;}set paginator(n){this._paginator=n,this._updateChangeSubscription();}_paginator;sortingDataAccessor=(n,e)=>{let i=n[e];if(f0(i)){let r=Number(i);return r<cW?r:i;}return i;};sortData=(n,e)=>{let i=e.active,r=e.direction;return!i||r==""?n:n.sort((o,a)=>{let s=this.sortingDataAccessor(o,i),l=this.sortingDataAccessor(a,i),c=typeof s,h=typeof l;c!==h&&(c==="number"&&(s+=""),h==="number"&&(l+=""));let g=0;return s!=null&&l!=null?s>l?g=1:s<l&&(g=-1):s!=null?g=1:l!=null&&(g=-1),g*(r=="asc"?1:-1);});};filterPredicate=(n,e)=>{let i=e.trim().toLowerCase();return Object.values(n).some(r=>`${r}`.toLowerCase().includes(i));};constructor(n=[]){super(),this._data=new Qt(n),this._updateChangeSubscription();}_updateChangeSubscription(){let n=this._sort?At(this._sort.sortChange,this._sort.initialized):se(null),e=this._paginator?At(this._paginator.page,this._internalPageChanges,this._paginator.initialized):se(null),i=this._data,r=po([i,this._filter]).pipe(ue(([s])=>this._filterData(s))),o=po([r,n]).pipe(ue(([s])=>this._orderData(s))),a=po([o,e]).pipe(ue(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s));}_filterData(n){return this.filteredData=this.filter==null||this.filter===""?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData;}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n;}_pageData(n){if(!this.paginator)return n;let e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize);}_updatePaginator(n){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){let i=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,i);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next());}});}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData;}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null;}};var Gs=(()=>{class t{constructor(e,i){this.http=e,this.site=i;}isLoggedIn(e){throw new Error("function not implemented");}getLoginToken(e,i){let o=this.site.site.drupalHost+"/session/token",a={headers:new lt({"Content-Type":"application/json"}),responseType:"text"};return this.http.post(o,{},a);}createPost(e,i,r,o,a="1"){let s=this.site.site.drupalHost+this.site.site.drupalApi+"/node/chat",l={data:{type:"node--chat",attributes:{title:i,body:{value:"",format:"plain_text"},field_message3:r}}},c={headers:new lt({"Content-Type":"application/vnd.api+json","X-CSRF-Token":e}),responseType:"text"};return this.http.post(s,l,c);}getCsrfToken(){let i=this.site.site.drupalHost+"/session/token",r={headers:new lt({"Content-Type":"application/json"}),responseType:"text"};return this.http.post(i,{},r);}postPrompt(e,i){let r=this.site.site.drupalHost+this.site.site.drupalApi+"/node/prompt",o={data:{type:"node--prompt",attributes:{title:i.substring(0,50),body:{value:"",format:"plain_text"},field_message:i,field_image_prompt:!0}}},a={headers:new lt({"Content-Type":"application/vnd.api+json","X-CSRF-Token":e}),responseType:"text"};return this.http.post(r,o,a);}fetchPrompts(e,i,r,o){let s=`&filter[field_image_prompt][value]=${o?"1":"0"}`,l=`/node/prompt?page[offset]=${e}&page[limit]=${i}&include=uid,field_categories`+s,c=this.site.site.drupalHost+this.site.site.drupalApi+l;return this.http.get(c);}static{this.ɵfac=function(i){return new(i||t)(te(Hi),te(ct));};}static{this.ɵprov=P({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var sP=t=>({display:t}),dW=()=>["expandedDetail"];function uW(t,n){if(t&1&&(m(0,"th",12),f(1),u()),t&2){let e=y().$implicit;d(),w(e);}}function mW(t,n){if(t&1){let e=K();m(0,"button",16),S("click",function(){M(e);let r=y().$implicit,o=y(2);return k(o.choosePrompt(r));}),f(1),u();}if(t&2){let e=y(3);d(),F(" ",e.select," ");}}function pW(t,n){if(t&1&&(m(0,"td",13)(1,"div",14),f(2),I(3,mW,2,1,"button",15),u()()),t&2){let e=n.$implicit,i=y().$implicit;d(2),F(" ",e[i]," "),d(),v("ngIf",i==="Actions");}}function hW(t,n){if(t&1&&(_e(0,10),I(1,uW,2,1,"th",11)(2,pW,4,2,"td",5),be()),t&2){let e=n.$implicit;G("matColumnDef",e);}}function fW(t,n){t&1&&(m(0,"th",17),f(1,"\xA0"),u());}function gW(t,n){t&1&&(m(0,"mat-icon"),f(1,"keyboard_arrow_down"),u());}function _W(t,n){t&1&&(m(0,"mat-icon"),f(1,"keyboard_arrow_up"),u());}function bW(t,n){if(t&1){let e=K();m(0,"td",13)(1,"button",18),S("click",function(r){let o=M(e).$implicit;return o.Expanded=!o.Expanded,k(r.stopPropagation());}),I(2,gW,2,0,"mat-icon",19)(3,_W,2,0,"mat-icon",19),u()();}if(t&2){let e=n.$implicit;d(2),v("ngIf",!e.Expanded),d(),v("ngIf",e.Expanded);}}function vW(t,n){if(t&1&&(m(0,"td",13)(1,"div",20)(2,"div",21)(3,"strong"),f(4),u(),f(5),u()()()),t&2){let e=n.$implicit,i=y();ee("colspan",i.columnsToDisplayWithExpand.length),d(),v("@detailExpand",e.Expanded?"expanded":"collapsed"),d(3),F("",i.fullText,":"),d(),F(" ",e.Message," ");}}function yW(t,n){t&1&&C(0,"tr",22);}function xW(t,n){if(t&1){let e=K();m(0,"tr",23),S("click",function(){let r=M(e).$implicit;return k(r.Expanded=!r.Expanded);}),u();}if(t&2){let e=n.$implicit;Z("expanded-row",e.Expanded);}}function CW(t,n){t&1&&C(0,"tr",24);}var lP=(()=>{class t{constructor(e,i,r){this.user=e,this.site=i,this.drupal=r,this.imagePrompt=nt(!1),this.character=nt.required(),this.select="S\xE9lectionner",this.fullText="Invite",this.rowActions="actions de ligne",this.promptData=[],this.loaded=!1,this.dataSource=new hr(this.promptData),this.columnsToDisplay=["Category","Title","Actions"],this.columnsToDisplayWithExpand=[...this.columnsToDisplay,"expand"],this.choosePromptEvent=new V(),this.terms=[];}ngOnInit(){}ngAfterViewInit(){this.fetchPrompts();}fetchPrompts(){let e=this,i=this.site.site.drupalUid;this.site.demoMode()&&(i=this.site.site.drupalUid),this.drupal.fetchPrompts(0,50,i,this.imagePrompt()).pipe(de(1),ue(r=>{if(this.loaded=!0,!r)return console.log("no data received"),{prompts:[],terms:[]};let o=r.included||[];console.log("filting terms");let a=o.filter(c=>c.type.startsWith("taxonomy_term"));e.terms=a;let s=r.data,l=this.loadPrompts(s);return this.imagePrompt()||(l=this.filterPromptsByCategory(l)),l=this.sortPrompts(l),{prompts:l,terms:a};}),Mn(r=>(console.log("error:",r),se({prompts:[],terms:[]})))).subscribe(({prompts:r,terms:o})=>{this.terms=o,this.dataSource.data=r,this.table.renderRows();});}filterPromptsByCategory(e){let i=["Tech","Sales","Support","Legal"];return e.filter(r=>!r.Categories||r.Categories.length===0?!1:this.site.demoMode()?i.includes(r.Category):!i.includes(r.Category));}sortByCategory(e,i){return e.sort((r,o)=>r.Category===i&&o.Category!==i?-1:r.Category!==i&&o.Category===i?1:0);}sortPrompts(e){let i=e.sort((a,s)=>a.Category>s.Category?1:a.Category<s.Category?-1:0),r="Tech"