@bimplus/navigation-web 0.0.221 → 0.0.223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- var Ry=Object.create;var Ac=Object.defineProperty,Py=Object.defineProperties,Fy=Object.getOwnPropertyDescriptor,Vy=Object.getOwnPropertyDescriptors,jy=Object.getOwnPropertyNames,mm=Object.getOwnPropertySymbols,Hy=Object.getPrototypeOf,gm=Object.prototype.hasOwnProperty,By=Object.prototype.propertyIsEnumerable;var hm=(e,t,n)=>t in e?Ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oe=(e,t)=>{for(var n in t||={})gm.call(t,n)&&hm(e,n,t[n]);if(mm)for(var n of mm(t))By.call(t,n)&&hm(e,n,t[n]);return e},it=(e,t)=>Py(e,Vy(t));var vm=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Uy=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var zy=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of jy(t))!gm.call(e,r)&&r!==n&&Ac(e,r,{get:()=>t[r],enumerable:!(i=Fy(t,r))||i.enumerable});return e};var $y=(e,t,n)=>(n=e!=null?Ry(Hy(e)):{},zy(t||!e||!e.__esModule?Ac(n,"default",{value:e,enumerable:!0}):n,e));var Zt=(e,t,n)=>new Promise((i,r)=>{var o=d=>{try{c(n.next(d))}catch(f){r(f)}},a=d=>{try{c(n.throw(d))}catch(f){r(f)}},c=d=>d.done?i(d.value):Promise.resolve(d.value).then(o,a);c((n=n.apply(e,t)).next())});var O2=Uy((_f,Br)=>{"use strict";(function(e,t){typeof _f=="object"&&typeof Br<"u"?Br.exports=t():typeof define=="function"&&define.amd?define(t):e.moment=t()})(_f,function(){"use strict";var e;function t(){return e.apply(null,arguments)}function n(s){e=s}function i(s){return s instanceof Array||Object.prototype.toString.call(s)==="[object Array]"}function r(s){return s!=null&&Object.prototype.toString.call(s)==="[object Object]"}function o(s,l){return Object.prototype.hasOwnProperty.call(s,l)}function a(s){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(s).length===0;var l;for(l in s)if(o(s,l))return!1;return!0}function c(s){return s===void 0}function d(s){return typeof s=="number"||Object.prototype.toString.call(s)==="[object Number]"}function f(s){return s instanceof Date||Object.prototype.toString.call(s)==="[object Date]"}function h(s,l){var u=[],p,m=s.length;for(p=0;p<m;++p)u.push(l(s[p],p));return u}function g(s,l){for(var u in l)o(l,u)&&(s[u]=l[u]);return o(l,"toString")&&(s.toString=l.toString),o(l,"valueOf")&&(s.valueOf=l.valueOf),s}function y(s,l,u,p){return Zf(s,l,u,p,!0).utc()}function b(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(s){return s._pf==null&&(s._pf=b()),s._pf}var A;Array.prototype.some?A=Array.prototype.some:A=function(s){var l=Object(this),u=l.length>>>0,p;for(p=0;p<u;p++)if(p in l&&s.call(this,l[p],p,l))return!0;return!1};function k(s){var l=null,u=!1,p=s._d&&!isNaN(s._d.getTime());if(p&&(l=_(s),u=A.call(l.parsedDateParts,function(m){return m!=null}),p=l.overflow<0&&!l.empty&&!l.invalidEra&&!l.invalidMonth&&!l.invalidWeekday&&!l.weekdayMismatch&&!l.nullInput&&!l.invalidFormat&&!l.userInvalidated&&(!l.meridiem||l.meridiem&&u),s._strict&&(p=p&&l.charsLeftOver===0&&l.unusedTokens.length===0&&l.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(s))s._isValid=p;else return p;return s._isValid}function I(s){var l=y(NaN);return s!=null?g(_(l),s):_(l).userInvalidated=!0,l}var Z=t.momentProperties=[],He=!1;function ce(s,l){var u,p,m,v=Z.length;if(c(l._isAMomentObject)||(s._isAMomentObject=l._isAMomentObject),c(l._i)||(s._i=l._i),c(l._f)||(s._f=l._f),c(l._l)||(s._l=l._l),c(l._strict)||(s._strict=l._strict),c(l._tzm)||(s._tzm=l._tzm),c(l._isUTC)||(s._isUTC=l._isUTC),c(l._offset)||(s._offset=l._offset),c(l._pf)||(s._pf=_(l)),c(l._locale)||(s._locale=l._locale),v>0)for(u=0;u<v;u++)p=Z[u],m=l[p],c(m)||(s[p]=m);return s}function Ce(s){ce(this,s),this._d=new Date(s._d!=null?s._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),He===!1&&(He=!0,t.updateOffset(this),He=!1)}function N(s){return s instanceof Ce||s!=null&&s._isAMomentObject!=null}function ve(s){t.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+s)}function ne(s,l){var u=!0;return g(function(){if(t.deprecationHandler!=null&&t.deprecationHandler(null,s),u){var p=[],m,v,C,L=arguments.length;for(v=0;v<L;v++){if(m="",typeof arguments[v]=="object"){m+=`
2
- [`+v+"] ";for(C in arguments[0])o(arguments[0],C)&&(m+=C+": "+arguments[0][C]+", ");m=m.slice(0,-2)}else m=arguments[v];p.push(m)}ve(s+`
3
- Arguments: `+Array.prototype.slice.call(p).join("")+`
4
- `+new Error().stack),u=!1}return l.apply(this,arguments)},l)}var Mn={};function wf(s,l){t.deprecationHandler!=null&&t.deprecationHandler(s,l),Mn[s]||(ve(l),Mn[s]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function Ut(s){return typeof Function<"u"&&s instanceof Function||Object.prototype.toString.call(s)==="[object Function]"}function F2(s){var l,u;for(u in s)o(s,u)&&(l=s[u],Ut(l)?this[u]=l:this["_"+u]=l);this._config=s,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ic(s,l){var u=g({},s),p;for(p in l)o(l,p)&&(r(s[p])&&r(l[p])?(u[p]={},g(u[p],s[p]),g(u[p],l[p])):l[p]!=null?u[p]=l[p]:delete u[p]);for(p in s)o(s,p)&&!o(l,p)&&r(s[p])&&(u[p]=g({},u[p]));return u}function rc(s){s!=null&&this.set(s)}var oc;Object.keys?oc=Object.keys:oc=function(s){var l,u=[];for(l in s)o(s,l)&&u.push(l);return u};var V2={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j2(s,l,u){var p=this._calendar[s]||this._calendar.sameElse;return Ut(p)?p.call(l,u):p}function zt(s,l,u){var p=""+Math.abs(s),m=l-p.length,v=s>=0;return(v?u?"+":"":"-")+Math.pow(10,Math.max(0,m)).toString().substr(1)+p}var sc=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,us=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ac={},Hi={};function P(s,l,u,p){var m=p;typeof p=="string"&&(m=function(){return this[p]()}),s&&(Hi[s]=m),l&&(Hi[l[0]]=function(){return zt(m.apply(this,arguments),l[1],l[2])}),u&&(Hi[u]=function(){return this.localeData().ordinal(m.apply(this,arguments),s)})}function H2(s){return s.match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"")}function B2(s){var l=s.match(sc),u,p;for(u=0,p=l.length;u<p;u++)Hi[l[u]]?l[u]=Hi[l[u]]:l[u]=H2(l[u]);return function(m){var v="",C;for(C=0;C<p;C++)v+=Ut(l[C])?l[C].call(m,s):l[C];return v}}function ds(s,l){return s.isValid()?(l=Df(l,s.localeData()),ac[l]=ac[l]||B2(l),ac[l](s)):s.localeData().invalidDate()}function Df(s,l){var u=5;function p(m){return l.longDateFormat(m)||m}for(us.lastIndex=0;u>=0&&us.test(s);)s=s.replace(us,p),us.lastIndex=0,u-=1;return s}var U2={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function z2(s){var l=this._longDateFormat[s],u=this._longDateFormat[s.toUpperCase()];return l||!u?l:(this._longDateFormat[s]=u.match(sc).map(function(p){return p==="MMMM"||p==="MM"||p==="DD"||p==="dddd"?p.slice(1):p}).join(""),this._longDateFormat[s])}var $2="Invalid date";function Z2(){return this._invalidDate}var W2="%d",G2=/\d{1,2}/;function Y2(s){return this._ordinal.replace("%d",s)}var q2={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q2(s,l,u,p){var m=this._relativeTime[u];return Ut(m)?m(s,l,u,p):m.replace(/%d/i,s)}function X2(s,l){var u=this._relativeTime[s>0?"future":"past"];return Ut(u)?u(l):u.replace(/%s/i,l)}var Ef={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function wt(s){return typeof s=="string"?Ef[s]||Ef[s.toLowerCase()]:void 0}function lc(s){var l={},u,p;for(p in s)o(s,p)&&(u=wt(p),u&&(l[u]=s[p]));return l}var K2={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function J2(s){var l=[],u;for(u in s)o(s,u)&&l.push({unit:u,priority:K2[u]});return l.sort(function(p,m){return p.priority-m.priority}),l}var xf=/\d/,bt=/\d\d/,Mf=/\d{3}/,cc=/\d{4}/,ps=/[+-]?\d{6}/,we=/\d\d?/,If=/\d\d\d\d?/,Sf=/\d\d\d\d\d\d?/,fs=/\d{1,3}/,uc=/\d{1,4}/,ms=/[+-]?\d{1,6}/,Bi=/\d+/,hs=/[+-]?\d+/,ev=/Z|[+-]\d\d:?\d\d/gi,gs=/Z|[+-]\d\d(?::?\d\d)?/gi,tv=/[+-]?\d+(\.\d{1,3})?/,Ur=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ui=/^[1-9]\d?/,dc=/^([1-9]\d|\d)/,vs;vs={};function O(s,l,u){vs[s]=Ut(l)?l:function(p,m){return p&&u?u:l}}function nv(s,l){return o(vs,s)?vs[s](l._strict,l._locale):new RegExp(iv(s))}function iv(s){return rn(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(l,u,p,m,v){return u||p||m||v}))}function rn(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Dt(s){return s<0?Math.ceil(s)||0:Math.floor(s)}function ee(s){var l=+s,u=0;return l!==0&&isFinite(l)&&(u=Dt(l)),u}var pc={};function ue(s,l){var u,p=l,m;for(typeof s=="string"&&(s=[s]),d(l)&&(p=function(v,C){C[l]=ee(v)}),m=s.length,u=0;u<m;u++)pc[s[u]]=p}function zr(s,l){ue(s,function(u,p,m,v){m._w=m._w||{},l(u,m._w,m,v)})}function rv(s,l,u){l!=null&&o(pc,s)&&pc[s](l,u._a,u,s)}function bs(s){return s%4===0&&s%100!==0||s%400===0}var Je=0,on=1,$t=2,We=3,At=4,sn=5,ii=6,ov=7,sv=8;P("Y",0,0,function(){var s=this.year();return s<=9999?zt(s,4):"+"+s}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),O("Y",hs),O("YY",we,bt),O("YYYY",uc,cc),O("YYYYY",ms,ps),O("YYYYYY",ms,ps),ue(["YYYYY","YYYYYY"],Je),ue("YYYY",function(s,l){l[Je]=s.length===2?t.parseTwoDigitYear(s):ee(s)}),ue("YY",function(s,l){l[Je]=t.parseTwoDigitYear(s)}),ue("Y",function(s,l){l[Je]=parseInt(s,10)});function $r(s){return bs(s)?366:365}t.parseTwoDigitYear=function(s){return ee(s)+(ee(s)>68?1900:2e3)};var Tf=zi("FullYear",!0);function av(){return bs(this.year())}function zi(s,l){return function(u){return u!=null?(kf(this,s,u),t.updateOffset(this,l),this):Zr(this,s)}}function Zr(s,l){if(!s.isValid())return NaN;var u=s._d,p=s._isUTC;switch(l){case"Milliseconds":return p?u.getUTCMilliseconds():u.getMilliseconds();case"Seconds":return p?u.getUTCSeconds():u.getSeconds();case"Minutes":return p?u.getUTCMinutes():u.getMinutes();case"Hours":return p?u.getUTCHours():u.getHours();case"Date":return p?u.getUTCDate():u.getDate();case"Day":return p?u.getUTCDay():u.getDay();case"Month":return p?u.getUTCMonth():u.getMonth();case"FullYear":return p?u.getUTCFullYear():u.getFullYear();default:return NaN}}function kf(s,l,u){var p,m,v,C,L;if(!(!s.isValid()||isNaN(u))){switch(p=s._d,m=s._isUTC,l){case"Milliseconds":return void(m?p.setUTCMilliseconds(u):p.setMilliseconds(u));case"Seconds":return void(m?p.setUTCSeconds(u):p.setSeconds(u));case"Minutes":return void(m?p.setUTCMinutes(u):p.setMinutes(u));case"Hours":return void(m?p.setUTCHours(u):p.setHours(u));case"Date":return void(m?p.setUTCDate(u):p.setDate(u));case"FullYear":break;default:return}v=u,C=s.month(),L=s.date(),L=L===29&&C===1&&!bs(v)?28:L,m?p.setUTCFullYear(v,C,L):p.setFullYear(v,C,L)}}function lv(s){return s=wt(s),Ut(this[s])?this[s]():this}function cv(s,l){if(typeof s=="object"){s=lc(s);var u=J2(s),p,m=u.length;for(p=0;p<m;p++)this[u[p].unit](s[u[p].unit])}else if(s=wt(s),Ut(this[s]))return this[s](l);return this}function uv(s,l){return(s%l+l)%l}var Le;Array.prototype.indexOf?Le=Array.prototype.indexOf:Le=function(s){var l;for(l=0;l<this.length;++l)if(this[l]===s)return l;return-1};function fc(s,l){if(isNaN(s)||isNaN(l))return NaN;var u=uv(l,12);return s+=(l-u)/12,u===1?bs(s)?29:28:31-u%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(s){return this.localeData().monthsShort(this,s)}),P("MMMM",0,0,function(s){return this.localeData().months(this,s)}),O("M",we,Ui),O("MM",we,bt),O("MMM",function(s,l){return l.monthsShortRegex(s)}),O("MMMM",function(s,l){return l.monthsRegex(s)}),ue(["M","MM"],function(s,l){l[on]=ee(s)-1}),ue(["MMM","MMMM"],function(s,l,u,p){var m=u._locale.monthsParse(s,p,u._strict);m!=null?l[on]=m:_(u).invalidMonth=s});var dv="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Af="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Nf=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pv=Ur,fv=Ur;function mv(s,l){return s?i(this._months)?this._months[s.month()]:this._months[(this._months.isFormat||Nf).test(l)?"format":"standalone"][s.month()]:i(this._months)?this._months:this._months.standalone}function hv(s,l){return s?i(this._monthsShort)?this._monthsShort[s.month()]:this._monthsShort[Nf.test(l)?"format":"standalone"][s.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function gv(s,l,u){var p,m,v,C=s.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],p=0;p<12;++p)v=y([2e3,p]),this._shortMonthsParse[p]=this.monthsShort(v,"").toLocaleLowerCase(),this._longMonthsParse[p]=this.months(v,"").toLocaleLowerCase();return u?l==="MMM"?(m=Le.call(this._shortMonthsParse,C),m!==-1?m:null):(m=Le.call(this._longMonthsParse,C),m!==-1?m:null):l==="MMM"?(m=Le.call(this._shortMonthsParse,C),m!==-1?m:(m=Le.call(this._longMonthsParse,C),m!==-1?m:null)):(m=Le.call(this._longMonthsParse,C),m!==-1?m:(m=Le.call(this._shortMonthsParse,C),m!==-1?m:null))}function vv(s,l,u){var p,m,v;if(this._monthsParseExact)return gv.call(this,s,l,u);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),p=0;p<12;p++){if(m=y([2e3,p]),u&&!this._longMonthsParse[p]&&(this._longMonthsParse[p]=new RegExp("^"+this.months(m,"").replace(".","")+"$","i"),this._shortMonthsParse[p]=new RegExp("^"+this.monthsShort(m,"").replace(".","")+"$","i")),!u&&!this._monthsParse[p]&&(v="^"+this.months(m,"")+"|^"+this.monthsShort(m,""),this._monthsParse[p]=new RegExp(v.replace(".",""),"i")),u&&l==="MMMM"&&this._longMonthsParse[p].test(s))return p;if(u&&l==="MMM"&&this._shortMonthsParse[p].test(s))return p;if(!u&&this._monthsParse[p].test(s))return p}}function Lf(s,l){if(!s.isValid())return s;if(typeof l=="string"){if(/^\d+$/.test(l))l=ee(l);else if(l=s.localeData().monthsParse(l),!d(l))return s}var u=l,p=s.date();return p=p<29?p:Math.min(p,fc(s.year(),u)),s._isUTC?s._d.setUTCMonth(u,p):s._d.setMonth(u,p),s}function Of(s){return s!=null?(Lf(this,s),t.updateOffset(this,!0),this):Zr(this,"Month")}function bv(){return fc(this.year(),this.month())}function yv(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Rf.call(this),s?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=pv),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}function _v(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Rf.call(this),s?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=fv),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}function Rf(){function s(z,te){return te.length-z.length}var l=[],u=[],p=[],m,v,C,L;for(m=0;m<12;m++)v=y([2e3,m]),C=rn(this.monthsShort(v,"")),L=rn(this.months(v,"")),l.push(C),u.push(L),p.push(L),p.push(C);l.sort(s),u.sort(s),p.sort(s),this._monthsRegex=new RegExp("^("+p.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+l.join("|")+")","i")}function Cv(s,l,u,p,m,v,C){var L;return s<100&&s>=0?(L=new Date(s+400,l,u,p,m,v,C),isFinite(L.getFullYear())&&L.setFullYear(s)):L=new Date(s,l,u,p,m,v,C),L}function Wr(s){var l,u;return s<100&&s>=0?(u=Array.prototype.slice.call(arguments),u[0]=s+400,l=new Date(Date.UTC.apply(null,u)),isFinite(l.getUTCFullYear())&&l.setUTCFullYear(s)):l=new Date(Date.UTC.apply(null,arguments)),l}function ys(s,l,u){var p=7+l-u,m=(7+Wr(s,0,p).getUTCDay()-l)%7;return-m+p-1}function Pf(s,l,u,p,m){var v=(7+u-p)%7,C=ys(s,p,m),L=1+7*(l-1)+v+C,z,te;return L<=0?(z=s-1,te=$r(z)+L):L>$r(s)?(z=s+1,te=L-$r(s)):(z=s,te=L),{year:z,dayOfYear:te}}function Gr(s,l,u){var p=ys(s.year(),l,u),m=Math.floor((s.dayOfYear()-p-1)/7)+1,v,C;return m<1?(C=s.year()-1,v=m+an(C,l,u)):m>an(s.year(),l,u)?(v=m-an(s.year(),l,u),C=s.year()+1):(C=s.year(),v=m),{week:v,year:C}}function an(s,l,u){var p=ys(s,l,u),m=ys(s+1,l,u);return($r(s)-p+m)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),O("w",we,Ui),O("ww",we,bt),O("W",we,Ui),O("WW",we,bt),zr(["w","ww","W","WW"],function(s,l,u,p){l[p.substr(0,1)]=ee(s)});function wv(s){return Gr(s,this._week.dow,this._week.doy).week}var Dv={dow:0,doy:6};function Ev(){return this._week.dow}function xv(){return this._week.doy}function Mv(s){var l=this.localeData().week(this);return s==null?l:this.add((s-l)*7,"d")}function Iv(s){var l=Gr(this,1,4).week;return s==null?l:this.add((s-l)*7,"d")}P("d",0,"do","day"),P("dd",0,0,function(s){return this.localeData().weekdaysMin(this,s)}),P("ddd",0,0,function(s){return this.localeData().weekdaysShort(this,s)}),P("dddd",0,0,function(s){return this.localeData().weekdays(this,s)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),O("d",we),O("e",we),O("E",we),O("dd",function(s,l){return l.weekdaysMinRegex(s)}),O("ddd",function(s,l){return l.weekdaysShortRegex(s)}),O("dddd",function(s,l){return l.weekdaysRegex(s)}),zr(["dd","ddd","dddd"],function(s,l,u,p){var m=u._locale.weekdaysParse(s,p,u._strict);m!=null?l.d=m:_(u).invalidWeekday=s}),zr(["d","e","E"],function(s,l,u,p){l[p]=ee(s)});function Sv(s,l){return typeof s!="string"?s:isNaN(s)?(s=l.weekdaysParse(s),typeof s=="number"?s:null):parseInt(s,10)}function Tv(s,l){return typeof s=="string"?l.weekdaysParse(s)%7||7:isNaN(s)?null:s}function mc(s,l){return s.slice(l,7).concat(s.slice(0,l))}var kv="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ff="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Av="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nv=Ur,Lv=Ur,Ov=Ur;function Rv(s,l){var u=i(this._weekdays)?this._weekdays:this._weekdays[s&&s!==!0&&this._weekdays.isFormat.test(l)?"format":"standalone"];return s===!0?mc(u,this._week.dow):s?u[s.day()]:u}function Pv(s){return s===!0?mc(this._weekdaysShort,this._week.dow):s?this._weekdaysShort[s.day()]:this._weekdaysShort}function Fv(s){return s===!0?mc(this._weekdaysMin,this._week.dow):s?this._weekdaysMin[s.day()]:this._weekdaysMin}function Vv(s,l,u){var p,m,v,C=s.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],p=0;p<7;++p)v=y([2e3,1]).day(p),this._minWeekdaysParse[p]=this.weekdaysMin(v,"").toLocaleLowerCase(),this._shortWeekdaysParse[p]=this.weekdaysShort(v,"").toLocaleLowerCase(),this._weekdaysParse[p]=this.weekdays(v,"").toLocaleLowerCase();return u?l==="dddd"?(m=Le.call(this._weekdaysParse,C),m!==-1?m:null):l==="ddd"?(m=Le.call(this._shortWeekdaysParse,C),m!==-1?m:null):(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null):l==="dddd"?(m=Le.call(this._weekdaysParse,C),m!==-1||(m=Le.call(this._shortWeekdaysParse,C),m!==-1)?m:(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null)):l==="ddd"?(m=Le.call(this._shortWeekdaysParse,C),m!==-1||(m=Le.call(this._weekdaysParse,C),m!==-1)?m:(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null)):(m=Le.call(this._minWeekdaysParse,C),m!==-1||(m=Le.call(this._weekdaysParse,C),m!==-1)?m:(m=Le.call(this._shortWeekdaysParse,C),m!==-1?m:null))}function jv(s,l,u){var p,m,v;if(this._weekdaysParseExact)return Vv.call(this,s,l,u);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),p=0;p<7;p++){if(m=y([2e3,1]).day(p),u&&!this._fullWeekdaysParse[p]&&(this._fullWeekdaysParse[p]=new RegExp("^"+this.weekdays(m,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[p]=new RegExp("^"+this.weekdaysShort(m,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[p]=new RegExp("^"+this.weekdaysMin(m,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[p]||(v="^"+this.weekdays(m,"")+"|^"+this.weekdaysShort(m,"")+"|^"+this.weekdaysMin(m,""),this._weekdaysParse[p]=new RegExp(v.replace(".",""),"i")),u&&l==="dddd"&&this._fullWeekdaysParse[p].test(s))return p;if(u&&l==="ddd"&&this._shortWeekdaysParse[p].test(s))return p;if(u&&l==="dd"&&this._minWeekdaysParse[p].test(s))return p;if(!u&&this._weekdaysParse[p].test(s))return p}}function Hv(s){if(!this.isValid())return s!=null?this:NaN;var l=Zr(this,"Day");return s!=null?(s=Sv(s,this.localeData()),this.add(s-l,"d")):l}function Bv(s){if(!this.isValid())return s!=null?this:NaN;var l=(this.day()+7-this.localeData()._week.dow)%7;return s==null?l:this.add(s-l,"d")}function Uv(s){if(!this.isValid())return s!=null?this:NaN;if(s!=null){var l=Tv(s,this.localeData());return this.day(this.day()%7?l:l-7)}else return this.day()||7}function zv(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Nv),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}function $v(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lv),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zv(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ov),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function hc(){function s(nt,pn){return pn.length-nt.length}var l=[],u=[],p=[],m=[],v,C,L,z,te;for(v=0;v<7;v++)C=y([2e3,1]).day(v),L=rn(this.weekdaysMin(C,"")),z=rn(this.weekdaysShort(C,"")),te=rn(this.weekdays(C,"")),l.push(L),u.push(z),p.push(te),m.push(L),m.push(z),m.push(te);l.sort(s),u.sort(s),p.sort(s),m.sort(s),this._weekdaysRegex=new RegExp("^("+m.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+l.join("|")+")","i")}function gc(){return this.hours()%12||12}function Wv(){return this.hours()||24}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,gc),P("k",["kk",2],0,Wv),P("hmm",0,0,function(){return""+gc.apply(this)+zt(this.minutes(),2)}),P("hmmss",0,0,function(){return""+gc.apply(this)+zt(this.minutes(),2)+zt(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+zt(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+zt(this.minutes(),2)+zt(this.seconds(),2)});function Vf(s,l){P(s,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),l)})}Vf("a",!0),Vf("A",!1);function jf(s,l){return l._meridiemParse}O("a",jf),O("A",jf),O("H",we,dc),O("h",we,Ui),O("k",we,Ui),O("HH",we,bt),O("hh",we,bt),O("kk",we,bt),O("hmm",If),O("hmmss",Sf),O("Hmm",If),O("Hmmss",Sf),ue(["H","HH"],We),ue(["k","kk"],function(s,l,u){var p=ee(s);l[We]=p===24?0:p}),ue(["a","A"],function(s,l,u){u._isPm=u._locale.isPM(s),u._meridiem=s}),ue(["h","hh"],function(s,l,u){l[We]=ee(s),_(u).bigHour=!0}),ue("hmm",function(s,l,u){var p=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p)),_(u).bigHour=!0}),ue("hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p,2)),l[sn]=ee(s.substr(m)),_(u).bigHour=!0}),ue("Hmm",function(s,l,u){var p=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p))}),ue("Hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p,2)),l[sn]=ee(s.substr(m))});function Gv(s){return(s+"").toLowerCase().charAt(0)==="p"}var Yv=/[ap]\.?m?\.?/i,qv=zi("Hours",!0);function Qv(s,l,u){return s>11?u?"pm":"PM":u?"am":"AM"}var Hf={calendar:V2,longDateFormat:U2,invalidDate:$2,ordinal:W2,dayOfMonthOrdinalParse:G2,relativeTime:q2,months:dv,monthsShort:Af,week:Dv,weekdays:kv,weekdaysMin:Av,weekdaysShort:Ff,meridiemParse:Yv},Me={},Yr={},qr;function Xv(s,l){var u,p=Math.min(s.length,l.length);for(u=0;u<p;u+=1)if(s[u]!==l[u])return u;return p}function Bf(s){return s&&s.toLowerCase().replace("_","-")}function Kv(s){for(var l=0,u,p,m,v;l<s.length;){for(v=Bf(s[l]).split("-"),u=v.length,p=Bf(s[l+1]),p=p?p.split("-"):null;u>0;){if(m=_s(v.slice(0,u).join("-")),m)return m;if(p&&p.length>=u&&Xv(v,p)>=u-1)break;u--}l++}return qr}function Jv(s){return!!(s&&s.match("^[^/\\\\]*$"))}function _s(s){var l=null,u;if(Me[s]===void 0&&typeof Br<"u"&&Br&&Br.exports&&Jv(s))try{l=qr._abbr,u=vm,u("./locale/"+s),In(l)}catch{Me[s]=null}return Me[s]}function In(s,l){var u;return s&&(c(l)?u=ln(s):u=vc(s,l),u?qr=u:typeof console<"u"&&console.warn&&console.warn("Locale "+s+" not found. Did you forget to load it?")),qr._abbr}function vc(s,l){if(l!==null){var u,p=Hf;if(l.abbr=s,Me[s]!=null)wf("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),p=Me[s]._config;else if(l.parentLocale!=null)if(Me[l.parentLocale]!=null)p=Me[l.parentLocale]._config;else if(u=_s(l.parentLocale),u!=null)p=u._config;else return Yr[l.parentLocale]||(Yr[l.parentLocale]=[]),Yr[l.parentLocale].push({name:s,config:l}),null;return Me[s]=new rc(ic(p,l)),Yr[s]&&Yr[s].forEach(function(m){vc(m.name,m.config)}),In(s),Me[s]}else return delete Me[s],null}function eb(s,l){if(l!=null){var u,p,m=Hf;Me[s]!=null&&Me[s].parentLocale!=null?Me[s].set(ic(Me[s]._config,l)):(p=_s(s),p!=null&&(m=p._config),l=ic(m,l),p==null&&(l.abbr=s),u=new rc(l),u.parentLocale=Me[s],Me[s]=u),In(s)}else Me[s]!=null&&(Me[s].parentLocale!=null?(Me[s]=Me[s].parentLocale,s===In()&&In(s)):Me[s]!=null&&delete Me[s]);return Me[s]}function ln(s){var l;if(s&&s._locale&&s._locale._abbr&&(s=s._locale._abbr),!s)return qr;if(!i(s)){if(l=_s(s),l)return l;s=[s]}return Kv(s)}function tb(){return oc(Me)}function bc(s){var l,u=s._a;return u&&_(s).overflow===-2&&(l=u[on]<0||u[on]>11?on:u[$t]<1||u[$t]>fc(u[Je],u[on])?$t:u[We]<0||u[We]>24||u[We]===24&&(u[At]!==0||u[sn]!==0||u[ii]!==0)?We:u[At]<0||u[At]>59?At:u[sn]<0||u[sn]>59?sn:u[ii]<0||u[ii]>999?ii:-1,_(s)._overflowDayOfYear&&(l<Je||l>$t)&&(l=$t),_(s)._overflowWeeks&&l===-1&&(l=ov),_(s)._overflowWeekday&&l===-1&&(l=sv),_(s).overflow=l),s}var nb=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ib=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,rb=/Z|[+-]\d\d(?::?\d\d)?/,Cs=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yc=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ob=/^\/?Date\((-?\d+)/i,sb=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ab={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Uf(s){var l,u,p=s._i,m=nb.exec(p)||ib.exec(p),v,C,L,z,te=Cs.length,nt=yc.length;if(m){for(_(s).iso=!0,l=0,u=te;l<u;l++)if(Cs[l][1].exec(m[1])){C=Cs[l][0],v=Cs[l][2]!==!1;break}if(C==null){s._isValid=!1;return}if(m[3]){for(l=0,u=nt;l<u;l++)if(yc[l][1].exec(m[3])){L=(m[2]||" ")+yc[l][0];break}if(L==null){s._isValid=!1;return}}if(!v&&L!=null){s._isValid=!1;return}if(m[4])if(rb.exec(m[4]))z="Z";else{s._isValid=!1;return}s._f=C+(L||"")+(z||""),Cc(s)}else s._isValid=!1}function lb(s,l,u,p,m,v){var C=[cb(s),Af.indexOf(l),parseInt(u,10),parseInt(p,10),parseInt(m,10)];return v&&C.push(parseInt(v,10)),C}function cb(s){var l=parseInt(s,10);return l<=49?2e3+l:l<=999?1900+l:l}function ub(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function db(s,l,u){if(s){var p=Ff.indexOf(s),m=new Date(l[0],l[1],l[2]).getDay();if(p!==m)return _(u).weekdayMismatch=!0,u._isValid=!1,!1}return!0}function pb(s,l,u){if(s)return ab[s];if(l)return 0;var p=parseInt(u,10),m=p%100,v=(p-m)/100;return v*60+m}function zf(s){var l=sb.exec(ub(s._i)),u;if(l){if(u=lb(l[4],l[3],l[2],l[5],l[6],l[7]),!db(l[1],u,s))return;s._a=u,s._tzm=pb(l[8],l[9],l[10]),s._d=Wr.apply(null,s._a),s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),_(s).rfc2822=!0}else s._isValid=!1}function fb(s){var l=ob.exec(s._i);if(l!==null){s._d=new Date(+l[1]);return}if(Uf(s),s._isValid===!1)delete s._isValid;else return;if(zf(s),s._isValid===!1)delete s._isValid;else return;s._strict?s._isValid=!1:t.createFromInputFallback(s)}t.createFromInputFallback=ne("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(s){s._d=new Date(s._i+(s._useUTC?" UTC":""))});function $i(s,l,u){return s??l??u}function mb(s){var l=new Date(t.now());return s._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()]}function _c(s){var l,u,p=[],m,v,C;if(!s._d){for(m=mb(s),s._w&&s._a[$t]==null&&s._a[on]==null&&hb(s),s._dayOfYear!=null&&(C=$i(s._a[Je],m[Je]),(s._dayOfYear>$r(C)||s._dayOfYear===0)&&(_(s)._overflowDayOfYear=!0),u=Wr(C,0,s._dayOfYear),s._a[on]=u.getUTCMonth(),s._a[$t]=u.getUTCDate()),l=0;l<3&&s._a[l]==null;++l)s._a[l]=p[l]=m[l];for(;l<7;l++)s._a[l]=p[l]=s._a[l]==null?l===2?1:0:s._a[l];s._a[We]===24&&s._a[At]===0&&s._a[sn]===0&&s._a[ii]===0&&(s._nextDay=!0,s._a[We]=0),s._d=(s._useUTC?Wr:Cv).apply(null,p),v=s._useUTC?s._d.getUTCDay():s._d.getDay(),s._tzm!=null&&s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),s._nextDay&&(s._a[We]=24),s._w&&typeof s._w.d<"u"&&s._w.d!==v&&(_(s).weekdayMismatch=!0)}}function hb(s){var l,u,p,m,v,C,L,z,te;l=s._w,l.GG!=null||l.W!=null||l.E!=null?(v=1,C=4,u=$i(l.GG,s._a[Je],Gr(De(),1,4).year),p=$i(l.W,1),m=$i(l.E,1),(m<1||m>7)&&(z=!0)):(v=s._locale._week.dow,C=s._locale._week.doy,te=Gr(De(),v,C),u=$i(l.gg,s._a[Je],te.year),p=$i(l.w,te.week),l.d!=null?(m=l.d,(m<0||m>6)&&(z=!0)):l.e!=null?(m=l.e+v,(l.e<0||l.e>6)&&(z=!0)):m=v),p<1||p>an(u,v,C)?_(s)._overflowWeeks=!0:z!=null?_(s)._overflowWeekday=!0:(L=Pf(u,p,m,v,C),s._a[Je]=L.year,s._dayOfYear=L.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function Cc(s){if(s._f===t.ISO_8601){Uf(s);return}if(s._f===t.RFC_2822){zf(s);return}s._a=[],_(s).empty=!0;var l=""+s._i,u,p,m,v,C,L=l.length,z=0,te,nt;for(m=Df(s._f,s._locale).match(sc)||[],nt=m.length,u=0;u<nt;u++)v=m[u],p=(l.match(nv(v,s))||[])[0],p&&(C=l.substr(0,l.indexOf(p)),C.length>0&&_(s).unusedInput.push(C),l=l.slice(l.indexOf(p)+p.length),z+=p.length),Hi[v]?(p?_(s).empty=!1:_(s).unusedTokens.push(v),rv(v,p,s)):s._strict&&!p&&_(s).unusedTokens.push(v);_(s).charsLeftOver=L-z,l.length>0&&_(s).unusedInput.push(l),s._a[We]<=12&&_(s).bigHour===!0&&s._a[We]>0&&(_(s).bigHour=void 0),_(s).parsedDateParts=s._a.slice(0),_(s).meridiem=s._meridiem,s._a[We]=gb(s._locale,s._a[We],s._meridiem),te=_(s).era,te!==null&&(s._a[Je]=s._locale.erasConvertYear(te,s._a[Je])),_c(s),bc(s)}function gb(s,l,u){var p;return u==null?l:s.meridiemHour!=null?s.meridiemHour(l,u):(s.isPM!=null&&(p=s.isPM(u),p&&l<12&&(l+=12),!p&&l===12&&(l=0)),l)}function vb(s){var l,u,p,m,v,C,L=!1,z=s._f.length;if(z===0){_(s).invalidFormat=!0,s._d=new Date(NaN);return}for(m=0;m<z;m++)v=0,C=!1,l=ce({},s),s._useUTC!=null&&(l._useUTC=s._useUTC),l._f=s._f[m],Cc(l),k(l)&&(C=!0),v+=_(l).charsLeftOver,v+=_(l).unusedTokens.length*10,_(l).score=v,L?v<p&&(p=v,u=l):(p==null||v<p||C)&&(p=v,u=l,C&&(L=!0));g(s,u||l)}function bb(s){if(!s._d){var l=lc(s._i),u=l.day===void 0?l.date:l.day;s._a=h([l.year,l.month,u,l.hour,l.minute,l.second,l.millisecond],function(p){return p&&parseInt(p,10)}),_c(s)}}function yb(s){var l=new Ce(bc($f(s)));return l._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function $f(s){var l=s._i,u=s._f;return s._locale=s._locale||ln(s._l),l===null||u===void 0&&l===""?I({nullInput:!0}):(typeof l=="string"&&(s._i=l=s._locale.preparse(l)),N(l)?new Ce(bc(l)):(f(l)?s._d=l:i(u)?vb(s):u?Cc(s):_b(s),k(s)||(s._d=null),s))}function _b(s){var l=s._i;c(l)?s._d=new Date(t.now()):f(l)?s._d=new Date(l.valueOf()):typeof l=="string"?fb(s):i(l)?(s._a=h(l.slice(0),function(u){return parseInt(u,10)}),_c(s)):r(l)?bb(s):d(l)?s._d=new Date(l):t.createFromInputFallback(s)}function Zf(s,l,u,p,m){var v={};return(l===!0||l===!1)&&(p=l,l=void 0),(u===!0||u===!1)&&(p=u,u=void 0),(r(s)&&a(s)||i(s)&&s.length===0)&&(s=void 0),v._isAMomentObject=!0,v._useUTC=v._isUTC=m,v._l=u,v._i=s,v._f=l,v._strict=p,yb(v)}function De(s,l,u,p){return Zf(s,l,u,p,!1)}var Cb=ne("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=De.apply(null,arguments);return this.isValid()&&s.isValid()?s<this?this:s:I()}),wb=ne("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=De.apply(null,arguments);return this.isValid()&&s.isValid()?s>this?this:s:I()});function Wf(s,l){var u,p;if(l.length===1&&i(l[0])&&(l=l[0]),!l.length)return De();for(u=l[0],p=1;p<l.length;++p)(!l[p].isValid()||l[p][s](u))&&(u=l[p]);return u}function Db(){var s=[].slice.call(arguments,0);return Wf("isBefore",s)}function Eb(){var s=[].slice.call(arguments,0);return Wf("isAfter",s)}var xb=function(){return Date.now?Date.now():+new Date},Qr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Mb(s){var l,u=!1,p,m=Qr.length;for(l in s)if(o(s,l)&&!(Le.call(Qr,l)!==-1&&(s[l]==null||!isNaN(s[l]))))return!1;for(p=0;p<m;++p)if(s[Qr[p]]){if(u)return!1;parseFloat(s[Qr[p]])!==ee(s[Qr[p]])&&(u=!0)}return!0}function Ib(){return this._isValid}function Sb(){return Nt(NaN)}function ws(s){var l=lc(s),u=l.year||0,p=l.quarter||0,m=l.month||0,v=l.week||l.isoWeek||0,C=l.day||0,L=l.hour||0,z=l.minute||0,te=l.second||0,nt=l.millisecond||0;this._isValid=Mb(l),this._milliseconds=+nt+te*1e3+z*6e4+L*1e3*60*60,this._days=+C+v*7,this._months=+m+p*3+u*12,this._data={},this._locale=ln(),this._bubble()}function Ds(s){return s instanceof ws}function wc(s){return s<0?Math.round(-1*s)*-1:Math.round(s)}function Tb(s,l,u){var p=Math.min(s.length,l.length),m=Math.abs(s.length-l.length),v=0,C;for(C=0;C<p;C++)(u&&s[C]!==l[C]||!u&&ee(s[C])!==ee(l[C]))&&v++;return v+m}function Gf(s,l){P(s,0,0,function(){var u=this.utcOffset(),p="+";return u<0&&(u=-u,p="-"),p+zt(~~(u/60),2)+l+zt(~~u%60,2)})}Gf("Z",":"),Gf("ZZ",""),O("Z",gs),O("ZZ",gs),ue(["Z","ZZ"],function(s,l,u){u._useUTC=!0,u._tzm=Dc(gs,s)});var kb=/([\+\-]|\d\d)/gi;function Dc(s,l){var u=(l||"").match(s),p,m,v;return u===null?null:(p=u[u.length-1]||[],m=(p+"").match(kb)||["-",0,0],v=+(m[1]*60)+ee(m[2]),v===0?0:m[0]==="+"?v:-v)}function Ec(s,l){var u,p;return l._isUTC?(u=l.clone(),p=(N(s)||f(s)?s.valueOf():De(s).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+p),t.updateOffset(u,!1),u):De(s).local()}function xc(s){return-Math.round(s._d.getTimezoneOffset())}t.updateOffset=function(){};function Ab(s,l,u){var p=this._offset||0,m;if(!this.isValid())return s!=null?this:NaN;if(s!=null){if(typeof s=="string"){if(s=Dc(gs,s),s===null)return this}else Math.abs(s)<16&&!u&&(s=s*60);return!this._isUTC&&l&&(m=xc(this)),this._offset=s,this._isUTC=!0,m!=null&&this.add(m,"m"),p!==s&&(!l||this._changeInProgress?Xf(this,Nt(s-p,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?p:xc(this)}function Nb(s,l){return s!=null?(typeof s!="string"&&(s=-s),this.utcOffset(s,l),this):-this.utcOffset()}function Lb(s){return this.utcOffset(0,s)}function Ob(s){return this._isUTC&&(this.utcOffset(0,s),this._isUTC=!1,s&&this.subtract(xc(this),"m")),this}function Rb(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var s=Dc(ev,this._i);s!=null?this.utcOffset(s):this.utcOffset(0,!0)}return this}function Pb(s){return this.isValid()?(s=s?De(s).utcOffset():0,(this.utcOffset()-s)%60===0):!1}function Fb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Vb(){if(!c(this._isDSTShifted))return this._isDSTShifted;var s={},l;return ce(s,this),s=$f(s),s._a?(l=s._isUTC?y(s._a):De(s._a),this._isDSTShifted=this.isValid()&&Tb(s._a,l.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jb(){return this.isValid()?!this._isUTC:!1}function Hb(){return this.isValid()?this._isUTC:!1}function Yf(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bb=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ub=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nt(s,l){var u=s,p=null,m,v,C;return Ds(s)?u={ms:s._milliseconds,d:s._days,M:s._months}:d(s)||!isNaN(+s)?(u={},l?u[l]=+s:u.milliseconds=+s):(p=Bb.exec(s))?(m=p[1]==="-"?-1:1,u={y:0,d:ee(p[$t])*m,h:ee(p[We])*m,m:ee(p[At])*m,s:ee(p[sn])*m,ms:ee(wc(p[ii]*1e3))*m}):(p=Ub.exec(s))?(m=p[1]==="-"?-1:1,u={y:ri(p[2],m),M:ri(p[3],m),w:ri(p[4],m),d:ri(p[5],m),h:ri(p[6],m),m:ri(p[7],m),s:ri(p[8],m)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(C=zb(De(u.from),De(u.to)),u={},u.ms=C.milliseconds,u.M=C.months),v=new ws(u),Ds(s)&&o(s,"_locale")&&(v._locale=s._locale),Ds(s)&&o(s,"_isValid")&&(v._isValid=s._isValid),v}Nt.fn=ws.prototype,Nt.invalid=Sb;function ri(s,l){var u=s&&parseFloat(s.replace(",","."));return(isNaN(u)?0:u)*l}function qf(s,l){var u={};return u.months=l.month()-s.month()+(l.year()-s.year())*12,s.clone().add(u.months,"M").isAfter(l)&&--u.months,u.milliseconds=+l-+s.clone().add(u.months,"M"),u}function zb(s,l){var u;return s.isValid()&&l.isValid()?(l=Ec(l,s),s.isBefore(l)?u=qf(s,l):(u=qf(l,s),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function Qf(s,l){return function(u,p){var m,v;return p!==null&&!isNaN(+p)&&(wf(l,"moment()."+l+"(period, number) is deprecated. Please use moment()."+l+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),v=u,u=p,p=v),m=Nt(u,p),Xf(this,m,s),this}}function Xf(s,l,u,p){var m=l._milliseconds,v=wc(l._days),C=wc(l._months);s.isValid()&&(p=p??!0,C&&Lf(s,Zr(s,"Month")+C*u),v&&kf(s,"Date",Zr(s,"Date")+v*u),m&&s._d.setTime(s._d.valueOf()+m*u),p&&t.updateOffset(s,v||C))}var $b=Qf(1,"add"),Zb=Qf(-1,"subtract");function Kf(s){return typeof s=="string"||s instanceof String}function Wb(s){return N(s)||f(s)||Kf(s)||d(s)||Yb(s)||Gb(s)||s===null||s===void 0}function Gb(s){var l=r(s)&&!a(s),u=!1,p=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],m,v,C=p.length;for(m=0;m<C;m+=1)v=p[m],u=u||o(s,v);return l&&u}function Yb(s){var l=i(s),u=!1;return l&&(u=s.filter(function(p){return!d(p)&&Kf(s)}).length===0),l&&u}function qb(s){var l=r(s)&&!a(s),u=!1,p=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],m,v;for(m=0;m<p.length;m+=1)v=p[m],u=u||o(s,v);return l&&u}function Qb(s,l){var u=s.diff(l,"days",!0);return u<-6?"sameElse":u<-1?"lastWeek":u<0?"lastDay":u<1?"sameDay":u<2?"nextDay":u<7?"nextWeek":"sameElse"}function Xb(s,l){arguments.length===1&&(arguments[0]?Wb(arguments[0])?(s=arguments[0],l=void 0):qb(arguments[0])&&(l=arguments[0],s=void 0):(s=void 0,l=void 0));var u=s||De(),p=Ec(u,this).startOf("day"),m=t.calendarFormat(this,p)||"sameElse",v=l&&(Ut(l[m])?l[m].call(this,u):l[m]);return this.format(v||this.localeData().calendar(m,this,De(u)))}function Kb(){return new Ce(this)}function Jb(s,l){var u=N(s)?s:De(s);return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(l).valueOf()):!1}function e3(s,l){var u=N(s)?s:De(s);return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(l).valueOf()<u.valueOf()):!1}function t3(s,l,u,p){var m=N(s)?s:De(s),v=N(l)?l:De(l);return this.isValid()&&m.isValid()&&v.isValid()?(p=p||"()",(p[0]==="("?this.isAfter(m,u):!this.isBefore(m,u))&&(p[1]===")"?this.isBefore(v,u):!this.isAfter(v,u))):!1}function n3(s,l){var u=N(s)?s:De(s),p;return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()===u.valueOf():(p=u.valueOf(),this.clone().startOf(l).valueOf()<=p&&p<=this.clone().endOf(l).valueOf())):!1}function i3(s,l){return this.isSame(s,l)||this.isAfter(s,l)}function r3(s,l){return this.isSame(s,l)||this.isBefore(s,l)}function o3(s,l,u){var p,m,v;if(!this.isValid())return NaN;if(p=Ec(s,this),!p.isValid())return NaN;switch(m=(p.utcOffset()-this.utcOffset())*6e4,l=wt(l),l){case"year":v=Es(this,p)/12;break;case"month":v=Es(this,p);break;case"quarter":v=Es(this,p)/3;break;case"second":v=(this-p)/1e3;break;case"minute":v=(this-p)/6e4;break;case"hour":v=(this-p)/36e5;break;case"day":v=(this-p-m)/864e5;break;case"week":v=(this-p-m)/6048e5;break;default:v=this-p}return u?v:Dt(v)}function Es(s,l){if(s.date()<l.date())return-Es(l,s);var u=(l.year()-s.year())*12+(l.month()-s.month()),p=s.clone().add(u,"months"),m,v;return l-p<0?(m=s.clone().add(u-1,"months"),v=(l-p)/(p-m)):(m=s.clone().add(u+1,"months"),v=(l-p)/(m-p)),-(u+v)||0}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function s3(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function a3(s){if(!this.isValid())return null;var l=s!==!0,u=l?this.clone().utc():this;return u.year()<0||u.year()>9999?ds(u,l?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ut(Date.prototype.toISOString)?l?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ds(u,"Z")):ds(u,l?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function l3(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var s="moment",l="",u,p,m,v;return this.isLocal()||(s=this.utcOffset()===0?"moment.utc":"moment.parseZone",l="Z"),u="["+s+'("]',p=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",m="-MM-DD[T]HH:mm:ss.SSS",v=l+'[")]',this.format(u+p+m+v)}function c3(s){s||(s=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var l=ds(this,s);return this.localeData().postformat(l)}function u3(s,l){return this.isValid()&&(N(s)&&s.isValid()||De(s).isValid())?Nt({to:this,from:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function d3(s){return this.from(De(),s)}function p3(s,l){return this.isValid()&&(N(s)&&s.isValid()||De(s).isValid())?Nt({from:this,to:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function f3(s){return this.to(De(),s)}function Jf(s){var l;return s===void 0?this._locale._abbr:(l=ln(s),l!=null&&(this._locale=l),this)}var em=ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(s){return s===void 0?this.localeData():this.locale(s)});function tm(){return this._locale}var xs=1e3,Zi=60*xs,Ms=60*Zi,nm=(365*400+97)*24*Ms;function Wi(s,l){return(s%l+l)%l}function im(s,l,u){return s<100&&s>=0?new Date(s+400,l,u)-nm:new Date(s,l,u).valueOf()}function rm(s,l,u){return s<100&&s>=0?Date.UTC(s+400,l,u)-nm:Date.UTC(s,l,u)}function m3(s){var l,u;if(s=wt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?rm:im,s){case"year":l=u(this.year(),0,1);break;case"quarter":l=u(this.year(),this.month()-this.month()%3,1);break;case"month":l=u(this.year(),this.month(),1);break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":l=u(this.year(),this.month(),this.date());break;case"hour":l=this._d.valueOf(),l-=Wi(l+(this._isUTC?0:this.utcOffset()*Zi),Ms);break;case"minute":l=this._d.valueOf(),l-=Wi(l,Zi);break;case"second":l=this._d.valueOf(),l-=Wi(l,xs);break}return this._d.setTime(l),t.updateOffset(this,!0),this}function h3(s){var l,u;if(s=wt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?rm:im,s){case"year":l=u(this.year()+1,0,1)-1;break;case"quarter":l=u(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":l=u(this.year(),this.month()+1,1)-1;break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":l=u(this.year(),this.month(),this.date()+1)-1;break;case"hour":l=this._d.valueOf(),l+=Ms-Wi(l+(this._isUTC?0:this.utcOffset()*Zi),Ms)-1;break;case"minute":l=this._d.valueOf(),l+=Zi-Wi(l,Zi)-1;break;case"second":l=this._d.valueOf(),l+=xs-Wi(l,xs)-1;break}return this._d.setTime(l),t.updateOffset(this,!0),this}function g3(){return this._d.valueOf()-(this._offset||0)*6e4}function v3(){return Math.floor(this.valueOf()/1e3)}function b3(){return new Date(this.valueOf())}function y3(){var s=this;return[s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond()]}function _3(){var s=this;return{years:s.year(),months:s.month(),date:s.date(),hours:s.hours(),minutes:s.minutes(),seconds:s.seconds(),milliseconds:s.milliseconds()}}function C3(){return this.isValid()?this.toISOString():null}function w3(){return k(this)}function D3(){return g({},_(this))}function E3(){return _(this).overflow}function x3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),O("N",Mc),O("NN",Mc),O("NNN",Mc),O("NNNN",P3),O("NNNNN",F3),ue(["N","NN","NNN","NNNN","NNNNN"],function(s,l,u,p){var m=u._locale.erasParse(s,p,u._strict);m?_(u).era=m:_(u).invalidEra=s}),O("y",Bi),O("yy",Bi),O("yyy",Bi),O("yyyy",Bi),O("yo",V3),ue(["y","yy","yyy","yyyy"],Je),ue(["yo"],function(s,l,u,p){var m;u._locale._eraYearOrdinalRegex&&(m=s.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?l[Je]=u._locale.eraYearOrdinalParse(s,m):l[Je]=parseInt(s,10)});function M3(s,l){var u,p,m,v=this._eras||ln("en")._eras;for(u=0,p=v.length;u<p;++u){switch(typeof v[u].since){case"string":m=t(v[u].since).startOf("day"),v[u].since=m.valueOf();break}switch(typeof v[u].until){case"undefined":v[u].until=1/0;break;case"string":m=t(v[u].until).startOf("day").valueOf(),v[u].until=m.valueOf();break}}return v}function I3(s,l,u){var p,m,v=this.eras(),C,L,z;for(s=s.toUpperCase(),p=0,m=v.length;p<m;++p)if(C=v[p].name.toUpperCase(),L=v[p].abbr.toUpperCase(),z=v[p].narrow.toUpperCase(),u)switch(l){case"N":case"NN":case"NNN":if(L===s)return v[p];break;case"NNNN":if(C===s)return v[p];break;case"NNNNN":if(z===s)return v[p];break}else if([C,L,z].indexOf(s)>=0)return v[p]}function S3(s,l){var u=s.since<=s.until?1:-1;return l===void 0?t(s.since).year():t(s.since).year()+(l-s.offset)*u}function T3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].name;return""}function k3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].narrow;return""}function A3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].abbr;return""}function N3(){var s,l,u,p,m=this.localeData().eras();for(s=0,l=m.length;s<l;++s)if(u=m[s].since<=m[s].until?1:-1,p=this.clone().startOf("day").valueOf(),m[s].since<=p&&p<=m[s].until||m[s].until<=p&&p<=m[s].since)return(this.year()-t(m[s].since).year())*u+m[s].offset;return this.year()}function L3(s){return o(this,"_erasNameRegex")||Ic.call(this),s?this._erasNameRegex:this._erasRegex}function O3(s){return o(this,"_erasAbbrRegex")||Ic.call(this),s?this._erasAbbrRegex:this._erasRegex}function R3(s){return o(this,"_erasNarrowRegex")||Ic.call(this),s?this._erasNarrowRegex:this._erasRegex}function Mc(s,l){return l.erasAbbrRegex(s)}function P3(s,l){return l.erasNameRegex(s)}function F3(s,l){return l.erasNarrowRegex(s)}function V3(s,l){return l._eraYearOrdinalRegex||Bi}function Ic(){var s=[],l=[],u=[],p=[],m,v,C,L,z,te=this.eras();for(m=0,v=te.length;m<v;++m)C=rn(te[m].name),L=rn(te[m].abbr),z=rn(te[m].narrow),l.push(C),s.push(L),u.push(z),p.push(C),p.push(L),p.push(z);this._erasRegex=new RegExp("^("+p.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+l.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Is(s,l){P(0,[s,s.length],0,l)}Is("gggg","weekYear"),Is("ggggg","weekYear"),Is("GGGG","isoWeekYear"),Is("GGGGG","isoWeekYear"),O("G",hs),O("g",hs),O("GG",we,bt),O("gg",we,bt),O("GGGG",uc,cc),O("gggg",uc,cc),O("GGGGG",ms,ps),O("ggggg",ms,ps),zr(["gggg","ggggg","GGGG","GGGGG"],function(s,l,u,p){l[p.substr(0,2)]=ee(s)}),zr(["gg","GG"],function(s,l,u,p){l[p]=t.parseTwoDigitYear(s)});function j3(s){return om.call(this,s,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function H3(s){return om.call(this,s,this.isoWeek(),this.isoWeekday(),1,4)}function B3(){return an(this.year(),1,4)}function U3(){return an(this.isoWeekYear(),1,4)}function z3(){var s=this.localeData()._week;return an(this.year(),s.dow,s.doy)}function $3(){var s=this.localeData()._week;return an(this.weekYear(),s.dow,s.doy)}function om(s,l,u,p,m){var v;return s==null?Gr(this,p,m).year:(v=an(s,p,m),l>v&&(l=v),Z3.call(this,s,l,u,p,m))}function Z3(s,l,u,p,m){var v=Pf(s,l,u,p,m),C=Wr(v.year,0,v.dayOfYear);return this.year(C.getUTCFullYear()),this.month(C.getUTCMonth()),this.date(C.getUTCDate()),this}P("Q",0,"Qo","quarter"),O("Q",xf),ue("Q",function(s,l){l[on]=(ee(s)-1)*3});function W3(s){return s==null?Math.ceil((this.month()+1)/3):this.month((s-1)*3+this.month()%3)}P("D",["DD",2],"Do","date"),O("D",we,Ui),O("DD",we,bt),O("Do",function(s,l){return s?l._dayOfMonthOrdinalParse||l._ordinalParse:l._dayOfMonthOrdinalParseLenient}),ue(["D","DD"],$t),ue("Do",function(s,l){l[$t]=ee(s.match(we)[0])});var sm=zi("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),O("DDD",fs),O("DDDD",Mf),ue(["DDD","DDDD"],function(s,l,u){u._dayOfYear=ee(s)});function G3(s){var l=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return s==null?l:this.add(s-l,"d")}P("m",["mm",2],0,"minute"),O("m",we,dc),O("mm",we,bt),ue(["m","mm"],At);var Y3=zi("Minutes",!1);P("s",["ss",2],0,"second"),O("s",we,dc),O("ss",we,bt),ue(["s","ss"],sn);var q3=zi("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return this.millisecond()*10}),P(0,["SSSSS",5],0,function(){return this.millisecond()*100}),P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),O("S",fs,xf),O("SS",fs,bt),O("SSS",fs,Mf);var Sn,am;for(Sn="SSSS";Sn.length<=9;Sn+="S")O(Sn,Bi);function Q3(s,l){l[ii]=ee(("0."+s)*1e3)}for(Sn="S";Sn.length<=9;Sn+="S")ue(Sn,Q3);am=zi("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");function X3(){return this._isUTC?"UTC":""}function K3(){return this._isUTC?"Coordinated Universal Time":""}var S=Ce.prototype;S.add=$b,S.calendar=Xb,S.clone=Kb,S.diff=o3,S.endOf=h3,S.format=c3,S.from=u3,S.fromNow=d3,S.to=p3,S.toNow=f3,S.get=lv,S.invalidAt=E3,S.isAfter=Jb,S.isBefore=e3,S.isBetween=t3,S.isSame=n3,S.isSameOrAfter=i3,S.isSameOrBefore=r3,S.isValid=w3,S.lang=em,S.locale=Jf,S.localeData=tm,S.max=wb,S.min=Cb,S.parsingFlags=D3,S.set=cv,S.startOf=m3,S.subtract=Zb,S.toArray=y3,S.toObject=_3,S.toDate=b3,S.toISOString=a3,S.inspect=l3,typeof Symbol<"u"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=C3,S.toString=s3,S.unix=v3,S.valueOf=g3,S.creationData=x3,S.eraName=T3,S.eraNarrow=k3,S.eraAbbr=A3,S.eraYear=N3,S.year=Tf,S.isLeapYear=av,S.weekYear=j3,S.isoWeekYear=H3,S.quarter=S.quarters=W3,S.month=Of,S.daysInMonth=bv,S.week=S.weeks=Mv,S.isoWeek=S.isoWeeks=Iv,S.weeksInYear=z3,S.weeksInWeekYear=$3,S.isoWeeksInYear=B3,S.isoWeeksInISOWeekYear=U3,S.date=sm,S.day=S.days=Hv,S.weekday=Bv,S.isoWeekday=Uv,S.dayOfYear=G3,S.hour=S.hours=qv,S.minute=S.minutes=Y3,S.second=S.seconds=q3,S.millisecond=S.milliseconds=am,S.utcOffset=Ab,S.utc=Lb,S.local=Ob,S.parseZone=Rb,S.hasAlignedHourOffset=Pb,S.isDST=Fb,S.isLocal=jb,S.isUtcOffset=Hb,S.isUtc=Yf,S.isUTC=Yf,S.zoneAbbr=X3,S.zoneName=K3,S.dates=ne("dates accessor is deprecated. Use date instead.",sm),S.months=ne("months accessor is deprecated. Use month instead",Of),S.years=ne("years accessor is deprecated. Use year instead",Tf),S.zone=ne("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Nb),S.isDSTShifted=ne("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Vb);function J3(s){return De(s*1e3)}function ey(){return De.apply(null,arguments).parseZone()}function lm(s){return s}var se=rc.prototype;se.calendar=j2,se.longDateFormat=z2,se.invalidDate=Z2,se.ordinal=Y2,se.preparse=lm,se.postformat=lm,se.relativeTime=Q2,se.pastFuture=X2,se.set=F2,se.eras=M3,se.erasParse=I3,se.erasConvertYear=S3,se.erasAbbrRegex=O3,se.erasNameRegex=L3,se.erasNarrowRegex=R3,se.months=mv,se.monthsShort=hv,se.monthsParse=vv,se.monthsRegex=_v,se.monthsShortRegex=yv,se.week=wv,se.firstDayOfYear=xv,se.firstDayOfWeek=Ev,se.weekdays=Rv,se.weekdaysMin=Fv,se.weekdaysShort=Pv,se.weekdaysParse=jv,se.weekdaysRegex=zv,se.weekdaysShortRegex=$v,se.weekdaysMinRegex=Zv,se.isPM=Gv,se.meridiem=Qv;function Ss(s,l,u,p){var m=ln(),v=y().set(p,l);return m[u](v,s)}function cm(s,l,u){if(d(s)&&(l=s,s=void 0),s=s||"",l!=null)return Ss(s,l,u,"month");var p,m=[];for(p=0;p<12;p++)m[p]=Ss(s,p,u,"month");return m}function Sc(s,l,u,p){typeof s=="boolean"?(d(l)&&(u=l,l=void 0),l=l||""):(l=s,u=l,s=!1,d(l)&&(u=l,l=void 0),l=l||"");var m=ln(),v=s?m._week.dow:0,C,L=[];if(u!=null)return Ss(l,(u+v)%7,p,"day");for(C=0;C<7;C++)L[C]=Ss(l,(C+v)%7,p,"day");return L}function ty(s,l){return cm(s,l,"months")}function ny(s,l){return cm(s,l,"monthsShort")}function iy(s,l,u){return Sc(s,l,u,"weekdays")}function ry(s,l,u){return Sc(s,l,u,"weekdaysShort")}function oy(s,l,u){return Sc(s,l,u,"weekdaysMin")}In("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(s){var l=s%10,u=ee(s%100/10)===1?"th":l===1?"st":l===2?"nd":l===3?"rd":"th";return s+u}}),t.lang=ne("moment.lang is deprecated. Use moment.locale instead.",In),t.langData=ne("moment.langData is deprecated. Use moment.localeData instead.",ln);var cn=Math.abs;function sy(){var s=this._data;return this._milliseconds=cn(this._milliseconds),this._days=cn(this._days),this._months=cn(this._months),s.milliseconds=cn(s.milliseconds),s.seconds=cn(s.seconds),s.minutes=cn(s.minutes),s.hours=cn(s.hours),s.months=cn(s.months),s.years=cn(s.years),this}function um(s,l,u,p){var m=Nt(l,u);return s._milliseconds+=p*m._milliseconds,s._days+=p*m._days,s._months+=p*m._months,s._bubble()}function ay(s,l){return um(this,s,l,1)}function ly(s,l){return um(this,s,l,-1)}function dm(s){return s<0?Math.floor(s):Math.ceil(s)}function cy(){var s=this._milliseconds,l=this._days,u=this._months,p=this._data,m,v,C,L,z;return s>=0&&l>=0&&u>=0||s<=0&&l<=0&&u<=0||(s+=dm(Tc(u)+l)*864e5,l=0,u=0),p.milliseconds=s%1e3,m=Dt(s/1e3),p.seconds=m%60,v=Dt(m/60),p.minutes=v%60,C=Dt(v/60),p.hours=C%24,l+=Dt(C/24),z=Dt(pm(l)),u+=z,l-=dm(Tc(z)),L=Dt(u/12),u%=12,p.days=l,p.months=u,p.years=L,this}function pm(s){return s*4800/146097}function Tc(s){return s*146097/4800}function uy(s){if(!this.isValid())return NaN;var l,u,p=this._milliseconds;if(s=wt(s),s==="month"||s==="quarter"||s==="year")switch(l=this._days+p/864e5,u=this._months+pm(l),s){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(l=this._days+Math.round(Tc(this._months)),s){case"week":return l/7+p/6048e5;case"day":return l+p/864e5;case"hour":return l*24+p/36e5;case"minute":return l*1440+p/6e4;case"second":return l*86400+p/1e3;case"millisecond":return Math.floor(l*864e5)+p;default:throw new Error("Unknown unit "+s)}}function un(s){return function(){return this.as(s)}}var fm=un("ms"),dy=un("s"),py=un("m"),fy=un("h"),my=un("d"),hy=un("w"),gy=un("M"),vy=un("Q"),by=un("y"),yy=fm;function _y(){return Nt(this)}function Cy(s){return s=wt(s),this.isValid()?this[s+"s"]():NaN}function oi(s){return function(){return this.isValid()?this._data[s]:NaN}}var wy=oi("milliseconds"),Dy=oi("seconds"),Ey=oi("minutes"),xy=oi("hours"),My=oi("days"),Iy=oi("months"),Sy=oi("years");function Ty(){return Dt(this.days()/7)}var dn=Math.round,Gi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ky(s,l,u,p,m){return m.relativeTime(l||1,!!u,s,p)}function Ay(s,l,u,p){var m=Nt(s).abs(),v=dn(m.as("s")),C=dn(m.as("m")),L=dn(m.as("h")),z=dn(m.as("d")),te=dn(m.as("M")),nt=dn(m.as("w")),pn=dn(m.as("y")),Tn=v<=u.ss&&["s",v]||v<u.s&&["ss",v]||C<=1&&["m"]||C<u.m&&["mm",C]||L<=1&&["h"]||L<u.h&&["hh",L]||z<=1&&["d"]||z<u.d&&["dd",z];return u.w!=null&&(Tn=Tn||nt<=1&&["w"]||nt<u.w&&["ww",nt]),Tn=Tn||te<=1&&["M"]||te<u.M&&["MM",te]||pn<=1&&["y"]||["yy",pn],Tn[2]=l,Tn[3]=+s>0,Tn[4]=p,ky.apply(null,Tn)}function Ny(s){return s===void 0?dn:typeof s=="function"?(dn=s,!0):!1}function Ly(s,l){return Gi[s]===void 0?!1:l===void 0?Gi[s]:(Gi[s]=l,s==="s"&&(Gi.ss=l-1),!0)}function Oy(s,l){if(!this.isValid())return this.localeData().invalidDate();var u=!1,p=Gi,m,v;return typeof s=="object"&&(l=s,s=!1),typeof s=="boolean"&&(u=s),typeof l=="object"&&(p=Object.assign({},Gi,l),l.s!=null&&l.ss==null&&(p.ss=l.s-1)),m=this.localeData(),v=Ay(this,!u,p,m),u&&(v=m.pastFuture(+this,v)),m.postformat(v)}var kc=Math.abs;function Yi(s){return(s>0)-(s<0)||+s}function Ts(){if(!this.isValid())return this.localeData().invalidDate();var s=kc(this._milliseconds)/1e3,l=kc(this._days),u=kc(this._months),p,m,v,C,L=this.asSeconds(),z,te,nt,pn;return L?(p=Dt(s/60),m=Dt(p/60),s%=60,p%=60,v=Dt(u/12),u%=12,C=s?s.toFixed(3).replace(/\.?0+$/,""):"",z=L<0?"-":"",te=Yi(this._months)!==Yi(L)?"-":"",nt=Yi(this._days)!==Yi(L)?"-":"",pn=Yi(this._milliseconds)!==Yi(L)?"-":"",z+"P"+(v?te+v+"Y":"")+(u?te+u+"M":"")+(l?nt+l+"D":"")+(m||p||s?"T":"")+(m?pn+m+"H":"")+(p?pn+p+"M":"")+(s?pn+C+"S":"")):"P0D"}var ie=ws.prototype;ie.isValid=Ib,ie.abs=sy,ie.add=ay,ie.subtract=ly,ie.as=uy,ie.asMilliseconds=fm,ie.asSeconds=dy,ie.asMinutes=py,ie.asHours=fy,ie.asDays=my,ie.asWeeks=hy,ie.asMonths=gy,ie.asQuarters=vy,ie.asYears=by,ie.valueOf=yy,ie._bubble=cy,ie.clone=_y,ie.get=Cy,ie.milliseconds=wy,ie.seconds=Dy,ie.minutes=Ey,ie.hours=xy,ie.days=My,ie.weeks=Ty,ie.months=Iy,ie.years=Sy,ie.humanize=Oy,ie.toISOString=Ts,ie.toString=Ts,ie.toJSON=Ts,ie.locale=Jf,ie.localeData=tm,ie.toIsoString=ne("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ts),ie.lang=em,P("X",0,0,"unix"),P("x",0,0,"valueOf"),O("x",hs),O("X",tv),ue("X",function(s,l,u){u._d=new Date(parseFloat(s)*1e3)}),ue("x",function(s,l,u){u._d=new Date(ee(s))});return t.version="2.30.1",n(De),t.fn=S,t.min=Db,t.max=Eb,t.now=xb,t.utc=y,t.unix=J3,t.months=ty,t.isDate=f,t.locale=In,t.invalid=I,t.duration=Nt,t.isMoment=N,t.weekdays=iy,t.parseZone=ey,t.localeData=ln,t.isDuration=Ds,t.monthsShort=ny,t.weekdaysMin=oy,t.defineLocale=vc,t.updateLocale=eb,t.locales=tb,t.weekdaysShort=ry,t.normalizeUnits=wt,t.relativeTimeRounding=Ny,t.relativeTimeThreshold=Ly,t.calendarFormat=Qb,t.prototype=S,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})});var Nc;function ks(){return Nc}function Wt(e){let t=Nc;return Nc=e,t}var bm=Symbol("NotFound");function qi(e){return e===bm||e?.name==="\u0275NotFound"}var et=null,As=!1,Pc=1,Zy=null,dt=Symbol("SIGNAL");function Y(e){let t=et;return et=e,t}function Ls(){return et}var Xr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Kr(e){if(As)throw new Error("");if(et===null)return;et.consumerOnSignalRead(e);let t=et.producersTail;if(t!==void 0&&t.producer===e)return;let n,i=et.recomputing;if(i&&(n=t!==void 0?t.nextProducer:et.producers,n!==void 0&&n.producer===e)){et.producersTail=n,n.lastReadVersion=e.version;return}let r=e.consumersTail;if(r!==void 0&&r.consumer===et&&(!i||Gy(r,et)))return;let o=Qi(et),a={producer:e,consumer:et,nextProducer:n,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};et.producersTail=a,t!==void 0?t.nextProducer=a:et.producers=a,o&&wm(e,a)}function ym(){Pc++}function Fc(e){if(!(Qi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Pc)){if(!e.producerMustRecompute(e)&&!Rs(e)){Rc(e);return}e.producerRecomputeValue(e),Rc(e)}}function Vc(e){if(e.consumers===void 0)return;let t=As;As=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let i=n.consumer;i.dirty||Wy(i)}}finally{As=t}}function jc(){return et?.consumerAllowSignalWrites!==!1}function Wy(e){e.dirty=!0,Vc(e),e.consumerMarkedDirty?.(e)}function Rc(e){e.dirty=!1,e.lastCleanEpoch=Pc}function Jr(e){return e&&_m(e),Y(e)}function _m(e){e.producersTail=void 0,e.recomputing=!0}function Os(e,t){Y(t),e&&Cm(e)}function Cm(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Qi(e))do n=Hc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Rs(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,i=t.lastReadVersion;if(i!==n.version||(Fc(n),i!==n.version))return!0}return!1}function eo(e){if(Qi(e)){let t=e.producers;for(;t!==void 0;)t=Hc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function wm(e,t){let n=e.consumersTail,i=Qi(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!i)for(let r=e.producers;r!==void 0;r=r.nextProducer)wm(r.producer,r)}function Hc(e){let t=e.producer,n=e.nextProducer,i=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:t.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(t.consumers=i,!Qi(t)){let o=t.producers;for(;o!==void 0;)o=Hc(o)}return n}function Qi(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bc(e){Zy?.(e)}function Gy(e,t){let n=t.producersTail;if(n!==void 0){let i=t.producers;do{if(i===e)return!0;if(i===n)break;i=i.nextProducer}while(i!==void 0)}return!1}function Uc(e,t){return Object.is(e,t)}function Ps(e,t){let n=Object.create(Yy);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(Fc(n),Kr(n),n.value===Ns)throw n.error;return n.value};return i[dt]=n,Bc(n),i}var Lc=Symbol("UNSET"),Oc=Symbol("COMPUTING"),Ns=Symbol("ERRORED"),Yy=it(Oe({},Xr),{value:Lc,dirty:!0,error:null,equal:Uc,kind:"computed",producerMustRecompute(e){return e.value===Lc||e.value===Oc},producerRecomputeValue(e){if(e.value===Oc)throw new Error("");let t=e.value;e.value=Oc;let n=Jr(e),i,r=!1;try{i=e.computation(),Y(null),r=t!==Lc&&t!==Ns&&i!==Ns&&e.equal(t,i)}catch(o){i=Ns,e.error=o}finally{Os(e,n)}if(r){e.value=t;return}e.value=i,e.version++}});function qy(){throw new Error}var Dm=qy;function Em(e){Dm(e)}function zc(e){Dm=e}var Qy=null;function $c(e,t){let n=Object.create(Fs);n.value=e,t!==void 0&&(n.equal=t);let i=()=>xm(n);return i[dt]=n,Bc(n),[i,a=>to(n,a),a=>Mm(n,a)]}function xm(e){return Kr(e),e.value}function to(e,t){jc()||Em(e),e.equal(e.value,t)||(e.value=t,Xy(e))}function Mm(e,t){jc()||Em(e),to(e,t(e.value))}var Fs=it(Oe({},Xr),{equal:Uc,value:void 0,kind:"signal"});function Xy(e){e.version++,ym(),Vc(e),Qy?.(e)}function Q(e){return typeof e=="function"}function Vs(e){let n=e(i=>{Error.call(i),i.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var js=Vs(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
5
- ${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
6
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function no(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var rt=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:i}=this;if(Q(i))try{i()}catch(o){t=o instanceof js?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Im(o)}catch(a){t=t??[],a instanceof js?t=[...t,...a.errors]:t.push(a)}}if(t)throw new js(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Im(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&no(n,t)}remove(t){let{_finalizers:n}=this;n&&no(n,t),t instanceof e&&t._removeParent(this)}};rt.EMPTY=(()=>{let e=new rt;return e.closed=!0,e})();var Zc=rt.EMPTY;function Hs(e){return e instanceof rt||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function Im(e){Q(e)?e():e.unsubscribe()}var Lt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xi={setTimeout(e,t,...n){let{delegate:i}=Xi;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Xi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bs(e){Xi.setTimeout(()=>{let{onUnhandledError:t}=Lt;if(t)t(e);else throw e})}function io(){}var Sm=Wc("C",void 0,void 0);function Tm(e){return Wc("E",void 0,e)}function km(e){return Wc("N",e,void 0)}function Wc(e,t,n){return{kind:e,value:t,error:n}}var si=null;function Ki(e){if(Lt.useDeprecatedSynchronousErrorHandling){let t=!si;if(t&&(si={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:i}=si;if(si=null,n)throw i}}else e()}function Am(e){Lt.useDeprecatedSynchronousErrorHandling&&si&&(si.errorThrown=!0,si.error=e)}var ai=class extends rt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hs(t)&&t.add(this)):this.destination=e4}static create(t,n,i){return new fn(t,n,i)}next(t){this.isStopped?Yc(km(t),this):this._next(t)}error(t){this.isStopped?Yc(Tm(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Yc(Sm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ky=Function.prototype.bind;function Gc(e,t){return Ky.call(e,t)}var qc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Us(i)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Us(i)}else Us(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Us(n)}}},fn=class extends ai{constructor(t,n,i){super();let r;if(Q(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&Lt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Gc(t.next,o),error:t.error&&Gc(t.error,o),complete:t.complete&&Gc(t.complete,o)}):r=t}this.destination=new qc(r)}};function Us(e){Lt.useDeprecatedSynchronousErrorHandling?Am(e):Bs(e)}function Jy(e){throw e}function Yc(e,t){let{onStoppedNotification:n}=Lt;n&&Xi.setTimeout(()=>n(e,t))}var e4={closed:!0,next:io,error:Jy,complete:io};var Ji=typeof Symbol=="function"&&Symbol.observable||"@@observable";function zs(e){return e}function Nm(e){return e.length===0?zs:e.length===1?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}var oe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){let o=n4(n)?n:new fn(n,i,r);return Ki(()=>{let{operator:a,source:c}=this;o.add(a?a.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=Lm(i),new i((r,o)=>{let a=new fn({next:c=>{try{n(c)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[Ji](){return this}pipe(...n){return Nm(n)(this)}toPromise(n){return n=Lm(n),new n((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return e.create=t=>new e(t),e})();function Lm(e){var t;return(t=e??Lt.Promise)!==null&&t!==void 0?t:Promise}function t4(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function n4(e){return e&&e instanceof ai||t4(e)&&Hs(e)}function i4(e){return Q(e?.lift)}function Be(e){return t=>{if(i4(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ge(e,t,n,i,r){return new Qc(e,t,n,i,r)}var Qc=class extends ai{constructor(t,n,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=n?function(c){try{n(c)}catch(d){t.error(d)}}:super._next,this._error=r?function(c){try{r(c)}catch(d){t.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Om=Vs(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ot=(()=>{class e extends oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new $s(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Om}next(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Zc:(this.currentObservers=null,o.push(n),new rt(()=>{this.currentObservers=null,no(o,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){let n=new oe;return n.source=this,n}}return e.create=(t,n)=>new $s(t,n),e})(),$s=class extends Ot{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,t)}error(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&i!==void 0?i:Zc}};var kn=class extends Ot{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}};var Xc={now(){return(Xc.delegate||Date).now()},delegate:void 0};var An=class extends Ot{constructor(t=1/0,n=1/0,i=Xc){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;n||(i.push(t),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!t.closed;a+=i?1:2)t.next(o[a]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=n.now(),c=0;for(let d=1;d<i.length&&i[d]<=a;d+=2)c=d;c&&i.splice(0,c+1)}}};var Zs=new oe(e=>e.complete());function Rm(e){return e&&Q(e.schedule)}function Kc(e){return e[e.length-1]}function Pm(e){return Q(Kc(e))?e.pop():void 0}function er(e){return Rm(Kc(e))?e.pop():void 0}function Fm(e,t){return typeof Kc(e)=="number"?e.pop():t}function jm(e,t,n,i){function r(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function c(h){try{f(i.next(h))}catch(g){a(g)}}function d(h){try{f(i.throw(h))}catch(g){a(g)}}function f(h){h.done?o(h.value):r(h.value).then(c,d)}f((i=i.apply(e,t||[])).next())})}function Vm(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function li(e){return this instanceof li?(this.v=e,this):new li(e)}function Hm(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(b){return function(_){return Promise.resolve(_).then(b,g)}}function c(b,_){i[b]&&(r[b]=function(A){return new Promise(function(k,I){o.push([b,A,k,I])>1||d(b,A)})},_&&(r[b]=_(r[b])))}function d(b,_){try{f(i[b](_))}catch(A){y(o[0][3],A)}}function f(b){b.value instanceof li?Promise.resolve(b.value.v).then(h,g):y(o[0][2],b)}function h(b){d("next",b)}function g(b){d("throw",b)}function y(b,_){b(_),o.shift(),o.length&&d(o[0][0],o[0][1])}}function Bm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Vm=="function"?Vm(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(a){return new Promise(function(c,d){a=e[o](a),r(c,d,a.done,a.value)})}}function r(o,a,c,d){Promise.resolve(d).then(function(f){o({value:f,done:c})},a)}}var Ws=e=>e&&typeof e.length=="number"&&typeof e!="function";function Gs(e){return Q(e?.then)}function Ys(e){return Q(e[Ji])}function qs(e){return Symbol.asyncIterator&&Q(e?.[Symbol.asyncIterator])}function Qs(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function r4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xs=r4();function Ks(e){return Q(e?.[Xs])}function Js(e){return Hm(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:i,done:r}=yield li(n.read());if(r)return yield li(void 0);yield yield li(i)}}finally{n.releaseLock()}})}function ea(e){return Q(e?.getReader)}function Te(e){if(e instanceof oe)return e;if(e!=null){if(Ys(e))return o4(e);if(Ws(e))return s4(e);if(Gs(e))return a4(e);if(qs(e))return Um(e);if(Ks(e))return l4(e);if(ea(e))return c4(e)}throw Qs(e)}function o4(e){return new oe(t=>{let n=e[Ji]();if(Q(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function s4(e){return new oe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function a4(e){return new oe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Bs)})}function l4(e){return new oe(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Um(e){return new oe(t=>{u4(e,t).catch(n=>t.error(n))})}function c4(e){return Um(Js(e))}function u4(e,t){var n,i,r,o;return jm(this,void 0,void 0,function*(){try{for(n=Bm(e);i=yield n.next(),!i.done;){let a=i.value;if(t.next(a),t.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})}function Et(e,t,n,i=0,r=!1){let o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function ta(e,t=0){return Be((n,i)=>{n.subscribe(Ge(i,r=>Et(i,e,()=>i.next(r),t),()=>Et(i,e,()=>i.complete(),t),r=>Et(i,e,()=>i.error(r),t)))})}function na(e,t=0){return Be((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function zm(e,t){return Te(e).pipe(na(t),ta(t))}function $m(e,t){return Te(e).pipe(na(t),ta(t))}function Zm(e,t){return new oe(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function Wm(e,t){return new oe(n=>{let i;return Et(n,t,()=>{i=e[Xs](),Et(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){n.error(a);return}o?n.complete():n.next(r)},0,!0)}),()=>Q(i?.return)&&i.return()})}function ia(e,t){if(!e)throw new Error("Iterable cannot be null");return new oe(n=>{Et(n,t,()=>{let i=e[Symbol.asyncIterator]();Et(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Gm(e,t){return ia(Js(e),t)}function Ym(e,t){if(e!=null){if(Ys(e))return zm(e,t);if(Ws(e))return Zm(e,t);if(Gs(e))return $m(e,t);if(qs(e))return ia(e,t);if(Ks(e))return Wm(e,t);if(ea(e))return Gm(e,t)}throw Qs(e)}function tr(e,t){return t?Ym(e,t):Te(e)}function mn(...e){let t=er(e);return tr(e,t)}function ci(e){return!!e&&(e instanceof oe||Q(e.lift)&&Q(e.subscribe))}function ot(e,t){return Be((n,i)=>{let r=0;n.subscribe(Ge(i,o=>{i.next(e.call(t,o,r++))}))})}var{isArray:d4}=Array;function p4(e,t){return d4(t)?e(...t):e(t)}function qm(e){return ot(t=>p4(e,t))}var{isArray:f4}=Array,{getPrototypeOf:m4,prototype:h4,keys:g4}=Object;function Qm(e){if(e.length===1){let t=e[0];if(f4(t))return{args:t,keys:null};if(v4(t)){let n=g4(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function v4(e){return e&&typeof e=="object"&&m4(e)===h4}function Xm(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function Km(e,t,n,i,r,o,a,c){let d=[],f=0,h=0,g=!1,y=()=>{g&&!d.length&&!f&&t.complete()},b=A=>f<i?_(A):d.push(A),_=A=>{o&&t.next(A),f++;let k=!1;Te(n(A,h++)).subscribe(Ge(t,I=>{r?.(I),o?b(I):t.next(I)},()=>{k=!0},void 0,()=>{if(k)try{for(f--;d.length&&f<i;){let I=d.shift();a?Et(t,a,()=>_(I)):_(I)}y()}catch(I){t.error(I)}}))};return e.subscribe(Ge(t,b,()=>{g=!0,y()})),()=>{c?.()}}function nr(e,t,n=1/0){return Q(t)?nr((i,r)=>ot((o,a)=>t(i,o,r,a))(Te(e(i,r))),n):(typeof t=="number"&&(n=t),Be((i,r)=>Km(i,r,e,n)))}function ra(e=1/0){return nr(zs,e)}function Jm(){return ra(1)}function oa(...e){return Jm()(tr(e,er(e)))}function sa(e){return new oe(t=>{Te(e()).subscribe(t)})}function Jc(...e){let t=Pm(e),{args:n,keys:i}=Qm(e),r=new oe(o=>{let{length:a}=n;if(!a){o.complete();return}let c=new Array(a),d=a,f=a;for(let h=0;h<a;h++){let g=!1;Te(n[h]).subscribe(Ge(o,y=>{g||(g=!0,f--),c[h]=y},()=>d--,void 0,()=>{(!d||!g)&&(f||o.next(i?Xm(i,c):c),o.complete())}))}});return t?r.pipe(qm(t)):r}function eu(...e){let t=er(e),n=Fm(e,1/0),i=e;return i.length?i.length===1?Te(i[0]):ra(n)(tr(i,t)):Zs}function tu(e,t){return Be((n,i)=>{let r=0;n.subscribe(Ge(i,o=>e.call(t,o,r++)&&i.next(o)))})}function ro(e,t){return Q(t)?nr(e,t,1):nr(e,1)}function ir(e){return e<=0?()=>Zs:Be((t,n)=>{let i=0;t.subscribe(Ge(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}function nu(e){return Be((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function e1(e={}){let{connector:t=()=>new Ot,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let a,c,d,f=0,h=!1,g=!1,y=()=>{c?.unsubscribe(),c=void 0},b=()=>{y(),a=d=void 0,h=g=!1},_=()=>{let A=a;b(),A?.unsubscribe()};return Be((A,k)=>{f++,!g&&!h&&y();let I=d=d??t();k.add(()=>{f--,f===0&&!g&&!h&&(c=iu(_,r))}),I.subscribe(k),!a&&f>0&&(a=new fn({next:Z=>I.next(Z),error:Z=>{g=!0,y(),c=iu(b,n,Z),I.error(Z)},complete:()=>{h=!0,y(),c=iu(b,i),I.complete()}}),Te(A).subscribe(a))})(o)}}function iu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new fn({next:()=>{i.unsubscribe(),e()}});return Te(t(...n)).subscribe(i)}function aa(e,t,n){let i,r=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:n}=e:i=e??1/0,e1({connector:()=>new An(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Nn(e,t){return Be((n,i)=>{let r=null,o=0,a=!1,c=()=>a&&!r&&i.complete();n.subscribe(Ge(i,d=>{r?.unsubscribe();let f=0,h=o++;Te(e(d,h)).subscribe(r=Ge(i,g=>i.next(t?t(d,g,h,f++):g),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function ru(e){return Be((t,n)=>{Te(e).subscribe(Ge(n,()=>n.complete(),io)),!n.closed&&t.subscribe(n)})}var da="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",V=class extends Error{code;constructor(t,n){super(lo(t,n)),this.code=t}};function b4(e){return`NG0${Math.abs(e)}`}function lo(e,t){return`${b4(e)}${t?": "+t:""}`}function de(e){for(let t in e)if(e[t]===de)return t;throw Error("")}function i1(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ln(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ln).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let i=n.indexOf(`
7
- `);return i>=0?n.slice(0,i):n}function pa(e,t){return e?t?`${e} ${t}`:e:t||""}var y4=de({__forward_ref__:de});function fa(e){return e.__forward_ref__=fa,e.toString=function(){return Ln(this())},e}function Xe(e){return gu(e)?e():e}function gu(e){return typeof e=="function"&&e.hasOwnProperty(y4)&&e.__forward_ref__===fa}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pn(e){return{providers:e.providers||[],imports:e.imports||[]}}function ma(e){return _4(e,ha)}function _4(e,t){return e.hasOwnProperty(t)&&e[t]||null}function C4(e){let t=e?.[ha]??null;return t||null}function su(e){return e&&e.hasOwnProperty(ca)?e[ca]:null}var ha=de({\u0275prov:de}),ca=de({\u0275inj:de}),$=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vu(e){return e&&!!e.\u0275providers}var bu=de({\u0275cmp:de}),yu=de({\u0275dir:de}),_u=de({\u0275pipe:de});var so=de({\u0275fac:de}),mi=de({__NG_ELEMENT_ID__:de}),t1=de({__NG_ENV_ID__:de});function or(e){return typeof e=="string"?e:e==null?"":String(e)}function r1(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():or(e)}var o1=de({ngErrorCode:de}),w4=de({ngErrorMessage:de}),D4=de({ngTokenPath:de});function Cu(e,t){return s1("",-200,t)}function ga(e,t){throw new V(-201,!1)}function s1(e,t,n){let i=new V(t,e);return i[o1]=t,i[w4]=e,n&&(i[D4]=n),i}function E4(e){return e[o1]}var au;function a1(){return au}function st(e){let t=au;return au=e,t}function wu(e,t,n){let i=ma(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&8)return null;if(t!==void 0)return t;ga(e,"Injector")}var x4={},ui=x4,M4="__NG_DI_FLAG__",lu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let i=di(n)||0;try{return this.injector.get(t,i&8?null:ui,i)}catch(r){if(qi(r))return r;throw r}}};function I4(e,t=0){let n=ks();if(n===void 0)throw new V(-203,!1);if(n===null)return wu(e,void 0,t);{let i=S4(t),r=n.retrieve(e,i);if(qi(r)){if(i.optional)return null;throw r}return r}}function j(e,t=0){return(a1()||I4)(Xe(e),t)}function R(e,t){return j(e,di(t))}function di(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function S4(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function cu(e){let t=[];for(let n=0;n<e.length;n++){let i=Xe(e[n]);if(Array.isArray(i)){if(i.length===0)throw new V(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let c=i[a],d=T4(c);typeof d=="number"?d===-1?r=c.token:o|=d:r=c}t.push(j(r,o))}else t.push(j(i))}return t}function T4(e){return e[M4]}function On(e,t){let n=e.hasOwnProperty(so);return n?e[so]:null}function va(e,t){e.forEach(n=>Array.isArray(n)?va(n,t):t(n))}function Du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function co(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function l1(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function c1(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(r===1)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){let o=r-2;e[r]=e[o],r--}e[t]=n,e[t+1]=i}}function ba(e,t,n){let i=sr(e,t);return i>=0?e[i|1]=n:(i=~i,c1(e,i,t,n)),i}function ya(e,t){let n=sr(e,t);if(n>=0)return e[n|1]}function sr(e,t){return k4(e,t,1)}function k4(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){let o=i+(r-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?r=o:i=o+1}return~(r<<n)}var Fn={},at=[],hi=new $(""),Eu=new $("",-1),xu=new $(""),ao=class{get(t,n=ui){if(n===ui){let r=s1("",-201);throw r.name="\u0275NotFound",r}return n}};function gi(e){return e[bu]||null}function Mu(e){return e[yu]||null}function u1(e){return e[_u]||null}function uo(e){return{\u0275providers:e}}function _a(...e){return{\u0275providers:Iu(!0,e),\u0275fromNgModule:!0}}function Iu(e,...t){let n=[],i=new Set,r,o=a=>{n.push(a)};return va(t,a=>{let c=a;ua(c,o,[],i)&&(r||=[],r.push(c))}),r!==void 0&&d1(r,o),n}function d1(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:r}=e[n];Su(r,o=>{t(o,i)})}}function ua(e,t,n,i){if(e=Xe(e),!e)return!1;let r=null,o=su(e),a=!o&&gi(e);if(!o&&!a){let d=e.ngModule;if(o=su(d),o)r=d;else return!1}else{if(a&&!a.standalone)return!1;r=e}let c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let f of d)ua(f,t,n,i)}}else if(o){if(o.imports!=null&&!c){i.add(r);let f;try{va(o.imports,h=>{ua(h,t,n,i)&&(f||=[],f.push(h))})}finally{}f!==void 0&&d1(f,t)}if(!c){let f=On(r)||(()=>new r);t({provide:r,useFactory:f,deps:at},r),t({provide:xu,useValue:r,multi:!0},r),t({provide:hi,useValue:()=>j(r),multi:!0},r)}let d=o.providers;if(d!=null&&!c){let f=e;Su(d,h=>{t(h,f)})}}else return!1;return r!==e&&e.providers!==void 0}function Su(e,t){for(let n of e)vu(n)&&(n=n.\u0275providers),Array.isArray(n)?Su(n,t):t(n)}var A4=de({provide:String,useValue:de});function p1(e){return e!==null&&typeof e=="object"&&A4 in e}function N4(e){return!!(e&&e.useExisting)}function L4(e){return!!(e&&e.useFactory)}function pi(e){return typeof e=="function"}function f1(e){return!!e.useClass}var po=new $(""),la={},n1={},ou;function fo(){return ou===void 0&&(ou=new ao),ou}var pt=class{},fi=class extends pt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,du(t,a=>this.processProvider(a)),this.records.set(Eu,rr(void 0,this)),r.has("environment")&&this.records.set(pt,rr(void 0,this));let o=this.records.get(po);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(xu,at,{self:!0}))}retrieve(t,n){let i=di(n)||0;try{return this.get(t,ui,i)}catch(r){if(qi(r))return r;throw r}}destroy(){oo(this),this._destroyed=!0;let t=Y(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Y(t)}}onDestroy(t){return oo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){oo(this);let n=Wt(this),i=st(void 0),r;try{return t()}finally{Wt(n),st(i)}}get(t,n=ui,i){if(oo(this),t.hasOwnProperty(t1))return t[t1](this);let r=di(i),o,a=Wt(this),c=st(void 0);try{if(!(r&4)){let f=this.records.get(t);if(f===void 0){let h=V4(t)&&ma(t);h&&this.injectableDefInScope(h)?f=rr(uu(t),la):f=null,this.records.set(t,f)}if(f!=null)return this.hydrate(t,f,r)}let d=r&2?fo():this.parent;return n=r&8&&n===ui?null:n,d.get(t,n)}catch(d){let f=E4(d);throw f===-200||f===-201?new V(f,null):d}finally{st(c),Wt(a)}}resolveInjectorInitializers(){let t=Y(null),n=Wt(this),i=st(void 0),r;try{let o=this.get(hi,at,{self:!0});for(let a of o)a()}finally{Wt(n),st(i),Y(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(Ln(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Xe(t);let n=pi(t)?t:Xe(t&&t.provide),i=R4(t);if(!pi(t)&&t.multi===!0){let r=this.records.get(n);r||(r=rr(void 0,la,!0),r.factory=()=>cu(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let r=Y(null);try{if(n.value===n1)throw Cu(Ln(t));return n.value===la&&(n.value=n1,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&F4(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Y(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Xe(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function uu(e){let t=ma(e),n=t!==null?t.factory:On(e);if(n!==null)return n;if(e instanceof $)throw new V(204,!1);if(e instanceof Function)return O4(e);throw new V(204,!1)}function O4(e){if(e.length>0)throw new V(204,!1);let n=C4(e);return n!==null?()=>n.factory(e):()=>new e}function R4(e){if(p1(e))return rr(void 0,e.useValue);{let t=Tu(e);return rr(t,la)}}function Tu(e,t,n){let i;if(pi(e)){let r=Xe(e);return On(r)||uu(r)}else if(p1(e))i=()=>Xe(e.useValue);else if(L4(e))i=()=>e.useFactory(...cu(e.deps||[]));else if(N4(e))i=(r,o)=>j(Xe(e.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Xe(e&&(e.useClass||e.provide));if(P4(e))i=()=>new r(...cu(e.deps));else return On(r)||uu(r)}return i}function oo(e){if(e.destroyed)throw new V(205,!1)}function rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function P4(e){return!!e.deps}function F4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function V4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function du(e,t){for(let n of e)Array.isArray(n)?du(n,t):n&&vu(n)?du(n.\u0275providers,t):t(n)}function ar(e,t){let n;e instanceof fi?(oo(e),n=e):n=new lu(e);let i,r=Wt(n),o=st(void 0);try{return t()}finally{Wt(r),st(o)}}function m1(){return a1()!==void 0||ks()!=null}var Rt=0,H=1,W=2,Ye=3,xt=4,lt=5,vi=6,lr=7,Re=8,gn=9,Qt=10,be=11,cr=12,ku=13,bi=14,ct=15,yi=16,_i=17,Ci=18,mo=19,Au=20,hn=21,Ca=22,ho=23,yt=24,wa=25,wi=26,Ie=27,h1=1,Nu=6,Vn=7,go=8,vo=9,Pe=10;function Xt(e){return Array.isArray(e)&&typeof e[h1]=="object"}function Pt(e){return Array.isArray(e)&&e[h1]===!0}function Lu(e){return(e.flags&4)!==0}function jn(e){return e.componentOffset>-1}function ur(e){return(e.flags&1)===1}function Kt(e){return!!e.template}function dr(e){return(e[W]&512)!==0}function Di(e){return(e[W]&256)===256}var g1="svg",v1="math";function Mt(e){for(;Array.isArray(e);)e=e[Rt];return e}function Ou(e,t){return Mt(t[e])}function Ft(e,t){return Mt(t[e.index])}function bo(e,t){return e.data[t]}function Ru(e,t){return e[t]}function Pu(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function It(e,t){let n=t[e];return Xt(n)?n:n[Rt]}function Da(e){return(e[W]&128)===128}function b1(e){return Pt(e[Ye])}function St(e,t){return t==null?null:e[t]}function Fu(e){e[_i]=0}function Ea(e){e[W]&1024||(e[W]|=1024,Da(e)&&yo(e))}function y1(e,t){for(;e>0;)t=t[bi],e--;return t}function pr(e){return!!(e[W]&9216||e[yt]?.dirty)}function xa(e){e[Qt].changeDetectionScheduler?.notify(8),e[W]&64&&(e[W]|=1024),pr(e)&&yo(e)}function yo(e){e[Qt].changeDetectionScheduler?.notify(0);let t=Rn(e);for(;t!==null&&!(t[W]&8192||(t[W]|=8192,!Da(t)));)t=Rn(t)}function Vu(e,t){if(Di(e))throw new V(911,!1);e[hn]===null&&(e[hn]=[]),e[hn].push(t)}function _1(e,t){if(e[hn]===null)return;let n=e[hn].indexOf(t);n!==-1&&e[hn].splice(n,1)}function Rn(e){let t=e[Ye];return Pt(t)?t[Ye]:t}function C1(e){return e[lr]??=[]}function w1(e){return e.cleanup??=[]}var K={lFrame:L1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var pu=!1;function D1(){return K.lFrame.elementDepthCount}function E1(){K.lFrame.elementDepthCount++}function ju(){K.lFrame.elementDepthCount--}function Ma(){return K.bindingsEnabled}function Hu(){return K.skipHydrationRootTNode!==null}function Bu(e){return K.skipHydrationRootTNode===e}function Uu(){K.skipHydrationRootTNode=null}function G(){return K.lFrame.lView}function Ue(){return K.lFrame.tView}function B(e){return K.lFrame.contextLView=e,e[Re]}function U(e){return K.lFrame.contextLView=null,e}function tt(){let e=zu();for(;e!==null&&e.type===64;)e=e.parent;return e}function zu(){return K.lFrame.currentTNode}function x1(){let e=K.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function fr(e,t){let n=K.lFrame;n.currentTNode=e,n.isParent=t}function $u(){return K.lFrame.isParent}function Zu(){K.lFrame.isParent=!1}function M1(){return K.lFrame.contextLView}function Wu(){return pu}function Gu(e){let t=pu;return pu=e,t}function mr(){let e=K.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function I1(e){return K.lFrame.bindingIndex=e}function Hn(){return K.lFrame.bindingIndex++}function Yu(e){let t=K.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function S1(){return K.lFrame.inI18n}function T1(e,t){let n=K.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ia(t)}function k1(){return K.lFrame.currentDirectiveIndex}function Ia(e){K.lFrame.currentDirectiveIndex=e}function A1(e){let t=K.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function qu(e){K.lFrame.currentQueryIndex=e}function j4(e){let t=e[H];return t.type===2?t.declTNode:t.type===1?e[lt]:null}function Qu(e,t,n){if(n&4){let r=t,o=e;for(;r=r.parent,r===null&&!(n&1);)if(r=j4(o),r===null||(o=o[bi],r.type&10))break;if(r===null)return!1;t=r,e=o}let i=K.lFrame=N1();return i.currentTNode=t,i.lView=e,!0}function Sa(e){let t=N1(),n=e[H];K.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function N1(){let e=K.lFrame,t=e===null?null:e.child;return t===null?L1(e):t}function L1(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function O1(){let e=K.lFrame;return K.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xu=O1;function Ta(){let e=O1();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function R1(e){return(K.lFrame.contextLView=y1(e,K.lFrame.contextLView))[Re]}function vn(){return K.lFrame.selectedIndex}function Bn(e){K.lFrame.selectedIndex=e}function ka(){let e=K.lFrame;return bo(e.tView,e.selectedIndex)}function P1(){return K.lFrame.currentNamespace}var F1=!0;function Aa(){return F1}function _o(e){F1=e}function fu(e,t=null,n=null,i){let r=V1(e,t,n,i);return r.resolveInjectorInitializers(),r}function V1(e,t=null,n=null,i,r=new Set){let o=[n||at,_a(e)];return i=i||(typeof e=="object"?void 0:Ln(e)),new fi(o,t||fo(),i||null,r)}var Gt=class e{static THROW_IF_NOT_FOUND=ui;static NULL=new ao;static create(t,n){if(Array.isArray(t))return fu({name:""},n,t,"");{let i=t.name??"";return fu({name:i},t.parent,t.providers,i)}}static \u0275prov=q({token:e,providedIn:"any",factory:()=>j(Eu)});static __NG_ELEMENT_ID__=-1},_t=new $(""),Ei=(()=>{class e{static __NG_ELEMENT_ID__=H4;static __NG_ENV_ID__=n=>n}return e})(),mu=class extends Ei{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Di(this._lView)}onDestroy(t){let n=this._lView;return Vu(n,t),()=>_1(n,t)}};function H4(){return new mu(G())}var Yt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Jt=new $("",{providedIn:"root",factory:()=>{let e=R(pt),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Yt),t.handleError(n))}}}),j1={provide:hi,useValue:()=>void R(Yt),multi:!0};function Un(e,t){let[n,i,r]=$c(e,t?.equal),o=n,a=o[dt];return o.set=i,o.update=r,o.asReadonly=H1.bind(o),o}function H1(){let e=this[dt];if(e.readonlyFn===void 0){let t=()=>this();t[dt]=e,e.readonlyFn=t}return e.readonlyFn}var qt=class{},Na=new $("",{providedIn:"root",factory:()=>!1});var Ku=new $(""),Ju=new $(""),zn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new kn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new oe(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Co=(()=>{class e{internalPendingTasks=R(zn);scheduler=R(qt);errorHandler=R(Jt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let i=this.add();n().catch(this.errorHandler).finally(i)}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();function wo(...e){}var ed=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>new hu})}return e})(),hu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,i=this.queues.get(n);i.has(t)&&(i.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let i=this.queues.get(n);i.has(t)||i.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,i]of this.queues)n===null?t||=this.flushQueue(i):t||=n.run(()=>this.flushQueue(i));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let i of t)i.dirty&&(this.dirtyEffectCount--,n=!0,i.run());return n}};function No(e){return{toString:e}.toString()}function K4(e){return typeof e=="function"}var Va=class{previousValue;currentValue;firstChange;constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}};function hh(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var Bt=(()=>{let e=()=>gh;return e.ngInherit=!0,e})();function gh(e){return e.type.prototype.ngOnChanges&&(e.setInput=e5),J4}function J4(){let e=bh(this),t=e?.current;if(t){let n=e.previous;if(n===Fn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function e5(e,t,n,i,r){let o=this.declaredInputs[i],a=bh(e)||t5(e,{previous:Fn,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new Va(f&&f.currentValue,n,d===Fn),hh(e,t,r,n)}var vh="__ngSimpleChanges__";function bh(e){return e[vh]||null}function t5(e,t){return e[vh]=t}var B1=[];var ge=function(e,t=null,n){for(let i=0;i<B1.length;i++){let r=B1[i];r(e,t,n)}};function n5(e,t,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let a=gh(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function yh(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:d,ngAfterViewChecked:f,ngOnDestroy:h}=o;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),d&&(e.viewHooks??=[]).push(-n,d),f&&((e.viewHooks??=[]).push(n,f),(e.viewCheckHooks??=[]).push(n,f)),h!=null&&(e.destroyHooks??=[]).push(n,h)}}function Oa(e,t,n){_h(e,t,3,n)}function Ra(e,t,n,i){(e[W]&3)===n&&_h(e,t,n,i)}function td(e,t){let n=e[W];(n&3)===t&&(n&=16383,n+=1,e[W]=n)}function _h(e,t,n,i){let r=i!==void 0?e[_i]&65535:0,o=i??-1,a=t.length-1,c=0;for(let d=r;d<a;d++)if(typeof t[d+1]=="number"){if(c=t[d],i!=null&&c>=i)break}else t[d]<0&&(e[_i]+=65536),(c<o||o==-1)&&(i5(e,n,t,d),e[_i]=(e[_i]&4294901760)+d+2),d++}function U1(e,t){ge(4,e,t);let n=Y(null);try{t.call(e)}finally{Y(n),ge(5,e,t)}}function i5(e,t,n,i){let r=n[i]<0,o=n[i+1],a=r?-n[i]:n[i],c=e[a];r?e[W]>>14<e[_i]>>16&&(e[W]&3)===t&&(e[W]+=16384,U1(c,o)):U1(c,o)}var gr=-1,Mi=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i,r){this.factory=t,this.name=r,this.canSeeViewProviders=n,this.injectImpl=i}};function r5(e){return(e.flags&8)!==0}function o5(e){return(e.flags&16)!==0}function s5(e,t,n){let i=0;for(;i<n.length;){let r=n[i];if(typeof r=="number"){if(r!==0)break;i++;let o=n[i++],a=n[i++],c=n[i++];e.setAttribute(t,a,c,o)}else{let o=r,a=n[++i];l5(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function a5(e){return e===3||e===4||e===6}function l5(e){return e.charCodeAt(0)===64}function vr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let r=t[i];typeof r=="number"?n=r:n===0||(n===-1||n===2?z1(e,n,r,null,t[++i]):z1(e,n,r,null,null))}}return e}function z1(e,t,n,i,r){let o=0,a=e.length;if(t===-1)a=-1;else for(;o<e.length;){let c=e[o++];if(typeof c=="number"){if(c===t){a=-1;break}else if(c>t){a=o-1;break}}}for(;o<e.length;){let c=e[o];if(typeof c=="number")break;if(c===n){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r)}function Ch(e){return e!==gr}function ja(e){return e&32767}function c5(e){return e>>16}function Ha(e,t){let n=c5(e),i=t;for(;n>0;)i=i[bi],n--;return i}var dd=!0;function Ba(e){let t=dd;return dd=e,t}var u5=256,wh=u5-1,Dh=5,d5=0,en={};function p5(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(mi)&&(i=n[mi]),i==null&&(i=n[mi]=d5++);let r=i&wh,o=1<<r;t.data[e+(r>>Dh)]|=o}function Ua(e,t){let n=Eh(e,t);if(n!==-1)return n;let i=t[H];i.firstCreatePass&&(e.injectorIndex=t.length,nd(i.data,e),nd(t,null),nd(i.blueprint,null));let r=Fd(e,t),o=e.injectorIndex;if(Ch(r)){let a=ja(r),c=Ha(r,t),d=c[H].data;for(let f=0;f<8;f++)t[o+f]=c[a+f]|d[a+f]}return t[o+8]=r,o}function nd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Eh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;r!==null;){if(i=Th(r),i===null)return gr;if(n++,r=r[bi],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return gr}function pd(e,t,n){p5(e,t,n)}function xh(e,t,n){if(n&8||e!==void 0)return e;ga(t,"NodeInjector")}function Mh(e,t,n,i){if(n&8&&i===void 0&&(i=null),(n&3)===0){let r=e[gn],o=st(void 0);try{return r?r.get(t,i,n&8):wu(t,i,n&8)}finally{st(o)}}return xh(i,t,n)}function Ih(e,t,n,i=0,r){if(e!==null){if(t[W]&2048&&!(i&2)){let a=v5(e,t,n,i,en);if(a!==en)return a}let o=Sh(e,t,n,i,en);if(o!==en)return o}return Mh(t,n,i,r)}function Sh(e,t,n,i,r){let o=h5(n);if(typeof o=="function"){if(!Qu(t,e,i))return i&1?xh(r,n,i):Mh(t,n,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ga(n);else return a}finally{Xu()}}else if(typeof o=="number"){let a=null,c=Eh(e,t),d=gr,f=i&1?t[ct][lt]:null;for((c===-1||i&4)&&(d=c===-1?Fd(e,t):t[c+8],d===gr||!Z1(i,!1)?c=-1:(a=t[H],c=ja(d),t=Ha(d,t)));c!==-1;){let h=t[H];if($1(o,c,h.data)){let g=f5(c,t,n,a,i,f);if(g!==en)return g}d=t[c+8],d!==gr&&Z1(i,t[H].data[c+8]===f)&&$1(o,c,t)?(a=h,c=ja(d),t=Ha(d,t)):c=-1}}return r}function f5(e,t,n,i,r,o){let a=t[H],c=a.data[e+8],d=i==null?jn(c)&&dd:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=m5(c,a,n,d,f);return h!==null?za(t,a,h,c,r):en}function m5(e,t,n,i,r){let o=e.providerIndexes,a=t.data,c=o&1048575,d=e.directiveStart,f=e.directiveEnd,h=o>>20,g=i?c:c+h,y=r?c+h:f;for(let b=g;b<y;b++){let _=a[b];if(b<d&&n===_||b>=d&&_.type===n)return b}if(r){let b=a[d];if(b&&Kt(b)&&b.type===n)return d}return null}function za(e,t,n,i,r){let o=e[n],a=t.data;if(o instanceof Mi){let c=o;if(c.resolving){let b=r1(a[n]);throw Cu(b)}let d=Ba(c.canSeeViewProviders);c.resolving=!0;let f=a[n].type||a[n],h,g=c.injectImpl?st(c.injectImpl):null,y=Qu(e,i,0);try{o=e[n]=c.factory(void 0,r,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&n5(n,a[n],t)}finally{g!==null&&st(g),Ba(d),c.resolving=!1,Xu()}}return o}function h5(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mi)?e[mi]:void 0;return typeof t=="number"?t>=0?t&wh:g5:t}function $1(e,t,n){let i=1<<e;return!!(n[t+(e>>Dh)]&i)}function Z1(e,t){return!(e&2)&&!(e&1&&t)}var xi=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ih(this._tNode,this._lView,t,di(i),n)}};function g5(){return new xi(tt(),G())}function ki(e){return No(()=>{let t=e.prototype.constructor,n=t[so]||fd(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[so]||fd(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function fd(e){return gu(e)?()=>{let t=fd(Xe(e));return t&&t()}:On(e)}function v5(e,t,n,i,r){let o=e,a=t;for(;o!==null&&a!==null&&a[W]&2048&&!dr(a);){let c=Sh(o,a,n,i|2,en);if(c!==en)return c;let d=o.parent;if(!d){let f=a[Au];if(f){let h=f.get(n,en,i);if(h!==en)return h}d=Th(a),a=a[bi]}o=d}return r}function Th(e){let t=e[H],n=t.type;return n===2?t.declTNode:n===1?e[lt]:null}function b5(){return tl(tt(),G())}function tl(e,t){return new Zn(Ft(e,t))}var Zn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=b5}return e})();function kh(e){return(e.flags&128)===128}var Vd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Vd||{}),Ah=new Map,y5=0;function _5(){return y5++}function C5(e){Ah.set(e[mo],e)}function md(e){Ah.delete(e[mo])}var W1="__ngContext__";function br(e,t){Xt(t)?(e[W1]=t[mo],C5(t)):e[W1]=t}function Nh(e){return Oh(e[cr])}function Lh(e){return Oh(e[xt])}function Oh(e){for(;e!==null&&!Pt(e);)e=e[xt];return e}var hd;function jd(e){hd=e}function Rh(){if(hd!==void 0)return hd;if(typeof document<"u")return document;throw new V(210,!1)}var nl=new $("",{providedIn:"root",factory:()=>w5}),w5="ng",il=new $(""),Lo=new $("",{providedIn:"platform",factory:()=>"unknown"});var rl=new $("",{providedIn:"root",factory:()=>Rh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var D5="h",E5="b";var Ph="r";var Fh="di";var Vh=!1,jh=new $("",{providedIn:"root",factory:()=>Vh});var x5=(e,t,n,i)=>{};function M5(e,t,n,i){x5(e,t,n,i)}function ol(e){return(e.flags&32)===32}var I5=()=>null;function Hh(e,t,n=!1){return I5(e,t,n)}function Bh(e,t){let n=e.contentQueries;if(n!==null){let i=Y(null);try{for(let r=0;r<n.length;r+=2){let o=n[r],a=n[r+1];if(a!==-1){let c=e.data[a];qu(o),c.contentQueries(2,t[a],a)}}}finally{Y(i)}}}function gd(e,t,n){qu(0);let i=Y(null);try{t(e,n)}finally{Y(i)}}function Hd(e,t,n){if(Lu(t)){let i=Y(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let a=r;a<o;a++){let c=e.data[a];if(c.contentQueries){let d=n[a];c.contentQueries(1,d,a)}}}finally{Y(i)}}}var bn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(bn||{});var $a=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${da})`}};function sl(e){return e instanceof $a?e.changingThisBreaksApplicationSecurity:e}function Uh(e,t){let n=zh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${da})`)}return n===t}function zh(e){return e instanceof $a&&e.getTypeName()||null}var S5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $h(e){return e=String(e),e.match(S5)?e:"unsafe:"+e}var T5=/^>|^->|<!--|-->|--!>|<!-$/g,k5=/(<|>)/g,A5="\u200B$1\u200B";function N5(e){return e.replace(T5,t=>t.replace(k5,A5))}function L5(e,t){return e.createText(t)}function O5(e,t,n){e.setValue(t,n)}function R5(e,t){return e.createComment(N5(t))}function Zh(e,t,n){return e.createElement(t,n)}function Za(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Wh(e,t,n){e.appendChild(t,n)}function G1(e,t,n,i,r){i!==null?Za(e,t,n,i,r):Wh(e,t,n)}function Gh(e,t,n,i){e.removeChild(null,t,n,i)}function P5(e,t,n){e.setAttribute(t,"style",n)}function F5(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Yh(e,t,n){let{mergedAttrs:i,classes:r,styles:o}=n;i!==null&&s5(e,t,i),r!==null&&F5(e,t,r),o!==null&&P5(e,t,o)}var Bd=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Bd||{});function Cr(e){let t=V5();return t?t.sanitize(Bd.URL,e)||"":Uh(e,"URL")?sl(e):$h(or(e))}function V5(){let e=G();return e&&e[Qt].sanitizer}function j5(e,t,n){let i=e.length;for(;;){let r=e.indexOf(t,n);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}var qh="ng-template";function H5(e,t,n,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&j5(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(Ud(e))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&typeof(o=t[r])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Ud(e){return e.type===4&&e.value!==qh}function B5(e,t,n){let i=e.type===4&&!n?qh:e.value;return t===i}function U5(e,t,n){let i=4,r=e.attrs,o=r!==null?Z5(r):0,a=!1;for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="number"){if(!a&&!Vt(i)&&!Vt(d))return!1;if(a&&Vt(d))continue;a=!1,i=d|i&1;continue}if(!a)if(i&4){if(i=2|i&1,d!==""&&!B5(e,d,n)||d===""&&t.length===1){if(Vt(i))return!1;a=!0}}else if(i&8){if(r===null||!H5(e,r,d,n)){if(Vt(i))return!1;a=!0}}else{let f=t[++c],h=z5(d,r,Ud(e),n);if(h===-1){if(Vt(i))return!1;a=!0;continue}if(f!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&f!==g){if(Vt(i))return!1;a=!0}}}}return Vt(i)||a}function Vt(e){return(e&1)===0}function z5(e,t,n,i){if(t===null)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){let a=t[r];if(a===e)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let c=t[++r];for(;typeof c=="string";)c=t[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return W5(t,e)}function Qh(e,t,n=!1){for(let i=0;i<t.length;i++)if(U5(e,t[i],n))return!0;return!1}function $5(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Z5(e){for(let t=0;t<e.length;t++){let n=e[t];if(a5(n))return t}return e.length}function W5(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function G5(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Y1(e,t){return e?":not("+t.trim()+")":t}function Y5(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let a=e[n];if(typeof a=="string")if(i&2){let c=e[++n];r+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Vt(a)&&(t+=Y1(o,r),r=""),i=a,o=o||!Vt(i);n++}return r!==""&&(t+=Y1(o,r)),t}function q5(e){return e.map(Y5).join(",")}function Q5(e){let t=[],n=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&t.push(o,e[++i]):r===8&&n.push(o);else{if(!Vt(r))break;r=o}i++}return n.length&&t.push(1,...n),t}var Ct={};function zd(e,t,n,i,r,o,a,c,d,f,h){let g=Ie+i,y=g+r,b=X5(g,y),_=typeof f=="function"?f():f;return b[H]={type:e,blueprint:b,template:n,queries:null,viewQuery:c,declTNode:t,data:b.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:y,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:d,consts:_,incompleteFirstPass:!1,ssrId:h}}function X5(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:Ct);return n}function K5(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=zd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $d(e,t,n,i,r,o,a,c,d,f,h){let g=t.blueprint.slice();return g[Rt]=r,g[W]=i|4|128|8|64|1024,(f!==null||e&&e[W]&2048)&&(g[W]|=2048),Fu(g),g[Ye]=g[bi]=e,g[Re]=n,g[Qt]=a||e&&e[Qt],g[be]=c||e&&e[be],g[gn]=d||e&&e[gn]||null,g[lt]=o,g[mo]=_5(),g[vi]=h,g[Au]=f,g[ct]=t.type==2?e[ct]:g,g}function J5(e,t,n){let i=Ft(t,e),r=K5(n),o=e[Qt].rendererFactory,a=Zd(e,$d(e,r,null,Xh(n),i,t,null,o.createRenderer(i,n),null,null,null));return e[t.index]=a}function Xh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kh(e,t,n,i){if(n===0)return-1;let r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Zd(e,t){return e[cr]?e[ku][xt]=t:e[cr]=t,e[ku]=t,t}function w(e=1){Jh(Ue(),G(),vn()+e,!1)}function Jh(e,t,n,i){if(!i)if((t[W]&3)===3){let o=e.preOrderCheckHooks;o!==null&&Oa(t,o,n)}else{let o=e.preOrderHooks;o!==null&&Ra(t,o,0,n)}Bn(n)}var al=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(al||{});function vd(e,t,n,i){let r=Y(null);try{let[o,a,c]=e.inputs[n],d=null;(a&al.SignalBased)!==0&&(d=t[o][dt]),d!==null&&d.transformFn!==void 0?i=d.transformFn(i):c!==null&&(i=c.call(t,i)),e.setInput!==null?e.setInput(t,d,i,n,o):hh(t,d,o,i)}finally{Y(r)}}var Ht=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ht||{}),e8;function Wd(e,t){return e8(e,t)}var Ii=new Set,Gd=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Gd||{}),Oo=new $(""),q1=new Set;function wr(e){q1.has(e)||(q1.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var e0=!1,bd=class extends Ot{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,m1()&&(this.destroyRef=R(Ei,{optional:!0})??void 0,this.pendingTasks=R(zn,{optional:!0})??void 0)}emit(t){let n=Y(null);try{super.next(t)}finally{Y(n)}}subscribe(t,n,i){let r=t,o=n||(()=>null),a=i;if(t&&typeof t=="object"){let d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let c=super.subscribe({next:r,error:o,complete:a});return t instanceof rt&&t.add(c),c}wrapInTimeout(t){return n=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},J=bd;function t0(e){let t,n;function i(){e=wo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Q1(e){return queueMicrotask(()=>e()),()=>{e=wo}}var Yd="isAngularZone",Wa=Yd+"_ID",t8=0,ze=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new J(!1);onMicrotaskEmpty=new J(!1);onStable=new J(!1);onError=new J(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=e0}=t;if(typeof Zone>"u")throw new V(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)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,r8(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Yd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new V(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,n8,wo,wo);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},n8={};function qd(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function i8(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){t0(()=>{e.callbackScheduled=!1,yd(e),e.isCheckStableRunning=!0,qd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),yd(e)}function r8(e){let t=()=>{i8(e)},n=t8++;e._inner=e._inner.fork({name:"angular",properties:{[Yd]:!0,[Wa]:n,[Wa+n]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if(o8(d))return i.invokeTask(o,a,c,d);try{return X1(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),K1(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return X1(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!s8(d)&&t(),K1(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,yd(e),qd(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function yd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function X1(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function K1(e){e._nesting--,qd(e)}var Ga=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new J;onMicrotaskEmpty=new J;onStable=new J;onError=new J;run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}};function o8(e){return n0(e,"__ignore_ng_zone__")}function s8(e){return n0(e,"__scheduler_tick__")}function n0(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var i0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();var r0=new $("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function o0(e,t,n){let i=e.get(r0);if(Array.isArray(t))for(let r of t)i.queue.add(r),n?.detachedLeaveAnimationFns?.push(r);else i.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);i.scheduler&&i.scheduler(e)}function a8(e,t){let n=e.get(r0);if(t.detachedLeaveAnimationFns){for(let i of t.detachedLeaveAnimationFns)n.queue.delete(i);t.detachedLeaveAnimationFns=void 0}}function l8(e,t){for(let[n,i]of t)o0(e,i.animateFns)}function J1(e,t,n,i){let r=e?.[wi]?.enter;t!==null&&r&&r.has(n.index)&&l8(i,r)}function hr(e,t,n,i,r,o,a,c){if(r!=null){let d,f=!1;Pt(r)?d=r:Xt(r)&&(f=!0,r=r[Rt]);let h=Mt(r);e===0&&i!==null?(J1(c,i,o,n),a==null?Wh(t,i,h):Za(t,i,h,a||null,!0)):e===1&&i!==null?(J1(c,i,o,n),Za(t,i,h,a||null,!0)):e===2?eh(c,o,n,g=>{Gh(t,h,f,g)}):e===3&&eh(c,o,n,()=>{t.destroyNode(h)}),d!=null&&y8(t,e,n,d,o,i,a)}}function c8(e,t){s0(e,t),t[Rt]=null,t[lt]=null}function u8(e,t,n,i,r,o){i[Rt]=r,i[lt]=t,cl(e,i,n,1,r,o)}function s0(e,t){t[Qt].changeDetectionScheduler?.notify(9),cl(e,t,t[be],2,null,null)}function d8(e){let t=e[cr];if(!t)return id(e[H],e);for(;t;){let n=null;if(Xt(t))n=t[cr];else{let i=t[Pe];i&&(n=i)}if(!n){for(;t&&!t[xt]&&t!==e;)Xt(t)&&id(t[H],t),t=t[Ye];t===null&&(t=e),Xt(t)&&id(t[H],t),n=t&&t[xt]}t=n}}function Qd(e,t){let n=e[vo],i=n.indexOf(t);n.splice(i,1)}function ll(e,t){if(Di(t))return;let n=t[be];n.destroyNode&&cl(e,t,n,3,null,null),d8(t)}function id(e,t){if(Di(t))return;let n=Y(null);try{t[W]&=-129,t[W]|=256,t[yt]&&eo(t[yt]),m8(e,t),f8(e,t),t[H].type===1&&t[be].destroy();let i=t[yi];if(i!==null&&Pt(t[Ye])){i!==t[Ye]&&Qd(i,t);let r=t[Ci];r!==null&&r.detachView(e)}md(t)}finally{Y(n)}}function eh(e,t,n,i){let r=e?.[wi];if(r==null||r.leave==null||!r.leave.has(t.index))return i(!1);e&&Ii.add(e),o0(n,()=>{if(r.leave&&r.leave.has(t.index)){let a=r.leave.get(t.index),c=[];if(a){for(let d=0;d<a.animateFns.length;d++){let f=a.animateFns[d],{promise:h}=f();c.push(h)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(c),p8(e,i)}else e&&Ii.delete(e),i(!1)},r)}function p8(e,t){let n=e[wi]?.running;if(n){n.then(()=>{e[wi].running=void 0,Ii.delete(e),t(!0)});return}t(!1)}function f8(e,t){let n=e.cleanup,i=t[lr];if(n!==null)for(let a=0;a<n.length-1;a+=2)if(typeof n[a]=="string"){let c=n[a+3];c>=0?i[c]():i[-c].unsubscribe(),a+=2}else{let c=i[n[a+1]];n[a].call(c)}i!==null&&(t[lr]=null);let r=t[hn];if(r!==null){t[hn]=null;for(let a=0;a<r.length;a++){let c=r[a];c()}}let o=t[ho];if(o!==null){t[ho]=null;for(let a of o)a.destroy()}}function m8(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let r=t[n[i]];if(!(r instanceof Mi)){let o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let c=r[o[a]],d=o[a+1];ge(4,c,d);try{d.call(c)}finally{ge(5,c,d)}}else{ge(4,r,o);try{o.call(r)}finally{ge(5,r,o)}}}}}function a0(e,t,n){return h8(e,t.parent,n)}function h8(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[Rt];if(jn(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===bn.None||r===bn.Emulated)return null}return Ft(i,n)}function l0(e,t,n){return v8(e,t,n)}function g8(e,t,n){return e.type&40?Ft(e,n):null}var v8=g8,th;function Xd(e,t,n,i){let r=a0(e,i,t),o=t[be],a=i.parent||t[lt],c=l0(a,i,t);if(r!=null)if(Array.isArray(n))for(let d=0;d<n.length;d++)G1(o,r,n[d],c,!1);else G1(o,r,n,c,!1);th!==void 0&&th(o,i,t,n,r)}function Do(e,t){if(t!==null){let n=t.type;if(n&3)return Ft(t,e);if(n&4)return _d(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return Do(e,i);{let r=e[t.index];return Pt(r)?_d(-1,r):Mt(r)}}else{if(n&128)return Do(e,t.next);if(n&32)return Wd(t,e)()||Mt(e[t.index]);{let i=c0(e,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Rn(e[ct]);return Do(r,i)}else return Do(e,t.next)}}}return null}function c0(e,t){if(t!==null){let i=e[ct][lt],r=t.projection;return i.projection[r]}return null}function _d(e,t){let n=Pe+e+1;if(n<t.length){let i=t[n],r=i[H].firstChild;if(r!==null)return Do(i,r)}return t[Vn]}function Kd(e,t,n,i,r,o,a){for(;n!=null;){let c=i[gn];if(n.type===128){n=n.next;continue}let d=i[n.index],f=n.type;if(a&&t===0&&(d&&br(Mt(d),i),n.flags|=2),!ol(n))if(f&8)Kd(e,t,n.child,i,r,o,!1),hr(t,e,c,r,d,n,o,i);else if(f&32){let h=Wd(n,i),g;for(;g=h();)hr(t,e,c,r,g,n,o,i);hr(t,e,c,r,d,n,o,i)}else f&16?u0(e,t,i,n,r,o):hr(t,e,c,r,d,n,o,i);n=a?n.projectionNext:n.next}}function cl(e,t,n,i,r,o){Kd(n,i,e.firstChild,t,r,o,!1)}function b8(e,t,n){let i=t[be],r=a0(e,n,t),o=n.parent||t[lt],a=l0(o,n,t);u0(i,0,t,n,r,a)}function u0(e,t,n,i,r,o){let a=n[ct],d=a[lt].projection[i.projection];if(Array.isArray(d))for(let f=0;f<d.length;f++){let h=d[f];hr(t,e,n[gn],r,h,i,o,n)}else{let f=d,h=a[Ye];kh(i)&&(f.flags|=128),Kd(e,t,f,h,r,o,!0)}}function y8(e,t,n,i,r,o,a){let c=i[Vn],d=Mt(i);c!==d&&hr(t,e,n,o,c,r,a);for(let f=Pe;f<i.length;f++){let h=i[f];cl(h[H],h,e,t,o,c)}}function _8(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=i.indexOf("-")===-1?void 0:Ht.DashCase;r==null?e.removeStyle(n,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ht.Important),e.setStyle(n,i,r,o))}}function d0(e,t,n,i,r){let o=vn(),a=i&2;try{Bn(-1),a&&t.length>Ie&&Jh(e,t,Ie,!1),ge(a?2:0,r,n),n(i,r)}finally{Bn(o),ge(a?3:1,r,n)}}function ul(e,t,n){I8(e,t,n),(n.flags&64)===64&&S8(e,t,n)}function Ro(e,t,n=Ft){let i=t.localNames;if(i!==null){let r=t.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],c=a===-1?n(t,e):e[a];e[r++]=c}}}function C8(e,t,n,i){let o=i.get(jh,Vh)||n===bn.ShadowDom,a=e.selectRootElement(t,o);return w8(a),a}function w8(e){D8(e)}var D8=()=>null;function E8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function x8(e,t,n,i,r,o){let a=t[H];if(np(e,a,t,n,i)){jn(e)&&M8(t,e.index);return}e.type&3&&(n=E8(n)),p0(e,t,n,i,r,o)}function p0(e,t,n,i,r,o){if(e.type&3){let a=Ft(e,t);i=o!=null?o(i,e.value||"",n):i,r.setProperty(a,n,i)}else e.type&12}function M8(e,t){let n=It(t,e);n[W]&16||(n[W]|=64)}function I8(e,t,n){let i=n.directiveStart,r=n.directiveEnd;jn(n)&&J5(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ua(n,t);let o=n.initialInputs;for(let a=i;a<r;a++){let c=e.data[a],d=za(t,e,a,n);if(br(d,t),o!==null&&N8(t,a-i,d,c,n,o),Kt(c)){let f=It(n.index,t);f[Re]=za(t,e,a,n)}}}function S8(e,t,n){let i=n.directiveStart,r=n.directiveEnd,o=n.index,a=k1();try{Bn(o);for(let c=i;c<r;c++){let d=e.data[c],f=t[c];Ia(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&T8(d,f)}}finally{Bn(-1),Ia(a)}}function T8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Jd(e,t){let n=e.directiveRegistry,i=null;if(n)for(let r=0;r<n.length;r++){let o=n[r];Qh(t,o.selectors,!1)&&(i??=[],Kt(o)?i.unshift(o):i.push(o))}return i}function k8(e,t,n,i,r,o){let a=Ft(e,t);A8(t[be],a,o,e.value,n,i,r)}function A8(e,t,n,i,r,o,a){if(o==null)e.removeAttribute(t,r,n);else{let c=a==null?or(o):a(o,i||"",r);e.setAttribute(t,r,c,n)}}function N8(e,t,n,i,r,o){let a=o[t];if(a!==null)for(let c=0;c<a.length;c+=2){let d=a[c],f=a[c+1];vd(i,n,d,f)}}function ep(e,t,n,i,r){let o=Ie+n,a=t[H],c=r(a,t,e,i,n);t[o]=c,fr(e,!0);let d=e.type===2;return d?(Yh(t[be],c,e),(D1()===0||ur(e))&&br(c,t),E1()):br(c,t),Aa()&&(!d||!ol(e))&&Xd(a,t,c,e),e}function tp(e){let t=e;return $u()?Zu():(t=t.parent,fr(t,!1)),t}function L8(e,t){let n=e[gn];if(!n)return;let i;try{i=n.get(Jt,null)}catch{i=null}i?.(t)}function np(e,t,n,i,r){let o=e.inputs?.[i],a=e.hostDirectiveInputs?.[i],c=!1;if(a)for(let d=0;d<a.length;d+=2){let f=a[d],h=a[d+1],g=t.data[f];vd(g,n[f],h,r),c=!0}if(o)for(let d of o){let f=n[d],h=t.data[d];vd(h,f,i,r),c=!0}return c}function O8(e,t){let n=It(t,e),i=n[H];R8(i,n);let r=n[Rt];r!==null&&n[vi]===null&&(n[vi]=Hh(r,n[gn])),ge(18),ip(i,n,n[Re]),ge(19,n[Re])}function R8(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ip(e,t,n){Sa(t);try{let i=e.viewQuery;i!==null&&gd(1,i,n);let r=e.template;r!==null&&d0(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ci]?.finishViewCreation(e),e.staticContentQueries&&Bh(e,t),e.staticViewQueries&&gd(2,e.viewQuery,n);let o=e.components;o!==null&&P8(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[W]&=-5,Ta()}}function P8(e,t){for(let n=0;n<t.length;n++)O8(e,t[n])}function Po(e,t,n,i){let r=Y(null);try{let o=t.tView,c=e[W]&4096?4096:16,d=$d(e,o,n,c,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),f=e[t.index];d[yi]=f;let h=e[Ci];return h!==null&&(d[Ci]=h.createEmbeddedView(o)),ip(o,d,n),d}finally{Y(r)}}function yr(e,t){return!t||t.firstChild===null||kh(e)}function xo(e,t,n,i,r=!1){for(;n!==null;){if(n.type===128){n=r?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&i.push(Mt(o)),Pt(o)&&f0(o,i);let a=n.type;if(a&8)xo(e,t,n.child,i);else if(a&32){let c=Wd(n,t),d;for(;d=c();)i.push(d)}else if(a&16){let c=c0(t,n);if(Array.isArray(c))i.push(...c);else{let d=Rn(t[ct]);xo(d[H],d,c,i,!0)}}n=r?n.projectionNext:n.next}return i}function f0(e,t){for(let n=Pe;n<e.length;n++){let i=e[n],r=i[H].firstChild;r!==null&&xo(i[H],i,r,t)}e[Vn]!==e[Rt]&&t.push(e[Vn])}function m0(e){if(e[wa]!==null){for(let t of e[wa])t.impl.addSequence(t);e[wa].length=0}}var h0=[];function F8(e){return e[yt]??V8(e)}function V8(e){let t=h0.pop()??Object.create(H8);return t.lView=e,t}function j8(e){e.lView[yt]!==e&&(e.lView=null,h0.push(e))}var H8=it(Oe({},Xr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yo(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}});function B8(e){let t=e[yt]??Object.create(U8);return t.lView=e,t}var U8=it(Oe({},Xr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Rn(e.lView);for(;t&&!g0(t[H]);)t=Rn(t);t&&Ea(t)},consumerOnSignalRead(){this.lView[yt]=this}});function g0(e){return e.type!==2}function v0(e){if(e[ho]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[ho])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[W]&8192)}}var z8=100;function b0(e,t=0){let i=e[Qt].rendererFactory,r=!1;r||i.begin?.();try{$8(e,t)}finally{r||i.end?.()}}function $8(e,t){let n=Wu();try{Gu(!0),Cd(e,t);let i=0;for(;pr(e);){if(i===z8)throw new V(103,!1);i++,Cd(e,1)}}finally{Gu(n)}}function Z8(e,t,n,i){if(Di(t))return;let r=t[W],o=!1,a=!1;Sa(t);let c=!0,d=null,f=null;o||(g0(e)?(f=F8(t),d=Jr(f)):Ls()===null?(c=!1,f=B8(t),d=Jr(f)):t[yt]&&(eo(t[yt]),t[yt]=null));try{Fu(t),I1(e.bindingStartIndex),n!==null&&d0(e,t,n,2,i);let h=(r&3)===3;if(!o)if(h){let b=e.preOrderCheckHooks;b!==null&&Oa(t,b,null)}else{let b=e.preOrderHooks;b!==null&&Ra(t,b,0,null),td(t,0)}if(a||W8(t),v0(t),y0(t,0),e.contentQueries!==null&&Bh(e,t),!o)if(h){let b=e.contentCheckHooks;b!==null&&Oa(t,b)}else{let b=e.contentHooks;b!==null&&Ra(t,b,1),td(t,1)}Y8(e,t);let g=e.components;g!==null&&C0(t,g,0);let y=e.viewQuery;if(y!==null&&gd(2,y,i),!o)if(h){let b=e.viewCheckHooks;b!==null&&Oa(t,b)}else{let b=e.viewHooks;b!==null&&Ra(t,b,2),td(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ca]){for(let b of t[Ca])b();t[Ca]=null}o||(m0(t),t[W]&=-73)}catch(h){throw o||yo(t),h}finally{f!==null&&(Os(f,d),c&&j8(f)),Ta()}}function y0(e,t){for(let n=Nh(e);n!==null;n=Lh(n))for(let i=Pe;i<n.length;i++){let r=n[i];_0(r,t)}}function W8(e){for(let t=Nh(e);t!==null;t=Lh(t)){if(!(t[W]&2))continue;let n=t[vo];for(let i=0;i<n.length;i++){let r=n[i];Ea(r)}}}function G8(e,t,n){ge(18);let i=It(t,e);_0(i,n),ge(19,i[Re])}function _0(e,t){Da(e)&&Cd(e,t)}function Cd(e,t){let i=e[H],r=e[W],o=e[yt],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(o?.dirty&&Rs(o)),a||=!1,o&&(o.dirty=!1),e[W]&=-9217,a)Z8(i,e,i.template,e[Re]);else if(r&8192){let c=Y(null);try{v0(e),y0(e,1);let d=i.components;d!==null&&C0(e,d,1),m0(e)}finally{Y(c)}}}function C0(e,t,n){for(let i=0;i<t.length;i++)G8(e,t[i],n)}function Y8(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let r=n[i];if(r<0)Bn(~r);else{let o=r,a=n[++i],c=n[++i];T1(a,o);let d=t[o];ge(24,d),c(2,d),ge(25,d)}}}finally{Bn(-1)}}function rp(e,t){let n=Wu()?64:1088;for(e[Qt].changeDetectionScheduler?.notify(t);e;){e[W]|=n;let i=Rn(e);if(dr(e)&&!i)return e;e=i}return null}function w0(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function D0(e,t){let n=Pe+t;if(n<e.length)return e[n]}function Fo(e,t,n,i=!0){let r=t[H];if(q8(r,t,e,n),i){let a=_d(n,e),c=t[be],d=c.parentNode(e[Vn]);d!==null&&u8(r,e[lt],c,t,d,a)}let o=t[vi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function E0(e,t){let n=Mo(e,t);return n!==void 0&&ll(n[H],n),n}function Mo(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n];if(i){let r=i[yi];r!==null&&r!==e&&Qd(r,i),t>0&&(e[n-1][xt]=i[xt]);let o=co(e,Pe+t);c8(i[H],i);let a=o[Ci];a!==null&&a.detachView(o[H]),i[Ye]=null,i[xt]=null,i[W]&=-129}return i}function q8(e,t,n,i){let r=Pe+i,o=n.length;i>0&&(n[r-1][xt]=t),i<o-Pe?(t[xt]=n[r],Du(n,Pe+i,t)):(n.push(t),t[xt]=null),t[Ye]=n;let a=t[yi];a!==null&&n!==a&&x0(a,t);let c=t[Ci];c!==null&&c.insertView(e),xa(t),t[W]|=128}function x0(e,t){let n=e[vo],i=t[Ye];if(Xt(i))e[W]|=2;else{let r=i[Ye][ct];t[ct]!==r&&(e[W]|=2)}n===null?e[vo]=[t]:n.push(t)}var $n=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[H];return xo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Re]}set context(t){this._lView[Re]=t}get destroyed(){return Di(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Ye];if(Pt(t)){let n=t[go],i=n?n.indexOf(this):-1;i>-1&&(Mo(t,i),co(n,i))}this._attachedToViewContainer=!1}ll(this._lView[H],this._lView)}onDestroy(t){Vu(this._lView,t)}markForCheck(){rp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[W]&=-129}reattach(){xa(this._lView),this._lView[W]|=128}detectChanges(){this._lView[W]|=1024,b0(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=dr(this._lView),n=this._lView[yi];n!==null&&!t&&Qd(n,this._lView),s0(this._lView[H],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;let n=dr(this._lView),i=this._lView[yi];i!==null&&!n&&x0(i,this._lView),xa(this._lView)}};function op(e){return pr(e._lView)||!!(e._lView[W]&64)}function sp(e){Ea(e._lView)}var Vo=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Q8;constructor(n,i,r){this._declarationLView=n,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,r){let o=Po(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new $n(o)}}return e})();function Q8(){return M0(tt(),G())}function M0(e,t){return e.type&4?new Vo(t,e,tl(e,t)):null}function Dr(e,t,n,i,r){let o=e.data[t];if(o===null)o=X8(e,t,n,i,r),S1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=i,o.attrs=r;let a=x1();o.injectorIndex=a===null?-1:a.injectorIndex}return fr(o,!0),o}function X8(e,t,n,i,r){let o=zu(),a=$u(),c=a?o:o&&o.parent,d=e.data[t]=J8(e,c,n,t,i,r);return K8(e,d,o,a),d}function K8(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function J8(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,c=0;return Hu()&&(c|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var ZS=new RegExp(`^(\\d+)*(${E5}|${D5})*(.*)`);function e_(e){let t=e[Nu]??[],i=e[Ye][be],r=[];for(let o of t)o.data[Fh]!==void 0?r.push(o):t_(o,i);e[Nu]=r}function t_(e,t){let n=0,i=e.firstChild;if(i){let r=e.data[Ph];for(;n<r;){let o=i.nextSibling;Gh(t,i,!1),i=o,n++}}}var n_=()=>null,i_=()=>null;function Ya(e,t){return n_(e,t)}function I0(e,t,n){return i_(e,t,n)}var S0=class{},dl=class{},wd=class{resolveComponentFactory(t){throw new V(917,!1)}},Ai=class{static NULL=new wd},Si=class{},pl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>r_()}return e})();function r_(){let e=G(),t=tt(),n=It(t.index,e);return(Xt(n)?n:e)[be]}var T0=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>null})}return e})();var Pa={},Dd=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){let r=this.injector.get(t,Pa,i);return r!==Pa||n===Pa?r:this.parentInjector.get(t,n,i)}};function qa(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(t!==null)for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number")o=c;else if(o==1)r=pa(r,c);else if(o==2){let d=c,f=t[++a];i=pa(i,d+": "+f+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function $e(e,t=0){let n=G();if(n===null)return j(e,t);let i=tt();return Ih(i,n,Xe(e),t)}function k0(e,t,n,i,r){let o=i===null?null:{"":-1},a=r(e,n);if(a!==null){let c=a,d=null,f=null;for(let h of a)if(h.resolveHostDirectives!==null){[c,d,f]=h.resolveHostDirectives(a);break}a_(e,t,n,c,o,d,f)}o!==null&&i!==null&&o_(n,i,o)}function o_(e,t,n){let i=e.localNames=[];for(let r=0;r<t.length;r+=2){let o=n[t[r+1]];if(o==null)throw new V(-301,!1);i.push(t[r],o)}}function s_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function a_(e,t,n,i,r,o,a){let c=i.length,d=!1;for(let y=0;y<c;y++){let b=i[y];!d&&Kt(b)&&(d=!0,s_(e,n,y)),pd(Ua(n,t),e,b.type)}f_(n,e.data.length,c);for(let y=0;y<c;y++){let b=i[y];b.providersResolver&&b.providersResolver(b)}let f=!1,h=!1,g=Kh(e,t,c,null);c>0&&(n.directiveToIndex=new Map);for(let y=0;y<c;y++){let b=i[y];if(n.mergedAttrs=vr(n.mergedAttrs,b.hostAttrs),c_(e,n,t,g,b),p_(g,b,r),a!==null&&a.has(b)){let[A,k]=a.get(b);n.directiveToIndex.set(b.type,[g,A+n.directiveStart,k+n.directiveStart])}else(o===null||!o.has(b))&&n.directiveToIndex.set(b.type,g);b.contentQueries!==null&&(n.flags|=4),(b.hostBindings!==null||b.hostAttrs!==null||b.hostVars!==0)&&(n.flags|=64);let _=b.type.prototype;!f&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!h&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}l_(e,n,o)}function l_(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=e.data[i];if(n===null||!n.has(r))nh(0,t,r,i),nh(1,t,r,i),rh(t,i,!1);else{let o=n.get(r);ih(0,t,o,i),ih(1,t,o,i),rh(t,i,!0)}}}function nh(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;e===0?a=t.inputs??={}:a=t.outputs??={},a[o]??=[],a[o].push(i),A0(t,o)}}function ih(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],c;e===0?c=t.hostDirectiveInputs??={}:c=t.hostDirectiveOutputs??={},c[a]??=[],c[a].push(i,o),A0(t,a)}}function A0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function rh(e,t,n){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!n&&r===null||n&&o===null||Ud(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,c=0;for(;c<i.length;){let d=i[c];if(d===0){c+=4;continue}else if(d===5){c+=2;continue}else if(typeof d=="number")break;if(!n&&r.hasOwnProperty(d)){let f=r[d];for(let h of f)if(h===t){a??=[],a.push(d,i[c+1]);break}}else if(n&&o.hasOwnProperty(d)){let f=o[d];for(let h=0;h<f.length;h+=2)if(f[h]===t){a??=[],a.push(f[h+1],i[c+1]);break}}c+=2}e.initialInputs??=[],e.initialInputs.push(a)}function c_(e,t,n,i,r){e.data[i]=r;let o=r.factory||(r.factory=On(r.type,!0)),a=new Mi(o,Kt(r),$e,null);e.blueprint[i]=a,n[i]=a,u_(e,t,i,Kh(e,n,r.hostVars,Ct),r)}function u_(e,t,n,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~t.index;d_(a)!=c&&a.push(c),a.push(n,i,o)}}function d_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function p_(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Kt(t)&&(n[""]=e)}}function f_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ap(e,t,n,i,r,o,a,c){let d=t[H],f=d.consts,h=St(f,a),g=Dr(d,e,n,i,h);return o&&k0(d,t,g,St(f,c),r),g.mergedAttrs=vr(g.mergedAttrs,g.attrs),g.attrs!==null&&qa(g,g.attrs,!1),g.mergedAttrs!==null&&qa(g,g.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,g),g}function lp(e,t){yh(e,t),Lu(t)&&e.queries.elementEnd(t)}function m_(e,t,n,i,r,o){let a=t.consts,c=St(a,r),d=Dr(t,e,n,i,c);if(d.mergedAttrs=vr(d.mergedAttrs,d.attrs),o!=null){let f=St(a,o);d.localNames=[];for(let h=0;h<f.length;h+=2)d.localNames.push(f[h],-1)}return d.attrs!==null&&qa(d,d.attrs,!1),d.mergedAttrs!==null&&qa(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function cp(e){return fl(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function N0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),i;for(;!(i=n.next()).done;)t(i.value)}}function fl(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ml(e,t,n){return e[t]=n}function h_(e,t){return e[t]}function ft(e,t,n){if(n===Ct)return!1;let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Qa(e,t,n,i){let r=ft(e,t,n);return ft(e,t+1,i)||r}function g_(e,t,n,i,r){let o=Qa(e,t,n,i);return ft(e,t+2,r)||o}function v_(e,t,n,i,r,o){let a=Qa(e,t,n,i);return Qa(e,t+2,r,o)||a}function Fa(e,t,n){return function i(r){let o=jn(e)?It(e.index,t):t;rp(o,5);let a=t[Re],c=oh(t,a,n,r),d=i.__ngNextListenerFn__;for(;d;)c=oh(t,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function oh(e,t,n,i){let r=Y(null);try{return ge(6,t,n),n(i)!==!1}catch(o){return L8(e,o),!1}finally{ge(7,t,n),Y(r)}}function L0(e,t,n,i,r,o,a,c){let d=ur(e),f=!1,h=null;if(!i&&d&&(h=y_(t,n,o,e.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,f=!0}else{let g=Ft(e,n),y=i?i(g):g;M5(n,y,o,c);let b=r.listen(y,o,c);if(!b_(o)){let _=i?A=>i(Mt(A[e.index])):e.index;O0(_,t,n,o,c,b,!1)}}return f}function b_(e){return e.startsWith("animation")||e.startsWith("transition")}function y_(e,t,n,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===n&&r[o+1]===i){let c=t[lr],d=r[o+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(o+=2)}return null}function O0(e,t,n,i,r,o,a){let c=t.firstCreatePass?w1(t):null,d=C1(n),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function sh(e,t,n,i,r,o){let a=t[n],c=t[H],f=c.data[n].outputs[i],g=a[f].subscribe(o);O0(e.index,c,t,r,o,g,!0)}var Ed=Symbol("BINDING");var xd=class extends Ai{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=gi(t);return new Io(n,this.ngModule)}};function __(e){return Object.keys(e).map(t=>{let[n,i,r]=e[t],o={propName:n,templateName:t,isSignal:(i&al.SignalBased)!==0};return r&&(o.transform=r),o})}function C_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function w_(e,t,n){let i=t instanceof pt?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new Dd(n,i):n}function D_(e){let t=e.get(Si,null);if(t===null)throw new V(407,!1);let n=e.get(T0,null),i=e.get(qt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:!1}}function E_(e,t){let n=R0(e);return Zh(t,n,n==="svg"?g1:n==="math"?v1:null)}function R0(e){return(e.selectors[0][0]||"div").toLowerCase()}var Io=class extends dl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=__(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=C_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=q5(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,r,o,a){ge(22);let c=Y(null);try{let d=this.componentDef,f=x_(i,d,a,o),h=w_(d,r||this.ngModule,t),g=D_(h),y=g.rendererFactory.createRenderer(null,d),b=i?C8(y,i,d.encapsulation,h):E_(d,y),_=a?.some(ah)||o?.some(I=>typeof I!="function"&&I.bindings.some(ah)),A=$d(null,f,null,512|Xh(d),null,null,g,y,h,null,Hh(b,h,!0));A[Ie]=b,Sa(A);let k=null;try{let I=ap(Ie,A,2,"#host",()=>f.directiveRegistry,!0,0);Yh(y,b,I),br(b,A),ul(f,A,I),Hd(f,I,A),lp(f,I),n!==void 0&&I_(I,this.ngContentSelectors,n),k=It(I.index,A),A[Re]=k[Re],ip(f,A,null)}catch(I){throw k!==null&&md(k),md(A),I}finally{ge(23),Ta()}return new Xa(this.componentType,A,!!_)}finally{Y(c)}}};function x_(e,t,n,i){let r=e?["ng-version","20.3.16"]:Q5(t.selectors[0]),o=null,a=null,c=0;if(n)for(let h of n)c+=h[Ed].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(i)for(let h=0;h<i.length;h++){let g=i[h];if(typeof g!="function")for(let y of g.bindings){c+=y[Ed].requiredVars;let b=h+1;y.create&&(y.targetIdx=b,(o??=[]).push(y)),y.update&&(y.targetIdx=b,(a??=[]).push(y))}}let d=[t];if(i)for(let h of i){let g=typeof h=="function"?h:h.type,y=Mu(g);d.push(y)}return zd(0,null,M_(o,a),1,c,d,null,null,null,[r],null)}function M_(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let i of e)i.create();if(n&2&&t)for(let i of t)i.update()}}function ah(e){let t=e[Ed].kind;return t==="input"||t==="twoWay"}var Xa=class extends S0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,i){super(),this._rootLView=n,this._hasInputBindings=i,this._tNode=bo(n[H],Ie),this.location=tl(this._tNode,n),this.instance=It(this._tNode.index,n)[Re],this.hostView=this.changeDetectorRef=new $n(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let r=this._rootLView,o=np(i,r[H],r,t,n);this.previousInputValues.set(t,n);let a=It(i.index,r);rp(a,1)}get injector(){return new xi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function I_(e,t,n){let i=e.projection=[];for(let r=0;r<t.length;r++){let o=n[r];i.push(o!=null&&o.length?Array.from(o):null)}}var Er=(()=>{class e{static __NG_ELEMENT_ID__=S_}return e})();function S_(){let e=tt();return k_(e,G())}var T_=Er,P0=class extends T_{_lContainer;_hostTNode;_hostLView;constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return tl(this._hostTNode,this._hostLView)}get injector(){return new xi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fd(this._hostTNode,this._hostLView);if(Ch(t)){let n=Ha(t,this._hostLView),i=ja(t),r=n[H].data[i+8];return new xi(r,n)}else return new xi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=lh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(t,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Ya(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(c,r,yr(this._hostTNode,a)),c}createComponent(t,n,i,r,o,a,c){let d=t&&!K4(t),f;if(d)f=n;else{let k=n||{};f=k.index,i=k.injector,r=k.projectableNodes,o=k.environmentInjector||k.ngModuleRef,a=k.directives,c=k.bindings}let h=d?t:new Io(gi(t)),g=i||this.parentInjector;if(!o&&h.ngModule==null){let I=(d?g:this.parentInjector).get(pt,null);I&&(o=I)}let y=gi(h.componentType??{}),b=Ya(this._lContainer,y?.id??null),_=b?.firstChild??null,A=h.create(g,r,_,o,a,c);return this.insertImpl(A.hostView,f,yr(this._hostTNode,b)),A}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let r=t._lView;if(b1(r)){let c=this.indexOf(t);if(c!==-1)this.detach(c);else{let d=r[Ye],f=new P0(d,d[lt],d[Ye]);f.detach(f.indexOf(t))}}let o=this._adjustIndex(n),a=this._lContainer;return Fo(a,r,o,i),t.attachToViewContainerRef(),Du(rd(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=lh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=Mo(this._lContainer,n);i&&(co(rd(this._lContainer),n),ll(i[H],i))}detach(t){let n=this._adjustIndex(t,-1),i=Mo(this._lContainer,n);return i&&co(rd(this._lContainer),n)!=null?new $n(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function lh(e){return e[go]}function rd(e){return e[go]||(e[go]=[])}function k_(e,t){let n,i=t[e.index];return Pt(i)?n=i:(n=w0(i,t,null,e),t[e.index]=n,Zd(t,n)),N_(n,t,e,i),new P0(n,e,t)}function A_(e,t){let n=e[be],i=n.createComment(""),r=Ft(t,e),o=n.parentNode(r);return Za(n,o,i,n.nextSibling(r),!1),i}var N_=R_,L_=()=>!1;function O_(e,t,n){return L_(e,t,n)}function R_(e,t,n,i){if(e[Vn])return;let r;n.type&8?r=Mt(i):r=A_(t,n),e[Vn]=r}var So=class{};var To=class extends So{injector;componentFactoryResolver=new xd(this);instance=null;constructor(t){super();let n=new fi([...t.providers,{provide:So,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver}],t.parent||fo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function F0(e,t,n=null){return new To({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var P_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Iu(!1,n.type),r=i.length>0?F0([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(j(pt))})}return e})();function le(e){return No(()=>{let t=V0(e),n=it(Oe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(P_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bn.Emulated,styles:e.styles||at,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wr("NgStandalone"),j0(n);let i=e.dependencies;return n.directiveDefs=ch(i,F_),n.pipeDefs=ch(i,u1),n.id=H_(n),n})}function F_(e){return gi(e)||Mu(e)}function Ni(e){return No(()=>({type:e.type,bootstrap:e.bootstrap||at,declarations:e.declarations||at,imports:e.imports||at,exports:e.exports||at,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function V_(e,t){if(e==null)return Fn;let n={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i],o,a,c,d;Array.isArray(r)?(c=r[0],o=r[1],a=r[2]??o,d=r[3]||null):(o=r,a=r,c=al.None,d=null),n[o]=[i,c,d],t[o]=a}return n}function j_(e){if(e==null)return Fn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Wn(e){return No(()=>{let t=V0(e);return j0(t),t})}function hl(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function V0(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Fn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||at,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:V_(e.inputs,t),outputs:j_(e.outputs),debugInfo:null}}function j0(e){e.features?.forEach(t=>t(e))}function ch(e,t){return e?()=>{let n=typeof e=="function"?e():e,i=[];for(let r of n){let o=t(r);o!==null&&i.push(o)}return i}:null}function H_(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function B_(e){return Object.getPrototypeOf(e.prototype).constructor}function Ze(e){let t=B_(e.type),n=!0,i=[e];for(;t;){let r;if(Kt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);let a=e;a.inputs=od(e.inputs),a.declaredInputs=od(e.declaredInputs),a.outputs=od(e.outputs);let c=r.hostBindings;c&&W_(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&$_(e,d),f&&Z_(e,f),U_(e,r),i1(e.outputs,r.outputs),Kt(r)&&r.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let c=o[a];c&&c.ngInherit&&c(e),c===Ze&&(n=!1)}}t=Object.getPrototypeOf(t)}z_(i)}function U_(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function z_(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=vr(r.hostAttrs,n=vr(n,r.hostAttrs))}}function od(e){return e===Fn?{}:e===at?[]:e}function $_(e,t){let n=e.viewQuery;n?e.viewQuery=(i,r)=>{t(i,r),n(i,r)}:e.viewQuery=t}function Z_(e,t){let n=e.contentQueries;n?e.contentQueries=(i,r,o)=>{t(i,r,o),n(i,r,o)}:e.contentQueries=t}function W_(e,t){let n=e.hostBindings;n?e.hostBindings=(i,r)=>{t(i,r),n(i,r)}:e.hostBindings=t}function H0(e,t,n,i,r,o,a,c){if(n.firstCreatePass){e.mergedAttrs=vr(e.mergedAttrs,e.attrs);let h=e.tView=zd(2,e,r,o,a,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),h.queries=n.queries.embeddedTView(e))}c&&(e.flags|=c),fr(e,!1);let d=Y_(n,t,e,i);Aa()&&Xd(n,t,d,e),br(d,t);let f=w0(d,t,d,e);t[i+Ie]=f,Zd(t,f),O_(f,e,t)}function G_(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ie,y;return t.firstCreatePass?(y=Dr(t,g,4,a||null,c||null),Ma()&&k0(t,e,y,St(t.consts,f),Jd),yh(t,y)):y=t.data[g],H0(y,e,t,n,i,r,o,d),ur(y)&&ul(t,e,y),f!=null&&Ro(e,y,h),y}function ko(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ie,y;if(t.firstCreatePass){if(y=Dr(t,g,4,a||null,c||null),f!=null){let b=St(t.consts,f);y.localNames=[];for(let _=0;_<b.length;_+=2)y.localNames.push(b[_],-1)}}else y=t.data[g];return H0(y,e,t,n,i,r,o,d),f!=null&&Ro(e,y,h),y}function ae(e,t,n,i,r,o,a,c){let d=G(),f=Ue(),h=St(f.consts,o);return G_(d,f,e,t,n,i,r,h,void 0,a,c),ae}var Y_=q_;function q_(e,t,n,i){return _o(!0),t[be].createComment("")}var up=new $("");function gl(e){return!!e&&typeof e.then=="function"}function dp(e){return!!e&&typeof e.subscribe=="function"}var B0=new $("");var pp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=R(B0,{optional:!0})??[];injector=R(Gt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=ar(this.injector,r);if(gl(o))n.push(o);else if(dp(o)){let a=new Promise((c,d)=>{o.subscribe({complete:c,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),n.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),U0=new $("");function z0(){zc(()=>{let e="";throw new V(600,e)})}function $0(e){return e.isBoundToModule}var Q_=10;var Li=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=R(Jt);afterRenderManager=R(i0);zonelessEnabled=R(Na);rootEffectScheduler=R(ed);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ot;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=R(zn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ot(n=>!n))}constructor(){R(Oo,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=R(pt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,r=Gt.NULL){return this._injector.get(ze).run(()=>{ge(10);let a=n instanceof dl;if(!this._injector.get(pp).done){let _="";throw new V(405,_)}let d;a?d=n:d=this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(d.componentType);let f=$0(d)?void 0:this._injector.get(So),h=i||d.selector,g=d.create(r,[],h,f),y=g.location.nativeElement,b=g.injector.get(up,null);return b?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),Eo(this.components,g),b?.unregisterApplication(y)}),this._loadComponent(g),ge(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ge(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Gd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new V(101,!1);let n=Y(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Y(n),this.afterTick.next(),ge(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Si,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Q_;)ge(14),this.synchronizeOnce(),ge(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!pr(r))continue;let o=i&&!this.zonelessEnabled?0:1;b0(r,o),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>pr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Eo(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(n),this._injector.get(U0,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Eo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function yn(e,t,n,i){let r=G(),o=Hn();if(ft(r,o,t)){let a=Ue(),c=ka();k8(c,r,e,t,n,i)}return yn}var XS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Md=class{destroy(t){}updateValue(t,n){}swap(t,n){let i=Math.min(t,n),r=Math.max(t,n),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(t,n){this.attach(n,this.detach(t))}};function sd(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function X_(e,t,n){let i,r,o=0,a=e.length-1,c=void 0;if(Array.isArray(t)){let d=t.length-1;for(;o<=a&&o<=d;){let f=e.at(o),h=t[o],g=sd(o,f,o,h,n);if(g!==0){g<0&&e.updateValue(o,h),o++;continue}let y=e.at(a),b=t[d],_=sd(a,y,d,b,n);if(_!==0){_<0&&e.updateValue(a,b),a--,d--;continue}let A=n(o,f),k=n(a,y),I=n(o,h);if(Object.is(I,k)){let Z=n(d,b);Object.is(Z,A)?(e.swap(o,a),e.updateValue(a,b),d--,a--):e.move(a,o),e.updateValue(o,h),o++;continue}if(i??=new Ka,r??=dh(e,o,a,n),Id(e,i,o,I))e.updateValue(o,h),o++,a++;else if(r.has(I))i.set(A,e.detach(o)),a--;else{let Z=e.create(o,t[o]);e.attach(o,Z),o++,a++}}for(;o<=d;)uh(e,i,n,o,t[o]),o++}else if(t!=null){let d=t[Symbol.iterator](),f=d.next();for(;!f.done&&o<=a;){let h=e.at(o),g=f.value,y=sd(o,h,o,g,n);if(y!==0)y<0&&e.updateValue(o,g),o++,f=d.next();else{i??=new Ka,r??=dh(e,o,a,n);let b=n(o,g);if(Id(e,i,o,b))e.updateValue(o,g),o++,a++,f=d.next();else if(!r.has(b))e.attach(o,e.create(o,g)),o++,a++,f=d.next();else{let _=n(o,h);i.set(_,e.detach(o)),a--}}}for(;!f.done;)uh(e,i,n,e.length,f.value),f=d.next()}for(;o<=a;)e.destroy(e.detach(a--));i?.forEach(d=>{e.destroy(d)})}function Id(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function uh(e,t,n,i,r){if(Id(e,t,i,n(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function dh(e,t,n,i){let r=new Set;for(let o=t;o<=n;o++)r.add(i(o,e.at(o)));return r}var Ka=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}};function ke(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=G(),f=Ue(),h=St(f.consts,o);return ko(d,f,e,t,n,i,r,h,256,a,c),fp}function fp(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=G(),f=Ue(),h=St(f.consts,o);return ko(d,f,e,t,n,i,r,h,512,a,c),fp}function Ae(e,t){wr("NgControlFlow");let n=G(),i=Hn(),r=n[i]!==Ct?n[i]:-1,o=r!==-1?Ja(n,Ie+r):void 0,a=0;if(ft(n,i,e)){let c=Y(null);try{if(o!==void 0&&E0(o,a),e!==-1){let d=Ie+e,f=Ja(n,d),h=Ad(n[H],d),g=I0(f,h,n),y=Po(n,h,t,{dehydratedView:g});Fo(f,y,a,yr(h,g))}}finally{Y(c)}}else if(o!==void 0){let c=D0(o,a);c!==void 0&&(c[Re]=t)}}var Sd=class{lContainer;$implicit;$index;constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-Pe}};var Td=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}};function vl(e,t,n,i,r,o,a,c,d,f,h,g,y){wr("NgControlFlow");let b=G(),_=Ue(),A=d!==void 0,k=G(),I=c?a.bind(k[ct][Re]):a,Z=new Td(A,I);k[Ie+e]=Z,ko(b,_,e+1,t,n,i,r,St(_.consts,o),256),A&&ko(b,_,e+2,d,f,h,g,St(_.consts,y),512)}var kd=class extends Md{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-Pe}at(t){return this.getLView(t)[Re].$implicit}attach(t,n){let i=n[vi];this.needsIndexUpdate||=t!==this.length,Fo(this.lContainer,n,t,yr(this.templateTNode,i)),K_(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,J_(this.lContainer,t),e9(this.lContainer,t)}create(t,n){let i=Ya(this.lContainer,this.templateTNode.tView.ssrId),r=Po(this.hostLView,this.templateTNode,new Sd(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){ll(t[H],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Re].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Re].$index=t}getLView(t){return t9(this.lContainer,t)}};function bl(e){let t=Y(null),n=vn();try{let i=G(),r=i[H],o=i[n],a=n+1,c=Ja(i,a);if(o.liveCollection===void 0){let f=Ad(r,a);o.liveCollection=new kd(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(X_(d,e,o.trackByFn),d.updateIndexes(),o.hasEmptyBlock){let f=Hn(),h=d.length===0;if(ft(i,f,h)){let g=n+2,y=Ja(i,g);if(h){let b=Ad(r,g),_=I0(y,b,i),A=Po(i,b,void 0,{dehydratedView:_});Fo(y,A,0,yr(b,_))}else r.firstUpdatePass&&e_(y),E0(y,0)}}}finally{Y(t)}}function Ja(e,t){return e[t]}function K_(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n],r=i?i[wi]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[gn];a8(o,r),Ii.delete(i),r.detachedLeaveAnimationFns=void 0}}function J_(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n],r=i?i[wi]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function e9(e,t){return Mo(e,t)}function t9(e,t){return D0(e,t)}function Ad(e,t){return bo(e,t)}function D(e,t,n){let i=G(),r=Hn();if(ft(i,r,t)){let o=Ue(),a=ka();x8(a,i,e,t,i[be],n)}return D}function Nd(e,t,n,i,r){np(t,e,n,r?"class":"style",i)}function E(e,t,n,i){let r=G(),o=r[H],a=e+Ie,c=o.firstCreatePass?ap(a,r,2,t,Jd,Ma(),n,i):o.data[a];if(ep(c,r,e,t,Z0),ur(c)){let d=r[H];ul(d,r,c),Hd(d,c,r)}return i!=null&&Ro(r,c),E}function T(){let e=Ue(),t=tt(),n=tp(t);return e.firstCreatePass&&lp(e,n),Bu(n)&&Uu(),ju(),n.classesWithoutHost!=null&&r5(n)&&Nd(e,n,G(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&o5(n)&&Nd(e,n,G(),n.stylesWithoutHost,!1),T}function re(e,t,n,i){return E(e,t,n,i),T(),re}function _n(e,t,n,i){let r=G(),o=r[H],a=e+Ie,c=o.firstCreatePass?m_(a,o,2,t,n,i):o.data[a];return ep(c,r,e,t,Z0),i!=null&&Ro(r,c),_n}function Cn(){let e=tt(),t=tp(e);return Bu(t)&&Uu(),ju(),Cn}function yl(e,t,n,i){return _n(e,t,n,i),Cn(),yl}var Z0=(e,t,n,i,r)=>(_o(!0),Zh(t[be],i,P1()));function jo(e,t,n){let i=G(),r=i[H],o=e+Ie,a=r.firstCreatePass?ap(o,i,8,"ng-container",Jd,Ma(),t,n):r.data[o];if(ep(a,i,e,"ng-container",n9),ur(a)){let c=i[H];ul(c,i,a),Hd(c,a,i)}return n!=null&&Ro(i,a),jo}function Ho(){let e=Ue(),t=tt(),n=tp(t);return e.firstCreatePass&&lp(e,n),Ho}function tn(e,t,n){return jo(e,t,n),Ho(),tn}var n9=(e,t,n,i,r)=>(_o(!0),R5(t[be],""));function Ee(){return G()}function _l(e,t,n){let i=G(),r=Hn();if(ft(i,r,t)){let o=Ue(),a=ka();p0(a,i,e,t,i[be],n)}return _l}var Bo="en-US";var i9=Bo;function W0(e){typeof e=="string"&&(i9=e.toLowerCase().replace(/_/g,"-"))}function F(e,t,n){let i=G(),r=Ue(),o=tt();return r9(r,i,i[be],o,e,t,n),F}function Cl(e,t,n){let i=G(),r=Ue(),o=tt();return(o.type&3||n)&&L0(o,r,i,n,i[be],e,t,Fa(o,i,t)),Cl}function r9(e,t,n,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=Fa(i,t,o),L0(i,e,t,a,n,r,o,d)&&(c=!1)),c){let f=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let g=0;g<h.length;g+=2){let y=h[g],b=h[g+1];d??=Fa(i,t,o),sh(i,t,y,b,r,d)}if(f&&f.length)for(let g of f)d??=Fa(i,t,o),sh(i,t,g,r,r,d)}}function x(e=1){return R1(e)}function o9(e,t){let n=null,i=$5(e);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){n=r;continue}if(i===null?Qh(e,o,!0):G5(i,o))return r}return n}function mp(e){let t=G()[ct][lt];if(!t.projection){let n=e?e.length:1,i=t.projection=l1(n,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let a=e?o9(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function hp(e,t=0,n,i,r,o){let a=G(),c=Ue(),d=i?e+1:null;d!==null&&ko(a,c,d,i,r,o,null,n);let f=Dr(c,Ie+e,16,null,n||null);f.projection===null&&(f.projection=t),Zu();let g=!a[vi]||Hu();a[ct][lt].projection[f.projection]===null&&d!==null?s9(a,c,d):g&&!ol(f)&&b8(c,a,f)}function s9(e,t,n){let i=Ie+n,r=t.data[i],o=e[i],a=Ya(o,r.tView.ssrId),c=Po(e,r,void 0,{dehydratedView:a});Fo(o,c,0,yr(r,a))}function wn(e){let t=M1();return Ru(t,Ie+e)}function La(e,t){return e<<17|t<<2}function Ti(e){return e>>17&32767}function a9(e){return(e&2)==2}function l9(e,t){return e&131071|t<<17}function Ld(e){return e|2}function _r(e){return(e&131068)>>2}function ad(e,t){return e&-131069|t<<2}function c9(e){return(e&1)===1}function Od(e){return e|1}function u9(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,c=Ti(a),d=_r(a);e[i]=n;let f=!1,h;if(Array.isArray(n)){let g=n;h=g[1],(h===null||sr(g,h)>0)&&(f=!0)}else h=n;if(r)if(d!==0){let y=Ti(e[c+1]);e[i+1]=La(y,c),y!==0&&(e[y+1]=ad(e[y+1],i)),e[c+1]=l9(e[c+1],i)}else e[i+1]=La(c,0),c!==0&&(e[c+1]=ad(e[c+1],i)),c=i;else e[i+1]=La(d,0),c===0?c=i:e[d+1]=ad(e[d+1],i),d=i;f&&(e[i+1]=Ld(e[i+1])),ph(e,h,i,!0),ph(e,h,i,!1),d9(t,h,e,i,o),a=La(c,d),o?t.classBindings=a:t.styleBindings=a}function d9(e,t,n,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&sr(o,t)>=0&&(n[i+1]=Od(n[i+1]))}function ph(e,t,n,i){let r=e[n+1],o=t===null,a=i?Ti(r):_r(r),c=!1;for(;a!==0&&(c===!1||o);){let d=e[a],f=e[a+1];p9(d,t)&&(c=!0,e[a+1]=i?Od(f):Ld(f)),a=i?Ti(f):_r(f)}c&&(e[n+1]=i?Ld(r):Od(r))}function p9(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?sr(e,t)>=0:!1}var jt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function f9(e){return e.substring(jt.key,jt.keyEnd)}function m9(e){return h9(e),G0(e,Y0(e,0,jt.textEnd))}function G0(e,t){let n=jt.textEnd;return n===t?-1:(t=jt.keyEnd=g9(e,jt.key=t,n),Y0(e,t,n))}function h9(e){jt.key=0,jt.keyEnd=0,jt.value=0,jt.valueEnd=0,jt.textEnd=e.length}function Y0(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function g9(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Gn(e,t,n){return q0(e,t,n,!1),Gn}function wl(e,t){return q0(e,t,null,!0),wl}function gp(e){b9(E9,v9,e,!0)}function v9(e,t){for(let n=m9(t);n>=0;n=G0(t,n))ba(e,f9(t),!0)}function q0(e,t,n,i){let r=G(),o=Ue(),a=Yu(2);if(o.firstUpdatePass&&X0(o,e,a,i),t!==Ct&&ft(r,a,t)){let c=o.data[vn()];K0(o,c,r,r[be],e,r[a+1]=M9(t,n),i,a)}}function b9(e,t,n,i){let r=Ue(),o=Yu(2);r.firstUpdatePass&&X0(r,null,o,i);let a=G();if(n!==Ct&&ft(a,o,n)){let c=r.data[vn()];if(J0(c,i)&&!Q0(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(n=pa(d,n||"")),Nd(r,c,a,n,i)}else x9(r,c,a,a[be],a[o+1],a[o+1]=D9(e,t,n),i,o)}}function Q0(e,t){return t>=e.expandoStartIndex}function X0(e,t,n,i){let r=e.data;if(r[n+1]===null){let o=r[vn()],a=Q0(e,n);J0(o,i)&&t===null&&!a&&(t=!1),t=y9(r,o,t,i),u9(r,o,t,n,a,i)}}function y9(e,t,n,i){let r=A1(e),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(n=ld(null,e,t,n,i),n=Ao(n,t.attrs,i),o=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==r)if(n=ld(r,e,t,n,i),o===null){let d=_9(e,t,i);d!==void 0&&Array.isArray(d)&&(d=ld(null,e,t,d[1],i),d=Ao(d,t.attrs,i),C9(e,t,i,d))}else o=w9(e,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),n}function _9(e,t,n){let i=n?t.classBindings:t.styleBindings;if(_r(i)!==0)return e[Ti(i)]}function C9(e,t,n,i){let r=n?t.classBindings:t.styleBindings;e[Ti(r)]=i}function w9(e,t,n){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let a=e[o].hostAttrs;i=Ao(i,a,n)}return Ao(i,t.attrs,n)}function ld(e,t,n,i,r){let o=null,a=n.directiveEnd,c=n.directiveStylingLast;for(c===-1?c=n.directiveStart:c++;c<a&&(o=t[c],i=Ao(i,o.hostAttrs,r),o!==e);)c++;return e!==null&&(n.directiveStylingLast=c),i}function Ao(e,t,n){let i=n?1:2,r=-1;if(t!==null)for(let o=0;o<t.length;o++){let a=t[o];typeof a=="number"?r=a:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ba(e,a,n?!0:t[++o]))}return e===void 0?null:e}function D9(e,t,n){if(n==null||n==="")return at;let i=[],r=sl(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else typeof r=="string"&&t(i,r);return i}function E9(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&ba(e,i,n)}function x9(e,t,n,i,r,o,a,c){r===Ct&&(r=at);let d=0,f=0,h=0<r.length?r[0]:null,g=0<o.length?o[0]:null;for(;h!==null||g!==null;){let y=d<r.length?r[d+1]:void 0,b=f<o.length?o[f+1]:void 0,_=null,A;h===g?(d+=2,f+=2,y!==b&&(_=g,A=b)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,A=b),_!==null&&K0(e,t,n,i,_,A,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function K0(e,t,n,i,r,o,a,c){if(!(t.type&3))return;let d=e.data,f=d[c+1],h=c9(f)?fh(d,t,n,r,_r(f),a):void 0;if(!el(h)){el(o)||a9(f)&&(o=fh(d,null,n,r,c,a));let g=Ou(vn(),n);_8(i,a,g,r,o)}}function fh(e,t,n,i,r,o){let a=t===null,c;for(;r>0;){let d=e[r],f=Array.isArray(d),h=f?d[1]:d,g=h===null,y=n[r+1];y===Ct&&(y=g?at:void 0);let b=g?ya(y,i):h===i?y:void 0;if(f&&!el(b)&&(b=ya(d,i)),el(b)&&(c=b,a))return c;let _=e[r+1];r=a?Ti(_):_r(_)}if(t!==null){let d=o?t.residualClasses:t.residualStyles;d!=null&&(c=ya(d,i))}return c}function el(e){return e!==void 0}function M9(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ln(sl(e)))),e}function J0(e,t){return(e.flags&(t?8:16))!==0}function X(e,t=""){let n=G(),i=Ue(),r=e+Ie,o=i.firstCreatePass?Dr(i,r,1,t,null):i.data[r],a=I9(i,n,o,t,e);n[r]=a,Aa()&&Xd(i,n,a,o),fr(o,!1)}var I9=(e,t,n,i,r)=>(_o(!0),L5(t[be],i));function S9(e,t,n,i=""){return ft(e,Hn(),n)?t+or(n)+i:Ct}function Ke(e){return xe("",e),Ke}function xe(e,t,n){let i=G(),r=S9(i,e,t,n);return r!==Ct&&T9(i,vn(),r),xe}function T9(e,t,n){let i=Ou(t,e);O5(e[be],i,n)}function pe(e){return ft(G(),Hn(),e)?or(e):Ct}function k9(e,t,n){let i=Ue();if(i.firstCreatePass){let r=Kt(e);Rd(n,i.data,i.blueprint,r,!0),Rd(t,i.data,i.blueprint,r,!1)}}function Rd(e,t,n,i,r){if(e=Xe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Rd(e[o],t,n,i,r);else{let o=Ue(),a=G(),c=tt(),d=pi(e)?e:Xe(e.provide),f=Tu(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(pi(e)||!e.multi){let b=new Mi(f,r,$e,null),_=ud(d,t,r?h:h+y,g);_===-1?(pd(Ua(c,a),o,d),cd(o,e,t.length),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(b),a.push(b)):(n[_]=b,a[_]=b)}else{let b=ud(d,t,h+y,g),_=ud(d,t,h,h+y),A=b>=0&&n[b],k=_>=0&&n[_];if(r&&!k||!r&&!A){pd(Ua(c,a),o,d);let I=L9(r?N9:A9,n.length,r,i,f,e);!r&&k&&(n[_].providerFactory=I),cd(o,e,t.length,0),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(I),a.push(I)}else{let I=eg(n[r?_:b],f,!r&&i);cd(o,e,b>-1?b:_,I)}!r&&i&&k&&n[_].componentProviders++}}}function cd(e,t,n,i){let r=pi(t),o=f1(t);if(r||o){let d=(o?Xe(t.useClass):t).prototype.ngOnDestroy;if(d){let f=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let h=f.indexOf(n);h===-1?f.push(n,[i,d]):f[h+1].push(i,d)}else f.push(n,d)}}}function eg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ud(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function A9(e,t,n,i,r){return Pd(this.multi,[])}function N9(e,t,n,i,r){let o=this.multi,a;if(this.providerFactory){let c=this.providerFactory.componentProviders,d=za(i,i[H],this.providerFactory.index,r);a=d.slice(0,c),Pd(o,a);for(let f=c;f<d.length;f++)a.push(d[f])}else a=[],Pd(o,a);return a}function Pd(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function L9(e,t,n,i,r,o){let a=new Mi(e,n,$e,null);return a.multi=[],a.index=t,a.componentProviders=0,eg(a,r,i&&!n),a}function Fe(e,t=[]){return n=>{n.providersResolver=(i,r)=>k9(i,r?r(e):e,t)}}function ut(e,t,n,i){return tg(G(),mr(),e,t,n,i)}function Oi(e,t,n,i,r){return O9(G(),mr(),e,t,n,i,r)}function Dn(e,t,n,i,r,o){return R9(G(),mr(),e,t,n,i,r,o)}function vp(e,t,n,i,r,o,a,c){let d=mr()+e,f=G(),h=v_(f,d,n,i,r,o);return ft(f,d+4,a)||h?ml(f,d+5,c?t.call(c,n,i,r,o,a):t(n,i,r,o,a)):h_(f,d+5)}function bp(e,t){let n=e[t];return n===Ct?void 0:n}function tg(e,t,n,i,r,o){let a=t+n;return ft(e,a,r)?ml(e,a+1,o?i.call(o,r):i(r)):bp(e,a+1)}function O9(e,t,n,i,r,o,a){let c=t+n;return Qa(e,c,r,o)?ml(e,c+2,a?i.call(a,r,o):i(r,o)):bp(e,c+2)}function R9(e,t,n,i,r,o,a,c){let d=t+n;return g_(e,d,r,o,a)?ml(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):bp(e,d+3)}function ye(e,t){let n=Ue(),i,r=e+Ie;n.firstCreatePass?(i=P9(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];let o=i.factory||(i.factory=On(i.type,!0)),a,c=st($e);try{let d=Ba(!1),f=o();return Ba(d),Pu(n,G(),r,f),f}finally{st(c)}}function P9(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function _e(e,t,n){let i=e+Ie,r=G(),o=Ru(r,i);return F9(r,i)?tg(r,mr(),t,o.transform,n,o):o.transform(n)}function F9(e,t){return e[H].data[t].pure}function xr(e,t){return M0(e,t)}var V9=(()=>{class e{zone=R(ze);changeDetectionScheduler=R(qt);applicationRef=R(Li);applicationErrorHandler=R(Jt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ng({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ze(it(Oe({},ig()),{scheduleInRootZone:n})),[{provide:ze,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{let i=R(V9,{optional:!0});return()=>i.initialize()}},{provide:hi,multi:!0,useFactory:()=>{let i=R(j9);return()=>{i.initialize()}}},t===!0?{provide:Ku,useValue:!0}:[],{provide:Ju,useValue:n??e0},{provide:Jt,useFactory:()=>{let i=R(ze),r=R(pt),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Yt),o.handleError(a))})}}}]}function ig(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var j9=(()=>{class e{subscription=new rt;initialized=!1;zone=R(ze);pendingTasks=R(zn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ze.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ze.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rg=(()=>{class e{applicationErrorHandler=R(Jt);appRef=R(Li);taskService=R(zn);ngZone=R(ze);zonelessEnabled=R(Na);tracing=R(Oo,{optional:!0});disableScheduling=R(Ku,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new rt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(R(Ju,{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 Ga||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let i=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{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?Q1:t0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Wa+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(n),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Q1(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function H9(){return typeof $localize<"u"&&$localize.locale||Bo}var Dl=new $("",{providedIn:"root",factory:()=>R(Dl,{optional:!0,skipSelf:!0})||H9()});function El(e,t){return Ps(e,t?.equal)}var og=class{[dt];constructor(t){this[dt]=t}destroy(){this[dt].destroy()}};var ug=Symbol("InputSignalNode#UNSET"),tC=it(Oe({},Fs),{transformFn:void 0,applyValueToInputSignal(e,t){to(e,t)}});function dg(e,t){let n=Object.create(tC);n.value=e,n.transformFn=t?.transform;function i(){if(Kr(n),n.value===ug){let r=null;throw new V(-950,r)}return n.value}return i[dt]=n,i}var nC=new $("");nC.__NG_ELEMENT_ID__=e=>{let t=tt();if(t===null)throw new V(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new V(204,!1)};function sg(e,t){return dg(e,t)}function iC(e){return dg(ug,e)}var zo=(sg.required=iC,sg);var yp=new $(""),rC=new $("");function Uo(e){return!e.moduleRef}function oC(e){let t=Uo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ze);return n.run(()=>{Uo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(Jt),r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:i})}),Uo(e)){let o=()=>t.destroy(),a=e.platformInjector.get(yp);a.add(o),t.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(yp);a.add(o),e.moduleRef.onDestroy(()=>{Eo(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return aC(i,n,()=>{let o=t.get(zn),a=o.add(),c=t.get(pp);return c.runInitializers(),c.donePromise.then(()=>{let d=t.get(Dl,Bo);if(W0(d||Bo),!t.get(rC,!0))return Uo(e)?t.get(Li):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Uo(e)){let h=t.get(Li);return e.rootComponent!==void 0&&h.bootstrap(e.rootComponent),h}else return sC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void o.remove(a))})})}var sC;function aC(e,t,n){try{let i=n();return gl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}var xl=null;function lC(e=[],t){return Gt.create({name:t,providers:[{provide:po,useValue:"platform"},{provide:yp,useValue:new Set([()=>xl=null])},...e]})}function cC(e=[]){if(xl)return xl;let t=lC(e);return xl=t,z0(),uC(t),t}function uC(e){let t=e.get(il,null);ar(e,()=>{t?.forEach(n=>n())})}var Ip=(()=>{class e{static __NG_ELEMENT_ID__=dC}return e})();function dC(e){return pC(tt(),G(),(e&16)===16)}function pC(e,t,n){if(jn(e)&&!n){let i=It(e.index,t);return new $n(i,i)}else if(e.type&175){let i=t[ct];return new $n(i,t)}return null}var _p=class{constructor(){}supports(t){return cp(t)}create(t){return new Cp(t)}},fC=(e,t)=>t,Cp=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(t){this._trackByFn=t||fC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){let a=!i||n&&n.currentIndex<ag(i,r,o)?n:i,c=ag(a,r,o),d=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,a.previousIndex==null)r++;else{o||(o=[]);let f=c-r,h=d-r;if(f!=h){for(let y=0;y<f;y++){let b=y<o.length?o[y]:o[y]=0,_=b+y;h<=_&&_<f&&(o[y]=b+1)}let g=a.previousIndex;o[g]=h-f}}c!==d&&t(a,c,d)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!cp(t))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,i=!1,r,o,a;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],a=this._trackByFn(c,o),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,o,a,c),i=!0):(i&&(n=this._verifyReinsertion(n,o,a,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)),n=n._next}else r=0,N0(t,c=>{a=this._trackByFn(r,c),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,c,a,r),i=!0):(i&&(n=this._verifyReinsertion(n,c,a,r)),Object.is(n.item,c)||this._addIdentityChange(n,c)),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new wp(n,i),o,r)),t}_verifyReinsertion(t,n,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){let r=n===null?this._itHead:n._next;return t._next=r,t._prev=n,r===null?this._itTail=t:r._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ml),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,i=t._next;return n===null?this._itHead=i:n._next=i,i===null?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ml),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},wp=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(t,n){this.item=t,this.trackById=n}},Dp=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;i!==null;i=i._nextDup)if((n===null||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let n=t._prevDup,i=t._nextDup;return n===null?this._head=i:n._nextDup=i,i===null?this._tail=n:i._prevDup=n,this._head===null}},Ml=class{map=new Map;put(t){let n=t.trackById,i=this.map.get(n);i||(i=new Dp,this.map.set(n,i)),i.add(t)}get(t,n){let i=t,r=this.map.get(i);return r?r.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ag(e,t,n){let i=e.previousIndex;if(i===null)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Ep=class{constructor(){}supports(t){return t instanceof Map||fl(t)}create(){return new xp}},xp=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(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||fl(t)))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;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(t,n){if(t){let i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let r=this._records.get(t);this._maybeAddToChanges(r,n);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 Mp(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}},Mp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function lg(){return new Sp([new _p])}var Sp=(()=>{class e{factories;static \u0275prov=q({token:e,providedIn:"root",factory:lg});constructor(n){this.factories=n}static create(n,i){if(i!=null){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let i=R(e,{optional:!0,skipSelf:!0});return e.create(n,i||lg())}}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;throw new V(901,!1)}}return e})();function cg(){return new Tp([new Ep])}var Tp=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:cg});factories;constructor(n){this.factories=n}static create(n,i){if(i){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let i=R(e,{optional:!0,skipSelf:!0});return e.create(n,i||cg())}}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new V(901,!1)}}return e})();function pg(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:r}=e;ge(8);try{let o=r?.injector??cC(i),a=[ng({}),{provide:qt,useExisting:rg},j1,...n||[]],c=new To({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return oC({r3Injector:c.injector,platformInjector:o,rootComponent:t})}catch(o){return Promise.reject(o)}finally{ge(9)}}function M(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var mC={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function hC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function gC(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var kp;function vC(e,t){if(!kp){let n=Element.prototype;kp=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?kp.call(e,t):!1}function bC(e){let t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[hC(i)]=[n,r]}),t}function yC(e,t){return t.get(Ai).resolveComponentFactory(e).inputs}function _C(e,t){let n=e.childNodes,i=t.map(()=>[]),r=-1;t.some((o,a)=>o==="*"?(r=a,!0):!1);for(let o=0,a=n.length;o<a;++o){let c=n[o],d=CC(c,t,r);d!==-1&&i[d].push(c)}return i}function CC(e,t,n){let i=n;return gC(e)&&t.some((r,o)=>r!=="*"&&vC(e,r)?(i=o,!0):!1),i}var wC=10,Ap=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Ai).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Np(this.componentFactory,t,this.inputMap)}},Np=class{componentFactory;injector;inputMap;eventEmitters=new An(1);events=this.eventEmitters.pipe(Nn(t=>eu(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,i){this.componentFactory=t,this.injector=n,this.inputMap=i,this.ngZone=this.injector.get(ze),this.appRef=this.injector.get(Li),this.cdScheduler=n.get(qt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=mC.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},wC))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),op(this.componentRef.hostView)&&(sp(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Gt.create({providers:[],parent:this.injector}),i=_C(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=t.instance[i];return new oe(a=>{let c=o.subscribe(d=>a.next({name:r,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Lp=class extends HTMLElement{ngElementEventsSubscription=null};function mt(e,t){let n=yC(e,t.injector),i=t.strategyFactory||new Ap(e,t.injector),r=bC(n);class o extends Lp{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:f})=>{if(!this.hasOwnProperty(d))return;let h=this[d];delete this[d],c.setInputValue(d,h,f)})}return this._ngElementStrategy}_ngElementStrategy;constructor(c){super(),this.injector=c}attributeChangedCallback(c,d,f,h){let[g,y]=r[c];this.ngElementStrategy.setInputValue(g,f,y)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return n.forEach(({propName:a,transform:c})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(d){this.ngElementStrategy.setInputValue(a,d,c)},configurable:!0,enumerable:!0})}),o}var fg=null;function Zo(){return fg}function Op(e){fg??=e}var $o=class{};var Rp=/\s+/,mg=[],je=(()=>{class e{_ngEl;_renderer;initialClasses=mg;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Rp):mg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Rp):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[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(n,i){n=n.trim(),n.length>0&&n.split(Rp).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)($e(Zn),$e(pl))};static \u0275dir=Wn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Il=class{$implicit;ngForOf;index;count;constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,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}},ht=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Il(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 c=i.get(o);i.move(c,a),hg(c,r)}});for(let r=0,o=i.length;r<o;r++){let c=i.get(r).context;c.index=r,c.count=o,c.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);hg(o,r)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)($e(Er),$e(Vo),$e(Sp))};static \u0275dir=Wn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function hg(e,t){e.context.$implicit=t.item}var Wo=(()=>{class e{_viewContainer;_context=new Sl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,i){this._viewContainer=n,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){gg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){gg(n,!1),this._elseTemplateRef=n,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(n,i){return!0}static \u0275fac=function(i){return new(i||e)($e(Er),$e(Vo))};static \u0275dir=Wn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Sl=class{$implicit=null;ngIf=null};function gg(e,t){if(e&&!e.createEmbeddedView)throw new V(2020,!1)}var Pp=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,i,r){this._ngEl=n,this._differs=i,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[r,o]=n.split("."),a=r.indexOf("-")===-1?void 0:Ht.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)($e(Zn),$e(Tp),$e(pl))};static \u0275dir=Wn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Go=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)($e(Er))};static \u0275dir=Wn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Bt]})}return e})();var fe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ni({type:e});static \u0275inj=Pn({})}return e})();function Yo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[r,o]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var Ri=class{};var vg="browser";var qo=class{_doc;constructor(t){this._doc=t}manager},Tl=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r,o){return n.addEventListener(i,r,o),()=>this.removeEventListener(n,i,r,o)}removeEventListener(n,i,r,o){return n.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(j(_t))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Al=new $(""),Bp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,i){this._zone=i,n.forEach(a=>{a.manager=this});let r=n.filter(a=>!(a instanceof Tl));this._plugins=r.slice().reverse();let o=n.find(a=>a instanceof Tl);o&&this._plugins.push(o)}addEventListener(n,i,r,o){return this._findPluginFor(i).addEventListener(n,i,r,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new V(5101,!1);return this._eventNameToPlugin.set(n,i),i}static \u0275fac=function(i){return new(i||e)(j(Al),j(ze))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fp="ng-app-id";function bg(e){for(let t of e)t.remove()}function yg(e,t){let n=t.createElement("style");return n.textContent=e,n}function DC(e,t,n,i){let r=e.head?.querySelectorAll(`style[${Fp}="${t}"],link[${Fp}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Fp),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function jp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Up=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,DC(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,yg);i?.forEach(r=>this.addUsage(r,this.external,jp))}removeStyles(n,i){for(let r of n)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,i,r){let o=i.get(n);o?o.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(n,this.doc)))})}removeUsage(n,i){let r=i.get(n);r&&(r.usage--,r.usage<=0&&(bg(r.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])bg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(n,yg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,jp(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),n.appendChild(i)}static \u0275fac=function(i){return new(i||e)(j(_t),j(nl),j(rl,8),j(Lo))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Vp={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"},zp=/%COMP%/g;var Cg="%COMP%",EC=`_nghost-${Cg}`,xC=`_ngcontent-${Cg}`,MC=!0,IC=new $("",{providedIn:"root",factory:()=>MC});function SC(e){return xC.replace(zp,e)}function TC(e){return EC.replace(zp,e)}function wg(e,t){return t.map(n=>n.replace(zp,e))}var $p=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,i,r,o,a,c,d=null,f=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=c,this.nonce=d,this.tracingService=f,this.platformIsServer=!1,this.defaultRenderer=new Qo(n,a,c,this.platformIsServer,this.tracingService)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(n,i);return r instanceof kl?r.applyToHost(n):r instanceof Xo&&r.applyStyles(),r}getOrCreateRenderer(n,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,c=this.ngZone,d=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,y=this.tracingService;switch(i.encapsulation){case bn.Emulated:o=new kl(d,f,i,this.appId,h,a,c,g,y);break;case bn.ShadowDom:return new Hp(d,f,n,i,a,c,this.nonce,g,y);default:o=new Xo(d,f,i,h,a,c,g,y);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(i){return new(i||e)(j(Bp),j(Up),j(nl),j(IC),j(_t),j(ze),j(rl),j(Oo,8))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Qo=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,i,r,o){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Vp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(_g(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(_g(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){n.remove()}selectRootElement(t,n){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new V(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;let o=Vp[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){let r=Vp[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(Ht.DashCase|Ht.Important)?t.style.setProperty(n,i,r&Ht.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Ht.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t!=null&&(t[n]=i)}setValue(t,n){t.nodeValue=n}listen(t,n,i,r){if(typeof t=="string"&&(t=Zo().getGlobalEventTarget(this.doc,t),!t))throw new V(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,r)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function _g(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Hp=class extends Qo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,d,f),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=wg(r.id,h);for(let y of h){let b=document.createElement("style");c&&b.setAttribute("nonce",c),b.textContent=y,this.shadowRoot.appendChild(b)}let g=r.getExternalStyles?.();if(g)for(let y of g){let b=jp(y,o);c&&b.setAttribute("nonce",c),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xo=class extends Qo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,c,d),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=f?wg(f,h):h,this.styleUrls=i.getExternalStyles?.(f)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ii.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kl=class extends Xo{contentAttr;hostAttr;constructor(t,n,i,r,o,a,c,d,f){let h=r+"-"+i.id;super(t,n,i,o,a,c,d,f,h),this.contentAttr=SC(h),this.hostAttr=TC(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}};var Nl=class e extends $o{supportsDOMEvents=!0;static makeCurrent(){Op(new e)}onAndCancel(t,n,i,r){return t.addEventListener(n,i,r),()=>{t.removeEventListener(n,i,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=kC();return n==null?null:AC(n)}resetBaseElement(){Ko=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Yo(document.cookie,t)}},Ko=null;function kC(){return Ko=Ko||document.head.querySelector("base"),Ko?Ko.getAttribute("href"):null}function AC(e){return new URL(e,document.baseURI).pathname}var NC=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Dg=["alt","control","meta","shift"],LC={"\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"},OC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Eg=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,r,o){let a=e.parseEventName(i),c=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zo().onAndCancel(n,a.domEventName,c,o))}static parseEventName(n){let i=n.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Dg.forEach(f=>{let h=i.indexOf(f);h>-1&&(i.splice(h,1),a+=f+".")}),a+=o,i.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let r=LC[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Dg.forEach(a=>{if(a!==r){let c=OC[a];c(n)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(i){return new(i||e)(j(_t))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function Zp(e){return pg(RC(e))}function RC(e){return{appProviders:[...HC,...e?.providers??[]],platformProviders:jC}}function PC(){Nl.makeCurrent()}function FC(){return new Yt}function VC(){return jd(document),document}var jC=[{provide:Lo,useValue:vg},{provide:il,useValue:PC,multi:!0},{provide:_t,useFactory:VC}];var HC=[{provide:po,useValue:"root"},{provide:Yt,useFactory:FC},{provide:Al,useClass:Tl,multi:!0,deps:[_t]},{provide:Al,useClass:Eg,multi:!0,deps:[_t]},$p,Up,Bp,{provide:Si,useExisting:$p},{provide:Ri,useClass:NC},[]];var Sr=class{},Jo=class{},Yn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
8
- `).forEach(n=>{let i=n.indexOf(":");if(i>0){let r=n.slice(0,i),o=n.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.addHeaderEntry(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let r=(t.op==="a"?this.headers.get(n):void 0)||[];r.push(...i),this.headers.set(n,r);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let a=this.headers.get(n);if(!a)return;a=a.filter(c=>o.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(n):this.headers.set(i,[n])}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ol=class{encodeKey(t){return xg(t)}encodeValue(t){return xg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function BC(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,c]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],d=n.get(a)||[];d.push(c),n.set(a,d)}),n}var UC=/%(\d[a-f0-9])/gi,zC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xg(e){return encodeURIComponent(e).replace(UC,(t,n)=>zC[n]??t)}function Ll(e){return`${e}`}var En=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ol,t.fromString){if(t.fromObject)throw new V(2805,!1);this.map=BC(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],r=Array.isArray(i)?i.map(Ll):[Ll(i)];this.map.set(n,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{n.push({param:i,value:o,op:"a"})}):n.push({param:i,value:r,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ll(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(Ll(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Rl=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function $C(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Mg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ig(e){return typeof Blob<"u"&&e instanceof Blob}function Sg(e){return typeof FormData<"u"&&e instanceof FormData}function ZC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Tg="Content-Type",kg="Accept",Ag="X-Request-URL",Ng="text/plain",Lg="application/json",WC=`${Lg}, ${Ng}, */*`,Mr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,i,r){this.url=n,this.method=t.toUpperCase();let o;if($C(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new V(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new Yn,this.context??=new Rl,!this.params)this.params=new En,this.urlWithParams=n;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=n;else{let c=n.indexOf("?"),d=c===-1?"?":c<n.length-1?"&":"";this.urlWithParams=n+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Mg(this.body)||Ig(this.body)||Sg(this.body)||ZC(this.body)?this.body:this.body instanceof En?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||Sg(this.body)?null:Ig(this.body)?this.body.type||null:Mg(this.body)?null:typeof this.body=="string"?Ng:this.body instanceof En?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Lg:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=t.keepalive??this.keepalive,a=t.priority||this.priority,c=t.cache||this.cache,d=t.mode||this.mode,f=t.redirect||this.redirect,h=t.credentials||this.credentials,g=t.referrer||this.referrer,y=t.integrity||this.integrity,b=t.transferCache??this.transferCache,_=t.timeout??this.timeout,A=t.body!==void 0?t.body:this.body,k=t.withCredentials??this.withCredentials,I=t.reportProgress??this.reportProgress,Z=t.headers||this.headers,He=t.params||this.params,ce=t.context??this.context;return t.setHeaders!==void 0&&(Z=Object.keys(t.setHeaders).reduce((Ce,N)=>Ce.set(N,t.setHeaders[N]),Z)),t.setParams&&(He=Object.keys(t.setParams).reduce((Ce,N)=>Ce.set(N,t.setParams[N]),He)),new e(n,i,A,{params:He,headers:Z,context:ce,reportProgress:I,responseType:r,withCredentials:k,transferCache:b,keepalive:o,cache:c,priority:a,timeout:_,mode:d,redirect:f,credentials:h,referrer:g,integrity:y})}},Pi=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Pi||{}),Tr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,i="OK"){this.headers=t.headers||new Yn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Pl=class e extends Tr{constructor(t={}){super(t)}type=Pi.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},es=class e extends Tr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Pi.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Ir=class extends Tr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},GC=200,YC=204;function Wp(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var kr=(()=>{class e{handler;constructor(n){this.handler=n}request(n,i,r={}){let o;if(n instanceof Mr)o=n;else{let d;r.headers instanceof Yn?d=r.headers:d=new Yn(r.headers);let f;r.params&&(r.params instanceof En?f=r.params:f=new En({fromObject:r.params})),o=new Mr(n,i,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:f,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let a=mn(o).pipe(ro(d=>this.handler.handle(d)));if(n instanceof Mr||r.observe==="events")return a;let c=a.pipe(tu(d=>d instanceof es));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(ot(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new V(2806,!1);return d.body}));case"blob":return c.pipe(ot(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new V(2807,!1);return d.body}));case"text":return c.pipe(ot(d=>{if(d.body!==null&&typeof d.body!="string")throw new V(2808,!1);return d.body}));case"json":default:return c.pipe(ot(d=>d.body))}case"response":return c;default:throw new V(2809,!1)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new En().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,r={}){return this.request("PATCH",n,Wp(r,i))}post(n,i,r={}){return this.request("POST",n,Wp(r,i))}put(n,i,r={}){return this.request("PUT",n,Wp(r,i))}static \u0275fac=function(i){return new(i||e)(j(Sr))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var qC=new $("");function QC(e,t){return t(e)}function XC(e,t,n){return(i,r)=>ar(n,()=>t(i,o=>e(o,r)))}var Og=new $(""),Rg=new $(""),Pg=new $("",{providedIn:"root",factory:()=>!0});var Fl=(()=>{class e extends Sr{backend;injector;chain=null;pendingTasks=R(Co);contributeToStability=R(Pg);constructor(n,i){super(),this.backend=n,this.injector=i}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Og),...this.injector.get(Rg,[])]));this.chain=i.reduceRight((r,o)=>XC(r,o,this.injector),QC)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,r=>this.backend.handle(r)).pipe(nu(i))}else return this.chain(n,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(j(Jo),j(pt))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var KC=/^\)\]\}',?\n/,JC=RegExp(`^${Ag}:`,"m");function e6(e){return"responseURL"in e&&e.responseURL?e.responseURL:JC.test(e.getAllResponseHeaders())?e.getResponseHeader(Ag):null}var Gp=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new V(-2800,!1);let i=this.xhrFactory;return mn(null).pipe(Nn(()=>new oe(o=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((k,I)=>a.setRequestHeader(k,I.join(","))),n.headers.has(kg)||a.setRequestHeader(kg,WC),!n.headers.has(Tg)){let k=n.detectContentTypeHeader();k!==null&&a.setRequestHeader(Tg,k)}if(n.timeout&&(a.timeout=n.timeout),n.responseType){let k=n.responseType.toLowerCase();a.responseType=k!=="json"?k:"text"}let c=n.serializeBody(),d=null,f=()=>{if(d!==null)return d;let k=a.statusText||"OK",I=new Yn(a.getAllResponseHeaders()),Z=e6(a)||n.url;return d=new Pl({headers:I,status:a.status,statusText:k,url:Z}),d},h=()=>{let{headers:k,status:I,statusText:Z,url:He}=f(),ce=null;I!==YC&&(ce=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=ce?GC:0);let Ce=I>=200&&I<300;if(n.responseType==="json"&&typeof ce=="string"){let N=ce;ce=ce.replace(KC,"");try{ce=ce!==""?JSON.parse(ce):null}catch(ve){ce=N,Ce&&(Ce=!1,ce={error:ve,text:ce})}}Ce?(o.next(new es({body:ce,headers:k,status:I,statusText:Z,url:He||void 0})),o.complete()):o.error(new Ir({error:ce,headers:k,status:I,statusText:Z,url:He||void 0}))},g=k=>{let{url:I}=f(),Z=new Ir({error:k,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});o.error(Z)},y=g;n.timeout&&(y=k=>{let{url:I}=f(),Z=new Ir({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:I||void 0});o.error(Z)});let b=!1,_=k=>{b||(o.next(f()),b=!0);let I={type:Pi.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(I.total=k.total),n.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),o.next(I)},A=k=>{let I={type:Pi.UploadProgress,loaded:k.loaded};k.lengthComputable&&(I.total=k.total),o.next(I)};return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",y),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",_),c!==null&&a.upload&&a.upload.addEventListener("progress",A)),a.send(c),o.next({type:Pi.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",y),n.reportProgress&&(a.removeEventListener("progress",_),c!==null&&a.upload&&a.upload.removeEventListener("progress",A)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||e)(j(Ri))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fg=new $(""),t6="XSRF-TOKEN",n6=new $("",{providedIn:"root",factory:()=>t6}),i6="X-XSRF-TOKEN",r6=new $("",{providedIn:"root",factory:()=>i6}),ts=class{},o6=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,i){this.doc=n,this.cookieName=i}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(i){return new(i||e)(j(_t),j(n6))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),s6=/^(?:https?:)?\/\//i;function a6(e,t){if(!R(Fg)||e.method==="GET"||e.method==="HEAD"||s6.test(e.url))return t(e);let n=R(ts).getToken(),i=R(r6);return n!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,n)})),t(e)}function Yp(...e){let t=[kr,Gp,Fl,{provide:Sr,useExisting:Fl},{provide:Jo,useFactory:()=>R(qC,{optional:!0})??R(Gp)},{provide:Og,useValue:a6,multi:!0},{provide:Fg,useValue:!0},{provide:ts,useClass:o6}];for(let n of e)t.push(...n.\u0275providers);return uo(t)}var Qn=class{},Vg=(()=>{class e extends Qn{getTranslation(n){return mn({})}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fi=class{},jg=(()=>{class e{handle(n){return n.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function jl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,i=typeof t,r,o,a;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(o=0;o<r;o++)if(!jl(e[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;a=Object.create(null);for(o in e){if(!jl(e[o],t[o]))return!1;a[o]=!0}for(o in t)if(!(o in a)&&typeof t[o]<"u")return!1;return!0}return!1}function qn(e){return typeof e<"u"&&e!==null}function rs(e){return Vl(e)&&!tf(e)&&e!==null}function Vl(e){return typeof e=="object"}function tf(e){return Array.isArray(e)}function nf(e){return typeof e=="string"}function c6(e){return typeof e=="function"}function qp(e,t){let n=Object.assign({},e);return Vl(e)?(Vl(e)&&Vl(t)&&Object.keys(t).forEach(i=>{rs(t[i])?i in e?n[i]=qp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):qp({},t)}function Qp(e,t){let n=t.split(".");t="";do t+=n.shift(),qn(e)&&qn(e[t])&&(rs(e[t])||tf(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function u6(e,t,n){let i=t.split("."),r=e;for(let o=0;o<i.length;o++){let a=i[o];o===i.length-1?r[a]=n:((!r[a]||!rs(r[a]))&&(r[a]={}),r=r[a])}}var Ar=class{},Hg=(()=>{class e extends Ar{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,i){if(nf(n))return this.interpolateString(n,i);if(c6(n))return this.interpolateFunction(n,i)}interpolateFunction(n,i){return n(i)}interpolateString(n,i){return i?n.replace(this.templateMatcher,(r,o)=>{let a=Qp(i,o);return qn(a)?a:r}):n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Nr=class{},Bg=(()=>{class e extends Nr{compile(n,i){return n}compileTranslations(n,i){return n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),is=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new J;onLangChange=new J;onDefaultLangChange=new J},Xp=new $("ISOLATE_TRANSLATE_SERVICE"),Kp=new $("USE_DEFAULT_LANG"),Jp=new $("DEFAULT_LANGUAGE"),ef=new $("USE_EXTEND"),ns=e=>ci(e)?e:mn(e),Se=(()=>{class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}constructor(n,i,r,o,a,c=!0,d=!1,f=!1,h){this.store=n,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=c,this.extend=f,d&&(this.store=new is),h&&this.setDefaultLang(h)}setDefaultLang(n){if(n===this.defaultLang)return;let i=this.retrieveTranslations(n);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=n),i.pipe(ir(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return mn(this.translations[n]);this.currentLang||(this.currentLang=n);let i=this.retrieveTranslations(n);return ci(i)?(i.pipe(ir(1)).subscribe(()=>{this.changeLang(n)}),i):(this.changeLang(n),mn(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let i=this.currentLoader.getTranslation(n).pipe(aa(1),ir(1));return this.loadingTranslations=i.pipe(ot(r=>this.compiler.compileTranslations(r,n)),aa(1),ir(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?Oe(Oe({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(n,i,r=!1){let o=this.compiler.compileTranslations(i,n);(r||this.extend)&&this.translations[n]?this.translations[n]=qp(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let i=n.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,i,r){let o;if(n&&(o=this.runInterpolation(Qp(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Qp(this.translations[this.defaultLang],i),r)),o===void 0){let a={key:i,translateService:this};typeof r<"u"&&(a.interpolateParams=r),o=this.missingTranslationHandler.handle(a)}return o!==void 0?o:i}runInterpolation(n,i){if(tf(n))return n.map(r=>this.runInterpolation(r,i));if(rs(n)){let r={};for(let o in n){let a=this.runInterpolation(n[o],i);a!==void 0&&(r[o]=a)}return r}else return this.parser.interpolate(n,i)}getParsedResult(n,i,r){if(i instanceof Array){let o={},a=!1;for(let d of i)o[d]=this.getParsedResultForKey(n,d,r),a=a||ci(o[d]);if(!a)return o;let c=i.map(d=>ns(o[d]));return Jc(c).pipe(ot(d=>{let f={};return d.forEach((h,g)=>{f[i[g]]=h}),f}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ro(r=>ns(this.getParsedResult(r,n,i)))):ns(this.getParsedResult(this.translations[this.currentLang],n,i))}getStreamOnTranslationChange(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return oa(sa(()=>this.get(n,i)),this.onTranslationChange.pipe(Nn(r=>{let o=this.getParsedResult(r.translations,n,i);return ns(o)})))}stream(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" required');return oa(sa(()=>this.get(n,i)),this.onLangChange.pipe(Nn(r=>{let o=this.getParsedResult(r.translations,n,i);return ns(o)})))}instant(n,i){if(!qn(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,i);return ci(r)?Array.isArray(n)?n.reduce((o,a)=>(o[a]=a,o),{}):n:r}set(n,i,r=this.currentLang){u6(this.translations[r],n,nf(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||e)(j(is),j(Qn),j(Nr),j(Ar),j(Fi),j(Kp),j(Xp),j(ef),j(Jp))};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qe=(()=>{class e{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(n,i){this.translate=n,this._ref=i}updateValue(n,i,r){let o=a=>{this.value=a!==void 0?a:n,this.lastKey=n,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(r,n,i);ci(a)?a.subscribe(o):o(a)}this.translate.get(n,i).subscribe(o)}transform(n,...i){if(!n||!n.length)return n;if(jl(n,this.lastKey)&&jl(i,this.lastParams))return this.value;let r;if(qn(i[0])&&i.length)if(nf(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else rs(i[0])&&(r=i[0]);return this.lastKey=n,this.lastParams=i,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)($e(Se,16),$e(Ip,16))};static \u0275pipe=hl({name:"translate",type:e,pure:!1});static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var Ne=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Qn,useClass:Vg},n.compiler||{provide:Nr,useClass:Bg},n.parser||{provide:Ar,useClass:Hg},n.missingTranslationHandler||{provide:Fi,useClass:jg},is,{provide:Xp,useValue:n.isolate},{provide:Kp,useValue:n.useDefaultLang},{provide:ef,useValue:n.extend},{provide:Jp,useValue:n.defaultLanguage},Se]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Qn,useClass:Vg},n.compiler||{provide:Nr,useClass:Bg},n.parser||{provide:Ar,useClass:Hg},n.missingTranslationHandler||{provide:Fi,useClass:jg},{provide:Xp,useValue:n.isolate},{provide:Kp,useValue:n.useDefaultLang},{provide:ef,useValue:n.extend},{provide:Jp,useValue:n.defaultLanguage},Se]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ni({type:e});static \u0275inj=Pn({})}return e})();var Qe=(()=>{let t=class t{constructor(){this.translateService=R(Se),this._selectedLanguage=Un("en"),this._localizedStrings=Un({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(i){this._selectedLanguage.set(i),this.translateService.use(i);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(r){console.error(r)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(i){this._localizedStrings.set(i),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,i)}catch(r){console.error(r)}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[Fe([Se])],decls:2,vars:0,template:function(r,o){r&1&&(_n(0,"p"),X(1," localized widget works! "),Cn())},dependencies:[fe,Ne],encapsulation:3});let e=t;return e})();function me(e,t,n=null){if(!t){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let i="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;i&&typeof i[t]=="function"&&i[t]({detail:n});let r=e;t in r&&r[t].emit(n)}var Hl=(()=>{let t=class t extends Qe{constructor(){super(),this.bimplusContactClicked=new J}_contactClicked(){me(this,"bimplusContactClicked","contact")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[Fe([Se]),Ze],decls:3,vars:3,consts:[["href","https://connect.allplan.com/support/contact.ct?SSO=1&autolang","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(r,o){r&1&&(_n(0,"a",0),ye(1,"translate"),Cl("click",function(){return o._contactClicked()}),yl(2,"div",1),Cn()),r&2&&_l("title",_e(1,1,"_BimplusContactTitle"))},dependencies:[fe,Ne,qe],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
9
- `],encapsulation:3});let e=t;return e})();var d6=(e,t)=>({open:e,"expand-up":t});function p6(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._switchLanguage(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._switchLanguage(r.symbol))}),E(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",i.selectedLanguage===n.symbol?"selected":""),yn("data-test","langmenu_item_"+n.text),w(2),Ke(n.text)}}var Bl=(()=>{let t=class t{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new J}_switchLanguage(i){me(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",M],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",M]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},decls:7,vars:8,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",2),re(3,"div",3)(4,"span",4),T(),E(5,"ul",5),ae(6,p6,3,3,"li",6),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),w(),D("ngClass",o._menuOpened?"open":"")("ngClass",o.isTouch?"is-touch":""),w(4),D("ngClass",Oi(5,d6,o._menuOpened,o.expandUp)),w(),D("ngForOf",o._languagesList))},dependencies:[fe,je,ht],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--language-menu-dropdown-open-text-color-enabled);background-color:var(--language-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--language-menu-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--language-menu-dropdown-menu-background-color-enabled);border:thin solid var(--language-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--language-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--language-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}
10
- `],encapsulation:3});let e=t;return e})();var f6=(e,t,n)=>({collapsed:e,"mini-mode":t,"is-touch":n}),Ug=(e,t)=>t.id;function m6(e,t){if(e&1){let n=Ee();E(0,"div",4),ye(1,"translate"),F("dblclick",function(r){B(n);let o=x(3);return U(o._menuItemIgnoreAction(r))})("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))}),re(2,"div",5),E(3,"div",6),F("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=x().$implicit,i=x(2);D("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",_e(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),D("ngClass",i._getPrjIconClassAttributes(n))}}function h6(e,t){if(e&1&&ke(0,m6,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Ae(i._isHidden(n)?-1:0)}}function g6(e,t){if(e&1&&vl(0,h6,1,1,null,null,Ug),e&2){let n=x();bl(n.menuItems)}}function v6(e,t){if(e&1){let n=Ee();E(0,"div",4),ye(1,"translate"),F("dblclick",function(r){B(n);let o=x(3);return U(o._menuItemIgnoreAction(r))})("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))}),re(2,"div",5),E(3,"div",6),F("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=x().$implicit,i=x(2);D("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",_e(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),D("ngClass",i._getPrjIconClassAttributes(n))}}function b6(e,t){if(e&1&&ke(0,v6,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Ae(!i._isHidden(n)&&(i.isCollapsed||n.action!=="processes")?0:-1)}}function y6(e,t){if(e&1&&vl(0,b6,1,1,null,null,Ug),e&2){let n=x();bl(n.menuItems)}}function _6(e,t){e&1&&tn(0)}function C6(e,t){if(e&1&&ae(0,_6,1,0,"ng-container",13),e&2){x(2);let n=wn(1);D("ngTemplateOutlet",n)}}function w6(e,t){if(e&1&&(E(0,"div",7)(1,"div",8),re(2,"div",9),T(),E(3,"div",10),X(4),T()(),E(5,"div",11)(6,"div",12),ke(7,C6,1,1,"ng-container"),T()()),e&2){let n=x();w(),D("ngStyle",n.prjImageOverlayStyle),w(),D("ngStyle",n.prjImageStyle),w(2),xe(" ",n.projectName," "),w(),D("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Ae(n.showHorizontalMenuIcons?7:-1)}}function D6(e,t){e&1&&tn(0)}function E6(e,t){if(e&1&&ae(0,D6,1,0,"ng-container",13),e&2){x(2);let n=wn(3);D("ngTemplateOutlet",n)}}function x6(e,t){e&1&&tn(0)}function M6(e,t){if(e&1&&ae(0,x6,1,0,"ng-container",13),e&2){x(2);let n=wn(1);D("ngTemplateOutlet",n)}}function I6(e,t){if(e&1){let n=Ee();E(0,"a",14),ye(1,"translate"),F("dblclick",function(){B(n);let r=x();return U(r._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){B(n);let r=x();return U(r._projectMenuItemClicked("prjimageclick","normal"))}),E(2,"div",15),re(3,"div",16),E(4,"div",17),ke(5,E6,1,1,"ng-container"),T(),E(6,"div",18),X(7),T()()(),E(8,"div",11)(9,"div",12),ke(10,M6,1,1,"ng-container"),T()()}if(e&2){let n=x();D("href",pe(n.projectExplorerUrl),Cr)("ngStyle",n.prjImageOverlayStyle)("title",_e(1,11,"_ModelThumbnailTooltip")),w(2),D("ngStyle",n.prjImageStyle),w(),D("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),D("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),Ae(!n.hideMenuIcons&&!n.showHorizontalMenuIcons?5:-1),w(2),xe(" ",n.projectName," "),w(),D("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Ae(n.showHorizontalMenuIcons?10:-1)}}var Ul=(()=>{let t=class t extends Qe{constructor(){super(),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((i,r)=>this.menuItemsOrder.indexOf(i.id)-this.menuItemsOrder.indexOf(r.id))}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){if(i){let r=`${i.action?i.action:i.id}Disabled`;return!!this[r]}return!1}_projectMenuItemClicked(i,r){console.log(i,r)}_menuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),console.log(i,r,o),r!="info"&&this._isDisabled(i))return;let a=i.action;me(this,"bimplusProjectMenuClicked",{action:a,type:r})}_menuItemIgnoreAction(i){i&&(i.stopPropagation(),i.preventDefault())}_getPrjItemClassAttributes(i,r){return`${this._isDisabled(i)?"disabled":""} ${r?"":"hover-show-info"}`}_getPrjIconClassAttributes(i){return`${i.class} ${i.action===this.projectActiveItem?"active":""} ${this._isDisabled(i)?"disabled":""}`}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],isCollapsed:[2,"isCollapsed","isCollapsed",M],isMiniMode:[2,"isMiniMode","isMiniMode",M],isTouch:[2,"isTouch","isTouch",M],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],menuItemsOrder:"menuItemsOrder"},features:[Fe([Se]),Ze],decls:7,vars:6,consts:[["navigationPrjList",""],["navigationPrjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(r,o){r&1&&(ae(0,g6,2,0,"ng-template",null,0,xr)(2,y6,2,0,"ng-template",null,1,xr),E(4,"div",2),ke(5,w6,8,5)(6,I6,11,13),T()),r&2&&(w(4),D("ngClass",Dn(2,f6,o.isCollapsed,o.isMiniMode,o.isTouch)),w(),Ae(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[fe,je,Go,Pp,Ne,qe],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--project-menu-project-container-background-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid var(--project-menu-project-container-mini-mode-border-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:var(--project-menu-project-details-background-color-enabled);background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{color:var(--project-menu-project-name-text-color);background-color:var(--project-menu-project-name-background-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:var(--project-menu-item-overlay-background-color-enabled);width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid var(--project-menu-project-items-horizontal-border-color-enabled)}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center}
11
- `],encapsulation:3});let e=t;return e})();var rf=e=>({$implicit:e});function S6(e,t){if(e&1&&re(0,"div",10),e&2){let n=x().$implicit;gp(n.item.class),D("id",n.item.id)}}function T6(e,t){if(e&1){let n=Ee();E(0,"div",14),F("click",function(r){B(n);let o=x(2).$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){B(n);let o=x(2).$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"info",r))}),T()}}function k6(e,t){if(e&1){let n=Ee();E(0,"div",9),ye(1,"translate"),E(2,"div",11),F("click",function(r){B(n);let o=x().$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"normal",r))}),re(3,"div",12),E(4,"span"),X(5),ye(6,"translate"),T()(),ke(7,T6,1,0,"div",13),T()}if(e&2){let n=x().$implicit,i=x();D("id",n.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(n.active?"active ":" ")+(n.disabled?"disabled ":" ")+(n.clickable?" ":"not-clickable ")+(n.selected?"selected ":" "))("title",n.disabled?_e(1,7,n.item.disabledTitle):""),w(2),D("ngClass",n.clickable?"":"not-clickable"),w(),D("ngClass",n.item.class+(n.active?" active":"")+(n.disabled?" disabled ":"")),w(2),Ke(_e(6,9,n.isDisabled&&n.item.textIdDisabled!==""?n.item.textIdDisabled:n.item.textId)),w(2),Ae(n.showInfoIcon?7:-1)}}function A6(e,t){if(e&1&&ke(0,S6,1,3,"div",8)(1,k6,8,11,"div",9),e&2){let n=t.$implicit;Ae(n.item.type==="divider"?0:1)}}function N6(e,t){e&1&&tn(0)}function L6(e,t){if(e&1&&ae(0,N6,1,0,"ng-container",15),e&2){let n=x(),i=wn(1);D("ngTemplateOutlet",i)("ngTemplateOutletContext",ut(2,rf,n._getContextData(n._openPrjBtn,n.projectActiveItem==="projectlist",n._isDisabled(n._openPrjBtn),!0,n.projectActiveItem==="projectlist")))}}function O6(e,t){if(e&1&&re(0,"lib-bimplus-project-menu",3),e&2){let n=x();D("projectName",pe(n.projectName))("projectImageUrl",pe(n.projectImageUrl))("projectExplorerUrl",pe(n.projectExplorerUrl))("projectActiveItem",pe(n.projectActiveItem))("projectmembersDisabled",pe(n.projectmembersDisabled))("modelsDisabled",pe(n.modelsDisabled))("documentsDisabled",pe(n.documentsDisabled))("projectsettingsDisabled",pe(n.projectsettingsDisabled))("processesDisabled",pe(n.processesDisabled))("projectmembersVisible",pe(n.projectmembersVisible))("modelsVisible",pe(n.modelsVisible))("documentsVisible",pe(n.documentsVisible))("projectsettingsVisible",pe(n.projectsettingsVisible))("processesVisible",pe(n.processesVisible))("isCollapsed",pe(n.isCollapsed))("isMiniMode",pe(n.isTouch))("isTouch",pe(n.isTouch))("hideMenuIcons",pe(n.hideProjectMenuIcons))("showHorizontalMenuIcons",pe(n.showHorizontalMenuIcons))("menuItemsOrder",n.menuItemsOrder)}}function R6(e,t){e&1&&tn(0)}function P6(e,t){if(e&1&&(E(0,"div"),ae(1,R6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=x(),r=wn(1);w(),D("ngTemplateOutlet",r)("ngTemplateOutletContext",ut(2,rf,i._getContextData(n,!i._isSubscribed(n),i._isDisabled(n),i._isClickable(n),i.menuActiveItem===n.action)))}}function F6(e,t){e&1&&tn(0)}function V6(e,t){if(e&1&&(E(0,"div"),ae(1,F6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=x(),r=wn(1);w(),D("ngTemplateOutlet",r)("ngTemplateOutletContext",ut(2,rf,i._getContextData(n,i.footerActiveItem===n.action,i._isDisabled(n),!0,!1)))}}var he={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn",PORTAL_TRY_BIMPLUS_PRO_BTN:"portalTryBimplusProBtn"},zl=(()=>{let t=class t extends Qe{constructor(){super(),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.tryBimplusProVisible=!1,this.cloudviewerVisible=!0,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new J,this.bimplusMainMenuOverlayClicked=new J,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:he.PORTAL_BIM_USERS,type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:he.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:he.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:he.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:he.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:he.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:he.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"BIM Explorer",textIdDisabled:"BIM Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:he.PORTAL_CLOUD_VIEWER_BTN,type:"",class:"bim-mm-icon-cloud-viewer",textId:"Model Viewer",textIdDisabled:"Model Viewer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:he.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:he.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:he.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:he.PORTAL_TEAM_MANAGEMENT_BTN,type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:he.PORTAL_PROPERTY_MANAGER_BTN,type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"",id:he.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:he.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:he.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:he.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:he.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}get apps(){let i=this.appsList.slice().sort((r,o)=>this.appsOrder.indexOf(r.id)-this.appsOrder.indexOf(o.id));return this.connexisVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_CONNEXIS_BTN)),this.cloudviewerVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_CLOUD_VIEWER_BTN)),this.autoconverterVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(i=i.filter(({id:r})=>r!==he.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(i=i.filter(({id:r})=>r!==he.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(i=i.filter(({id:r})=>r!==he.PORTAL_PROPERTY_MANAGER_BTN&&r!==he.PORTAL_BIM_PROCESSES)),i}get footerList(){let i=this._menuFooterList.filter(r=>this._isSubscribed(r)&&!this._isHidden(r));return(this.teammembersDisabled||!this.isTouch)&&(i=i.filter(({id:r})=>r!==he.DIVIDERAPPS)),this.getYourTeamVisible?i.filter(({id:r})=>r!==he.DIVIDERAPPS):i.filter(({id:r})=>r!==he.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(i){if(i.checkSubscription){let r=`${i.action}Subscribed`;return!!this[r]}return!0}_isClickable(i){return i.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){let r=`${i.action}Disabled`;return!!this[r]}_getContextData(i,r,o,a,c){return{item:i,active:r,disabled:o,clickable:a,selected:c,showInfoIcon:this.appsWithInfo.includes(i.id)}}_overlayClicked(){me(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),r!="info"&&this._isDisabled(i))return;let a=i.action;me(this,"bimplusMainMenuClicked",{action:a,type:r})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],isIpadApp:[2,"isIpadApp","isIpadApp",M],isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",M],showOverlay:[2,"showOverlay","showOverlay",M],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",M],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",M],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",M],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",M],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",M],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",M],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",M],connexisDisabled:[2,"connexisDisabled","connexisDisabled",M],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",M],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",M],shopDisabled:[2,"shopDisabled","shopDisabled",M],addinsDisabled:[2,"addinsDisabled","addinsDisabled",M],openProjectVisible:[2,"openProjectVisible","openProjectVisible",M],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",M],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",M],connexisVisible:[2,"connexisVisible","connexisVisible",M],teammembersVisible:[2,"teammembersVisible","teammembersVisible",M],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",M],shopVisible:[2,"shopVisible","shopVisible",M],addinsVisible:[2,"addinsVisible","addinsVisible",M],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",M],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",M],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",M],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",M],cloudviewerVisible:[2,"cloudviewerVisible","cloudviewerVisible",M],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[Fe([Se]),Ze,Bt],decls:11,vars:6,consts:[["appNavigationItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,o){if(r&1){let a=Ee();ae(0,A6,2,1,"ng-template",null,0,xr),E(2,"div",1),F("click",function(){return B(a),U(o._overlayClicked())})("keypress",function(){return B(a),U(o._overlayClicked())}),E(3,"div",2),ke(4,L6,1,4,"ng-container"),ke(5,O6,1,39,"lib-bimplus-project-menu",3),E(6,"div",4)(7,"div",5),ae(8,P6,2,4,"div",6),T(),E(9,"div",7),ae(10,V6,2,4,"div",6),T()()()()}r&2&&(w(2),D("ngClass",o.showOverlay?"bim-mm-overlay":""),w(2),Ae(o._isHidden(o._openPrjBtn)?-1:4),w(),Ae(o.bimplusProjectMenuVisible?5:-1),w(),D("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),w(2),D("ngForOf",o.apps),w(2),D("ngForOf",o.footerList))},dependencies:[fe,je,ht,Go,Ne,Ul,qe],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/@bimplus/navigation/assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
12
- `],encapsulation:3});let e=t;return e})();var os=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(os||{});var j6=(e,t,n,i,r)=>({"model-viewer":e,"model-viewer-black":t,"connexis-viewer":n,"connexis-viewer-black":i,"burger-menu-not-visible":r}),H6=(e,t,n)=>({active:e,hidden:t,disabled:n}),B6=e=>({hidden:e});function U6(e,t){e&1&&(E(0,"span"),X(1,"\xA0\xA0 -\xA0\xA0"),T())}var $l=(()=>{let t=class t extends Qe{constructor(){super(...arguments),this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this.logoState=zo(os.BimplusViewer),this.isModelViewerActive=zo(!1,{transform:M}),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.bimplusNavbarClicked=new J,this.LogoState=os,this.logoTooltipSignal=El(()=>this.isModelViewerActive()?"_Open_new_file":this.isDashboardTooltipEnabled?"_dashboard_tooltip":""),this.logoStateSignal=El(()=>this.isModelViewerActive()?os.ModelViewerBlack:this.logoState())}_menuClicked(){this.isNavbarMenuEnabled&&me(this,"bimplusNavbarClicked","menu")}_logoClicked(){me(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&me(this,"bimplusNavbarClicked","project")}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=ki(t)))(o||t)}})(),t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",M],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",M],logoState:[1,"logoState"],isModelViewerActive:[1,"isModelViewerActive"],isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",M],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",M],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",M],isTouch:[2,"isTouch","isTouch",M],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",M]},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},features:[Ze],decls:14,vars:25,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","keypress","ngClass","title"],[1,"bimplus-navbar-menu","icon",3,"click","keypress","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[4,"ngIf"],[1,"project",3,"click","keypress","ngClass"],[1,"bimplus-navbar-slot"]],template:function(r,o){r&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),ye(3,"translate"),F("click",function(){return o._logoClicked()})("keypress",function(){return o._logoClicked()}),T(),E(4,"div",3),F("click",function(){return o._menuClicked()})("keypress",function(){return o._menuClicked()}),T()(),E(5,"div",4)(6,"div",5)(7,"span",6),X(8),T(),ae(9,U6,2,0,"span",7),E(10,"span",8),F("click",function(){return o._projectInfoClicked()})("keypress",function(){return o._projectInfoClicked()}),X(11),T()(),E(12,"div",9),re(13,"slot"),T()()()),r&2&&(D("ngClass",o.isTouch?"is-touch":""),w(2),D("ngClass",vp(13,j6,o.logoStateSignal()===o.LogoState.ModelViewer,o.logoStateSignal()===o.LogoState.ModelViewerBlack,o.logoStateSignal()===o.LogoState.ConnexisViewer,o.logoStateSignal()===o.LogoState.ConnexisViewerBlack,!o.isNavbarMenuVisible))("title",_e(3,11,o.logoTooltipSignal())),w(2),D("ngClass",Dn(19,H6,o.isNavbarMenuActive,!o.isNavbarMenuVisible,!o.isNavbarMenuEnabled)),w(2),Gn("margin-left",o.teamInfoOffset),D("ngClass",ut(23,B6,!o.isNavbarInfoVisible)),w(2),Ke(o.teamInfo),w(),D("ngIf",o.projectInfo&&!o.isTouch),w(),D("ngClass",o.isDev?"clickable":""),w(),xe(" ",o.projectInfo," "))},dependencies:[fe,je,Wo,Ne,qe],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:var(--navbar-background-color-enabled);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:var(--navbar-text-color-enabled)}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:var(--navbar-preview-mode-text-color-enabled);font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:var(--navbar-preview-mode-background-color-enabled);letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logo_Black.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo_black.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:pointer}.bimplus-logo.model-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo_black.svg") center center / 14em no-repeat;background-position:center;margin-left:.4em;min-width:14em;cursor:pointer}.bimplus-logo.burger-menu-not-visible{margin-left:.4em;margin-right:6.8em}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
13
- `],encapsulation:3});let e=t;return e})();function z6(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Vi=z6;var $6=typeof global=="object"&&global&&global.Object===Object&&global,zg=$6;var Z6=typeof self=="object"&&self&&self.Object===Object&&self,W6=zg||Z6||Function("return this")(),Zl=W6;var G6=function(){return Zl.Date.now()},Wl=G6;var Y6=/\s/;function q6(e){for(var t=e.length;t--&&Y6.test(e.charAt(t)););return t}var $g=q6;var Q6=/^\s+/;function X6(e){return e&&e.slice(0,$g(e)+1).replace(Q6,"")}var Zg=X6;var K6=Zl.Symbol,Lr=K6;var Wg=Object.prototype,J6=Wg.hasOwnProperty,e7=Wg.toString,ss=Lr?Lr.toStringTag:void 0;function t7(e){var t=J6.call(e,ss),n=e[ss];try{e[ss]=void 0;var i=!0}catch{}var r=e7.call(e);return i&&(t?e[ss]=n:delete e[ss]),r}var Gg=t7;var n7=Object.prototype,i7=n7.toString;function r7(e){return i7.call(e)}var Yg=r7;var o7="[object Null]",s7="[object Undefined]",qg=Lr?Lr.toStringTag:void 0;function a7(e){return e==null?e===void 0?s7:o7:qg&&qg in Object(e)?Gg(e):Yg(e)}var Qg=a7;function l7(e){return e!=null&&typeof e=="object"}var Xg=l7;var c7="[object Symbol]";function u7(e){return typeof e=="symbol"||Xg(e)&&Qg(e)==c7}var Kg=u7;var Jg=NaN,d7=/^[-+]0x[0-9a-f]+$/i,p7=/^0b[01]+$/i,f7=/^0o[0-7]+$/i,m7=parseInt;function h7(e){if(typeof e=="number")return e;if(Kg(e))return Jg;if(Vi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Vi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Zg(e);var n=p7.test(e);return n||f7.test(e)?m7(e.slice(2),n?2:8):d7.test(e)?Jg:+e}var of=h7;var g7="Expected a function",v7=Math.max,b7=Math.min;function y7(e,t,n){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(g7);t=of(t)||0,Vi(n)&&(h=!!n.leading,g="maxWait"in n,o=g?v7(of(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function b(N){var ve=i,ne=r;return i=r=void 0,f=N,a=e.apply(ne,ve),a}function _(N){return f=N,c=setTimeout(I,t),h?b(N):a}function A(N){var ve=N-d,ne=N-f,Mn=t-ve;return g?b7(Mn,o-ne):Mn}function k(N){var ve=N-d,ne=N-f;return d===void 0||ve>=t||ve<0||g&&ne>=o}function I(){var N=Wl();if(k(N))return Z(N);c=setTimeout(I,A(N))}function Z(N){return c=void 0,y&&i?b(N):(i=r=void 0,a)}function He(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ce(){return c===void 0?a:Z(Wl())}function Ce(){var N=Wl(),ve=k(N);if(i=arguments,r=this,d=N,ve){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,t),b(d)}return c===void 0&&(c=setTimeout(I,t)),a}return Ce.cancel=He,Ce.flush=ce,Ce}var Or=y7;var _7="Expected a function";function C7(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(_7);return Vi(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Or(e,t,{leading:i,maxWait:t,trailing:r})}var e2=C7;var Pr=function(){return Pr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Pr.apply(this,arguments)};function i2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function r2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var o2=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,r){var o=r.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(r.value){case"true":i[a]=!0;break;case"false":i[a]=!1;break;case void 0:i[a]=!0;break;default:i[a]=r.value}}return i},t);return n};function s2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function a2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function l2(e){return".".concat(e.split(" ").join("."))}var af=!!(typeof window<"u"&&window.document&&window.document.createElement),w7=Object.freeze({__proto__:null,addClasses:s2,canUseDOM:af,classNamesToQuery:l2,getElementDocument:r2,getElementWindow:i2,getOptions:o2,removeClasses:a2}),Rr=null,t2=null;af&&window.addEventListener("resize",function(){t2!==window.devicePixelRatio&&(t2=window.devicePixelRatio,Rr=null)});function n2(){if(Rr===null){if(typeof document>"u")return Rr=0,Rr;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Rr=n}return Rr}var Xn=i2,sf=r2,D7=o2,Kn=s2,Jn=a2,gt=l2,as=(function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=Xn(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,Kn(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){Jn(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(Kn(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Jn(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var o,a;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(o=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(a=i.isWithinBounds(i.axis.y.track.rect)),(o||a)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(o&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),a&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var o,a,c,d,f,h,g,y,b,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Z=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,He=i.axis[i.draggedAxis].scrollbar,ce=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ce=parseInt((h=(f=i.elStyles)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?k=r.pageY:k=r.pageX;var N=k-((y=(g=I.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;N=i.draggedAxis==="x"&&i.isRtl?((_=(b=I.rect)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-He.size-N:N;var ve=N/(Z-He.size),ne=ve*(ce-Ce);i.draggedAxis==="x"&&i.isRtl&&(ne=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-ne:ne),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ne}},this.onEndDrag=function(r){i.isDragging=!1;var o=sf(i.el),a=Xn(i.el);r.preventDefault(),r.stopPropagation(),Jn(i.el,i.classNames.dragging),i.onStopScrolling(),o.removeEventListener("mousemove",i.drag,!0),o.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",i.preventClick,!0),o.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Pr(Pr({},e.defaultOptions),n),this.classNames=Pr(Pr({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=e2(this._onMouseMove,64),this.onWindowResize=Or(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Or(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Or(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n?.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),o=e.getOffset(i);n.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:n2()}catch{return n2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=sf(t),r=Xn(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){af&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(gt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(gt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(gt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(gt(this.classNames.offset)),this.maskEl=this.el.querySelector(gt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,gt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(gt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(gt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(gt(this.classNames.track)).concat(gt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(gt(this.classNames.track)).concat(gt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(gt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(gt(this.classNames.scrollbar)))||null,this.options.autoHide||(Kn(this.axis.x.scrollbar.el,this.classNames.visible),Kn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=Xn(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,o=i.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Xn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,f=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&f>n,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,y=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&f>o-y,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],o=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,a=o/r,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,i,r;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];f=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,t==="x"&&this.isRtl&&(f=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?f:-f);var h=f/(a-d),g=~~((c-o.size)*h);g=t==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Kn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Jn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),Kn(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Kn(n.scrollbar.el,this.classNames.hover):Jn(n.scrollbar.el,this.classNames.hover)):(Jn(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Jn(this.axis[t].track.el,this.classNames.hover),Jn(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y"),this.isDragging=!0;var r=sf(this.el),o=Xn(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,Kn(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,r,o,a,c;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var f=Xn(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),b=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?b-y:b+y,I=40,Z=function(){i.contentWrapperEl&&(A===-1?b>k&&(b-=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)):b<k&&(b+=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Xn(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=D7,e.helpers=w7,e})();var cf=function(e,t){return cf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},cf(e,t)};function E7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");cf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var uf=as.helpers,lf=uf.getOptions,Tt=uf.addClasses,x7=uf.canUseDOM,df=(function(e){E7(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!t.instances.has(n)&&new t(n,lf(n.attributes))})},t.removeObserver=function(){var n;(n=t.globalObserver)===null||n===void 0||n.disconnect()},t.prototype.initDOM=function(){var n=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(n.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Tt(this.wrapperEl,this.classNames.wrapper),Tt(this.contentWrapperEl,this.classNames.contentWrapper),Tt(this.offsetEl,this.classNames.offset),Tt(this.maskEl,this.classNames.mask),Tt(this.contentEl,this.classNames.contentEl),Tt(this.placeholderEl,this.classNames.placeholder),Tt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Tt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");Tt(a,this.classNames.track),Tt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),Tt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),Tt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}as.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){as.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(n){n.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,lf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!t.instances.has(o)&&document.documentElement.contains(o)&&new t(o,lf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=t.instances.get(r))===null||o===void 0||o.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=t.instances.get(a))===null||c===void 0||c.unMount())}))})})},t.instances=new WeakMap,t})(as);x7&&df.initHtmlApi();var M7=["*"],Gl=(()=>{let t=class t{constructor(){this.elementRef=R(Zn),this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let i=this._element?.querySelector(this._scrollableContainerClassName);if(!i){console.error("No scrollable container found in the element.");return}this._simpleBar=new df(i)}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){if(!(!this._element||!this._element?.querySelector(this._scrollableContainerClassName))){if(!this._simpleBar){console.error("No scrollable container found in the element.");return}this._simpleBar.recalculate()}}ngAfterViewChecked(){this._recalculateScrollbar()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-scrollable-container"]],ngContentSelectors:M7,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(r,o){r&1&&(mp(),_n(0,"div",0),hp(1),Cn())},styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.scrollable-container{height:100%;max-height:100%;padding-right:var(--scrollable-container-paddin-right, .8rem)}
14
- `],encapsulation:2});let e=t;return e})();var c2=e=>({capitalize:e}),u2=e=>[e];function I7(e,t){if(e&1){let n=Ee();E(0,"div",22),F("click",function(){let r=B(n).index,o=x(2).$implicit,a=x(2);return U(a._messageAction(o,r))})("keypress",function(){let r=B(n).index,o=x(2).$implicit,a=x(2);return U(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x(2);D("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function S7(e,t){if(e&1&&ae(0,I7,2,2,"div",21),e&2){let n=x().$implicit,i=x(2);D("ngForOf",n.linkText.constructor===i.Array?n.linkText:ut(1,u2,n.linkText))}}function T7(e,t){if(e&1){let n=Ee();E(0,"div",14)(1,"div",15),re(2,"div",16),E(3,"div",17),X(4),T(),E(5,"div",18),F("click",function(r){let o=B(n).$implicit,a=x(2);return U(a._closeMessage(o,!1,r))})("keypress",function(r){let o=B(n).$implicit,a=x(2);return U(a._closeMessage(o,!1,r))}),T()(),E(6,"div",19),X(7),T(),ke(8,S7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),D("ngClass","message-item-icon-"+n.type),w(),D("ngClass",ut(5,c2,n.capitalizedTitle)),w(),xe(" ",n.title," "),w(3),Ke(n.text),w(),Ae(n.linkText?8:-1)}}function k7(e,t){if(e&1&&(E(0,"lib-bimplus-scrollable-container"),ae(1,T7,9,7,"div",13),T()),e&2){let n=x();w(),D("ngForOf",n._messagesList)}}function A7(e,t){e&1&&(E(0,"div",9),re(1,"div",23),E(2,"div",24),X(3),ye(4,"translate"),T()()),e&2&&(w(3),Ke(_e(4,1,"_Notify_No_Messages")))}function N7(e,t){if(e&1){let n=Ee();E(0,"div",22),F("click",function(){let r=B(n).index,o=x(2).$implicit,a=x();return U(a._messageAction(o,r))})("keypress",function(){let r=B(n).index,o=x(2).$implicit,a=x();return U(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x();D("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function L7(e,t){if(e&1&&ae(0,N7,2,2,"div",21),e&2){let n=x().$implicit,i=x();D("ngForOf",n.linkText.constructor===i.Array?n.linkText:ut(1,u2,n.linkText))}}function O7(e,t){if(e&1){let n=Ee();E(0,"div",14)(1,"div",15),re(2,"div",16),E(3,"div",17),X(4),T(),E(5,"div",18),F("click",function(r){let o=B(n).$implicit,a=x();return U(a._closeMessage(o,!0,r))})("keypress",function(r){let o=B(n).$implicit,a=x();return U(a._closeMessage(o,!0,r))}),T()(),E(6,"div",19),X(7),T(),ke(8,L7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),D("ngClass","message-item-icon-"+n.type),w(),D("ngClass",ut(5,c2,n.capitalizedTitle)),w(),xe(" ",n.title," "),w(3),xe(" ",n.text," "),w(),Ae(n.linkText?8:-1)}}var Yl="bimplus-notify-messages",ql=(()=>{let t=class t extends Qe{constructor(){super(),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new J,this.bimplusNotifyDeleteAllMessages=new J,this.bimplusNotifyMessageAction=new J}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(i){if(i.messages){let r=i.messages.currentValue;this.updateMessages(r)}}updateMessages(i){if(!(i&&typeof i=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let o=JSON.parse(i);this._messagesList=o.messages;let a=this._messagesList.filter(c=>this._oldMessagesList.findIndex(d=>d.id===c.id)<0);a=a.filter(c=>this._messageNotReadYet(c)),a.slice().reverse().forEach(c=>{this._previewMessagesList.findIndex(d=>c.id===d.id)<0&&(this._previewMessagesList.unshift(c),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(c.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}_closeMessage(i,r,o){if(r)return this._closePreviewMessage(i.id);o&&(o.stopPropagation(),o.preventDefault()),me(this,"bimplusNotifyDeleteMessage",JSON.stringify(i))}_closePreviewMessage(i,r=!0){i&&(this._previewMessagesList=this._previewMessagesList.filter(o=>o.id!==i),this.storeMessagesAsRead([i]),r&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){me(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(i,r){i.actionId=r,me(this,"bimplusNotifyMessageAction",JSON.stringify(i))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(i){if(!i?.id)return!0;let r=window.localStorage.getItem(Yl);return r?!r.includes(i.id):!0}storeMessagesAsRead(i){if(!i||i.length<1)return;let r=window.localStorage.getItem(Yl);r??="",i.forEach(o=>{r?.includes(o)||(r+=o+";")}),window.localStorage.setItem(Yl,r)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Yl)}_getItemLinkTitle(i,r){let o=[];return i.linkText&&(i.links||i.link)&&(o=Array.isArray(i.links)?i.links:[i.link]),o[r]??""}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(r,o){r&2&&wl("new-messages",o.newMessages)("bim-notify",o.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",M],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},features:[Fe([Se]),Ze,Bt],decls:19,vars:16,consts:[[1,"dropdown",3,"click","keypress","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click","keypress"],[1,"messages-container"],[1,"message-item-empty"],[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click","keypress"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click","keypress",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","keypress","title"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(r,o){r&1&&(E(0,"div",0),ye(1,"translate"),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",1),re(3,"div",2),T(),E(4,"div",3),re(5,"div",4),E(6,"div",5)(7,"div",6),X(8),T(),E(9,"div",7),F("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),X(10),ye(11,"translate"),T()(),E(12,"div",8),ke(13,k7,2,1,"lib-bimplus-scrollable-container")(14,A7,5,3,"div",9),T()()(),E(15,"div",10),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(16,"div",11)(17,"div",12),ae(18,O7,9,7,"div",13),T()()),r&2&&(D("ngClass",o._menuOpened?"open":"")("title",_e(1,12,"_BimplusNotifyTitle")),w(3),D("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),w(),D("ngClass",o._menuOpened?"open":""),w(4),xe(" (",o._messagesList.length,") "),w(2),xe(" ",_e(11,14,"_Notify_Mark_All")," "),w(3),Ae(o._messagesList.length?13:14),w(2),D("ngClass",o._menuOpened?"open":""),w(),Gn("top",o.previewMessagesOffsetY),D("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),w(2),D("ngForOf",o._previewMessagesList))},dependencies:[fe,je,ht,Ne,Gl,qe],styles:[`.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--notify-message-title-text-color-enabled);background-color:var(--notify-message-title-background-color-enabled)}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:var(--notify-dropdown-menu-item-background-color-hovered)}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:var(--notify-messages-container-background-color-enabled);border:thin solid var(--notify-messages-container-border-color-enabled);-webkit-box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);text-decoration-color:var(--notify-messages-container-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid var(--notify-message-item-border-color-enabled);padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:var(--text-link-color-default);text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container{position:relative;display:flex;flex:1 1 auto}.bim-notify .messages-container lib-bimplus-scrollable-container{max-height:100%;min-width:100%}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:var(--notify-message-item-background-color-enabled);border:thin solid var(--notify-message-item-border-color-enabled);-webkit-box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg")}
15
- `],encapsulation:2});let e=t;return e})();var R7=(e,t,n)=>({red:e,yellow:t,green:n}),Ql=(()=>{let t=class t extends Qe{constructor(){super(),this.usedStorage=zo(0),this.bimplusStorageInfoClicked=new J}_infoClicked(i){me(this,"bimplusStorageInfoClicked",i)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:[1,"usedStorage"]},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},features:[Fe([Se]),Ze],decls:8,vars:13,consts:[[1,"storage-info",3,"click","keypress"],[1,"progress-title"],["data-test","used-storage",1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._infoClicked("storageInfo")})("keypress",function(){return o._infoClicked("storageInfo")}),E(1,"span",1),X(2),ye(3,"translate"),E(4,"span",2),X(5),T()(),E(6,"div",3),re(7,"div",4),T()()),r&2&&(w(2),xe(" ",_e(3,7,"_Common_Data_Environment_Quota")," "),w(3),xe(" ",o.usedStorage(),"% "),w(2),Gn("width",o.usedStorage()+"%")("max-width",o.usedStorage()+"%"),D("ngClass",Dn(9,R7,o.usedStorage()>=90,o.usedStorage()>=80&&o.usedStorage()<90,o.usedStorage()<80)))},dependencies:[fe,je,Ne,qe],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:var(--storage-info-placeholder-text-color-enabled);flex-direction:column}.storage-info.hovered,.storage-info:hover{color:var(--storage-info-text-color-hovered)}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:var(--storage-info-bar-border-color-hovered)}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:var(--storage-info-bar-container-background-color-enabled);padding:.125em;border:var(--storage-info-bar-container-border-color-enabled) solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:var(--storage-info-bar-background-color-low-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:var(--storage-info-bar-background-color-medium-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:var(--storage-info-bar-background-color-high-enabled)}
16
- `],encapsulation:3});let e=t;return e})();var Xl=(()=>{let t=class t extends Qe{constructor(){super(),this.defaultShopUrl="https://www.bimplus.net/",this.shopUrl=this.defaultShopUrl,this.country="",this.isTouch=!1,this.bimplusUpgradeLinkClicked=new J}_getLangParamValue(i){let o={en:"1",fr:"2",de:"3",cs:"1",es:"1",it:"1",ru:"1",ro:"1",tr:"1"}[i];return`&lang=${o||"1"}`}_getCountryIsoParam(i){let o={en:"gb",us:"us",fr:"fr",de:"de",cs:"cz",es:"es",it:"it",ru:"ru",ro:"ro",tr:"tr"}[i];return o?`&ap_country_iso=${o}`:""}_linkClicked(){let i=this.shopUrl||this.defaultShopUrl;console.debug("Opening upgrade to Bimplus link"),window.open(i,"_blank"),me(this,"bimplusUpgradeLinkClicked",i)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-upgrade-link"]],inputs:{shopUrl:"shopUrl",country:"country",isTouch:[2,"isTouch","isTouch",M]},outputs:{bimplusUpgradeLinkClicked:"bimplusUpgradeLinkClicked"},features:[Fe([Se]),Ze],decls:3,vars:4,consts:[[1,"bimplus-upgrade-link","secondary-button","body-text-mixin",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._linkClicked()})("keypress",function(){return o._linkClicked()}),X(1),ye(2,"translate"),T()),r&2&&(D("ngClass",o.isTouch?"is-touch":""),w(),xe(" ",_e(2,2,"_Upgrade_to_Bimplus")," "))},dependencies:[fe,je,Ne,qe],styles:[`.secondary-button{border:solid 2px var(--color-border-input-focus);border-radius:.4rem;padding:.4rem;box-sizing:border-box;line-height:1.2;height:100%;display:inline-block;color:var(--color-border-input-focus);text-transform:uppercase;text-align:center;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:100%;font-weight:var(--font-weight, 700);cursor:pointer}.secondary-button:hover{background-color:var(--color-background-button-secondary-hover)}.secondary-button.hidden{visibility:hidden}.is-touch .secondary-button{padding-left:0}
17
- `],encapsulation:3});let e=t;return e})();var P7=(e,t)=>({open:e,"is-touch":t}),F7=e=>({open:e}),V7=e=>({selected:e});function j7(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._menuItemClicked(r.mode))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._menuItemClicked(r.mode))}),re(1,"div",8),E(2,"span"),X(3),ye(4,"translate"),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",ut(5,V7,i.selectedMode===n.mode)),w(),D("ngClass",n.class),w(2),Ke(_e(4,3,n.textId))}}var Kl=(()=>{let t=class t extends Qe{constructor(){super(),this._menuItemsList=[{mode:"touch",class:"icon-touch-mode-toolbar",textId:"_Touch_Mode"},{mode:"desktop",class:"icon-desktop-mode-toolbar",textId:"_Desktop_Mode"}],this._menuOpened=!1,this.isTouch=!1,this.selectedMode="desktop",this.bimplusTouchModeSelected=new J}get _selectedItem(){return this._menuItemsList.find(i=>i.mode==this.selectedMode)}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i){me(this,"bimplusTouchModeSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",M],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},features:[Fe([Se]),Ze,Bt],decls:7,vars:10,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"],[1,"icon",3,"ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",2),re(3,"div",3)(4,"span",4),T(),E(5,"ul",5),ae(6,j7,5,7,"li",6),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),w(),D("ngClass",Oi(5,P7,o._menuOpened,o.isTouch)),w(2),D("ngClass",o._selectedItem!=null&&o._selectedItem.class?o._selectedItem==null?null:o._selectedItem.class:""),w(2),D("ngClass",ut(8,F7,o._menuOpened)),w(),D("ngForOf",o._menuItemsList))},dependencies:[fe,je,ht,Ne,qe],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;width:4em;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--touch-menu-dropdown-open-text-color-enabled);background-color:var(--touch-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:1em;margin-right:.3em;background-size:1.4em 1.4em;padding-top:.31em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--touch-menu-dropdown-toggle-text-color-enabled);min-width:2.8em;min-height:2.81em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .main-icon{padding-top:.1em}.dropdown-toggle .icon{margin:0}.is-touch .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;padding-bottom:.22em;min-width:0;min-height:0;padding-top:0;padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.dropdown-toggle:hover{color:var(--touch-menu-dropdown-toggle-text-color-hovered)}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--touch-menu-dropdown-menu-background-color-enabled);border:thin solid var(--touch-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--touch-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 2.2em .2em 2em;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--touch-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--touch-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-touch-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Desktop_Mode.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
18
- `],encapsulation:3});let e=t;return e})();var H7=(e,t,n)=>({divider:e,languageMenuItem:t,"submenu-hidden":n});function B7(e,t){if(e&1&&X(0),e&2){let n=x();xe(" ",n.userName," ")}}function U7(e,t){if(e&1){let n=Ee();E(0,"div",17),F("click",function(){let r=B(n).$implicit,o=x(4);return U(o._switchLanguage(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x(4);return U(o._switchLanguage(r.symbol))}),X(1),T()}if(e&2){let n=t.$implicit,i=x(4);D("id",pe(i._getLangId(n)))("ngClass",n.symbol===i.selectedLanguage?"selected":""),yn("key",i._getLangId(n)),w(),xe(" ",n.text," ")}}function z7(e,t){if(e&1&&(re(0,"div",11)(1,"div",12),E(2,"span",13),X(3),ye(4,"translate"),T(),E(5,"div",14)(6,"div",15),ae(7,U7,2,5,"div",16),T()()),e&2){let n=x(2).$implicit,i=x();w(),D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(4,5,n.textId)," "),w(2),D("ngClass",i._languagesMenuOpened?"open":""),w(2),D("ngForOf",i._languagesList)}}function $7(e,t){if(e&1&&(re(0,"div",12),E(1,"span",13),X(2),ye(3,"translate"),T()),e&2){let n=x(2).$implicit;D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(3,3,n.textId)," ")}}function Z7(e,t){if(e&1&&(E(0,"a",10),re(1,"div",12),E(2,"span",13),X(3),ye(4,"translate"),T()()),e&2){let n=x(2).$implicit,i=x();D("href",pe(i._buildUrl(n)),Cr),w(),D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(4,5,n.textId)," ")}}function W7(e,t){if(e&1){let n=Ee();E(0,"li",9),F("click",function(){B(n);let r=x(),o=r.$implicit,a=r.index,c=x();return U(c._menuItemClicked(o,a))})("keypress",function(){B(n);let r=x(),o=r.$implicit,a=r.index,c=x();return U(c._menuItemClicked(o,a))}),ke(1,z7,8,7)(2,$7,4,5)(3,Z7,5,7,"a",10),T()}if(e&2){let n=x().$implicit;D("ngClass",Dn(4,H7,n.type==="divider",n.action==="submenu",(!n.url||n.url.slice(0,2)==="#/")&&n.action!=="submenu")),yn("key",n.id)("role",n.type==="divider"?"separator":""),w(),Ae(n.action==="submenu"?1:!n.url||n.url.slice(0,2)==="#/"?2:!n.type||n.type!=="divider"?3:-1)}}function G7(e,t){if(e&1&&(jo(0),ae(1,W7,4,8,"li",8),Ho()),e&2){let n=t.$implicit;w(),D("ngIf",n)}}var Jl=(()=>{let t=class t extends Qe{constructor(){super(),this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina",lCode:"3"},{symbol:"de",text:"Deutsch",lCode:"1"},{symbol:"en",text:"English (UK)",lCode:"0"},{symbol:"us",text:"English (US)",lCode:void 0},{symbol:"es",text:"Espa\xF1ol",lCode:"18"},{symbol:"fr",text:"Fran\xE7ais",lCode:"4"},{symbol:"it",text:"Italiano",lCode:"2"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",lCode:"14"},{symbol:"ro",text:"Romana",lCode:void 0},{symbol:"tr",text:"T\xFCrk\xE7e",lCode:void 0}],this._menuOpened=!1,this._languagesMenuOpened=!1,this.accountSettingsVisible=!0,this.removeConnectedAppsVisible=!1,this.userGuideVisible=!0,this.contactFormVisible=!0,this.forumVisible=!0,this.releaseNotesVisible=!0,this.submenuVisible=!0,this.clearCacheVisible=!0,this.dividerLoggedInVisible=!0,this.logoutVisible=!0,this.isEmbedded=!1,this.isTouch=!1,this.allowRcaItem=!1,this.buttonTitle="",this.userName="Unknown user",this.userPhotoUrl="",this.userGuideLinkUrl="https://bimplus-help.allplan.com/welcome.htm",this.contactFormLinkUrl="https://www.allplan.com/info/contact",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new J,this.bimplusLanguageSelected=new J,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"contactFormLink",action:"contactForm",class:"icon-contact-form",textId:"_Contact_form",get url(){return this._url?.()??""},_url:()=>this.contactFormLinkUrl,queryParams:"",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"releaseNotesLink",action:"releaseNotes",class:"icon-release-notes",textId:"_Release_notes",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i,r){!i||i.type==="divider"||(i.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,me(this,"bimplusUserMenuClicked",{index:r,action:i.action?i.action:""})))}_switchLanguage(i){this._languagesMenuOpened=!1,this._menuOpened=!1,me(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(i){return i?!this[`${i.action?i.action:i.id}Visible`]:!1}_buildUrl(i){let r=i?.url,a=this._languagesList.find(d=>d.symbol===this.selectedLanguage)?.lCode,c=r?.endsWith?.(".ct")&&a;return(i?.queryParams||c)&&(r=r+"?",c&&(r=r+"L="+a,i?.queryParams&&(r=r+"&")),i?.queryParams&&(r=r+i.queryParams)),r}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(r=>{if(!(this._isHidden(r)||r.checkState&&!this[r.checkState]))return r})}_getLangId(i){return"portalLanguage"+i?.symbol.charAt(0).toUpperCase()+i?.symbol.slice(1)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",M],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",M],userGuideVisible:[2,"userGuideVisible","userGuideVisible",M],contactFormVisible:[2,"contactFormVisible","contactFormVisible",M],forumVisible:[2,"forumVisible","forumVisible",M],releaseNotesVisible:[2,"releaseNotesVisible","releaseNotesVisible",M],submenuVisible:[2,"submenuVisible","submenuVisible",M],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",M],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",M],logoutVisible:[2,"logoutVisible","logoutVisible",M],isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],allowRcaItem:[2,"allowRcaItem","allowRcaItem",M],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",contactFormLinkUrl:"contactFormLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},features:[Fe([Se]),Ze,Bt],decls:9,vars:12,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click","keypress",4,"ngIf"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],["class","languageSubmenuItem",3,"id","ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1)(2,"div",2),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),re(3,"img",3),E(4,"div",4),ke(5,B7,1,1),T(),re(6,"span",5),T(),E(7,"ul",6),ae(8,G7,2,1,"ng-container",7),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),yn("key","bimcompOverlay"),w(),D("ngClass",o._menuOpened?"open":""),yn("key","userMenu"),w(),D("title",o.buttonTitle?o.buttonTitle:""),w(),D("src",pe(o.userPhotoUrl?o.userPhotoUrl:""),Cr)("alt",pe(o.buttonTitle?o.buttonTitle:"")),w(2),Ae(o.isTouch?-1:5),w(2),D("ngClass",o._menuOpened?"open":""),w(),D("ngForOf",o._getMenuItems()))},dependencies:[fe,je,ht,Wo,Ne,qe],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Pic_Default.webp") no-repeat center}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .user-name{margin-left:.2em}.dropdown-toggle:hover{color:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-account-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/@bimplus/navigation/assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-contact-form{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact_From.svg") no-repeat center}.icon-forum{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Forum.svg") no-repeat center}.icon-release-notes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Release_Notes.svg") no-repeat center}.icon-clear-cache{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
19
- `],encapsulation:3});let e=t;return e})();var Y7=(e,t)=>({open:e,"is-touch":t});function q7(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._switchZoom(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._switchZoom(r.symbol))}),E(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",i._getZoomClassObject(n.symbol)),w(2),Ke(n.text)}}var ec=(()=>{let t=class t{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new J}_switchZoom(i){me(this,"bimplusZoomSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(i){return{selected:this.selectedZoom===i,["bimzoom-"+i]:!0}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",M],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-zoom"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",2),re(3,"div",3)(4,"span",4),T(),E(5,"ul",5),ae(6,q7,3,2,"li",6),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),w(),D("ngClass",Oi(4,Y7,o._menuOpened,o.isTouch)),w(4),D("ngClass",o._menuOpened?"open":""),w(),D("ngForOf",o._zoomList))},dependencies:[fe,je,ht],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--zoom-dropdown-open-text-color-enabled);background-color:var(--zoom-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--zoom-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:6.5em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--zoom-dropdown-menu-background-color-enabled);border:thin solid var(--zoom-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--zoom-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.21em 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--zoom-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-zoom{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Zoom.svg")}
20
- `],encapsulation:3});let e=t;return e})();var d2=(()=>{class e{http;prefix;suffix;constructor(n,i="/assets/i18n/",r=".json"){this.http=n,this.prefix=i,this.suffix=r}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}static \u0275fac=function(i){return new(i||e)(j(kr),j(String),j(String))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var p2=(()=>{let t=class t{constructor(){this.defaultLang="en",this.currentLanguage$=new kn(this.defaultLang),this.currentLanguageStrings$=new kn({}),this._languageFilesUri="/assets"}set languageFilesUri(i){this._languageFilesUri=i}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(i){this.currentLanguageStrings$.next(i)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(i){return Zt(this,null,function*(){this.currentLanguage$.next(i),yield this.fetchLanguageStrings(i)})}extractLocalizedStrings(i){let r={};for(let[o,a]of Object.entries(this.currentLanguageStrings))typeof a=="string"&&i.find(c=>c===o)&&(r[o]=a);return r}fetchLanguageStrings(i){return Zt(this,null,function*(){let r=yield fetch(`${this._languageFilesUri}/strings_${i}.json`);console.log(`Language strings loaded from: ${this._languageFilesUri}/strings_${i}.json`),console.log(r);let o=yield r.json();if(i!==this.defaultLang){let c=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),d=c&&Object.keys(c);if(d?.length)for(let f in d){let h=d[f];o[h]??=c[h]}}this.currentLanguageStrings$.next(o)})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function pf(e){e||(e=R(Ei));let t=new oe(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(ru(t))}function Q7(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ji=Q7;var X7=typeof global=="object"&&global&&global.Object===Object&&global,f2=X7;var K7=typeof self=="object"&&self&&self.Object===Object&&self,J7=f2||K7||Function("return this")(),tc=J7;var ew=function(){return tc.Date.now()},nc=ew;var tw=/\s/;function nw(e){for(var t=e.length;t--&&tw.test(e.charAt(t)););return t}var m2=nw;var iw=/^\s+/;function rw(e){return e&&e.slice(0,m2(e)+1).replace(iw,"")}var h2=rw;var ow=tc.Symbol,Fr=ow;var g2=Object.prototype,sw=g2.hasOwnProperty,aw=g2.toString,ls=Fr?Fr.toStringTag:void 0;function lw(e){var t=sw.call(e,ls),n=e[ls];try{e[ls]=void 0;var i=!0}catch{}var r=aw.call(e);return i&&(t?e[ls]=n:delete e[ls]),r}var v2=lw;var cw=Object.prototype,uw=cw.toString;function dw(e){return uw.call(e)}var b2=dw;var pw="[object Null]",fw="[object Undefined]",y2=Fr?Fr.toStringTag:void 0;function mw(e){return e==null?e===void 0?fw:pw:y2&&y2 in Object(e)?v2(e):b2(e)}var _2=mw;function hw(e){return e!=null&&typeof e=="object"}var C2=hw;var gw="[object Symbol]";function vw(e){return typeof e=="symbol"||C2(e)&&_2(e)==gw}var w2=vw;var D2=NaN,bw=/^[-+]0x[0-9a-f]+$/i,yw=/^0b[01]+$/i,_w=/^0o[0-7]+$/i,Cw=parseInt;function ww(e){if(typeof e=="number")return e;if(w2(e))return D2;if(ji(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ji(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=h2(e);var n=yw.test(e);return n||_w.test(e)?Cw(e.slice(2),n?2:8):bw.test(e)?D2:+e}var ff=ww;var Dw="Expected a function",Ew=Math.max,xw=Math.min;function Mw(e,t,n){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(Dw);t=ff(t)||0,ji(n)&&(h=!!n.leading,g="maxWait"in n,o=g?Ew(ff(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function b(N){var ve=i,ne=r;return i=r=void 0,f=N,a=e.apply(ne,ve),a}function _(N){return f=N,c=setTimeout(I,t),h?b(N):a}function A(N){var ve=N-d,ne=N-f,Mn=t-ve;return g?xw(Mn,o-ne):Mn}function k(N){var ve=N-d,ne=N-f;return d===void 0||ve>=t||ve<0||g&&ne>=o}function I(){var N=nc();if(k(N))return Z(N);c=setTimeout(I,A(N))}function Z(N){return c=void 0,y&&i?b(N):(i=r=void 0,a)}function He(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ce(){return c===void 0?a:Z(nc())}function Ce(){var N=nc(),ve=k(N);if(i=arguments,r=this,d=N,ve){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,t),b(d)}return c===void 0&&(c=setTimeout(I,t)),a}return Ce.cancel=He,Ce.flush=ce,Ce}var Vr=Mw;var Iw="Expected a function";function Sw(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(Iw);return ji(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Vr(e,t,{leading:i,maxWait:t,trailing:r})}var E2=Sw;var Hr=function(){return Hr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Hr.apply(this,arguments)};function I2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function S2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var T2=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,r){var o=r.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(r.value){case"true":i[a]=!0;break;case"false":i[a]=!1;break;case void 0:i[a]=!0;break;default:i[a]=r.value}}return i},t);return n};function k2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function A2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function N2(e){return".".concat(e.split(" ").join("."))}var hf=!!(typeof window<"u"&&window.document&&window.document.createElement),Tw=Object.freeze({__proto__:null,addClasses:k2,canUseDOM:hf,classNamesToQuery:N2,getElementDocument:S2,getElementWindow:I2,getOptions:T2,removeClasses:A2}),jr=null,x2=null;hf&&window.addEventListener("resize",function(){x2!==window.devicePixelRatio&&(x2=window.devicePixelRatio,jr=null)});function M2(){if(jr===null){if(typeof document>"u")return jr=0,jr;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),jr=n}return jr}var ei=I2,mf=S2,kw=T2,ti=k2,ni=A2,vt=N2,cs=(function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=ei(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,ti(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){ni(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(ti(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ni(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var o,a;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(o=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(a=i.isWithinBounds(i.axis.y.track.rect)),(o||a)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(o&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),a&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var o,a,c,d,f,h,g,y,b,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Z=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,He=i.axis[i.draggedAxis].scrollbar,ce=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ce=parseInt((h=(f=i.elStyles)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?k=r.pageY:k=r.pageX;var N=k-((y=(g=I.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;N=i.draggedAxis==="x"&&i.isRtl?((_=(b=I.rect)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-He.size-N:N;var ve=N/(Z-He.size),ne=ve*(ce-Ce);i.draggedAxis==="x"&&i.isRtl&&(ne=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-ne:ne),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ne}},this.onEndDrag=function(r){i.isDragging=!1;var o=mf(i.el),a=ei(i.el);r.preventDefault(),r.stopPropagation(),ni(i.el,i.classNames.dragging),i.onStopScrolling(),o.removeEventListener("mousemove",i.drag,!0),o.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",i.preventClick,!0),o.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Hr(Hr({},e.defaultOptions),n),this.classNames=Hr(Hr({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=E2(this._onMouseMove,64),this.onWindowResize=Vr(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Vr(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Vr(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n?.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),o=e.getOffset(i);n.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:M2()}catch{return M2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=mf(t),r=ei(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){hf&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(vt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(vt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(vt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(vt(this.classNames.offset)),this.maskEl=this.el.querySelector(vt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,vt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(vt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(vt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(vt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(vt(this.classNames.scrollbar)))||null,this.options.autoHide||(ti(this.axis.x.scrollbar.el,this.classNames.visible),ti(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=ei(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,o=i.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=ei(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,f=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&f>n,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,y=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&f>o-y,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],o=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,a=o/r,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,i,r;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];f=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,t==="x"&&this.isRtl&&(f=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?f:-f);var h=f/(a-d),g=~~((c-o.size)*h);g=t==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(ti(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(ni(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),ti(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?ti(n.scrollbar.el,this.classNames.hover):ni(n.scrollbar.el,this.classNames.hover)):(ni(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),ni(this.axis[t].track.el,this.classNames.hover),ni(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y"),this.isDragging=!0;var r=mf(this.el),o=ei(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,ti(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,r,o,a,c;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var f=ei(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),b=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?b-y:b+y,I=40,Z=function(){i.contentWrapperEl&&(A===-1?b>k&&(b-=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)):b<k&&(b+=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ei(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=kw,e.helpers=Tw,e})();var vf=function(e,t){return vf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},vf(e,t)};function Aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var bf=cs.helpers,gf=bf.getOptions,kt=bf.addClasses,Nw=bf.canUseDOM,L2=(function(e){Aw(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!t.instances.has(n)&&new t(n,gf(n.attributes))})},t.removeObserver=function(){var n;(n=t.globalObserver)===null||n===void 0||n.disconnect()},t.prototype.initDOM=function(){var n=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(n.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),kt(this.wrapperEl,this.classNames.wrapper),kt(this.contentWrapperEl,this.classNames.contentWrapper),kt(this.offsetEl,this.classNames.offset),kt(this.maskEl,this.classNames.mask),kt(this.contentEl,this.classNames.contentEl),kt(this.placeholderEl,this.classNames.placeholder),kt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),kt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");kt(a,this.classNames.track),kt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),kt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),kt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}cs.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){cs.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(n){n.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,gf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!t.instances.has(o)&&document.documentElement.contains(o)&&new t(o,gf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=t.instances.get(r))===null||o===void 0||o.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=t.instances.get(a))===null||c===void 0||c.unMount())}))})})},t.instances=new WeakMap,t})(cs);Nw&&L2.initHtmlApi();var yf=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(yf||{});var R2=$y(O2());function Lw(e,t){if(e&1){let n=Ee();E(0,"lib-bimplus-main-menu",11),F("bimplusMainMenuClicked",function(r){B(n);let o=x();return U(o.bimplusMainMenuClicked(r))})("bimplusMainMenuOverlayClicked",function(){B(n);let r=x();return U(r.bimplusMainMenuOverlayClicked())}),T()}if(e&2){let n=x();D("selectedLanguage",n.languageStringsService.currentLanguage)("localizedStrings",n.languageStringsService.currentLanguageStrings)("isTouch",n.isTouch)("showHorizontalMenuIcons",n.isTouch)("appsWithInfo",n.appsWithInfo)("appsOrder",n.appsOrder)("menuItemsOrder",n.menuItemsOrder)}}var P2=(()=>{let t=class t{constructor(){this.translateService=R(Se),this.languageStringsService=R(p2),this.logoState=yf.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuData=[],this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.activeTab=Un("object-properties"),this.languageStringsService.currentLanguage$.pipe(pf()).subscribe({next:i=>{this.translateService.use(i),R2.default.locale(i)}}),this.languageStringsService.currentLanguageStrings$.pipe(pf()).subscribe({next:i=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,i)}})}log(i,r,o,a){let c=typeof r?.detail=="object"?JSON.stringify(r?.detail):r?.detail,d=`EVENT : ${i}. `+(o?`INDEX: ${r?.detail?.index} ACTION: ${r?.detail?.action}`:`VALUE: ${c}`);(a?()=>window.alert(d):()=>console.log(d))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:i=>{this.log("Navbar clicked",i),i?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages()}bimplusLanguageSelected(i){this.log("bimplusLanguageSelected",{detail:i}),this._switchLanguage(i)}_switchLanguage(i){i&&this.languageStringsService.setCurrentLanguage(i)}bimplusUserMenuClicked(i){this.log("bimplusUserMenuClicked",i,!0)}bimplusTouchModeSelected(i){this.log("bimplusTouchModeSelected",{detail:i}),this.isTouch=i==="touch"}bimplusMainMenuClicked(i){this.log("bimplusMainMenuClicked",{detail:i},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(i){this.log("bimplusStorageInfoClicked",{detail:i},!1,!0)}bimplusUpgradeLinkClicked(i){this.log("bimplusUpgradeLinkClicked",{detail:i},!1,!0)}bimplusContactClicked(i){this.log("bimplusContactClicked",{detail:i},!1,!0)}bimplusZoomSelected(i){this.log("bimplusZoomSelected",{detail:i}),this.selectedZoom=i;let r=62.5*(Number(i)/100),o=document.querySelector("html");o&&(o.style.fontSize=r+"%")}bimplusNotifyDeleteMessage(i){let r=JSON.parse(i),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(a=>a.id!==r.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(i){this.log("This is notify message action handler",{detail:i},!1,!0)}initLanguage(){this.languageStringsService.languageFilesUri="/assets/@bimplus/navigation/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["app-root"]],features:[Fe([])],decls:11,vars:22,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"logoState","isNavbarMenuVisible","isNavbarMenuActive","isTouch"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],["country","",3,"bimplusUpgradeLinkClicked","selectedLanguage","localizedStrings","isTouch"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(r,o){r&1&&(E(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-notify",2),F("bimplusNotifyMessageAction",function(c){return o.bimplusNotifyMessageAction(c)})("bimplusNotifyDeleteMessage",function(c){return o.bimplusNotifyDeleteMessage(c)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),T(),E(3,"lib-bimplus-storage-info",3),F("bimplusStorageInfoClicked",function(c){return o.bimplusStorageInfoClicked(c)}),T(),E(4,"lib-bimplus-upgrade-link",4),F("bimplusUpgradeLinkClicked",function(c){return o.bimplusUpgradeLinkClicked(c)}),T(),E(5,"lib-bimplus-contact",5),F("bimplusContactClicked",function(c){return o.bimplusContactClicked(c)}),T(),E(6,"lib-bimplus-zoom",6),F("bimplusZoomSelected",function(c){return o.bimplusZoomSelected(c)}),T(),E(7,"lib-bimplus-touch-menu",7),F("bimplusTouchModeSelected",function(c){return o.bimplusTouchModeSelected(c)}),T(),E(8,"lib-bimplus-language-menu",8),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)}),T(),E(9,"lib-bimplus-user-menu",9),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)})("bimplusUserMenuClicked",function(c){return o.bimplusUserMenuClicked(c)}),T()()(),ke(10,Lw,1,7,"lib-bimplus-main-menu",10)),r&2&&(w(),D("logoState",o.logoState)("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(2),D("selectedZoom",o.selectedZoom),w(),D("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),w(),D("selectedLanguage",o.languageStringsService.currentLanguage),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(),Ae(o.isNavbarMenuActive?10:-1))},dependencies:[Hl,Bl,zl,$l,ql,Ql,Xl,Jl,ec,Kl,fe],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
21
- `],encapsulation:2});let e=t;return e})();var Ow=e=>new d2(e,"./assets/@bimplus/navigation/languages/strings_",".json"),Cf=class{handle(t){return console.warn("Missing translation string "+t.key),t.key}};Zt(null,null,function*(){let e=yield Zp({providers:[Yp(),_a(Ne.forRoot({missingTranslationHandler:{provide:Fi,useClass:Cf},isolate:!0,defaultLanguage:"en",loader:{provide:Qn,useFactory:Ow,deps:[kr]}}))]}),t=mt(Hl,{injector:e.injector});customElements.define("bimplus-navigation-contact",t);let n=mt(Bl,{injector:e.injector});customElements.define("bimplus-navigation-language-menu",n);let i=mt(zl,{injector:e.injector});customElements.define("bimplus-navigation-main-menu",i);let r=mt($l,{injector:e.injector});customElements.define("bimplus-navigation-navbar",r);let o=mt(ql,{injector:e.injector});customElements.define("bimplus-navigation-notify",o);let a=mt(Ul,{injector:e.injector});customElements.define("bimplus-navigation-project-menu",a);let c=mt(Ql,{injector:e.injector});customElements.define("bimplus-navigation-storage-info",c);let d=mt(Xl,{injector:e.injector});customElements.define("bimplus-navigation-upgrade-link",d);let f=mt(Kl,{injector:e.injector});customElements.define("bimplus-navigation-touch-menu",f);let h=mt(Jl,{injector:e.injector});customElements.define("bimplus-navigation-user-menu",h);let g=mt(ec,{injector:e.injector});customElements.define("bimplus-navigation-zoom",g);let y=mt(Gl,{injector:e.injector});customElements.define("bimplus-navigation-scrollable-container-element",y);let b=mt(P2,{injector:e.injector});customElements.define("bimplus-navigation-app-wrapper-internal-element",b)});export{Cf as BimplusMissingTranslationHandler};
1
+ var Bw=Object.create;var dc=Object.defineProperty,Vw=Object.defineProperties,Hw=Object.getOwnPropertyDescriptor,Uw=Object.getOwnPropertyDescriptors,$w=Object.getOwnPropertyNames,Bp=Object.getOwnPropertySymbols,zw=Object.getPrototypeOf,Hp=Object.prototype.hasOwnProperty,Ww=Object.prototype.propertyIsEnumerable;var Vp=(e,n,t)=>n in e?dc(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ie=(e,n)=>{for(var t in n||={})Hp.call(n,t)&&Vp(e,t,n[t]);if(Bp)for(var t of Bp(n))Ww.call(n,t)&&Vp(e,t,n[t]);return e},gt=(e,n)=>Vw(e,Uw(n));var Up=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(n,t)=>(typeof require<"u"?require:n)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Gw=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var Yw=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of $w(n))!Hp.call(e,i)&&i!==t&&dc(e,i,{get:()=>n[i],enumerable:!(r=Hw(n,i))||r.enumerable});return e};var qw=(e,n,t)=>(t=e!=null?Bw(zw(e)):{},Yw(n||!e||!e.__esModule?dc(t,"default",{value:e,enumerable:!0}):t,e));var Lt=(e,n,t)=>new Promise((r,i)=>{var s=d=>{try{c(t.next(d))}catch(p){i(p)}},a=d=>{try{c(t.throw(d))}catch(p){i(p)}},c=d=>d.done?r(d.value):Promise.resolve(d.value).then(s,a);c((t=t.apply(e,n)).next())});var jv=Gw((Wf,Pi)=>{"use strict";(function(e,n){typeof Wf=="object"&&typeof Pi<"u"?Pi.exports=n():typeof define=="function"&&define.amd?define(n):e.moment=n()})(Wf,function(){"use strict";var e;function n(){return e.apply(null,arguments)}function t(o){e=o}function r(o){return o instanceof Array||Object.prototype.toString.call(o)==="[object Array]"}function i(o){return o!=null&&Object.prototype.toString.call(o)==="[object Object]"}function s(o,l){return Object.prototype.hasOwnProperty.call(o,l)}function a(o){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(o).length===0;var l;for(l in o)if(s(o,l))return!1;return!0}function c(o){return o===void 0}function d(o){return typeof o=="number"||Object.prototype.toString.call(o)==="[object Number]"}function p(o){return o instanceof Date||Object.prototype.toString.call(o)==="[object Date]"}function h(o,l){var u=[],f,m=o.length;for(f=0;f<m;++f)u.push(l(o[f],f));return u}function g(o,l){for(var u in l)s(l,u)&&(o[u]=l[u]);return s(l,"toString")&&(o.toString=l.toString),s(l,"valueOf")&&(o.valueOf=l.valueOf),o}function b(o,l,u,f){return gp(o,l,u,f,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function D(o){return o._pf==null&&(o._pf=v()),o._pf}var N;Array.prototype.some?N=Array.prototype.some:N=function(o){var l=Object(this),u=l.length>>>0,f;for(f=0;f<u;f++)if(f in l&&o.call(this,l[f],f,l))return!0;return!1};function k(o){var l=null,u=!1,f=o._d&&!isNaN(o._d.getTime());if(f&&(l=D(o),u=N.call(l.parsedDateParts,function(m){return m!=null}),f=l.overflow<0&&!l.empty&&!l.invalidEra&&!l.invalidMonth&&!l.invalidWeekday&&!l.weekdayMismatch&&!l.nullInput&&!l.invalidFormat&&!l.userInvalidated&&(!l.meridiem||l.meridiem&&u),o._strict&&(f=f&&l.charsLeftOver===0&&l.unusedTokens.length===0&&l.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(o))o._isValid=f;else return f;return o._isValid}function x(o){var l=b(NaN);return o!=null?g(D(l),o):D(l).userInvalidated=!0,l}var ne=n.momentProperties=[],ze=!1;function me(o,l){var u,f,m,y=ne.length;if(c(l._isAMomentObject)||(o._isAMomentObject=l._isAMomentObject),c(l._i)||(o._i=l._i),c(l._f)||(o._f=l._f),c(l._l)||(o._l=l._l),c(l._strict)||(o._strict=l._strict),c(l._tzm)||(o._tzm=l._tzm),c(l._isUTC)||(o._isUTC=l._isUTC),c(l._offset)||(o._offset=l._offset),c(l._pf)||(o._pf=D(l)),c(l._locale)||(o._locale=l._locale),y>0)for(u=0;u<y;u++)f=ne[u],m=l[f],c(m)||(o[f]=m);return o}function Ke(o){me(this,o),this._d=new Date(o._d!=null?o._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ze===!1&&(ze=!0,n.updateOffset(this),ze=!1)}function Y(o){return o instanceof Ke||o!=null&&o._isAMomentObject!=null}function Ae(o){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+o)}function Me(o,l){var u=!0;return g(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,o),u){var f=[],m,y,_,O=arguments.length;for(y=0;y<O;y++){if(m="",typeof arguments[y]=="object"){m+=`
2
+ [`+y+"] ";for(_ in arguments[0])s(arguments[0],_)&&(m+=_+": "+arguments[0][_]+", ");m=m.slice(0,-2)}else m=arguments[y];f.push(m)}Ae(o+`
3
+ Arguments: `+Array.prototype.slice.call(f).join("")+`
4
+ `+new Error().stack),u=!1}return l.apply(this,arguments)},l)}var Fi={};function Yf(o,l){n.deprecationHandler!=null&&n.deprecationHandler(o,l),Fi[o]||(Ae(l),Fi[o]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function Wt(o){return typeof Function<"u"&&o instanceof Function||Object.prototype.toString.call(o)==="[object Function]"}function Hv(o){var l,u;for(u in o)s(o,u)&&(l=o[u],Wt(l)?this[u]=l:this["_"+u]=l);this._config=o,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Fl(o,l){var u=g({},o),f;for(f in l)s(l,f)&&(i(o[f])&&i(l[f])?(u[f]={},g(u[f],o[f]),g(u[f],l[f])):l[f]!=null?u[f]=l[f]:delete u[f]);for(f in o)s(o,f)&&!s(l,f)&&i(o[f])&&(u[f]=g({},u[f]));return u}function jl(o){o!=null&&this.set(o)}var Bl;Object.keys?Bl=Object.keys:Bl=function(o){var l,u=[];for(l in o)s(o,l)&&u.push(l);return u};var Uv={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function $v(o,l,u){var f=this._calendar[o]||this._calendar.sameElse;return Wt(f)?f.call(l,u):f}function Gt(o,l,u){var f=""+Math.abs(o),m=l-f.length,y=o>=0;return(y?u?"+":"":"-")+Math.pow(10,Math.max(0,m)).toString().substr(1)+f}var Vl=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Qo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Hl={},Br={};function L(o,l,u,f){var m=f;typeof f=="string"&&(m=function(){return this[f]()}),o&&(Br[o]=m),l&&(Br[l[0]]=function(){return Gt(m.apply(this,arguments),l[1],l[2])}),u&&(Br[u]=function(){return this.localeData().ordinal(m.apply(this,arguments),o)})}function zv(o){return o.match(/\[[\s\S]/)?o.replace(/^\[|\]$/g,""):o.replace(/\\/g,"")}function Wv(o){var l=o.match(Vl),u,f;for(u=0,f=l.length;u<f;u++)Br[l[u]]?l[u]=Br[l[u]]:l[u]=zv(l[u]);return function(m){var y="",_;for(_=0;_<f;_++)y+=Wt(l[_])?l[_].call(m,o):l[_];return y}}function Ko(o,l){return o.isValid()?(l=qf(l,o.localeData()),Hl[l]=Hl[l]||Wv(l),Hl[l](o)):o.localeData().invalidDate()}function qf(o,l){var u=5;function f(m){return l.longDateFormat(m)||m}for(Qo.lastIndex=0;u>=0&&Qo.test(o);)o=o.replace(Qo,f),Qo.lastIndex=0,u-=1;return o}var Gv={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Yv(o){var l=this._longDateFormat[o],u=this._longDateFormat[o.toUpperCase()];return l||!u?l:(this._longDateFormat[o]=u.match(Vl).map(function(f){return f==="MMMM"||f==="MM"||f==="DD"||f==="dddd"?f.slice(1):f}).join(""),this._longDateFormat[o])}var qv="Invalid date";function Zv(){return this._invalidDate}var Qv="%d",Kv=/\d{1,2}/;function Jv(o){return this._ordinal.replace("%d",o)}var Xv={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function eb(o,l,u,f){var m=this._relativeTime[u];return Wt(m)?m(o,l,u,f):m.replace(/%d/i,o)}function tb(o,l){var u=this._relativeTime[o>0?"future":"past"];return Wt(u)?u(l):u.replace(/%s/i,l)}var Zf={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ct(o){return typeof o=="string"?Zf[o]||Zf[o.toLowerCase()]:void 0}function Ul(o){var l={},u,f;for(f in o)s(o,f)&&(u=Ct(f),u&&(l[u]=o[f]));return l}var nb={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function rb(o){var l=[],u;for(u in o)s(o,u)&&l.push({unit:u,priority:nb[u]});return l.sort(function(f,m){return f.priority-m.priority}),l}var Qf=/\d/,_t=/\d\d/,Kf=/\d{3}/,$l=/\d{4}/,Jo=/[+-]?\d{6}/,ve=/\d\d?/,Jf=/\d\d\d\d?/,Xf=/\d\d\d\d\d\d?/,Xo=/\d{1,3}/,zl=/\d{1,4}/,es=/[+-]?\d{1,6}/,Vr=/\d+/,ts=/[+-]?\d+/,ib=/Z|[+-]\d\d:?\d\d/gi,ns=/Z|[+-]\d\d(?::?\d\d)?/gi,ob=/[+-]?\d+(\.\d{1,3})?/,ji=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Hr=/^[1-9]\d?/,Wl=/^([1-9]\d|\d)/,rs;rs={};function R(o,l,u){rs[o]=Wt(l)?l:function(f,m){return f&&u?u:l}}function sb(o,l){return s(rs,o)?rs[o](l._strict,l._locale):new RegExp(ab(o))}function ab(o){return nn(o.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(l,u,f,m,y){return u||f||m||y}))}function nn(o){return o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Et(o){return o<0?Math.ceil(o)||0:Math.floor(o)}function J(o){var l=+o,u=0;return l!==0&&isFinite(l)&&(u=Et(l)),u}var Gl={};function le(o,l){var u,f=l,m;for(typeof o=="string"&&(o=[o]),d(l)&&(f=function(y,_){_[l]=J(y)}),m=o.length,u=0;u<m;u++)Gl[o[u]]=f}function Bi(o,l){le(o,function(u,f,m,y){m._w=m._w||{},l(u,m._w,m,y)})}function lb(o,l,u){l!=null&&s(Gl,o)&&Gl[o](l,u._a,u,o)}function is(o){return o%4===0&&o%100!==0||o%400===0}var et=0,rn=1,Yt=2,We=3,Ot=4,on=5,nr=6,cb=7,ub=8;L("Y",0,0,function(){var o=this.year();return o<=9999?Gt(o,4):"+"+o}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),R("Y",ts),R("YY",ve,_t),R("YYYY",zl,$l),R("YYYYY",es,Jo),R("YYYYYY",es,Jo),le(["YYYYY","YYYYYY"],et),le("YYYY",function(o,l){l[et]=o.length===2?n.parseTwoDigitYear(o):J(o)}),le("YY",function(o,l){l[et]=n.parseTwoDigitYear(o)}),le("Y",function(o,l){l[et]=parseInt(o,10)});function Vi(o){return is(o)?366:365}n.parseTwoDigitYear=function(o){return J(o)+(J(o)>68?1900:2e3)};var ep=Ur("FullYear",!0);function db(){return is(this.year())}function Ur(o,l){return function(u){return u!=null?(tp(this,o,u),n.updateOffset(this,l),this):Hi(this,o)}}function Hi(o,l){if(!o.isValid())return NaN;var u=o._d,f=o._isUTC;switch(l){case"Milliseconds":return f?u.getUTCMilliseconds():u.getMilliseconds();case"Seconds":return f?u.getUTCSeconds():u.getSeconds();case"Minutes":return f?u.getUTCMinutes():u.getMinutes();case"Hours":return f?u.getUTCHours():u.getHours();case"Date":return f?u.getUTCDate():u.getDate();case"Day":return f?u.getUTCDay():u.getDay();case"Month":return f?u.getUTCMonth():u.getMonth();case"FullYear":return f?u.getUTCFullYear():u.getFullYear();default:return NaN}}function tp(o,l,u){var f,m,y,_,O;if(!(!o.isValid()||isNaN(u))){switch(f=o._d,m=o._isUTC,l){case"Milliseconds":return void(m?f.setUTCMilliseconds(u):f.setMilliseconds(u));case"Seconds":return void(m?f.setUTCSeconds(u):f.setSeconds(u));case"Minutes":return void(m?f.setUTCMinutes(u):f.setMinutes(u));case"Hours":return void(m?f.setUTCHours(u):f.setHours(u));case"Date":return void(m?f.setUTCDate(u):f.setDate(u));case"FullYear":break;default:return}y=u,_=o.month(),O=o.date(),O=O===29&&_===1&&!is(y)?28:O,m?f.setUTCFullYear(y,_,O):f.setFullYear(y,_,O)}}function fb(o){return o=Ct(o),Wt(this[o])?this[o]():this}function pb(o,l){if(typeof o=="object"){o=Ul(o);var u=rb(o),f,m=u.length;for(f=0;f<m;f++)this[u[f].unit](o[u[f].unit])}else if(o=Ct(o),Wt(this[o]))return this[o](l);return this}function mb(o,l){return(o%l+l)%l}var Oe;Array.prototype.indexOf?Oe=Array.prototype.indexOf:Oe=function(o){var l;for(l=0;l<this.length;++l)if(this[l]===o)return l;return-1};function Yl(o,l){if(isNaN(o)||isNaN(l))return NaN;var u=mb(l,12);return o+=(l-u)/12,u===1?is(o)?29:28:31-u%7%2}L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(o){return this.localeData().monthsShort(this,o)}),L("MMMM",0,0,function(o){return this.localeData().months(this,o)}),R("M",ve,Hr),R("MM",ve,_t),R("MMM",function(o,l){return l.monthsShortRegex(o)}),R("MMMM",function(o,l){return l.monthsRegex(o)}),le(["M","MM"],function(o,l){l[rn]=J(o)-1}),le(["MMM","MMMM"],function(o,l,u,f){var m=u._locale.monthsParse(o,f,u._strict);m!=null?l[rn]=m:D(u).invalidMonth=o});var hb="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),np="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rp=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,gb=ji,yb=ji;function vb(o,l){return o?r(this._months)?this._months[o.month()]:this._months[(this._months.isFormat||rp).test(l)?"format":"standalone"][o.month()]:r(this._months)?this._months:this._months.standalone}function bb(o,l){return o?r(this._monthsShort)?this._monthsShort[o.month()]:this._monthsShort[rp.test(l)?"format":"standalone"][o.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function _b(o,l,u){var f,m,y,_=o.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],f=0;f<12;++f)y=b([2e3,f]),this._shortMonthsParse[f]=this.monthsShort(y,"").toLocaleLowerCase(),this._longMonthsParse[f]=this.months(y,"").toLocaleLowerCase();return u?l==="MMM"?(m=Oe.call(this._shortMonthsParse,_),m!==-1?m:null):(m=Oe.call(this._longMonthsParse,_),m!==-1?m:null):l==="MMM"?(m=Oe.call(this._shortMonthsParse,_),m!==-1?m:(m=Oe.call(this._longMonthsParse,_),m!==-1?m:null)):(m=Oe.call(this._longMonthsParse,_),m!==-1?m:(m=Oe.call(this._shortMonthsParse,_),m!==-1?m:null))}function Db(o,l,u){var f,m,y;if(this._monthsParseExact)return _b.call(this,o,l,u);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),f=0;f<12;f++){if(m=b([2e3,f]),u&&!this._longMonthsParse[f]&&(this._longMonthsParse[f]=new RegExp("^"+this.months(m,"").replace(".","")+"$","i"),this._shortMonthsParse[f]=new RegExp("^"+this.monthsShort(m,"").replace(".","")+"$","i")),!u&&!this._monthsParse[f]&&(y="^"+this.months(m,"")+"|^"+this.monthsShort(m,""),this._monthsParse[f]=new RegExp(y.replace(".",""),"i")),u&&l==="MMMM"&&this._longMonthsParse[f].test(o))return f;if(u&&l==="MMM"&&this._shortMonthsParse[f].test(o))return f;if(!u&&this._monthsParse[f].test(o))return f}}function ip(o,l){if(!o.isValid())return o;if(typeof l=="string"){if(/^\d+$/.test(l))l=J(l);else if(l=o.localeData().monthsParse(l),!d(l))return o}var u=l,f=o.date();return f=f<29?f:Math.min(f,Yl(o.year(),u)),o._isUTC?o._d.setUTCMonth(u,f):o._d.setMonth(u,f),o}function op(o){return o!=null?(ip(this,o),n.updateOffset(this,!0),this):Hi(this,"Month")}function wb(){return Yl(this.year(),this.month())}function Cb(o){return this._monthsParseExact?(s(this,"_monthsRegex")||sp.call(this),o?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=gb),this._monthsShortStrictRegex&&o?this._monthsShortStrictRegex:this._monthsShortRegex)}function Eb(o){return this._monthsParseExact?(s(this,"_monthsRegex")||sp.call(this),o?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=yb),this._monthsStrictRegex&&o?this._monthsStrictRegex:this._monthsRegex)}function sp(){function o(U,X){return X.length-U.length}var l=[],u=[],f=[],m,y,_,O;for(m=0;m<12;m++)y=b([2e3,m]),_=nn(this.monthsShort(y,"")),O=nn(this.months(y,"")),l.push(_),u.push(O),f.push(O),f.push(_);l.sort(o),u.sort(o),f.sort(o),this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+l.join("|")+")","i")}function Ib(o,l,u,f,m,y,_){var O;return o<100&&o>=0?(O=new Date(o+400,l,u,f,m,y,_),isFinite(O.getFullYear())&&O.setFullYear(o)):O=new Date(o,l,u,f,m,y,_),O}function Ui(o){var l,u;return o<100&&o>=0?(u=Array.prototype.slice.call(arguments),u[0]=o+400,l=new Date(Date.UTC.apply(null,u)),isFinite(l.getUTCFullYear())&&l.setUTCFullYear(o)):l=new Date(Date.UTC.apply(null,arguments)),l}function os(o,l,u){var f=7+l-u,m=(7+Ui(o,0,f).getUTCDay()-l)%7;return-m+f-1}function ap(o,l,u,f,m){var y=(7+u-f)%7,_=os(o,f,m),O=1+7*(l-1)+y+_,U,X;return O<=0?(U=o-1,X=Vi(U)+O):O>Vi(o)?(U=o+1,X=O-Vi(o)):(U=o,X=O),{year:U,dayOfYear:X}}function $i(o,l,u){var f=os(o.year(),l,u),m=Math.floor((o.dayOfYear()-f-1)/7)+1,y,_;return m<1?(_=o.year()-1,y=m+sn(_,l,u)):m>sn(o.year(),l,u)?(y=m-sn(o.year(),l,u),_=o.year()+1):(_=o.year(),y=m),{week:y,year:_}}function sn(o,l,u){var f=os(o,l,u),m=os(o+1,l,u);return(Vi(o)-f+m)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),R("w",ve,Hr),R("ww",ve,_t),R("W",ve,Hr),R("WW",ve,_t),Bi(["w","ww","W","WW"],function(o,l,u,f){l[f.substr(0,1)]=J(o)});function Tb(o){return $i(o,this._week.dow,this._week.doy).week}var Sb={dow:0,doy:6};function Mb(){return this._week.dow}function xb(){return this._week.doy}function kb(o){var l=this.localeData().week(this);return o==null?l:this.add((o-l)*7,"d")}function Nb(o){var l=$i(this,1,4).week;return o==null?l:this.add((o-l)*7,"d")}L("d",0,"do","day"),L("dd",0,0,function(o){return this.localeData().weekdaysMin(this,o)}),L("ddd",0,0,function(o){return this.localeData().weekdaysShort(this,o)}),L("dddd",0,0,function(o){return this.localeData().weekdays(this,o)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),R("d",ve),R("e",ve),R("E",ve),R("dd",function(o,l){return l.weekdaysMinRegex(o)}),R("ddd",function(o,l){return l.weekdaysShortRegex(o)}),R("dddd",function(o,l){return l.weekdaysRegex(o)}),Bi(["dd","ddd","dddd"],function(o,l,u,f){var m=u._locale.weekdaysParse(o,f,u._strict);m!=null?l.d=m:D(u).invalidWeekday=o}),Bi(["d","e","E"],function(o,l,u,f){l[f]=J(o)});function Ab(o,l){return typeof o!="string"?o:isNaN(o)?(o=l.weekdaysParse(o),typeof o=="number"?o:null):parseInt(o,10)}function Ob(o,l){return typeof o=="string"?l.weekdaysParse(o)%7||7:isNaN(o)?null:o}function ql(o,l){return o.slice(l,7).concat(o.slice(0,l))}var Rb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lp="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pb=ji,Fb=ji,jb=ji;function Bb(o,l){var u=r(this._weekdays)?this._weekdays:this._weekdays[o&&o!==!0&&this._weekdays.isFormat.test(l)?"format":"standalone"];return o===!0?ql(u,this._week.dow):o?u[o.day()]:u}function Vb(o){return o===!0?ql(this._weekdaysShort,this._week.dow):o?this._weekdaysShort[o.day()]:this._weekdaysShort}function Hb(o){return o===!0?ql(this._weekdaysMin,this._week.dow):o?this._weekdaysMin[o.day()]:this._weekdaysMin}function Ub(o,l,u){var f,m,y,_=o.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)y=b([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(y,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(y,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(y,"").toLocaleLowerCase();return u?l==="dddd"?(m=Oe.call(this._weekdaysParse,_),m!==-1?m:null):l==="ddd"?(m=Oe.call(this._shortWeekdaysParse,_),m!==-1?m:null):(m=Oe.call(this._minWeekdaysParse,_),m!==-1?m:null):l==="dddd"?(m=Oe.call(this._weekdaysParse,_),m!==-1||(m=Oe.call(this._shortWeekdaysParse,_),m!==-1)?m:(m=Oe.call(this._minWeekdaysParse,_),m!==-1?m:null)):l==="ddd"?(m=Oe.call(this._shortWeekdaysParse,_),m!==-1||(m=Oe.call(this._weekdaysParse,_),m!==-1)?m:(m=Oe.call(this._minWeekdaysParse,_),m!==-1?m:null)):(m=Oe.call(this._minWeekdaysParse,_),m!==-1||(m=Oe.call(this._weekdaysParse,_),m!==-1)?m:(m=Oe.call(this._shortWeekdaysParse,_),m!==-1?m:null))}function $b(o,l,u){var f,m,y;if(this._weekdaysParseExact)return Ub.call(this,o,l,u);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),f=0;f<7;f++){if(m=b([2e3,1]).day(f),u&&!this._fullWeekdaysParse[f]&&(this._fullWeekdaysParse[f]=new RegExp("^"+this.weekdays(m,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[f]=new RegExp("^"+this.weekdaysShort(m,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[f]=new RegExp("^"+this.weekdaysMin(m,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[f]||(y="^"+this.weekdays(m,"")+"|^"+this.weekdaysShort(m,"")+"|^"+this.weekdaysMin(m,""),this._weekdaysParse[f]=new RegExp(y.replace(".",""),"i")),u&&l==="dddd"&&this._fullWeekdaysParse[f].test(o))return f;if(u&&l==="ddd"&&this._shortWeekdaysParse[f].test(o))return f;if(u&&l==="dd"&&this._minWeekdaysParse[f].test(o))return f;if(!u&&this._weekdaysParse[f].test(o))return f}}function zb(o){if(!this.isValid())return o!=null?this:NaN;var l=Hi(this,"Day");return o!=null?(o=Ab(o,this.localeData()),this.add(o-l,"d")):l}function Wb(o){if(!this.isValid())return o!=null?this:NaN;var l=(this.day()+7-this.localeData()._week.dow)%7;return o==null?l:this.add(o-l,"d")}function Gb(o){if(!this.isValid())return o!=null?this:NaN;if(o!=null){var l=Ob(o,this.localeData());return this.day(this.day()%7?l:l-7)}else return this.day()||7}function Yb(o){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zl.call(this),o?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Pb),this._weekdaysStrictRegex&&o?this._weekdaysStrictRegex:this._weekdaysRegex)}function qb(o){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zl.call(this),o?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fb),this._weekdaysShortStrictRegex&&o?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zb(o){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zl.call(this),o?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jb),this._weekdaysMinStrictRegex&&o?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zl(){function o(rt,dn){return dn.length-rt.length}var l=[],u=[],f=[],m=[],y,_,O,U,X;for(y=0;y<7;y++)_=b([2e3,1]).day(y),O=nn(this.weekdaysMin(_,"")),U=nn(this.weekdaysShort(_,"")),X=nn(this.weekdays(_,"")),l.push(O),u.push(U),f.push(X),m.push(O),m.push(U),m.push(X);l.sort(o),u.sort(o),f.sort(o),m.sort(o),this._weekdaysRegex=new RegExp("^("+m.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+f.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+l.join("|")+")","i")}function Ql(){return this.hours()%12||12}function Qb(){return this.hours()||24}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Ql),L("k",["kk",2],0,Qb),L("hmm",0,0,function(){return""+Ql.apply(this)+Gt(this.minutes(),2)}),L("hmmss",0,0,function(){return""+Ql.apply(this)+Gt(this.minutes(),2)+Gt(this.seconds(),2)}),L("Hmm",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)}),L("Hmmss",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)+Gt(this.seconds(),2)});function cp(o,l){L(o,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),l)})}cp("a",!0),cp("A",!1);function up(o,l){return l._meridiemParse}R("a",up),R("A",up),R("H",ve,Wl),R("h",ve,Hr),R("k",ve,Hr),R("HH",ve,_t),R("hh",ve,_t),R("kk",ve,_t),R("hmm",Jf),R("hmmss",Xf),R("Hmm",Jf),R("Hmmss",Xf),le(["H","HH"],We),le(["k","kk"],function(o,l,u){var f=J(o);l[We]=f===24?0:f}),le(["a","A"],function(o,l,u){u._isPm=u._locale.isPM(o),u._meridiem=o}),le(["h","hh"],function(o,l,u){l[We]=J(o),D(u).bigHour=!0}),le("hmm",function(o,l,u){var f=o.length-2;l[We]=J(o.substr(0,f)),l[Ot]=J(o.substr(f)),D(u).bigHour=!0}),le("hmmss",function(o,l,u){var f=o.length-4,m=o.length-2;l[We]=J(o.substr(0,f)),l[Ot]=J(o.substr(f,2)),l[on]=J(o.substr(m)),D(u).bigHour=!0}),le("Hmm",function(o,l,u){var f=o.length-2;l[We]=J(o.substr(0,f)),l[Ot]=J(o.substr(f))}),le("Hmmss",function(o,l,u){var f=o.length-4,m=o.length-2;l[We]=J(o.substr(0,f)),l[Ot]=J(o.substr(f,2)),l[on]=J(o.substr(m))});function Kb(o){return(o+"").toLowerCase().charAt(0)==="p"}var Jb=/[ap]\.?m?\.?/i,Xb=Ur("Hours",!0);function e_(o,l,u){return o>11?u?"pm":"PM":u?"am":"AM"}var dp={calendar:Uv,longDateFormat:Gv,invalidDate:qv,ordinal:Qv,dayOfMonthOrdinalParse:Kv,relativeTime:Xv,months:hb,monthsShort:np,week:Sb,weekdays:Rb,weekdaysMin:Lb,weekdaysShort:lp,meridiemParse:Jb},Ee={},zi={},Wi;function t_(o,l){var u,f=Math.min(o.length,l.length);for(u=0;u<f;u+=1)if(o[u]!==l[u])return u;return f}function fp(o){return o&&o.toLowerCase().replace("_","-")}function n_(o){for(var l=0,u,f,m,y;l<o.length;){for(y=fp(o[l]).split("-"),u=y.length,f=fp(o[l+1]),f=f?f.split("-"):null;u>0;){if(m=ss(y.slice(0,u).join("-")),m)return m;if(f&&f.length>=u&&t_(y,f)>=u-1)break;u--}l++}return Wi}function r_(o){return!!(o&&o.match("^[^/\\\\]*$"))}function ss(o){var l=null,u;if(Ee[o]===void 0&&typeof Pi<"u"&&Pi&&Pi.exports&&r_(o))try{l=Wi._abbr,u=Up,u("./locale/"+o),Mn(l)}catch(f){Ee[o]=null}return Ee[o]}function Mn(o,l){var u;return o&&(c(l)?u=an(o):u=Kl(o,l),u?Wi=u:typeof console<"u"&&console.warn&&console.warn("Locale "+o+" not found. Did you forget to load it?")),Wi._abbr}function Kl(o,l){if(l!==null){var u,f=dp;if(l.abbr=o,Ee[o]!=null)Yf("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),f=Ee[o]._config;else if(l.parentLocale!=null)if(Ee[l.parentLocale]!=null)f=Ee[l.parentLocale]._config;else if(u=ss(l.parentLocale),u!=null)f=u._config;else return zi[l.parentLocale]||(zi[l.parentLocale]=[]),zi[l.parentLocale].push({name:o,config:l}),null;return Ee[o]=new jl(Fl(f,l)),zi[o]&&zi[o].forEach(function(m){Kl(m.name,m.config)}),Mn(o),Ee[o]}else return delete Ee[o],null}function i_(o,l){if(l!=null){var u,f,m=dp;Ee[o]!=null&&Ee[o].parentLocale!=null?Ee[o].set(Fl(Ee[o]._config,l)):(f=ss(o),f!=null&&(m=f._config),l=Fl(m,l),f==null&&(l.abbr=o),u=new jl(l),u.parentLocale=Ee[o],Ee[o]=u),Mn(o)}else Ee[o]!=null&&(Ee[o].parentLocale!=null?(Ee[o]=Ee[o].parentLocale,o===Mn()&&Mn(o)):Ee[o]!=null&&delete Ee[o]);return Ee[o]}function an(o){var l;if(o&&o._locale&&o._locale._abbr&&(o=o._locale._abbr),!o)return Wi;if(!r(o)){if(l=ss(o),l)return l;o=[o]}return n_(o)}function o_(){return Bl(Ee)}function Jl(o){var l,u=o._a;return u&&D(o).overflow===-2&&(l=u[rn]<0||u[rn]>11?rn:u[Yt]<1||u[Yt]>Yl(u[et],u[rn])?Yt:u[We]<0||u[We]>24||u[We]===24&&(u[Ot]!==0||u[on]!==0||u[nr]!==0)?We:u[Ot]<0||u[Ot]>59?Ot:u[on]<0||u[on]>59?on:u[nr]<0||u[nr]>999?nr:-1,D(o)._overflowDayOfYear&&(l<et||l>Yt)&&(l=Yt),D(o)._overflowWeeks&&l===-1&&(l=cb),D(o)._overflowWeekday&&l===-1&&(l=ub),D(o).overflow=l),o}var s_=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,a_=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,l_=/Z|[+-]\d\d(?::?\d\d)?/,as=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Xl=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],c_=/^\/?Date\((-?\d+)/i,u_=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,d_={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function pp(o){var l,u,f=o._i,m=s_.exec(f)||a_.exec(f),y,_,O,U,X=as.length,rt=Xl.length;if(m){for(D(o).iso=!0,l=0,u=X;l<u;l++)if(as[l][1].exec(m[1])){_=as[l][0],y=as[l][2]!==!1;break}if(_==null){o._isValid=!1;return}if(m[3]){for(l=0,u=rt;l<u;l++)if(Xl[l][1].exec(m[3])){O=(m[2]||" ")+Xl[l][0];break}if(O==null){o._isValid=!1;return}}if(!y&&O!=null){o._isValid=!1;return}if(m[4])if(l_.exec(m[4]))U="Z";else{o._isValid=!1;return}o._f=_+(O||"")+(U||""),tc(o)}else o._isValid=!1}function f_(o,l,u,f,m,y){var _=[p_(o),np.indexOf(l),parseInt(u,10),parseInt(f,10),parseInt(m,10)];return y&&_.push(parseInt(y,10)),_}function p_(o){var l=parseInt(o,10);return l<=49?2e3+l:l<=999?1900+l:l}function m_(o){return o.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function h_(o,l,u){if(o){var f=lp.indexOf(o),m=new Date(l[0],l[1],l[2]).getDay();if(f!==m)return D(u).weekdayMismatch=!0,u._isValid=!1,!1}return!0}function g_(o,l,u){if(o)return d_[o];if(l)return 0;var f=parseInt(u,10),m=f%100,y=(f-m)/100;return y*60+m}function mp(o){var l=u_.exec(m_(o._i)),u;if(l){if(u=f_(l[4],l[3],l[2],l[5],l[6],l[7]),!h_(l[1],u,o))return;o._a=u,o._tzm=g_(l[8],l[9],l[10]),o._d=Ui.apply(null,o._a),o._d.setUTCMinutes(o._d.getUTCMinutes()-o._tzm),D(o).rfc2822=!0}else o._isValid=!1}function y_(o){var l=c_.exec(o._i);if(l!==null){o._d=new Date(+l[1]);return}if(pp(o),o._isValid===!1)delete o._isValid;else return;if(mp(o),o._isValid===!1)delete o._isValid;else return;o._strict?o._isValid=!1:n.createFromInputFallback(o)}n.createFromInputFallback=Me("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(o){o._d=new Date(o._i+(o._useUTC?" UTC":""))});function $r(o,l,u){return o??l??u}function v_(o){var l=new Date(n.now());return o._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()]}function ec(o){var l,u,f=[],m,y,_;if(!o._d){for(m=v_(o),o._w&&o._a[Yt]==null&&o._a[rn]==null&&b_(o),o._dayOfYear!=null&&(_=$r(o._a[et],m[et]),(o._dayOfYear>Vi(_)||o._dayOfYear===0)&&(D(o)._overflowDayOfYear=!0),u=Ui(_,0,o._dayOfYear),o._a[rn]=u.getUTCMonth(),o._a[Yt]=u.getUTCDate()),l=0;l<3&&o._a[l]==null;++l)o._a[l]=f[l]=m[l];for(;l<7;l++)o._a[l]=f[l]=o._a[l]==null?l===2?1:0:o._a[l];o._a[We]===24&&o._a[Ot]===0&&o._a[on]===0&&o._a[nr]===0&&(o._nextDay=!0,o._a[We]=0),o._d=(o._useUTC?Ui:Ib).apply(null,f),y=o._useUTC?o._d.getUTCDay():o._d.getDay(),o._tzm!=null&&o._d.setUTCMinutes(o._d.getUTCMinutes()-o._tzm),o._nextDay&&(o._a[We]=24),o._w&&typeof o._w.d<"u"&&o._w.d!==y&&(D(o).weekdayMismatch=!0)}}function b_(o){var l,u,f,m,y,_,O,U,X;l=o._w,l.GG!=null||l.W!=null||l.E!=null?(y=1,_=4,u=$r(l.GG,o._a[et],$i(be(),1,4).year),f=$r(l.W,1),m=$r(l.E,1),(m<1||m>7)&&(U=!0)):(y=o._locale._week.dow,_=o._locale._week.doy,X=$i(be(),y,_),u=$r(l.gg,o._a[et],X.year),f=$r(l.w,X.week),l.d!=null?(m=l.d,(m<0||m>6)&&(U=!0)):l.e!=null?(m=l.e+y,(l.e<0||l.e>6)&&(U=!0)):m=y),f<1||f>sn(u,y,_)?D(o)._overflowWeeks=!0:U!=null?D(o)._overflowWeekday=!0:(O=ap(u,f,m,y,_),o._a[et]=O.year,o._dayOfYear=O.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function tc(o){if(o._f===n.ISO_8601){pp(o);return}if(o._f===n.RFC_2822){mp(o);return}o._a=[],D(o).empty=!0;var l=""+o._i,u,f,m,y,_,O=l.length,U=0,X,rt;for(m=qf(o._f,o._locale).match(Vl)||[],rt=m.length,u=0;u<rt;u++)y=m[u],f=(l.match(sb(y,o))||[])[0],f&&(_=l.substr(0,l.indexOf(f)),_.length>0&&D(o).unusedInput.push(_),l=l.slice(l.indexOf(f)+f.length),U+=f.length),Br[y]?(f?D(o).empty=!1:D(o).unusedTokens.push(y),lb(y,f,o)):o._strict&&!f&&D(o).unusedTokens.push(y);D(o).charsLeftOver=O-U,l.length>0&&D(o).unusedInput.push(l),o._a[We]<=12&&D(o).bigHour===!0&&o._a[We]>0&&(D(o).bigHour=void 0),D(o).parsedDateParts=o._a.slice(0),D(o).meridiem=o._meridiem,o._a[We]=__(o._locale,o._a[We],o._meridiem),X=D(o).era,X!==null&&(o._a[et]=o._locale.erasConvertYear(X,o._a[et])),ec(o),Jl(o)}function __(o,l,u){var f;return u==null?l:o.meridiemHour!=null?o.meridiemHour(l,u):(o.isPM!=null&&(f=o.isPM(u),f&&l<12&&(l+=12),!f&&l===12&&(l=0)),l)}function D_(o){var l,u,f,m,y,_,O=!1,U=o._f.length;if(U===0){D(o).invalidFormat=!0,o._d=new Date(NaN);return}for(m=0;m<U;m++)y=0,_=!1,l=me({},o),o._useUTC!=null&&(l._useUTC=o._useUTC),l._f=o._f[m],tc(l),k(l)&&(_=!0),y+=D(l).charsLeftOver,y+=D(l).unusedTokens.length*10,D(l).score=y,O?y<f&&(f=y,u=l):(f==null||y<f||_)&&(f=y,u=l,_&&(O=!0));g(o,u||l)}function w_(o){if(!o._d){var l=Ul(o._i),u=l.day===void 0?l.date:l.day;o._a=h([l.year,l.month,u,l.hour,l.minute,l.second,l.millisecond],function(f){return f&&parseInt(f,10)}),ec(o)}}function C_(o){var l=new Ke(Jl(hp(o)));return l._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function hp(o){var l=o._i,u=o._f;return o._locale=o._locale||an(o._l),l===null||u===void 0&&l===""?x({nullInput:!0}):(typeof l=="string"&&(o._i=l=o._locale.preparse(l)),Y(l)?new Ke(Jl(l)):(p(l)?o._d=l:r(u)?D_(o):u?tc(o):E_(o),k(o)||(o._d=null),o))}function E_(o){var l=o._i;c(l)?o._d=new Date(n.now()):p(l)?o._d=new Date(l.valueOf()):typeof l=="string"?y_(o):r(l)?(o._a=h(l.slice(0),function(u){return parseInt(u,10)}),ec(o)):i(l)?w_(o):d(l)?o._d=new Date(l):n.createFromInputFallback(o)}function gp(o,l,u,f,m){var y={};return(l===!0||l===!1)&&(f=l,l=void 0),(u===!0||u===!1)&&(f=u,u=void 0),(i(o)&&a(o)||r(o)&&o.length===0)&&(o=void 0),y._isAMomentObject=!0,y._useUTC=y._isUTC=m,y._l=u,y._i=o,y._f=l,y._strict=f,C_(y)}function be(o,l,u,f){return gp(o,l,u,f,!1)}var I_=Me("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var o=be.apply(null,arguments);return this.isValid()&&o.isValid()?o<this?this:o:x()}),T_=Me("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var o=be.apply(null,arguments);return this.isValid()&&o.isValid()?o>this?this:o:x()});function yp(o,l){var u,f;if(l.length===1&&r(l[0])&&(l=l[0]),!l.length)return be();for(u=l[0],f=1;f<l.length;++f)(!l[f].isValid()||l[f][o](u))&&(u=l[f]);return u}function S_(){var o=[].slice.call(arguments,0);return yp("isBefore",o)}function M_(){var o=[].slice.call(arguments,0);return yp("isAfter",o)}var x_=function(){return Date.now?Date.now():+new Date},Gi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function k_(o){var l,u=!1,f,m=Gi.length;for(l in o)if(s(o,l)&&!(Oe.call(Gi,l)!==-1&&(o[l]==null||!isNaN(o[l]))))return!1;for(f=0;f<m;++f)if(o[Gi[f]]){if(u)return!1;parseFloat(o[Gi[f]])!==J(o[Gi[f]])&&(u=!0)}return!0}function N_(){return this._isValid}function A_(){return Rt(NaN)}function ls(o){var l=Ul(o),u=l.year||0,f=l.quarter||0,m=l.month||0,y=l.week||l.isoWeek||0,_=l.day||0,O=l.hour||0,U=l.minute||0,X=l.second||0,rt=l.millisecond||0;this._isValid=k_(l),this._milliseconds=+rt+X*1e3+U*6e4+O*1e3*60*60,this._days=+_+y*7,this._months=+m+f*3+u*12,this._data={},this._locale=an(),this._bubble()}function cs(o){return o instanceof ls}function nc(o){return o<0?Math.round(-1*o)*-1:Math.round(o)}function O_(o,l,u){var f=Math.min(o.length,l.length),m=Math.abs(o.length-l.length),y=0,_;for(_=0;_<f;_++)(u&&o[_]!==l[_]||!u&&J(o[_])!==J(l[_]))&&y++;return y+m}function vp(o,l){L(o,0,0,function(){var u=this.utcOffset(),f="+";return u<0&&(u=-u,f="-"),f+Gt(~~(u/60),2)+l+Gt(~~u%60,2)})}vp("Z",":"),vp("ZZ",""),R("Z",ns),R("ZZ",ns),le(["Z","ZZ"],function(o,l,u){u._useUTC=!0,u._tzm=rc(ns,o)});var R_=/([\+\-]|\d\d)/gi;function rc(o,l){var u=(l||"").match(o),f,m,y;return u===null?null:(f=u[u.length-1]||[],m=(f+"").match(R_)||["-",0,0],y=+(m[1]*60)+J(m[2]),y===0?0:m[0]==="+"?y:-y)}function ic(o,l){var u,f;return l._isUTC?(u=l.clone(),f=(Y(o)||p(o)?o.valueOf():be(o).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+f),n.updateOffset(u,!1),u):be(o).local()}function oc(o){return-Math.round(o._d.getTimezoneOffset())}n.updateOffset=function(){};function L_(o,l,u){var f=this._offset||0,m;if(!this.isValid())return o!=null?this:NaN;if(o!=null){if(typeof o=="string"){if(o=rc(ns,o),o===null)return this}else Math.abs(o)<16&&!u&&(o=o*60);return!this._isUTC&&l&&(m=oc(this)),this._offset=o,this._isUTC=!0,m!=null&&this.add(m,"m"),f!==o&&(!l||this._changeInProgress?wp(this,Rt(o-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?f:oc(this)}function P_(o,l){return o!=null?(typeof o!="string"&&(o=-o),this.utcOffset(o,l),this):-this.utcOffset()}function F_(o){return this.utcOffset(0,o)}function j_(o){return this._isUTC&&(this.utcOffset(0,o),this._isUTC=!1,o&&this.subtract(oc(this),"m")),this}function B_(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var o=rc(ib,this._i);o!=null?this.utcOffset(o):this.utcOffset(0,!0)}return this}function V_(o){return this.isValid()?(o=o?be(o).utcOffset():0,(this.utcOffset()-o)%60===0):!1}function H_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function U_(){if(!c(this._isDSTShifted))return this._isDSTShifted;var o={},l;return me(o,this),o=hp(o),o._a?(l=o._isUTC?b(o._a):be(o._a),this._isDSTShifted=this.isValid()&&O_(o._a,l.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function $_(){return this.isValid()?!this._isUTC:!1}function z_(){return this.isValid()?this._isUTC:!1}function bp(){return this.isValid()?this._isUTC&&this._offset===0:!1}var W_=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,G_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Rt(o,l){var u=o,f=null,m,y,_;return cs(o)?u={ms:o._milliseconds,d:o._days,M:o._months}:d(o)||!isNaN(+o)?(u={},l?u[l]=+o:u.milliseconds=+o):(f=W_.exec(o))?(m=f[1]==="-"?-1:1,u={y:0,d:J(f[Yt])*m,h:J(f[We])*m,m:J(f[Ot])*m,s:J(f[on])*m,ms:J(nc(f[nr]*1e3))*m}):(f=G_.exec(o))?(m=f[1]==="-"?-1:1,u={y:rr(f[2],m),M:rr(f[3],m),w:rr(f[4],m),d:rr(f[5],m),h:rr(f[6],m),m:rr(f[7],m),s:rr(f[8],m)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(_=Y_(be(u.from),be(u.to)),u={},u.ms=_.milliseconds,u.M=_.months),y=new ls(u),cs(o)&&s(o,"_locale")&&(y._locale=o._locale),cs(o)&&s(o,"_isValid")&&(y._isValid=o._isValid),y}Rt.fn=ls.prototype,Rt.invalid=A_;function rr(o,l){var u=o&&parseFloat(o.replace(",","."));return(isNaN(u)?0:u)*l}function _p(o,l){var u={};return u.months=l.month()-o.month()+(l.year()-o.year())*12,o.clone().add(u.months,"M").isAfter(l)&&--u.months,u.milliseconds=+l-+o.clone().add(u.months,"M"),u}function Y_(o,l){var u;return o.isValid()&&l.isValid()?(l=ic(l,o),o.isBefore(l)?u=_p(o,l):(u=_p(l,o),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function Dp(o,l){return function(u,f){var m,y;return f!==null&&!isNaN(+f)&&(Yf(l,"moment()."+l+"(period, number) is deprecated. Please use moment()."+l+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),y=u,u=f,f=y),m=Rt(u,f),wp(this,m,o),this}}function wp(o,l,u,f){var m=l._milliseconds,y=nc(l._days),_=nc(l._months);o.isValid()&&(f=f??!0,_&&ip(o,Hi(o,"Month")+_*u),y&&tp(o,"Date",Hi(o,"Date")+y*u),m&&o._d.setTime(o._d.valueOf()+m*u),f&&n.updateOffset(o,y||_))}var q_=Dp(1,"add"),Z_=Dp(-1,"subtract");function Cp(o){return typeof o=="string"||o instanceof String}function Q_(o){return Y(o)||p(o)||Cp(o)||d(o)||J_(o)||K_(o)||o===null||o===void 0}function K_(o){var l=i(o)&&!a(o),u=!1,f=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],m,y,_=f.length;for(m=0;m<_;m+=1)y=f[m],u=u||s(o,y);return l&&u}function J_(o){var l=r(o),u=!1;return l&&(u=o.filter(function(f){return!d(f)&&Cp(o)}).length===0),l&&u}function X_(o){var l=i(o)&&!a(o),u=!1,f=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],m,y;for(m=0;m<f.length;m+=1)y=f[m],u=u||s(o,y);return l&&u}function eD(o,l){var u=o.diff(l,"days",!0);return u<-6?"sameElse":u<-1?"lastWeek":u<0?"lastDay":u<1?"sameDay":u<2?"nextDay":u<7?"nextWeek":"sameElse"}function tD(o,l){arguments.length===1&&(arguments[0]?Q_(arguments[0])?(o=arguments[0],l=void 0):X_(arguments[0])&&(l=arguments[0],o=void 0):(o=void 0,l=void 0));var u=o||be(),f=ic(u,this).startOf("day"),m=n.calendarFormat(this,f)||"sameElse",y=l&&(Wt(l[m])?l[m].call(this,u):l[m]);return this.format(y||this.localeData().calendar(m,this,be(u)))}function nD(){return new Ke(this)}function rD(o,l){var u=Y(o)?o:be(o);return this.isValid()&&u.isValid()?(l=Ct(l)||"millisecond",l==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(l).valueOf()):!1}function iD(o,l){var u=Y(o)?o:be(o);return this.isValid()&&u.isValid()?(l=Ct(l)||"millisecond",l==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(l).valueOf()<u.valueOf()):!1}function oD(o,l,u,f){var m=Y(o)?o:be(o),y=Y(l)?l:be(l);return this.isValid()&&m.isValid()&&y.isValid()?(f=f||"()",(f[0]==="("?this.isAfter(m,u):!this.isBefore(m,u))&&(f[1]===")"?this.isBefore(y,u):!this.isAfter(y,u))):!1}function sD(o,l){var u=Y(o)?o:be(o),f;return this.isValid()&&u.isValid()?(l=Ct(l)||"millisecond",l==="millisecond"?this.valueOf()===u.valueOf():(f=u.valueOf(),this.clone().startOf(l).valueOf()<=f&&f<=this.clone().endOf(l).valueOf())):!1}function aD(o,l){return this.isSame(o,l)||this.isAfter(o,l)}function lD(o,l){return this.isSame(o,l)||this.isBefore(o,l)}function cD(o,l,u){var f,m,y;if(!this.isValid())return NaN;if(f=ic(o,this),!f.isValid())return NaN;switch(m=(f.utcOffset()-this.utcOffset())*6e4,l=Ct(l),l){case"year":y=us(this,f)/12;break;case"month":y=us(this,f);break;case"quarter":y=us(this,f)/3;break;case"second":y=(this-f)/1e3;break;case"minute":y=(this-f)/6e4;break;case"hour":y=(this-f)/36e5;break;case"day":y=(this-f-m)/864e5;break;case"week":y=(this-f-m)/6048e5;break;default:y=this-f}return u?y:Et(y)}function us(o,l){if(o.date()<l.date())return-us(l,o);var u=(l.year()-o.year())*12+(l.month()-o.month()),f=o.clone().add(u,"months"),m,y;return l-f<0?(m=o.clone().add(u-1,"months"),y=(l-f)/(f-m)):(m=o.clone().add(u+1,"months"),y=(l-f)/(m-f)),-(u+y)||0}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function uD(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dD(o){if(!this.isValid())return null;var l=o!==!0,u=l?this.clone().utc():this;return u.year()<0||u.year()>9999?Ko(u,l?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Wt(Date.prototype.toISOString)?l?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ko(u,"Z")):Ko(u,l?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function fD(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var o="moment",l="",u,f,m,y;return this.isLocal()||(o=this.utcOffset()===0?"moment.utc":"moment.parseZone",l="Z"),u="["+o+'("]',f=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",m="-MM-DD[T]HH:mm:ss.SSS",y=l+'[")]',this.format(u+f+m+y)}function pD(o){o||(o=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var l=Ko(this,o);return this.localeData().postformat(l)}function mD(o,l){return this.isValid()&&(Y(o)&&o.isValid()||be(o).isValid())?Rt({to:this,from:o}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function hD(o){return this.from(be(),o)}function gD(o,l){return this.isValid()&&(Y(o)&&o.isValid()||be(o).isValid())?Rt({from:this,to:o}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function yD(o){return this.to(be(),o)}function Ep(o){var l;return o===void 0?this._locale._abbr:(l=an(o),l!=null&&(this._locale=l),this)}var Ip=Me("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(o){return o===void 0?this.localeData():this.locale(o)});function Tp(){return this._locale}var ds=1e3,zr=60*ds,fs=60*zr,Sp=(365*400+97)*24*fs;function Wr(o,l){return(o%l+l)%l}function Mp(o,l,u){return o<100&&o>=0?new Date(o+400,l,u)-Sp:new Date(o,l,u).valueOf()}function xp(o,l,u){return o<100&&o>=0?Date.UTC(o+400,l,u)-Sp:Date.UTC(o,l,u)}function vD(o){var l,u;if(o=Ct(o),o===void 0||o==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?xp:Mp,o){case"year":l=u(this.year(),0,1);break;case"quarter":l=u(this.year(),this.month()-this.month()%3,1);break;case"month":l=u(this.year(),this.month(),1);break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":l=u(this.year(),this.month(),this.date());break;case"hour":l=this._d.valueOf(),l-=Wr(l+(this._isUTC?0:this.utcOffset()*zr),fs);break;case"minute":l=this._d.valueOf(),l-=Wr(l,zr);break;case"second":l=this._d.valueOf(),l-=Wr(l,ds);break}return this._d.setTime(l),n.updateOffset(this,!0),this}function bD(o){var l,u;if(o=Ct(o),o===void 0||o==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?xp:Mp,o){case"year":l=u(this.year()+1,0,1)-1;break;case"quarter":l=u(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":l=u(this.year(),this.month()+1,1)-1;break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":l=u(this.year(),this.month(),this.date()+1)-1;break;case"hour":l=this._d.valueOf(),l+=fs-Wr(l+(this._isUTC?0:this.utcOffset()*zr),fs)-1;break;case"minute":l=this._d.valueOf(),l+=zr-Wr(l,zr)-1;break;case"second":l=this._d.valueOf(),l+=ds-Wr(l,ds)-1;break}return this._d.setTime(l),n.updateOffset(this,!0),this}function _D(){return this._d.valueOf()-(this._offset||0)*6e4}function DD(){return Math.floor(this.valueOf()/1e3)}function wD(){return new Date(this.valueOf())}function CD(){var o=this;return[o.year(),o.month(),o.date(),o.hour(),o.minute(),o.second(),o.millisecond()]}function ED(){var o=this;return{years:o.year(),months:o.month(),date:o.date(),hours:o.hours(),minutes:o.minutes(),seconds:o.seconds(),milliseconds:o.milliseconds()}}function ID(){return this.isValid()?this.toISOString():null}function TD(){return k(this)}function SD(){return g({},D(this))}function MD(){return D(this).overflow}function xD(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),R("N",sc),R("NN",sc),R("NNN",sc),R("NNNN",VD),R("NNNNN",HD),le(["N","NN","NNN","NNNN","NNNNN"],function(o,l,u,f){var m=u._locale.erasParse(o,f,u._strict);m?D(u).era=m:D(u).invalidEra=o}),R("y",Vr),R("yy",Vr),R("yyy",Vr),R("yyyy",Vr),R("yo",UD),le(["y","yy","yyy","yyyy"],et),le(["yo"],function(o,l,u,f){var m;u._locale._eraYearOrdinalRegex&&(m=o.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?l[et]=u._locale.eraYearOrdinalParse(o,m):l[et]=parseInt(o,10)});function kD(o,l){var u,f,m,y=this._eras||an("en")._eras;for(u=0,f=y.length;u<f;++u)switch(typeof y[u].since==="string"&&(m=n(y[u].since).startOf("day"),y[u].since=m.valueOf()),typeof y[u].until){case"undefined":y[u].until=1/0;break;case"string":m=n(y[u].until).startOf("day").valueOf(),y[u].until=m.valueOf();break}return y}function ND(o,l,u){var f,m,y=this.eras(),_,O,U;for(o=o.toUpperCase(),f=0,m=y.length;f<m;++f)if(_=y[f].name.toUpperCase(),O=y[f].abbr.toUpperCase(),U=y[f].narrow.toUpperCase(),u)switch(l){case"N":case"NN":case"NNN":if(O===o)return y[f];break;case"NNNN":if(_===o)return y[f];break;case"NNNNN":if(U===o)return y[f];break}else if([_,O,U].indexOf(o)>=0)return y[f]}function AD(o,l){var u=o.since<=o.until?1:-1;return l===void 0?n(o.since).year():n(o.since).year()+(l-o.offset)*u}function OD(){var o,l,u,f=this.localeData().eras();for(o=0,l=f.length;o<l;++o)if(u=this.clone().startOf("day").valueOf(),f[o].since<=u&&u<=f[o].until||f[o].until<=u&&u<=f[o].since)return f[o].name;return""}function RD(){var o,l,u,f=this.localeData().eras();for(o=0,l=f.length;o<l;++o)if(u=this.clone().startOf("day").valueOf(),f[o].since<=u&&u<=f[o].until||f[o].until<=u&&u<=f[o].since)return f[o].narrow;return""}function LD(){var o,l,u,f=this.localeData().eras();for(o=0,l=f.length;o<l;++o)if(u=this.clone().startOf("day").valueOf(),f[o].since<=u&&u<=f[o].until||f[o].until<=u&&u<=f[o].since)return f[o].abbr;return""}function PD(){var o,l,u,f,m=this.localeData().eras();for(o=0,l=m.length;o<l;++o)if(u=m[o].since<=m[o].until?1:-1,f=this.clone().startOf("day").valueOf(),m[o].since<=f&&f<=m[o].until||m[o].until<=f&&f<=m[o].since)return(this.year()-n(m[o].since).year())*u+m[o].offset;return this.year()}function FD(o){return s(this,"_erasNameRegex")||ac.call(this),o?this._erasNameRegex:this._erasRegex}function jD(o){return s(this,"_erasAbbrRegex")||ac.call(this),o?this._erasAbbrRegex:this._erasRegex}function BD(o){return s(this,"_erasNarrowRegex")||ac.call(this),o?this._erasNarrowRegex:this._erasRegex}function sc(o,l){return l.erasAbbrRegex(o)}function VD(o,l){return l.erasNameRegex(o)}function HD(o,l){return l.erasNarrowRegex(o)}function UD(o,l){return l._eraYearOrdinalRegex||Vr}function ac(){var o=[],l=[],u=[],f=[],m,y,_,O,U,X=this.eras();for(m=0,y=X.length;m<y;++m)_=nn(X[m].name),O=nn(X[m].abbr),U=nn(X[m].narrow),l.push(_),o.push(O),u.push(U),f.push(_),f.push(O),f.push(U);this._erasRegex=new RegExp("^("+f.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+l.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ps(o,l){L(0,[o,o.length],0,l)}ps("gggg","weekYear"),ps("ggggg","weekYear"),ps("GGGG","isoWeekYear"),ps("GGGGG","isoWeekYear"),R("G",ts),R("g",ts),R("GG",ve,_t),R("gg",ve,_t),R("GGGG",zl,$l),R("gggg",zl,$l),R("GGGGG",es,Jo),R("ggggg",es,Jo),Bi(["gggg","ggggg","GGGG","GGGGG"],function(o,l,u,f){l[f.substr(0,2)]=J(o)}),Bi(["gg","GG"],function(o,l,u,f){l[f]=n.parseTwoDigitYear(o)});function $D(o){return kp.call(this,o,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function zD(o){return kp.call(this,o,this.isoWeek(),this.isoWeekday(),1,4)}function WD(){return sn(this.year(),1,4)}function GD(){return sn(this.isoWeekYear(),1,4)}function YD(){var o=this.localeData()._week;return sn(this.year(),o.dow,o.doy)}function qD(){var o=this.localeData()._week;return sn(this.weekYear(),o.dow,o.doy)}function kp(o,l,u,f,m){var y;return o==null?$i(this,f,m).year:(y=sn(o,f,m),l>y&&(l=y),ZD.call(this,o,l,u,f,m))}function ZD(o,l,u,f,m){var y=ap(o,l,u,f,m),_=Ui(y.year,0,y.dayOfYear);return this.year(_.getUTCFullYear()),this.month(_.getUTCMonth()),this.date(_.getUTCDate()),this}L("Q",0,"Qo","quarter"),R("Q",Qf),le("Q",function(o,l){l[rn]=(J(o)-1)*3});function QD(o){return o==null?Math.ceil((this.month()+1)/3):this.month((o-1)*3+this.month()%3)}L("D",["DD",2],"Do","date"),R("D",ve,Hr),R("DD",ve,_t),R("Do",function(o,l){return o?l._dayOfMonthOrdinalParse||l._ordinalParse:l._dayOfMonthOrdinalParseLenient}),le(["D","DD"],Yt),le("Do",function(o,l){l[Yt]=J(o.match(ve)[0])});var Np=Ur("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),R("DDD",Xo),R("DDDD",Kf),le(["DDD","DDDD"],function(o,l,u){u._dayOfYear=J(o)});function KD(o){var l=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return o==null?l:this.add(o-l,"d")}L("m",["mm",2],0,"minute"),R("m",ve,Wl),R("mm",ve,_t),le(["m","mm"],Ot);var JD=Ur("Minutes",!1);L("s",["ss",2],0,"second"),R("s",ve,Wl),R("ss",ve,_t),le(["s","ss"],on);var XD=Ur("Seconds",!1);L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return this.millisecond()*10}),L(0,["SSSSS",5],0,function(){return this.millisecond()*100}),L(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),L(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),L(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),L(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),R("S",Xo,Qf),R("SS",Xo,_t),R("SSS",Xo,Kf);var xn,Ap;for(xn="SSSS";xn.length<=9;xn+="S")R(xn,Vr);function ew(o,l){l[nr]=J(("0."+o)*1e3)}for(xn="S";xn.length<=9;xn+="S")le(xn,ew);Ap=Ur("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");function tw(){return this._isUTC?"UTC":""}function nw(){return this._isUTC?"Coordinated Universal Time":""}var S=Ke.prototype;S.add=q_,S.calendar=tD,S.clone=nD,S.diff=cD,S.endOf=bD,S.format=pD,S.from=mD,S.fromNow=hD,S.to=gD,S.toNow=yD,S.get=fb,S.invalidAt=MD,S.isAfter=rD,S.isBefore=iD,S.isBetween=oD,S.isSame=sD,S.isSameOrAfter=aD,S.isSameOrBefore=lD,S.isValid=TD,S.lang=Ip,S.locale=Ep,S.localeData=Tp,S.max=T_,S.min=I_,S.parsingFlags=SD,S.set=pb,S.startOf=vD,S.subtract=Z_,S.toArray=CD,S.toObject=ED,S.toDate=wD,S.toISOString=dD,S.inspect=fD,typeof Symbol<"u"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=ID,S.toString=uD,S.unix=DD,S.valueOf=_D,S.creationData=xD,S.eraName=OD,S.eraNarrow=RD,S.eraAbbr=LD,S.eraYear=PD,S.year=ep,S.isLeapYear=db,S.weekYear=$D,S.isoWeekYear=zD,S.quarter=S.quarters=QD,S.month=op,S.daysInMonth=wb,S.week=S.weeks=kb,S.isoWeek=S.isoWeeks=Nb,S.weeksInYear=YD,S.weeksInWeekYear=qD,S.isoWeeksInYear=WD,S.isoWeeksInISOWeekYear=GD,S.date=Np,S.day=S.days=zb,S.weekday=Wb,S.isoWeekday=Gb,S.dayOfYear=KD,S.hour=S.hours=Xb,S.minute=S.minutes=JD,S.second=S.seconds=XD,S.millisecond=S.milliseconds=Ap,S.utcOffset=L_,S.utc=F_,S.local=j_,S.parseZone=B_,S.hasAlignedHourOffset=V_,S.isDST=H_,S.isLocal=$_,S.isUtcOffset=z_,S.isUtc=bp,S.isUTC=bp,S.zoneAbbr=tw,S.zoneName=nw,S.dates=Me("dates accessor is deprecated. Use date instead.",Np),S.months=Me("months accessor is deprecated. Use month instead",op),S.years=Me("years accessor is deprecated. Use year instead",ep),S.zone=Me("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",P_),S.isDSTShifted=Me("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",U_);function rw(o){return be(o*1e3)}function iw(){return be.apply(null,arguments).parseZone()}function Op(o){return o}var oe=jl.prototype;oe.calendar=$v,oe.longDateFormat=Yv,oe.invalidDate=Zv,oe.ordinal=Jv,oe.preparse=Op,oe.postformat=Op,oe.relativeTime=eb,oe.pastFuture=tb,oe.set=Hv,oe.eras=kD,oe.erasParse=ND,oe.erasConvertYear=AD,oe.erasAbbrRegex=jD,oe.erasNameRegex=FD,oe.erasNarrowRegex=BD,oe.months=vb,oe.monthsShort=bb,oe.monthsParse=Db,oe.monthsRegex=Eb,oe.monthsShortRegex=Cb,oe.week=Tb,oe.firstDayOfYear=xb,oe.firstDayOfWeek=Mb,oe.weekdays=Bb,oe.weekdaysMin=Hb,oe.weekdaysShort=Vb,oe.weekdaysParse=$b,oe.weekdaysRegex=Yb,oe.weekdaysShortRegex=qb,oe.weekdaysMinRegex=Zb,oe.isPM=Kb,oe.meridiem=e_;function ms(o,l,u,f){var m=an(),y=b().set(f,l);return m[u](y,o)}function Rp(o,l,u){if(d(o)&&(l=o,o=void 0),o=o||"",l!=null)return ms(o,l,u,"month");var f,m=[];for(f=0;f<12;f++)m[f]=ms(o,f,u,"month");return m}function lc(o,l,u,f){typeof o=="boolean"?(d(l)&&(u=l,l=void 0),l=l||""):(l=o,u=l,o=!1,d(l)&&(u=l,l=void 0),l=l||"");var m=an(),y=o?m._week.dow:0,_,O=[];if(u!=null)return ms(l,(u+y)%7,f,"day");for(_=0;_<7;_++)O[_]=ms(l,(_+y)%7,f,"day");return O}function ow(o,l){return Rp(o,l,"months")}function sw(o,l){return Rp(o,l,"monthsShort")}function aw(o,l,u){return lc(o,l,u,"weekdays")}function lw(o,l,u){return lc(o,l,u,"weekdaysShort")}function cw(o,l,u){return lc(o,l,u,"weekdaysMin")}Mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(o){var l=o%10,u=J(o%100/10)===1?"th":l===1?"st":l===2?"nd":l===3?"rd":"th";return o+u}}),n.lang=Me("moment.lang is deprecated. Use moment.locale instead.",Mn),n.langData=Me("moment.langData is deprecated. Use moment.localeData instead.",an);var ln=Math.abs;function uw(){var o=this._data;return this._milliseconds=ln(this._milliseconds),this._days=ln(this._days),this._months=ln(this._months),o.milliseconds=ln(o.milliseconds),o.seconds=ln(o.seconds),o.minutes=ln(o.minutes),o.hours=ln(o.hours),o.months=ln(o.months),o.years=ln(o.years),this}function Lp(o,l,u,f){var m=Rt(l,u);return o._milliseconds+=f*m._milliseconds,o._days+=f*m._days,o._months+=f*m._months,o._bubble()}function dw(o,l){return Lp(this,o,l,1)}function fw(o,l){return Lp(this,o,l,-1)}function Pp(o){return o<0?Math.floor(o):Math.ceil(o)}function pw(){var o=this._milliseconds,l=this._days,u=this._months,f=this._data,m,y,_,O,U;return o>=0&&l>=0&&u>=0||o<=0&&l<=0&&u<=0||(o+=Pp(cc(u)+l)*864e5,l=0,u=0),f.milliseconds=o%1e3,m=Et(o/1e3),f.seconds=m%60,y=Et(m/60),f.minutes=y%60,_=Et(y/60),f.hours=_%24,l+=Et(_/24),U=Et(Fp(l)),u+=U,l-=Pp(cc(U)),O=Et(u/12),u%=12,f.days=l,f.months=u,f.years=O,this}function Fp(o){return o*4800/146097}function cc(o){return o*146097/4800}function mw(o){if(!this.isValid())return NaN;var l,u,f=this._milliseconds;if(o=Ct(o),o==="month"||o==="quarter"||o==="year")switch(l=this._days+f/864e5,u=this._months+Fp(l),o){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(l=this._days+Math.round(cc(this._months)),o){case"week":return l/7+f/6048e5;case"day":return l+f/864e5;case"hour":return l*24+f/36e5;case"minute":return l*1440+f/6e4;case"second":return l*86400+f/1e3;case"millisecond":return Math.floor(l*864e5)+f;default:throw new Error("Unknown unit "+o)}}function cn(o){return function(){return this.as(o)}}var jp=cn("ms"),hw=cn("s"),gw=cn("m"),yw=cn("h"),vw=cn("d"),bw=cn("w"),_w=cn("M"),Dw=cn("Q"),ww=cn("y"),Cw=jp;function Ew(){return Rt(this)}function Iw(o){return o=Ct(o),this.isValid()?this[o+"s"]():NaN}function ir(o){return function(){return this.isValid()?this._data[o]:NaN}}var Tw=ir("milliseconds"),Sw=ir("seconds"),Mw=ir("minutes"),xw=ir("hours"),kw=ir("days"),Nw=ir("months"),Aw=ir("years");function Ow(){return Et(this.days()/7)}var un=Math.round,Gr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Rw(o,l,u,f,m){return m.relativeTime(l||1,!!u,o,f)}function Lw(o,l,u,f){var m=Rt(o).abs(),y=un(m.as("s")),_=un(m.as("m")),O=un(m.as("h")),U=un(m.as("d")),X=un(m.as("M")),rt=un(m.as("w")),dn=un(m.as("y")),kn=y<=u.ss&&["s",y]||y<u.s&&["ss",y]||_<=1&&["m"]||_<u.m&&["mm",_]||O<=1&&["h"]||O<u.h&&["hh",O]||U<=1&&["d"]||U<u.d&&["dd",U];return u.w!=null&&(kn=kn||rt<=1&&["w"]||rt<u.w&&["ww",rt]),kn=kn||X<=1&&["M"]||X<u.M&&["MM",X]||dn<=1&&["y"]||["yy",dn],kn[2]=l,kn[3]=+o>0,kn[4]=f,Rw.apply(null,kn)}function Pw(o){return o===void 0?un:typeof o=="function"?(un=o,!0):!1}function Fw(o,l){return Gr[o]===void 0?!1:l===void 0?Gr[o]:(Gr[o]=l,o==="s"&&(Gr.ss=l-1),!0)}function jw(o,l){if(!this.isValid())return this.localeData().invalidDate();var u=!1,f=Gr,m,y;return typeof o=="object"&&(l=o,o=!1),typeof o=="boolean"&&(u=o),typeof l=="object"&&(f=Object.assign({},Gr,l),l.s!=null&&l.ss==null&&(f.ss=l.s-1)),m=this.localeData(),y=Lw(this,!u,f,m),u&&(y=m.pastFuture(+this,y)),m.postformat(y)}var uc=Math.abs;function Yr(o){return(o>0)-(o<0)||+o}function hs(){if(!this.isValid())return this.localeData().invalidDate();var o=uc(this._milliseconds)/1e3,l=uc(this._days),u=uc(this._months),f,m,y,_,O=this.asSeconds(),U,X,rt,dn;return O?(f=Et(o/60),m=Et(f/60),o%=60,f%=60,y=Et(u/12),u%=12,_=o?o.toFixed(3).replace(/\.?0+$/,""):"",U=O<0?"-":"",X=Yr(this._months)!==Yr(O)?"-":"",rt=Yr(this._days)!==Yr(O)?"-":"",dn=Yr(this._milliseconds)!==Yr(O)?"-":"",U+"P"+(y?X+y+"Y":"")+(u?X+u+"M":"")+(l?rt+l+"D":"")+(m||f||o?"T":"")+(m?dn+m+"H":"")+(f?dn+f+"M":"")+(o?dn+_+"S":"")):"P0D"}var ee=ls.prototype;ee.isValid=N_,ee.abs=uw,ee.add=dw,ee.subtract=fw,ee.as=mw,ee.asMilliseconds=jp,ee.asSeconds=hw,ee.asMinutes=gw,ee.asHours=yw,ee.asDays=vw,ee.asWeeks=bw,ee.asMonths=_w,ee.asQuarters=Dw,ee.asYears=ww,ee.valueOf=Cw,ee._bubble=pw,ee.clone=Ew,ee.get=Iw,ee.milliseconds=Tw,ee.seconds=Sw,ee.minutes=Mw,ee.hours=xw,ee.days=kw,ee.weeks=Ow,ee.months=Nw,ee.years=Aw,ee.humanize=jw,ee.toISOString=hs,ee.toString=hs,ee.toJSON=hs,ee.locale=Ep,ee.localeData=Tp,ee.toIsoString=Me("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hs),ee.lang=Ip,L("X",0,0,"unix"),L("x",0,0,"valueOf"),R("x",ts),R("X",ob),le("X",function(o,l,u){u._d=new Date(parseFloat(o)*1e3)}),le("x",function(o,l,u){u._d=new Date(J(o))});return n.version="2.30.1",t(be),n.fn=S,n.min=S_,n.max=M_,n.now=x_,n.utc=b,n.unix=rw,n.months=ow,n.isDate=p,n.locale=Mn,n.invalid=x,n.duration=Rt,n.isMoment=Y,n.weekdays=aw,n.parseZone=iw,n.localeData=an,n.isDuration=cs,n.monthsShort=sw,n.weekdaysMin=cw,n.defineLocale=Kl,n.updateLocale=i_,n.locales=o_,n.weekdaysShort=lw,n.normalizeUnits=Ct,n.relativeTimeRounding=Pw,n.relativeTimeThreshold=Fw,n.calendarFormat=eD,n.prototype=S,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});var tt=null,gs=!1,hc=1,Zw=null,it=Symbol("SIGNAL");function V(e){let n=tt;return tt=e,n}function vs(){return tt}var Yi={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function qi(e){if(gs)throw new Error("");if(tt===null)return;tt.consumerOnSignalRead(e);let n=tt.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=tt.recomputing;if(r&&(t=n!==void 0?n.nextProducer:tt.producers,t!==void 0&&t.producer===e)){tt.producersTail=t,t.lastReadVersion=e.version;return}let i=e.consumersTail;if(i!==void 0&&i.consumer===tt&&(!r||Kw(i,tt)))return;let s=qr(tt),a={producer:e,consumer:tt,nextProducer:t,prevConsumer:i,lastReadVersion:e.version,nextConsumer:void 0};tt.producersTail=a,n!==void 0?n.nextProducer=a:tt.producers=a,s&&Gp(e,a)}function $p(){hc++}function gc(e){if(!(qr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===hc)){if(!e.producerMustRecompute(e)&&!_s(e)){mc(e);return}e.producerRecomputeValue(e),mc(e)}}function yc(e){if(e.consumers===void 0)return;let n=gs;gs=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||Qw(r)}}finally{gs=n}}function vc(){return tt?.consumerAllowSignalWrites!==!1}function Qw(e){e.dirty=!0,yc(e),e.consumerMarkedDirty?.(e)}function mc(e){e.dirty=!1,e.lastCleanEpoch=hc}function Zi(e){return e&&zp(e),V(e)}function zp(e){e.producersTail=void 0,e.recomputing=!0}function bs(e,n){V(n),e&&Wp(e)}function Wp(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(qr(e))do t=bc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function _s(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(gc(t),r!==t.version))return!0}return!1}function Qi(e){if(qr(e)){let n=e.producers;for(;n!==void 0;)n=bc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Gp(e,n){let t=e.consumersTail,r=qr(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let i=e.producers;i!==void 0;i=i.nextProducer)Gp(i.producer,i)}function bc(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=i:n.consumersTail=i,i!==void 0)i.nextConsumer=r;else if(n.consumers=r,!qr(n)){let s=n.producers;for(;s!==void 0;)s=bc(s)}return t}function qr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function _c(e){Zw?.(e)}function Kw(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Dc(e,n){return Object.is(e,n)}function Ds(e,n){let t=Object.create(Jw);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(gc(t),qi(t),t.value===ys)throw t.error;return t.value};return r[it]=t,_c(t),r}var fc=Symbol("UNSET"),pc=Symbol("COMPUTING"),ys=Symbol("ERRORED"),Jw=gt(Ie({},Yi),{value:fc,dirty:!0,error:null,equal:Dc,kind:"computed",producerMustRecompute(e){return e.value===fc||e.value===pc},producerRecomputeValue(e){if(e.value===pc)throw new Error("");let n=e.value;e.value=pc;let t=Zi(e),r,i=!1;try{r=e.computation(),V(null),i=n!==fc&&n!==ys&&r!==ys&&e.equal(n,r)}catch(s){r=ys,e.error=s}finally{bs(e,t)}if(i){e.value=n;return}e.value=r,e.version++}});function Xw(){throw new Error}var Yp=Xw;function qp(e){Yp(e)}function wc(e){Yp=e}var e0=null;function Cc(e,n){let t=Object.create(ws);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Zp(t);return r[it]=t,_c(t),[r,a=>Ki(t,a),a=>Qp(t,a)]}function Zp(e){return qi(e),e.value}function Ki(e,n){vc()||qp(e),e.equal(e.value,n)||(e.value=n,t0(e))}function Qp(e,n){vc()||qp(e),Ki(e,n(e.value))}var ws=gt(Ie({},Yi),{equal:Dc,value:void 0,kind:"signal"});function t0(e){e.version++,$p(),yc(e),e0?.(e)}function q(e){return typeof e=="function"}function Cs(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Es=Cs(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
5
+ ${t.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
6
+ `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Ji(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var ot=class e{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:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let s of t)s.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(q(r))try{r()}catch(s){n=s instanceof Es?s.errors:[s]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let s of i)try{Kp(s)}catch(a){n=n??[],a instanceof Es?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Es(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Kp(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ji(t,n)}remove(n){let{_finalizers:t}=this;t&&Ji(t,n),n instanceof e&&n._removeParent(this)}};ot.EMPTY=(()=>{let e=new ot;return e.closed=!0,e})();var Ec=ot.EMPTY;function Is(e){return e instanceof ot||e&&"closed"in e&&q(e.remove)&&q(e.add)&&q(e.unsubscribe)}function Kp(e){q(e)?e():e.unsubscribe()}var Pt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Zr={setTimeout(e,n,...t){let{delegate:r}=Zr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Zr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ts(e){Zr.setTimeout(()=>{let{onUnhandledError:n}=Pt;if(n)n(e);else throw e})}function Xi(){}var Jp=Ic("C",void 0,void 0);function Xp(e){return Ic("E",void 0,e)}function em(e){return Ic("N",e,void 0)}function Ic(e,n,t){return{kind:e,value:n,error:t}}var or=null;function Qr(e){if(Pt.useDeprecatedSynchronousErrorHandling){let n=!or;if(n&&(or={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=or;if(or=null,t)throw r}}else e()}function tm(e){Pt.useDeprecatedSynchronousErrorHandling&&or&&(or.errorThrown=!0,or.error=e)}var sr=class extends ot{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Is(n)&&n.add(this)):this.destination=i0}static create(n,t,r){return new fn(n,t,r)}next(n){this.isStopped?Sc(em(n),this):this._next(n)}error(n){this.isStopped?Sc(Xp(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Sc(Jp,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()}}},n0=Function.prototype.bind;function Tc(e,n){return n0.call(e,n)}var Mc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ss(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ss(r)}else Ss(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ss(t)}}},fn=class extends sr{constructor(n,t,r){super();let i;if(q(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let s;this&&Pt.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Tc(n.next,s),error:n.error&&Tc(n.error,s),complete:n.complete&&Tc(n.complete,s)}):i=n}this.destination=new Mc(i)}};function Ss(e){Pt.useDeprecatedSynchronousErrorHandling?tm(e):Ts(e)}function r0(e){throw e}function Sc(e,n){let{onStoppedNotification:t}=Pt;t&&Zr.setTimeout(()=>t(e,n))}var i0={closed:!0,next:Xi,error:r0,complete:Xi};var Kr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ms(e){return e}function nm(e){return e.length===0?Ms:e.length===1?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}var re=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){let s=s0(t)?t:new fn(t,r,i);return Qr(()=>{let{operator:a,source:c}=this;s.add(a?a.call(s,c):c?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=rm(r),new r((i,s)=>{let a=new fn({next:c=>{try{t(c)}catch(d){s(d),a.unsubscribe()}},error:s,complete:i});this.subscribe(a)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Kr](){return this}pipe(...t){return nm(t)(this)}toPromise(t){return t=rm(t),new t((r,i)=>{let s;this.subscribe(a=>s=a,a=>i(a),()=>r(s))})}}return e.create=n=>new e(n),e})();function rm(e){var n;return(n=e??Pt.Promise)!==null&&n!==void 0?n:Promise}function o0(e){return e&&q(e.next)&&q(e.error)&&q(e.complete)}function s0(e){return e&&e instanceof sr||o0(e)&&Is(e)}function a0(e){return q(e?.lift)}function Ve(e){return n=>{if(a0(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ge(e,n,t,r,i){return new xc(e,n,t,r,i)}var xc=class extends sr{constructor(n,t,r,i,s,a){super(n),this.onFinalize=s,this.shouldUnsubscribe=a,this._next=t?function(c){try{t(c)}catch(d){n.error(d)}}:super._next,this._error=i?function(c){try{i(c)}catch(d){n.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var im=Cs(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var nt=(()=>{class e extends re{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new xs(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new im}next(t){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:i,observers:s}=this;return r||i?Ec:(this.currentObservers=null,s.push(t),new ot(()=>{this.currentObservers=null,Ji(s,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:i,isStopped:s}=this;r?t.error(i):s&&t.complete()}asObservable(){let t=new re;return t.source=this,t}}return e.create=(n,t)=>new xs(n,t),e})(),xs=class extends nt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Ec}};var Nn=class extends nt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var kc={now(){return(kc.delegate||Date).now()},delegate:void 0};var An=class extends nt{constructor(n=1/0,t=1/0,r=kc){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:s,_windowTime:a}=this;t||(r.push(n),!i&&r.push(s.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,s=i.slice();for(let a=0;a<s.length&&!n.closed;a+=r?1:2)n.next(s[a]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,s=(i?1:2)*n;if(n<1/0&&s<r.length&&r.splice(0,r.length-s),!i){let a=t.now(),c=0;for(let d=1;d<r.length&&r[d]<=a;d+=2)c=d;c&&r.splice(0,c+1)}}};var ks=new re(e=>e.complete());function om(e){return e&&q(e.schedule)}function Nc(e){return e[e.length-1]}function sm(e){return q(Nc(e))?e.pop():void 0}function Jr(e){return om(Nc(e))?e.pop():void 0}function am(e,n){return typeof Nc(e)=="number"?e.pop():n}function cm(e,n,t,r){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function c(h){try{p(r.next(h))}catch(g){a(g)}}function d(h){try{p(r.throw(h))}catch(g){a(g)}}function p(h){h.done?s(h.value):i(h.value).then(c,d)}p((r=r.apply(e,n||[])).next())})}function lm(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function ar(e){return this instanceof ar?(this.v=e,this):new ar(e)}function um(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(v){return function(D){return Promise.resolve(D).then(v,g)}}function c(v,D){r[v]&&(i[v]=function(N){return new Promise(function(k,x){s.push([v,N,k,x])>1||d(v,N)})},D&&(i[v]=D(i[v])))}function d(v,D){try{p(r[v](D))}catch(N){b(s[0][3],N)}}function p(v){v.value instanceof ar?Promise.resolve(v.value.v).then(h,g):b(s[0][2],v)}function h(v){d("next",v)}function g(v){d("throw",v)}function b(v,D){v(D),s.shift(),s.length&&d(s[0][0],s[0][1])}}function dm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof lm=="function"?lm(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(s){t[s]=e[s]&&function(a){return new Promise(function(c,d){a=e[s](a),i(c,d,a.done,a.value)})}}function i(s,a,c,d){Promise.resolve(d).then(function(p){s({value:p,done:c})},a)}}var Ns=e=>e&&typeof e.length=="number"&&typeof e!="function";function As(e){return q(e?.then)}function Os(e){return q(e[Kr])}function Rs(e){return Symbol.asyncIterator&&q(e?.[Symbol.asyncIterator])}function Ls(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function l0(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ps=l0();function Fs(e){return q(e?.[Ps])}function js(e){return um(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:i}=yield ar(t.read());if(i)return yield ar(void 0);yield yield ar(r)}}finally{t.releaseLock()}})}function Bs(e){return q(e?.getReader)}function xe(e){if(e instanceof re)return e;if(e!=null){if(Os(e))return c0(e);if(Ns(e))return u0(e);if(As(e))return d0(e);if(Rs(e))return fm(e);if(Fs(e))return f0(e);if(Bs(e))return p0(e)}throw Ls(e)}function c0(e){return new re(n=>{let t=e[Kr]();if(q(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function u0(e){return new re(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function d0(e){return new re(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ts)})}function f0(e){return new re(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function fm(e){return new re(n=>{m0(e,n).catch(t=>n.error(t))})}function p0(e){return fm(js(e))}function m0(e,n){var t,r,i,s;return cm(this,void 0,void 0,function*(){try{for(t=dm(e);r=yield t.next(),!r.done;){let a=r.value;if(n.next(a),n.closed)return}}catch(a){i={error:a}}finally{try{r&&!r.done&&(s=t.return)&&(yield s.call(t))}finally{if(i)throw i.error}}n.complete()})}function It(e,n,t,r=0,i=!1){let s=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!i)return s}function Vs(e,n=0){return Ve((t,r)=>{t.subscribe(Ge(r,i=>It(r,e,()=>r.next(i),n),()=>It(r,e,()=>r.complete(),n),i=>It(r,e,()=>r.error(i),n)))})}function Hs(e,n=0){return Ve((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function pm(e,n){return xe(e).pipe(Hs(n),Vs(n))}function mm(e,n){return xe(e).pipe(Hs(n),Vs(n))}function hm(e,n){return new re(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function gm(e,n){return new re(t=>{let r;return It(t,n,()=>{r=e[Ps](),It(t,n,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(a){t.error(a);return}s?t.complete():t.next(i)},0,!0)}),()=>q(r?.return)&&r.return()})}function Us(e,n){if(!e)throw new Error("Iterable cannot be null");return new re(t=>{It(t,n,()=>{let r=e[Symbol.asyncIterator]();It(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function ym(e,n){return Us(js(e),n)}function vm(e,n){if(e!=null){if(Os(e))return pm(e,n);if(Ns(e))return hm(e,n);if(As(e))return mm(e,n);if(Rs(e))return Us(e,n);if(Fs(e))return gm(e,n);if(Bs(e))return ym(e,n)}throw Ls(e)}function Xr(e,n){return n?vm(e,n):xe(e)}function pn(...e){let n=Jr(e);return Xr(e,n)}function On(e){return!!e&&(e instanceof re||q(e.lift)&&q(e.subscribe))}function st(e,n){return Ve((t,r)=>{let i=0;t.subscribe(Ge(r,s=>{r.next(e.call(n,s,i++))}))})}var{isArray:h0}=Array;function g0(e,n){return h0(n)?e(...n):e(n)}function bm(e){return st(n=>g0(e,n))}var{isArray:y0}=Array,{getPrototypeOf:v0,prototype:b0,keys:_0}=Object;function _m(e){if(e.length===1){let n=e[0];if(y0(n))return{args:n,keys:null};if(D0(n)){let t=_0(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function D0(e){return e&&typeof e=="object"&&v0(e)===b0}function Dm(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}function wm(e,n,t,r,i,s,a,c){let d=[],p=0,h=0,g=!1,b=()=>{g&&!d.length&&!p&&n.complete()},v=N=>p<r?D(N):d.push(N),D=N=>{s&&n.next(N),p++;let k=!1;xe(t(N,h++)).subscribe(Ge(n,x=>{i?.(x),s?v(x):n.next(x)},()=>{k=!0},void 0,()=>{if(k)try{for(p--;d.length&&p<r;){let x=d.shift();a?It(n,a,()=>D(x)):D(x)}b()}catch(x){n.error(x)}}))};return e.subscribe(Ge(n,v,()=>{g=!0,b()})),()=>{c?.()}}function ei(e,n,t=1/0){return q(n)?ei((r,i)=>st((s,a)=>n(r,s,i,a))(xe(e(r,i))),t):(typeof n=="number"&&(t=n),Ve((r,i)=>wm(r,i,e,t)))}function $s(e=1/0){return ei(Ms,e)}function Cm(){return $s(1)}function zs(...e){return Cm()(Xr(e,Jr(e)))}function Ws(e){return new re(n=>{xe(e()).subscribe(n)})}function Ac(...e){let n=sm(e),{args:t,keys:r}=_m(e),i=new re(s=>{let{length:a}=t;if(!a){s.complete();return}let c=new Array(a),d=a,p=a;for(let h=0;h<a;h++){let g=!1;xe(t[h]).subscribe(Ge(s,b=>{g||(g=!0,p--),c[h]=b},()=>d--,void 0,()=>{(!d||!g)&&(p||s.next(r?Dm(r,c):c),s.complete())}))}});return n?i.pipe(bm(n)):i}function Oc(...e){let n=Jr(e),t=am(e,1/0),r=e;return r.length?r.length===1?xe(r[0]):$s(t)(Xr(r,n)):ks}function Rc(e,n){return Ve((t,r)=>{let i=0;t.subscribe(Ge(r,s=>e.call(n,s,i++)&&r.next(s)))})}function eo(e,n){return q(n)?ei(e,n,1):ei(e,1)}function ti(e){return e<=0?()=>ks:Ve((n,t)=>{let r=0;n.subscribe(Ge(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function Lc(e){return Ve((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Em(e={}){let{connector:n=()=>new nt,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return s=>{let a,c,d,p=0,h=!1,g=!1,b=()=>{c?.unsubscribe(),c=void 0},v=()=>{b(),a=d=void 0,h=g=!1},D=()=>{let N=a;v(),N?.unsubscribe()};return Ve((N,k)=>{p++,!g&&!h&&b();let x=d=d??n();k.add(()=>{p--,p===0&&!g&&!h&&(c=Pc(D,i))}),x.subscribe(k),!a&&p>0&&(a=new fn({next:ne=>x.next(ne),error:ne=>{g=!0,b(),c=Pc(v,t,ne),x.error(ne)},complete:()=>{h=!0,b(),c=Pc(v,r),x.complete()}}),xe(N).subscribe(a))})(s)}}function Pc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new fn({next:()=>{r.unsubscribe(),e()}});return xe(n(...t)).subscribe(r)}function Gs(e,n,t){let r,i=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:i=!1,scheduler:t}=e:r=e??1/0,Em({connector:()=>new An(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Rn(e,n){return Ve((t,r)=>{let i=null,s=0,a=!1,c=()=>a&&!i&&r.complete();t.subscribe(Ge(r,d=>{i?.unsubscribe();let p=0,h=s++;xe(e(d,h)).subscribe(i=Ge(r,g=>r.next(n?n(d,g,h,p++):g),()=>{i=null,c()}))},()=>{a=!0,c()}))})}function Fc(e){return Ve((n,t)=>{xe(e).subscribe(Ge(t,()=>t.complete(),Xi)),!t.closed&&n.subscribe(t)})}var jc;function Ys(){return jc}function qt(e){let n=jc;return jc=e,n}var Im=Symbol("NotFound");function ni(e){return e===Im||e?.name==="\u0275NotFound"}var Js="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",H=class extends Error{code;constructor(n,t){super(so(n,t)),this.code=n}};function I0(e){return`NG0${Math.abs(e)}`}function so(e,n){return`${I0(e)}${n?": "+n:""}`}function ce(e){for(let n in e)if(e[n]===ce)return n;throw Error("")}function km(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ln(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ln).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
7
+ `);return r>=0?t.slice(0,r):t}function Xs(e,n){return e?n?`${e} ${n}`:e:n||""}var T0=ce({__forward_ref__:ce});function ea(e){return e.__forward_ref__=ea,e.toString=function(){return Ln(this())},e}function Je(e){return Xc(e)?e():e}function Xc(e){return typeof e=="function"&&e.hasOwnProperty(T0)&&e.__forward_ref__===ea}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jn(e){return{providers:e.providers||[],imports:e.imports||[]}}function ta(e){return S0(e,na)}function S0(e,n){return e.hasOwnProperty(n)&&e[n]||null}function M0(e){let n=e?.[na]??null;return n||null}function Vc(e){return e&&e.hasOwnProperty(Zs)?e[Zs]:null}var na=ce({\u0275prov:ce}),Zs=ce({\u0275inj:ce}),z=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=$({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function eu(e){return e&&!!e.\u0275providers}var tu=ce({\u0275cmp:ce}),nu=ce({\u0275dir:ce}),ru=ce({\u0275pipe:ce});var no=ce({\u0275fac:ce}),fr=ce({__NG_ELEMENT_ID__:ce}),Tm=ce({__NG_ENV_ID__:ce});function pr(e){return ou(e,"@Component"),e[tu]||null}function iu(e){return ou(e,"@Directive"),e[nu]||null}function Nm(e){return ou(e,"@Pipe"),e[ru]||null}function ou(e,n){if(e==null)throw new H(-919,!1)}function ao(e){return typeof e=="string"?e:e==null?"":String(e)}var Am=ce({ngErrorCode:ce}),x0=ce({ngErrorMessage:ce}),k0=ce({ngTokenPath:ce});function su(e,n){return Om("",-200,n)}function ra(e,n){throw new H(-201,!1)}function Om(e,n,t){let r=new H(n,e);return r[Am]=n,r[x0]=e,t&&(r[k0]=t),r}function N0(e){return e[Am]}var Hc;function Rm(){return Hc}function at(e){let n=Hc;return Hc=e,n}function au(e,n,t){let r=ta(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;ra(e,"")}var A0={},lr=A0,O0="__NG_DI_FLAG__",Uc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=cr(t)||0;try{return this.injector.get(n,r&8?null:lr,r)}catch(i){if(ni(i))return i;throw i}}};function R0(e,n=0){let t=Ys();if(t===void 0)throw new H(-203,!1);if(t===null)return au(e,void 0,n);{let r=L0(n),i=t.retrieve(e,r);if(ni(i)){if(r.optional)return null;throw i}return i}}function K(e,n=0){return(Rm()||R0)(Je(e),n)}function A(e,n){return K(e,cr(n))}function cr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function L0(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function $c(e){let n=[];for(let t=0;t<e.length;t++){let r=Je(e[t]);if(Array.isArray(r)){if(r.length===0)throw new H(900,!1);let i,s=0;for(let a=0;a<r.length;a++){let c=r[a],d=P0(c);typeof d=="number"?d===-1?i=c.token:s|=d:i=c}n.push(K(i,s))}else n.push(K(r))}return n}function P0(e){return e[O0]}function Pn(e,n){let t=e.hasOwnProperty(no);return t?e[no]:null}function ia(e,n){e.forEach(t=>Array.isArray(t)?ia(t,n):n(t))}function lu(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function lo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Lm(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function Pm(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(i===1)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;){let s=i-2;e[i]=e[s],i--}e[n]=t,e[n+1]=r}}function oa(e,n,t){let r=ii(e,n);return r>=0?e[r|1]=t:(r=~r,Pm(e,r,n,t)),r}function sa(e,n){let t=ii(e,n);if(t>=0)return e[t|1]}function ii(e,n){return F0(e,n,1)}function F0(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){let s=r+(i-r>>1),a=e[s<<t];if(n===a)return s<<t;a>n?i=s:r=s+1}return~(i<<t)}var Bn={},lt=[],co=new z(""),cu=new z("",-1),uu=new z(""),ro=class{get(n,t=lr){if(t===lr){let i=Om("",-201);throw i.name="\u0275NotFound",i}return t}};function aa(e){return{\u0275providers:e}}function Fm(...e){return{\u0275providers:du(!0,e),\u0275fromNgModule:!0}}function du(e,...n){let t=[],r=new Set,i,s=a=>{t.push(a)};return ia(n,a=>{let c=a;Qs(c,s,[],r)&&(i||=[],i.push(c))}),i!==void 0&&jm(i,s),t}function jm(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:i}=e[t];fu(i,s=>{n(s,r)})}}function Qs(e,n,t,r){if(e=Je(e),!e)return!1;let i=null,s=Vc(e),a=!s&&pr(e);if(!s&&!a){let d=e.ngModule;if(s=Vc(d),s)i=d;else return!1}else{if(a&&!a.standalone)return!1;i=e}let c=r.has(i);if(a){if(c)return!1;if(r.add(i),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let p of d)Qs(p,n,t,r)}}else if(s){if(s.imports!=null&&!c){r.add(i);let p;ia(s.imports,h=>{Qs(h,n,t,r)&&(p||=[],p.push(h))}),p!==void 0&&jm(p,n)}if(!c){let p=Pn(i)||(()=>new i);n({provide:i,useFactory:p,deps:lt},i),n({provide:uu,useValue:i,multi:!0},i),n({provide:co,useValue:()=>K(i),multi:!0},i)}let d=s.providers;if(d!=null&&!c){let p=e;fu(d,h=>{n(h,p)})}}else return!1;return i!==e&&e.providers!==void 0}function fu(e,n){for(let t of e)eu(t)&&(t=t.\u0275providers),Array.isArray(t)?fu(t,n):n(t)}var j0=ce({provide:String,useValue:ce});function Bm(e){return e!==null&&typeof e=="object"&&j0 in e}function B0(e){return!!(e&&e.useExisting)}function V0(e){return!!(e&&e.useFactory)}function ur(e){return typeof e=="function"}function Vm(e){return!!e.useClass}var uo=new z(""),qs={},Sm={},Bc;function fo(){return Bc===void 0&&(Bc=new ro),Bc}var ct=class{},dr=class extends ct{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,Wc(n,a=>this.processProvider(a)),this.records.set(cu,ri(void 0,this)),i.has("environment")&&this.records.set(ct,ri(void 0,this));let s=this.records.get(uo);s!=null&&typeof s.value=="string"&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(uu,lt,{self:!0}))}retrieve(n,t){let r=cr(t)||0;try{return this.get(n,lr,r)}catch(i){if(ni(i))return i;throw i}}destroy(){to(this),this._destroyed=!0;let n=V(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),V(n)}}onDestroy(n){return to(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){to(this);let t=qt(this),r=at(void 0),i;try{return n()}finally{qt(t),at(r)}}get(n,t=lr,r){if(to(this),n.hasOwnProperty(Tm))return n[Tm](this);let i=cr(r),s,a=qt(this),c=at(void 0);try{if(!(i&4)){let p=this.records.get(n);if(p===void 0){let h=W0(n)&&ta(n);h&&this.injectableDefInScope(h)?p=ri(zc(n),qs):p=null,this.records.set(n,p)}if(p!=null)return this.hydrate(n,p,i)}let d=i&2?fo():this.parent;return t=i&8&&t===lr?null:t,d.get(n,t)}catch(d){let p=N0(d);throw p===-200||p===-201?new H(p,null):d}finally{at(c),qt(a)}}resolveInjectorInitializers(){let n=V(null),t=qt(this),r=at(void 0),i;try{let s=this.get(co,lt,{self:!0});for(let a of s)a()}finally{qt(t),at(r),V(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Ln(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Je(n);let t=ur(n)?n:Je(n&&n.provide),r=U0(n);if(!ur(n)&&n.multi===!0){let i=this.records.get(t);i||(i=ri(void 0,qs,!0),i.factory=()=>$c(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let i=V(null);try{if(t.value===Sm)throw su(Ln(n));return t.value===qs&&(t.value=Sm,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&z0(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{V(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=Je(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function zc(e){let n=ta(e),t=n!==null?n.factory:Pn(e);if(t!==null)return t;if(e instanceof z)throw new H(204,!1);if(e instanceof Function)return H0(e);throw new H(204,!1)}function H0(e){if(e.length>0)throw new H(204,!1);let t=M0(e);return t!==null?()=>t.factory(e):()=>new e}function U0(e){if(Bm(e))return ri(void 0,e.useValue);{let n=pu(e);return ri(n,qs)}}function pu(e,n,t){let r;if(ur(e)){let i=Je(e);return Pn(i)||zc(i)}else if(Bm(e))r=()=>Je(e.useValue);else if(V0(e))r=()=>e.useFactory(...$c(e.deps||[]));else if(B0(e))r=(i,s)=>K(Je(e.useExisting),s!==void 0&&s&8?8:void 0);else{let i=Je(e&&(e.useClass||e.provide));if($0(e))r=()=>new i(...$c(e.deps));else return Pn(i)||zc(i)}return r}function to(e){if(e.destroyed)throw new H(205,!1)}function ri(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function $0(e){return!!e.deps}function z0(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function W0(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Wc(e,n){for(let t of e)Array.isArray(t)?Wc(t,n):t&&eu(t)?Wc(t.\u0275providers,n):n(t)}function oi(e,n){let t;e instanceof dr?(to(e),t=e):t=new Uc(e);let r,i=qt(t),s=at(void 0);try{return n()}finally{qt(i),at(s)}}function Hm(){return Rm()!==void 0||Ys()!=null}var Ft=0,F=1,W=2,Ye=3,Tt=4,dt=5,mr=6,si=7,Re=8,yn=9,Qt=10,he=11,ai=12,mu=13,hr=14,ft=15,gr=16,yr=17,vr=18,vn=19,hu=20,mn=21,la=22,po=23,Dt=24,ca=25,br=26,Te=27,Um=1,gu=6,Vn=7,mo=8,ho=9,Le=10;function Kt(e){return Array.isArray(e)&&typeof e[Um]=="object"}function jt(e){return Array.isArray(e)&&e[Um]===!0}function yu(e){return(e.flags&4)!==0}function Hn(e){return e.componentOffset>-1}function li(e){return(e.flags&1)===1}function Jt(e){return!!e.template}function ci(e){return(e[W]&512)!==0}function _r(e){return(e[W]&256)===256}var $m="svg",zm="math";function St(e){for(;Array.isArray(e);)e=e[Ft];return e}function vu(e,n){return St(n[e])}function Bt(e,n){return St(n[e.index])}function go(e,n){return e.data[n]}function bu(e,n){return e[n]}function _u(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Mt(e,n){let t=n[e];return Kt(t)?t:t[Ft]}function ua(e){return(e[W]&128)===128}function Wm(e){return jt(e[Ye])}function xt(e,n){return n==null?null:e[n]}function Du(e){e[yr]=0}function da(e){e[W]&1024||(e[W]|=1024,ua(e)&&yo(e))}function Gm(e,n){for(;e>0;)n=n[hr],e--;return n}function ui(e){return!!(e[W]&9216||e[Dt]?.dirty)}function fa(e){e[Qt].changeDetectionScheduler?.notify(8),e[W]&64&&(e[W]|=1024),ui(e)&&yo(e)}function yo(e){e[Qt].changeDetectionScheduler?.notify(0);let n=Fn(e);for(;n!==null&&!(n[W]&8192||(n[W]|=8192,!ua(n)));)n=Fn(n)}function wu(e,n){if(_r(e))throw new H(911,!1);e[mn]===null&&(e[mn]=[]),e[mn].push(n)}function Ym(e,n){if(e[mn]===null)return;let t=e[mn].indexOf(n);t!==-1&&e[mn].splice(t,1)}function Fn(e){let n=e[Ye];return jt(n)?n[Ye]:n}function qm(e){return e[si]??=[]}function Zm(e){return e.cleanup??=[]}var Q={lFrame:sh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Gc=!1;function Qm(){return Q.lFrame.elementDepthCount}function Km(){Q.lFrame.elementDepthCount++}function Cu(){Q.lFrame.elementDepthCount--}function pa(){return Q.bindingsEnabled}function Eu(){return Q.skipHydrationRootTNode!==null}function Iu(e){return Q.skipHydrationRootTNode===e}function Tu(){Q.skipHydrationRootTNode=null}function G(){return Q.lFrame.lView}function He(){return Q.lFrame.tView}function j(e){return Q.lFrame.contextLView=e,e[Re]}function B(e){return Q.lFrame.contextLView=null,e}function pt(){let e=Su();for(;e!==null&&e.type===64;)e=e.parent;return e}function Su(){return Q.lFrame.currentTNode}function Jm(){let e=Q.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function di(e,n){let t=Q.lFrame;t.currentTNode=e,t.isParent=n}function Mu(){return Q.lFrame.isParent}function xu(){Q.lFrame.isParent=!1}function Xm(){return Q.lFrame.contextLView}function ku(){return Gc}function Nu(e){let n=Gc;return Gc=e,n}function fi(){let e=Q.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function eh(e){return Q.lFrame.bindingIndex=e}function Un(){return Q.lFrame.bindingIndex++}function Au(e){let n=Q.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function th(){return Q.lFrame.inI18n}function nh(e,n){let t=Q.lFrame;t.bindingIndex=t.bindingRootIndex=e,ma(n)}function rh(){return Q.lFrame.currentDirectiveIndex}function ma(e){Q.lFrame.currentDirectiveIndex=e}function ih(e){let n=Q.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ou(e){Q.lFrame.currentQueryIndex=e}function G0(e){let n=e[F];return n.type===2?n.declTNode:n.type===1?e[dt]:null}function Ru(e,n,t){if(t&4){let i=n,s=e;for(;i=i.parent,i===null&&!(t&1);)if(i=G0(s),i===null||(s=s[hr],i.type&10))break;if(i===null)return!1;n=i,e=s}let r=Q.lFrame=oh();return r.currentTNode=n,r.lView=e,!0}function ha(e){let n=oh(),t=e[F];Q.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function oh(){let e=Q.lFrame,n=e===null?null:e.child;return n===null?sh(e):n}function sh(e){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:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function ah(){let e=Q.lFrame;return Q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Lu=ah;function ga(){let e=ah();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function lh(e){return(Q.lFrame.contextLView=Gm(e,Q.lFrame.contextLView))[Re]}function bn(){return Q.lFrame.selectedIndex}function $n(e){Q.lFrame.selectedIndex=e}function ya(){let e=Q.lFrame;return go(e.tView,e.selectedIndex)}function ch(){return Q.lFrame.currentNamespace}var uh=!0;function va(){return uh}function vo(e){uh=e}function Yc(e,n=null,t=null,r){let i=dh(e,n,t,r);return i.resolveInjectorInitializers(),i}function dh(e,n=null,t=null,r,i=new Set){let s=[t||lt,Fm(e)];return r=r||(typeof e=="object"?void 0:Ln(e)),new dr(s,n||fo(),r||null,i)}var Zt=class e{static THROW_IF_NOT_FOUND=lr;static NULL=new ro;static create(n,t){if(Array.isArray(n))return Yc({name:""},t,n,"");{let r=n.name??"";return Yc({name:r},n.parent,n.providers,r)}}static \u0275prov=$({token:e,providedIn:"any",factory:()=>K(cu)});static __NG_ELEMENT_ID__=-1},mt=new z(""),Dr=(()=>{class e{static __NG_ELEMENT_ID__=Y0;static __NG_ENV_ID__=t=>t}return e})(),qc=class extends Dr{_lView;constructor(n){super(),this._lView=n}get destroyed(){return _r(this._lView)}onDestroy(n){let t=this._lView;return wu(t,n),()=>Ym(t,n)}};function Y0(){return new qc(G())}var fh=!1,ph=new z(""),wr=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Nn(!1);debugTaskTracker=A(ph,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new re(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zc=class extends nt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Hm()&&(this.destroyRef=A(Dr,{optional:!0})??void 0,this.pendingTasks=A(wr,{optional:!0})??void 0)}emit(n){let t=V(null);try{super.next(n)}finally{V(t)}}subscribe(n,t,r){let i=n,s=t||(()=>null),a=r;if(n&&typeof n=="object"){let d=n;i=d.next?.bind(d),s=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(s=this.wrapInTimeout(s),i&&(i=this.wrapInTimeout(i)),a&&(a=this.wrapInTimeout(a)));let c=super.subscribe({next:i,error:s,complete:a});return n instanceof ot&&n.add(c),c}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},ie=Zc;function Ks(...e){}function Pu(e){let n,t;function r(){e=Ks;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(i){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function mh(e){return queueMicrotask(()=>e()),()=>{e=Ks}}var Fu="isAngularZone",io=Fu+"_ID",q0=0,ut=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ie(!1);onMicrotaskEmpty=new ie(!1);onStable=new ie(!1);onError=new ie(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:s=fh}=n;if(typeof Zone>"u")throw new H(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)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&r,a.shouldCoalesceRunChangeDetection=i,a.callbackScheduled=!1,a.scheduleInRootZone=s,K0(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Fu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new H(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){let s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,n,Z0,Ks,Ks);try{return s.runTask(a,t,r)}finally{s.cancelTask(a)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},Z0={};function ju(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Q0(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Pu(()=>{e.callbackScheduled=!1,Qc(e),e.isCheckStableRunning=!0,ju(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Qc(e)}function K0(e){let n=()=>{Q0(e)},t=q0++;e._inner=e._inner.fork({name:"angular",properties:{[Fu]:!0,[io]:t,[io+t]:!0},onInvokeTask:(r,i,s,a,c,d)=>{if(J0(d))return r.invokeTask(s,a,c,d);try{return Mm(e),r.invokeTask(s,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),xm(e)}},onInvoke:(r,i,s,a,c,d,p)=>{try{return Mm(e),r.invoke(s,a,c,d,p)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!X0(d)&&n(),xm(e)}},onHasTask:(r,i,s,a)=>{r.hasTask(s,a),i===s&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,Qc(e),ju(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(r,i,s,a)=>(r.handleError(s,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function Qc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Mm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xm(e){e._nesting--,ju(e)}var oo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ie;onMicrotaskEmpty=new ie;onStable=new ie;onError=new ie;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}};function J0(e){return hh(e,"__ignore_ng_zone__")}function X0(e){return hh(e,"__scheduler_tick__")}function hh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var hn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},zn=new z("",{factory:()=>{let e=A(ut),n=A(ct),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(hn),t.handleError(r))})}}}),gh={provide:co,useValue:()=>{let e=A(hn,{optional:!0})},multi:!0};function Wn(e,n){let[t,r,i]=Cc(e,n?.equal),s=t,a=s[it];return s.set=r,s.update=i,s.asReadonly=yh.bind(s),s}function yh(){let e=this[it];if(e.readonlyFn===void 0){let n=()=>this();n[it]=e,e.readonlyFn=n}return e.readonlyFn}var gn=class{},bo=new z("",{factory:()=>!0});var Bu=new z(""),_o=(()=>{class e{internalPendingTasks=A(wr);scheduler=A(gn);errorHandler=A(zn);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vu=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:()=>new Kc})}return e})(),Kc=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Jc=class{[it];constructor(n){this[it]=n}destroy(){this[it].destroy()}};function ko(e){return{toString:e}.toString()}function uC(e){return typeof e=="function"}function zh(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Ea=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},zt=(()=>{let e=()=>Wh;return e.ngInherit=!0,e})();function Wh(e){return e.type.prototype.ngOnChanges&&(e.setInput=fC),dC}function dC(){let e=Yh(this),n=e?.current;if(n){let t=e.previous;if(t===Bn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function fC(e,n,t,r,i){let s=this.declaredInputs[r],a=Yh(e)||pC(e,{previous:Bn,current:null}),c=a.current||(a.current={}),d=a.previous,p=d[s];c[s]=new Ea(p&&p.currentValue,t,d===Bn),zh(e,n,i,t)}var Gh="__ngSimpleChanges__";function Yh(e){return e[Gh]||null}function pC(e,n){return e[Gh]=n}var vh=[];var ue=function(e,n=null,t){for(let r=0;r<vh.length;r++){let i=vh[r];i(e,n,t)}},se=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(se||{});function mC(e,n,t){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=n.type.prototype;if(r){let a=Wh(n);(t.preOrderHooks??=[]).push(e,a),(t.preOrderCheckHooks??=[]).push(e,a)}i&&(t.preOrderHooks??=[]).push(0-e,i),s&&((t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s))}function qh(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let s=e.data[t].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:d,ngAfterViewChecked:p,ngOnDestroy:h}=s;a&&(e.contentHooks??=[]).push(-t,a),c&&((e.contentHooks??=[]).push(t,c),(e.contentCheckHooks??=[]).push(t,c)),d&&(e.viewHooks??=[]).push(-t,d),p&&((e.viewHooks??=[]).push(t,p),(e.viewCheckHooks??=[]).push(t,p)),h!=null&&(e.destroyHooks??=[]).push(t,h)}}function _a(e,n,t){Zh(e,n,3,t)}function Da(e,n,t,r){(e[W]&3)===t&&Zh(e,n,t,r)}function Hu(e,n){let t=e[W];(t&3)===n&&(t&=16383,t+=1,e[W]=t)}function Zh(e,n,t,r){let i=r!==void 0?e[yr]&65535:0,s=r??-1,a=n.length-1,c=0;for(let d=i;d<a;d++)if(typeof n[d+1]=="number"){if(c=n[d],r!=null&&c>=r)break}else n[d]<0&&(e[yr]+=65536),(c<s||s==-1)&&(hC(e,t,n,d),e[yr]=(e[yr]&4294901760)+d+2),d++}function bh(e,n){ue(se.LifecycleHookStart,e,n);let t=V(null);try{n.call(e)}finally{V(t),ue(se.LifecycleHookEnd,e,n)}}function hC(e,n,t,r){let i=t[r]<0,s=t[r+1],a=i?-t[r]:t[r],c=e[a];i?e[W]>>14<e[yr]>>16&&(e[W]&3)===n&&(e[W]+=16384,bh(c,s)):bh(c,s)}var mi=-1,Er=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,i){this.factory=n,this.name=i,this.canSeeViewProviders=t,this.injectImpl=r}};function gC(e){return(e.flags&8)!==0}function yC(e){return(e.flags&16)!==0}function vC(e,n,t){let r=0;for(;r<t.length;){let i=t[r];if(typeof i=="number"){if(i!==0)break;r++;let s=t[r++],a=t[r++],c=t[r++];e.setAttribute(n,a,c,s)}else{let s=i,a=t[++r];_C(s)?e.setProperty(n,s,a):e.setAttribute(n,s,a),r++}}return r}function bC(e){return e===3||e===4||e===6}function _C(e){return e.charCodeAt(0)===64}function hi(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let i=n[r];typeof i=="number"?t=i:t===0||(t===-1||t===2?_h(e,t,i,null,n[++r]):_h(e,t,i,null,null))}}return e}function _h(e,n,t,r,i){let s=0,a=e.length;if(n===-1)a=-1;else for(;s<e.length;){let c=e[s++];if(typeof c=="number"){if(c===n){a=-1;break}else if(c>n){a=s-1;break}}}for(;s<e.length;){let c=e[s];if(typeof c=="number")break;if(c===t){i!==null&&(e[s+1]=i);return}s++,i!==null&&s++}a!==-1&&(e.splice(a,0,n),s=a+1),e.splice(s++,0,t),i!==null&&e.splice(s++,0,i)}function Qh(e){return e!==mi}function Ia(e){return e&32767}function DC(e){return e>>16}function Ta(e,n){let t=DC(e),r=n;for(;t>0;)r=r[hr],t--;return r}var Ku=!0;function Sa(e){let n=Ku;return Ku=e,n}var wC=256,Kh=wC-1,Jh=5,CC=0,Xt={};function EC(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(fr)&&(r=t[fr]),r==null&&(r=t[fr]=CC++);let i=r&Kh,s=1<<i;n.data[e+(i>>Jh)]|=s}function Ma(e,n){let t=Xh(e,n);if(t!==-1)return t;let r=n[F];r.firstCreatePass&&(e.injectorIndex=n.length,Uu(r.data,e),Uu(n,null),Uu(r.blueprint,null));let i=_d(e,n),s=e.injectorIndex;if(Qh(i)){let a=Ia(i),c=Ta(i,n),d=c[F].data;for(let p=0;p<8;p++)n[s+p]=c[a+p]|d[a+p]}return n[s+8]=i,s}function Uu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Xh(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function _d(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;i!==null;){if(r=ig(i),r===null)return mi;if(t++,i=i[hr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return mi}function Ju(e,n,t){EC(e,n,t)}function eg(e,n,t){if(t&8||e!==void 0)return e;ra(n,"NodeInjector")}function tg(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let i=e[yn],s=at(void 0);try{return i?i.get(n,r,t&8):au(n,r,t&8)}finally{at(s)}}return eg(r,n,t)}function ng(e,n,t,r=0,i){if(e!==null){if(n[W]&2048&&!(r&2)){let a=xC(e,n,t,r,Xt);if(a!==Xt)return a}let s=rg(e,n,t,r,Xt);if(s!==Xt)return s}return tg(n,t,r,i)}function rg(e,n,t,r,i){let s=SC(t);if(typeof s=="function"){if(!Ru(n,e,r))return r&1?eg(i,t,r):tg(n,t,r,i);try{let a;if(a=s(r),a==null&&!(r&8))ra(t);else return a}finally{Lu()}}else if(typeof s=="number"){let a=null,c=Xh(e,n),d=mi,p=r&1?n[ft][dt]:null;for((c===-1||r&4)&&(d=c===-1?_d(e,n):n[c+8],d===mi||!wh(r,!1)?c=-1:(a=n[F],c=Ia(d),n=Ta(d,n)));c!==-1;){let h=n[F];if(Dh(s,c,h.data)){let g=IC(c,n,t,a,r,p);if(g!==Xt)return g}d=n[c+8],d!==mi&&wh(r,n[F].data[c+8]===p)&&Dh(s,c,n)?(a=h,c=Ia(d),n=Ta(d,n)):c=-1}}return i}function IC(e,n,t,r,i,s){let a=n[F],c=a.data[e+8],d=r==null?Hn(c)&&Ku:r!=a&&(c.type&3)!==0,p=i&1&&s===c,h=TC(c,a,t,d,p);return h!==null?xa(n,a,h,c,i):Xt}function TC(e,n,t,r,i){let s=e.providerIndexes,a=n.data,c=s&1048575,d=e.directiveStart,p=e.directiveEnd,h=s>>20,g=r?c:c+h,b=i?c+h:p;for(let v=g;v<b;v++){let D=a[v];if(v<d&&t===D||v>=d&&D.type===t)return v}if(i){let v=a[d];if(v&&Jt(v)&&v.type===t)return d}return null}function xa(e,n,t,r,i){let s=e[t],a=n.data;if(s instanceof Er){let c=s;if(c.resolving)throw su("");let d=Sa(c.canSeeViewProviders);c.resolving=!0;let p=a[t].type||a[t],h,g=c.injectImpl?at(c.injectImpl):null,b=Ru(e,r,0);try{s=e[t]=c.factory(void 0,i,a,e,r),n.firstCreatePass&&t>=r.directiveStart&&mC(t,a[t],n)}finally{g!==null&&at(g),Sa(d),c.resolving=!1,Lu()}}return s}function SC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(fr)?e[fr]:void 0;return typeof n=="number"?n>=0?n&Kh:MC:n}function Dh(e,n,t){let r=1<<e;return!!(t[n+(e>>Jh)]&r)}function wh(e,n){return!(e&2)&&!(e&1&&n)}var Cr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return ng(this._tNode,this._lView,n,cr(r),t)}};function MC(){return new Cr(pt(),G())}function Mr(e){return ko(()=>{let n=e.prototype.constructor,t=n[no]||Xu(n),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let s=i[no]||Xu(i);if(s&&s!==t)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Xu(e){return Xc(e)?()=>{let n=Xu(Je(e));return n&&n()}:Pn(e)}function xC(e,n,t,r,i){let s=e,a=n;for(;s!==null&&a!==null&&a[W]&2048&&!ci(a);){let c=rg(s,a,t,r|2,Xt);if(c!==Xt)return c;let d=s.parent;if(!d){let p=a[hu];if(p){let h=p.get(t,Xt,r);if(h!==Xt)return h}d=ig(a),a=a[hr]}s=d}return i}function ig(e){let n=e[F],t=n.type;return t===2?n.declTNode:t===1?e[dt]:null}function kC(){return Ba(pt(),G())}function Ba(e,n){return new Yn(Bt(e,n))}var Yn=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=kC}return e})();function og(e){return(e.flags&128)===128}var Dd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Dd||{}),sg=new Map,NC=0;function AC(){return NC++}function OC(e){sg.set(e[vn],e)}function ed(e){sg.delete(e[vn])}var Ch="__ngContext__";function gi(e,n){Kt(n)?(e[Ch]=n[vn],OC(n)):e[Ch]=n}function ag(e){return cg(e[ai])}function lg(e){return cg(e[Tt])}function cg(e){for(;e!==null&&!jt(e);)e=e[Tt];return e}var RC;function wd(e){RC=e}var Va=new z("",{factory:()=>LC}),LC="ng";var Ha=new z(""),No=new z("",{providedIn:"platform",factory:()=>"unknown"});var Ua=new z("",{factory:()=>A(mt).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ug="r";var dg="di";var fg=!1,pg=new z("",{factory:()=>fg});var PC=(e,n,t,r)=>{};function FC(e,n,t,r){PC(e,n,t,r)}function $a(e){return(e.flags&32)===32}var jC=()=>null;function mg(e,n,t=!1){return jC(e,n,t)}function hg(e,n){let t=e.contentQueries;if(t!==null){let r=V(null);try{for(let i=0;i<t.length;i+=2){let s=t[i],a=t[i+1];if(a!==-1){let c=e.data[a];Ou(s),c.contentQueries(2,n[a],a)}}}finally{V(r)}}}function td(e,n,t){Ou(0);let r=V(null);try{n(e,t)}finally{V(r)}}function Cd(e,n,t){if(yu(n)){let r=V(null);try{let i=n.directiveStart,s=n.directiveEnd;for(let a=i;a<s;a++){let c=e.data[a];if(c.contentQueries){let d=t[a];c.contentQueries(1,d,a)}}}finally{V(r)}}}var Ut=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ut||{});var ka=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Js})`}};function za(e){return e instanceof ka?e.changingThisBreaksApplicationSecurity:e}function gg(e,n){let t=yg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Js})`)}return t===n}function yg(e){return e instanceof ka&&e.getTypeName()||null}var BC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vg(e){return e=String(e),e.match(BC)?e:"unsafe:"+e}var VC=/^>|^->|<!--|-->|--!>|<!-$/g,HC=/(<|>)/g,UC="\u200B$1\u200B";function $C(e){return e.replace(VC,n=>n.replace(HC,UC))}function zC(e,n){return e.createText(n)}function WC(e,n,t){e.setValue(n,t)}function GC(e,n){return e.createComment($C(n))}function bg(e,n,t){return e.createElement(n,t)}function Na(e,n,t,r,i){e.insertBefore(n,t,r,i)}function _g(e,n,t){e.appendChild(n,t)}function Eh(e,n,t,r,i){r!==null?Na(e,n,t,r,i):_g(e,n,t)}function Dg(e,n,t,r){e.removeChild(null,n,t,r)}function YC(e,n,t){e.setAttribute(n,"style",t)}function qC(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function wg(e,n,t){let{mergedAttrs:r,classes:i,styles:s}=t;r!==null&&vC(e,n,r),i!==null&&qC(e,n,i),s!==null&&YC(e,n,s)}var Ed=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Ed||{});function bi(e){let n=ZC();return n?n.sanitize(Ed.URL,e)||"":gg(e,"URL")?za(e):vg(ao(e))}function ZC(){let e=G();return e&&e[Qt].sanitizer}function QC(e,n,t){let r=e.length;for(;;){let i=e.indexOf(n,t);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let s=n.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}t=i+1}}var Cg="ng-template";function KC(e,n,t,r){let i=0;if(r){for(;i<n.length&&typeof n[i]=="string";i+=2)if(n[i]==="class"&&QC(n[i+1].toLowerCase(),t,0)!==-1)return!0}else if(Id(e))return!1;if(i=n.indexOf(1,i),i>-1){let s;for(;++i<n.length&&typeof(s=n[i])=="string";)if(s.toLowerCase()===t)return!0}return!1}function Id(e){return e.type===4&&e.value!==Cg}function JC(e,n,t){let r=e.type===4&&!t?Cg:e.value;return n===r}function XC(e,n,t){let r=4,i=e.attrs,s=i!==null?nE(i):0,a=!1;for(let c=0;c<n.length;c++){let d=n[c];if(typeof d=="number"){if(!a&&!Vt(r)&&!Vt(d))return!1;if(a&&Vt(d))continue;a=!1,r=d|r&1;continue}if(!a)if(r&4){if(r=2|r&1,d!==""&&!JC(e,d,t)||d===""&&n.length===1){if(Vt(r))return!1;a=!0}}else if(r&8){if(i===null||!KC(e,i,d,t)){if(Vt(r))return!1;a=!0}}else{let p=n[++c],h=eE(d,i,Id(e),t);if(h===-1){if(Vt(r))return!1;a=!0;continue}if(p!==""){let g;if(h>s?g="":g=i[h+1].toLowerCase(),r&2&&p!==g){if(Vt(r))return!1;a=!0}}}}return Vt(r)||a}function Vt(e){return(e&1)===0}function eE(e,n,t,r){if(n===null)return-1;let i=0;if(r||!t){let s=!1;for(;i<n.length;){let a=n[i];if(a===e)return i;if(a===3||a===6)s=!0;else if(a===1||a===2){let c=n[++i];for(;typeof c=="string";)c=n[++i];continue}else{if(a===4)break;if(a===0){i+=4;continue}}i+=s?1:2}return-1}else return rE(n,e)}function Eg(e,n,t=!1){for(let r=0;r<n.length;r++)if(XC(e,n[r],t))return!0;return!1}function tE(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function nE(e){for(let n=0;n<e.length;n++){let t=e[n];if(bC(t))return n}return e.length}function rE(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function iE(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Ih(e,n){return e?":not("+n.trim()+")":n}function oE(e){let n=e[0],t=1,r=2,i="",s=!1;for(;t<e.length;){let a=e[t];if(typeof a=="string")if(r&2){let c=e[++t];i+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else r&8?i+="."+a:r&4&&(i+=" "+a);else i!==""&&!Vt(a)&&(n+=Ih(s,i),i=""),r=a,s=s||!Vt(r);t++}return i!==""&&(n+=Ih(s,i)),n}function sE(e){return e.map(oE).join(",")}function aE(e){let n=[],t=[],r=1,i=2;for(;r<e.length;){let s=e[r];if(typeof s=="string")i===2?s!==""&&n.push(s,e[++r]):i===8&&t.push(s);else{if(!Vt(i))break;i=s}r++}return t.length&&n.push(1,...t),n}var wt={};function Td(e,n,t,r,i,s,a,c,d,p,h){let g=Te+r,b=g+i,v=lE(g,b),D=typeof p=="function"?p():p;return v[F]={type:e,blueprint:v,template:t,queries:null,viewQuery:c,declTNode:n,data:v.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 s=="function"?s():s,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:d,consts:D,incompleteFirstPass:!1,ssrId:h}}function lE(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:wt);return t}function cE(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Td(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Sd(e,n,t,r,i,s,a,c,d,p,h){let g=n.blueprint.slice();return g[Ft]=i,g[W]=r|4|128|8|64|1024,(p!==null||e&&e[W]&2048)&&(g[W]|=2048),Du(g),g[Ye]=g[hr]=e,g[Re]=t,g[Qt]=a||e&&e[Qt],g[he]=c||e&&e[he],g[yn]=d||e&&e[yn]||null,g[dt]=s,g[vn]=AC(),g[mr]=h,g[hu]=p,g[ft]=n.type==2?e[ft]:g,g}function uE(e,n,t){let r=Bt(n,e),i=cE(t),s=e[Qt].rendererFactory,a=Md(e,Sd(e,i,null,Ig(t),r,n,null,s.createRenderer(r,t),null,null,null));return e[n.index]=a}function Ig(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Tg(e,n,t,r){if(t===0)return-1;let i=n.length;for(let s=0;s<t;s++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function Md(e,n){return e[ai]?e[mu][Tt]=n:e[ai]=n,e[mu]=n,n}function w(e=1){Sg(He(),G(),bn()+e,!1)}function Sg(e,n,t,r){if(!r)if((n[W]&3)===3){let s=e.preOrderCheckHooks;s!==null&&_a(n,s,t)}else{let s=e.preOrderHooks;s!==null&&Da(n,s,0,t)}$n(t)}var Wa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Wa||{});function nd(e,n,t,r){let i=V(null);try{let[s,a,c]=e.inputs[t],d=null;(a&Wa.SignalBased)!==0&&(d=n[s][it]),d!==null&&d.transformFn!==void 0?r=d.transformFn(r):c!==null&&(r=c.call(n,r)),e.setInput!==null?e.setInput(n,d,r,t,s):zh(n,d,s,r)}finally{V(i)}}var $t=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})($t||{}),dE;function xd(e,n){return dE(e,n)}var Ir=new Set,kd=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(kd||{}),xr=new z(""),Th=new Set;function _i(e){Th.has(e)||(Th.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Mg=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})();var Nd=new z("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:A(ct)})});function xg(e,n,t){let r=e.get(Nd);if(Array.isArray(n))for(let i of n)r.queue.add(i),t?.detachedLeaveAnimationFns?.push(i);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function fE(e,n){let t=e.get(Nd);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function pE(e,n){for(let[t,r]of n)xg(e,r.animateFns)}function mE(e,n){let t=e.get(Nd);if(Array.isArray(n))for(let r of n)t.queue.delete(r);else t.queue.delete(n)}function Sh(e,n,t,r){let i=e?.[br]?.enter;n!==null&&i&&i.has(t.index)&&pE(r,i)}function pi(e,n,t,r,i,s,a,c){if(i!=null){let d,p=!1;jt(i)?d=i:Kt(i)&&(p=!0,i=i[Ft]);let h=St(i);e===0&&r!==null?(Sh(c,r,s,t),a==null?_g(n,r,h):Na(n,r,h,a||null,!0)):e===1&&r!==null?(Sh(c,r,s,t),Na(n,r,h,a||null,!0)):e===2?Mh(c,s,t,g=>{Dg(n,h,p,g)}):e===3&&Mh(c,s,t,()=>{n.destroyNode(h)}),d!=null&&IE(n,e,t,d,s,r,a)}}function hE(e,n){kg(e,n),n[Ft]=null,n[dt]=null}function gE(e,n,t,r,i,s){r[Ft]=i,r[dt]=n,Ya(e,r,t,1,i,s)}function kg(e,n){n[Qt].changeDetectionScheduler?.notify(9),Ya(e,n,n[he],2,null,null)}function yE(e){let n=e[ai];if(!n)return $u(e[F],e);for(;n;){let t=null;if(Kt(n))t=n[ai];else{let r=n[Le];r&&(t=r)}if(!t){for(;n&&!n[Tt]&&n!==e;)Kt(n)&&$u(n[F],n),n=n[Ye];n===null&&(n=e),Kt(n)&&$u(n[F],n),t=n&&n[Tt]}n=t}}function Ad(e,n){let t=e[ho],r=t.indexOf(n);t.splice(r,1)}function Ga(e,n){if(_r(n))return;let t=n[he];t.destroyNode&&Ya(e,n,t,3,null,null),yE(n)}function $u(e,n){if(_r(n))return;let t=V(null);try{n[W]&=-129,n[W]|=256,n[Dt]&&Qi(n[Dt]),_E(e,n),bE(e,n),n[F].type===1&&n[he].destroy();let r=n[gr];if(r!==null&&jt(n[Ye])){r!==n[Ye]&&Ad(r,n);let i=n[vr];i!==null&&i.detachView(e)}ed(n)}finally{V(t)}}function Mh(e,n,t,r){let i=e?.[br];if(i?.enter?.has(n.index)&&mE(t,i.enter.get(n.index).animateFns),i==null||i.leave==null||!i.leave.has(n.index))return r(!1);e&&Ir.add(e[vn]),xg(t,()=>{if(i.leave&&i.leave.has(n.index)){let a=i.leave.get(n.index),c=[];if(a){for(let d=0;d<a.animateFns.length;d++){let p=a.animateFns[d],{promise:h}=p();c.push(h)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(c),vE(e,r)}else e&&Ir.delete(e[vn]),r(!1)},i)}function vE(e,n){let t=e[br]?.running;if(t){t.then(()=>{e[br].running=void 0,Ir.delete(e[vn]),n(!0)});return}n(!1)}function bE(e,n){let t=e.cleanup,r=n[si];if(t!==null)for(let a=0;a<t.length-1;a+=2)if(typeof t[a]=="string"){let c=t[a+3];c>=0?r[c]():r[-c].unsubscribe(),a+=2}else{let c=r[t[a+1]];t[a].call(c)}r!==null&&(n[si]=null);let i=n[mn];if(i!==null){n[mn]=null;for(let a=0;a<i.length;a++){let c=i[a];c()}}let s=n[po];if(s!==null){n[po]=null;for(let a of s)a.destroy()}}function _E(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let i=n[t[r]];if(!(i instanceof Er)){let s=t[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){let c=i[s[a]],d=s[a+1];ue(se.LifecycleHookStart,c,d);try{d.call(c)}finally{ue(se.LifecycleHookEnd,c,d)}}else{ue(se.LifecycleHookStart,i,s);try{s.call(i)}finally{ue(se.LifecycleHookEnd,i,s)}}}}}function Ng(e,n,t){return DE(e,n.parent,t)}function DE(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Ft];if(Hn(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Ut.None||i===Ut.Emulated)return null}return Bt(r,t)}function Ag(e,n,t){return CE(e,n,t)}function wE(e,n,t){return e.type&40?Bt(e,t):null}var CE=wE,xh;function Od(e,n,t,r){let i=Ng(e,r,n),s=n[he],a=r.parent||n[dt],c=Ag(a,r,n);if(i!=null)if(Array.isArray(t))for(let d=0;d<t.length;d++)Eh(s,i,t[d],c,!1);else Eh(s,i,t,c,!1);xh!==void 0&&xh(s,r,n,t,i)}function Do(e,n){if(n!==null){let t=n.type;if(t&3)return Bt(n,e);if(t&4)return rd(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Do(e,r);{let i=e[n.index];return jt(i)?rd(-1,i):St(i)}}else{if(t&128)return Do(e,n.next);if(t&32)return xd(n,e)()||St(e[n.index]);{let r=Og(e,n);if(r!==null){if(Array.isArray(r))return r[0];let i=Fn(e[ft]);return Do(i,r)}else return Do(e,n.next)}}}return null}function Og(e,n){if(n!==null){let r=e[ft][dt],i=n.projection;return r.projection[i]}return null}function rd(e,n){let t=Le+e+1;if(t<n.length){let r=n[t],i=r[F].firstChild;if(i!==null)return Do(r,i)}return n[Vn]}function Rd(e,n,t,r,i,s,a){for(;t!=null;){let c=r[yn];if(t.type===128){t=t.next;continue}let d=r[t.index],p=t.type;if(a&&n===0&&(d&&gi(St(d),r),t.flags|=2),!$a(t))if(p&8)Rd(e,n,t.child,r,i,s,!1),pi(n,e,c,i,d,t,s,r);else if(p&32){let h=xd(t,r),g;for(;g=h();)pi(n,e,c,i,g,t,s,r);pi(n,e,c,i,d,t,s,r)}else p&16?Rg(e,n,r,t,i,s):pi(n,e,c,i,d,t,s,r);t=a?t.projectionNext:t.next}}function Ya(e,n,t,r,i,s){Rd(t,r,e.firstChild,n,i,s,!1)}function EE(e,n,t){let r=n[he],i=Ng(e,t,n),s=t.parent||n[dt],a=Ag(s,t,n);Rg(r,0,n,t,i,a)}function Rg(e,n,t,r,i,s){let a=t[ft],d=a[dt].projection[r.projection];if(Array.isArray(d))for(let p=0;p<d.length;p++){let h=d[p];pi(n,e,t[yn],i,h,r,s,t)}else{let p=d,h=a[Ye];og(r)&&(p.flags|=128),Rd(e,n,p,h,i,s,!0)}}function IE(e,n,t,r,i,s,a){let c=r[Vn],d=St(r);c!==d&&pi(n,e,t,s,c,i,a);for(let p=Le;p<r.length;p++){let h=r[p];Ya(h[F],h,e,n,s,c)}}function TE(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let s=r.indexOf("-")===-1?void 0:$t.DashCase;i==null?e.removeStyle(t,r,s):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=$t.Important),e.setStyle(t,r,i,s))}}function Lg(e,n,t,r,i){let s=bn(),a=r&2;try{$n(-1),a&&n.length>Te&&Sg(e,n,Te,!1);let c=a?se.TemplateUpdateStart:se.TemplateCreateStart;ue(c,i,t),t(r,i)}finally{$n(s);let c=a?se.TemplateUpdateEnd:se.TemplateCreateEnd;ue(c,i,t)}}function qa(e,n,t){OE(e,n,t),(t.flags&64)===64&&RE(e,n,t)}function Ao(e,n,t=Bt){let r=n.localNames;if(r!==null){let i=n.index+1;for(let s=0;s<r.length;s+=2){let a=r[s+1],c=a===-1?t(n,e):e[a];e[i++]=c}}}function SE(e,n,t,r){let s=r.get(pg,fg)||t===Ut.ShadowDom||t===Ut.ExperimentalIsolatedShadowDom,a=e.selectRootElement(n,s);return ME(a),a}function ME(e){xE(e)}var xE=()=>null;function kE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function NE(e,n,t,r,i,s){let a=n[F];if(jd(e,a,n,t,r)){Hn(e)&&AE(n,e.index);return}e.type&3&&(t=kE(t)),Pg(e,n,t,r,i,s)}function Pg(e,n,t,r,i,s){if(e.type&3){let a=Bt(e,n);r=s!=null?s(r,e.value||"",t):r,i.setProperty(a,t,r)}else e.type&12}function AE(e,n){let t=Mt(n,e);t[W]&16||(t[W]|=64)}function OE(e,n,t){let r=t.directiveStart,i=t.directiveEnd;Hn(t)&&uE(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Ma(t,n);let s=t.initialInputs;for(let a=r;a<i;a++){let c=e.data[a],d=xa(n,e,a,t);if(gi(d,n),s!==null&&jE(n,a-r,d,c,t,s),Jt(c)){let p=Mt(t.index,n);p[Re]=xa(n,e,a,t)}}}function RE(e,n,t){let r=t.directiveStart,i=t.directiveEnd,s=t.index,a=rh();try{$n(s);for(let c=r;c<i;c++){let d=e.data[c],p=n[c];ma(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&LE(d,p)}}finally{$n(-1),ma(a)}}function LE(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Ld(e,n){let t=e.directiveRegistry,r=null;if(t)for(let i=0;i<t.length;i++){let s=t[i];Eg(n,s.selectors,!1)&&(r??=[],Jt(s)?r.unshift(s):r.push(s))}return r}function PE(e,n,t,r,i,s){let a=Bt(e,n);FE(n[he],a,s,e.value,t,r,i)}function FE(e,n,t,r,i,s,a){if(s==null)e.removeAttribute(n,i,t);else{let c=a==null?ao(s):a(s,r||"",i);e.setAttribute(n,i,c,t)}}function jE(e,n,t,r,i,s){let a=s[n];if(a!==null)for(let c=0;c<a.length;c+=2){let d=a[c],p=a[c+1];nd(r,t,d,p)}}function Pd(e,n,t,r,i){let s=Te+t,a=n[F],c=i(a,n,e,r,t);n[s]=c,di(e,!0);let d=e.type===2;return d?(wg(n[he],c,e),(Qm()===0||li(e))&&gi(c,n),Km()):gi(c,n),va()&&(!d||!$a(e))&&Od(a,n,c,e),e}function Fd(e){let n=e;return Mu()?xu():(n=n.parent,di(n,!1)),n}function BE(e,n){let t=e[yn];if(!t)return;let r;try{r=t.get(zn,null)}catch(i){r=null}r?.(n)}function jd(e,n,t,r,i){let s=e.inputs?.[r],a=e.hostDirectiveInputs?.[r],c=!1;if(a)for(let d=0;d<a.length;d+=2){let p=a[d],h=a[d+1],g=n.data[p];nd(g,t[p],h,i),c=!0}if(s)for(let d of s){let p=t[d],h=n.data[d];nd(h,p,r,i),c=!0}return c}function VE(e,n){let t=Mt(n,e),r=t[F];HE(r,t);let i=t[Ft];i!==null&&t[mr]===null&&(t[mr]=mg(i,t[yn])),ue(se.ComponentStart);try{Bd(r,t,t[Re])}finally{ue(se.ComponentEnd,t[Re])}}function HE(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Bd(e,n,t){ha(n);try{let r=e.viewQuery;r!==null&&td(1,r,t);let i=e.template;i!==null&&Lg(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[vr]?.finishViewCreation(e),e.staticContentQueries&&hg(e,n),e.staticViewQueries&&td(2,e.viewQuery,t);let s=e.components;s!==null&&UE(n,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[W]&=-5,ga()}}function UE(e,n){for(let t=0;t<n.length;t++)VE(e,n[t])}function Oo(e,n,t,r){let i=V(null);try{let s=n.tView,c=e[W]&4096?4096:16,d=Sd(e,s,t,c,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),p=e[n.index];d[gr]=p;let h=e[vr];return h!==null&&(d[vr]=h.createEmbeddedView(s)),Bd(s,d,t),d}finally{V(i)}}function yi(e,n){return!n||n.firstChild===null||og(e)}function Co(e,n,t,r,i=!1){for(;t!==null;){if(t.type===128){t=i?t.projectionNext:t.next;continue}let s=n[t.index];s!==null&&r.push(St(s)),jt(s)&&Fg(s,r);let a=t.type;if(a&8)Co(e,n,t.child,r);else if(a&32){let c=xd(t,n),d;for(;d=c();)r.push(d)}else if(a&16){let c=Og(n,t);if(Array.isArray(c))r.push(...c);else{let d=Fn(n[ft]);Co(d[F],d,c,r,!0)}}t=i?t.projectionNext:t.next}return r}function Fg(e,n){for(let t=Le;t<e.length;t++){let r=e[t],i=r[F].firstChild;i!==null&&Co(r[F],r,i,n)}e[Vn]!==e[Ft]&&n.push(e[Vn])}function jg(e){if(e[ca]!==null){for(let n of e[ca])n.impl.addSequence(n);e[ca].length=0}}var Bg=[];function $E(e){return e[Dt]??zE(e)}function zE(e){let n=Bg.pop()??Object.create(GE);return n.lView=e,n}function WE(e){e.lView[Dt]!==e&&(e.lView=null,Bg.push(e))}var GE=gt(Ie({},Yi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yo(e.lView)},consumerOnSignalRead(){this.lView[Dt]=this}});function YE(e){let n=e[Dt]??Object.create(qE);return n.lView=e,n}var qE=gt(Ie({},Yi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Fn(e.lView);for(;n&&!Vg(n[F]);)n=Fn(n);n&&da(n)},consumerOnSignalRead(){this.lView[Dt]=this}});function Vg(e){return e.type!==2}function Hg(e){if(e[po]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[po])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[W]&8192)}}var ZE=100;function Ug(e,n=0){let r=e[Qt].rendererFactory,i=!1;i||r.begin?.();try{QE(e,n)}finally{i||r.end?.()}}function QE(e,n){let t=ku();try{Nu(!0),id(e,n);let r=0;for(;ui(e);){if(r===ZE)throw new H(103,!1);r++,id(e,1)}}finally{Nu(t)}}function KE(e,n,t,r){if(_r(n))return;let i=n[W],s=!1,a=!1;ha(n);let c=!0,d=null,p=null;s||(Vg(e)?(p=$E(n),d=Zi(p)):vs()===null?(c=!1,p=YE(n),d=Zi(p)):n[Dt]&&(Qi(n[Dt]),n[Dt]=null));try{Du(n),eh(e.bindingStartIndex),t!==null&&Lg(e,n,t,2,r);let h=(i&3)===3;if(!s)if(h){let v=e.preOrderCheckHooks;v!==null&&_a(n,v,null)}else{let v=e.preOrderHooks;v!==null&&Da(n,v,0,null),Hu(n,0)}if(a||JE(n),Hg(n),$g(n,0),e.contentQueries!==null&&hg(e,n),!s)if(h){let v=e.contentCheckHooks;v!==null&&_a(n,v)}else{let v=e.contentHooks;v!==null&&Da(n,v,1),Hu(n,1)}eI(e,n);let g=e.components;g!==null&&Wg(n,g,0);let b=e.viewQuery;if(b!==null&&td(2,b,r),!s)if(h){let v=e.viewCheckHooks;v!==null&&_a(n,v)}else{let v=e.viewHooks;v!==null&&Da(n,v,2),Hu(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[la]){for(let v of n[la])v();n[la]=null}s||(jg(n),n[W]&=-73)}catch(h){throw s||yo(n),h}finally{p!==null&&(bs(p,d),c&&WE(p)),ga()}}function $g(e,n){for(let t=ag(e);t!==null;t=lg(t))for(let r=Le;r<t.length;r++){let i=t[r];zg(i,n)}}function JE(e){for(let n=ag(e);n!==null;n=lg(n)){if(!(n[W]&2))continue;let t=n[ho];for(let r=0;r<t.length;r++){let i=t[r];da(i)}}}function XE(e,n,t){ue(se.ComponentStart);let r=Mt(n,e);try{zg(r,t)}finally{ue(se.ComponentEnd,r[Re])}}function zg(e,n){ua(e)&&id(e,n)}function id(e,n){let r=e[F],i=e[W],s=e[Dt],a=!!(n===0&&i&16);if(a||=!!(i&64&&n===0),a||=!!(i&1024),a||=!!(s?.dirty&&_s(s)),a||=!1,s&&(s.dirty=!1),e[W]&=-9217,a)KE(r,e,r.template,e[Re]);else if(i&8192){let c=V(null);try{Hg(e),$g(e,1);let d=r.components;d!==null&&Wg(e,d,1),jg(e)}finally{V(c)}}}function Wg(e,n,t){for(let r=0;r<n.length;r++)XE(e,n[r],t)}function eI(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let i=t[r];if(i<0)$n(~i);else{let s=i,a=t[++r],c=t[++r];nh(a,s);let d=n[s];ue(se.HostBindingsUpdateStart,d);try{c(2,d)}finally{ue(se.HostBindingsUpdateEnd,d)}}}}finally{$n(-1)}}function Vd(e,n){let t=ku()?64:1088;for(e[Qt].changeDetectionScheduler?.notify(n);e;){e[W]|=t;let r=Fn(e);if(ci(e)&&!r)return e;e=r}return null}function Gg(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Yg(e,n){let t=Le+n;if(t<e.length)return e[t]}function Ro(e,n,t,r=!0){let i=n[F];if(tI(i,n,e,t),r){let a=rd(t,e),c=n[he],d=c.parentNode(e[Vn]);d!==null&&gE(i,e[dt],c,n,d,a)}let s=n[mr];s!==null&&s.firstChild!==null&&(s.firstChild=null)}function qg(e,n){let t=Eo(e,n);return t!==void 0&&Ga(t[F],t),t}function Eo(e,n){if(e.length<=Le)return;let t=Le+n,r=e[t];if(r){let i=r[gr];i!==null&&i!==e&&Ad(i,r),n>0&&(e[t-1][Tt]=r[Tt]);let s=lo(e,Le+n);hE(r[F],r);let a=s[vr];a!==null&&a.detachView(s[F]),r[Ye]=null,r[Tt]=null,r[W]&=-129}return r}function tI(e,n,t,r){let i=Le+r,s=t.length;r>0&&(t[i-1][Tt]=n),r<s-Le?(n[Tt]=t[i],lu(t,Le+r,n)):(t.push(n),n[Tt]=null),n[Ye]=t;let a=n[gr];a!==null&&t!==a&&Zg(a,n);let c=n[vr];c!==null&&c.insertView(e),fa(n),n[W]|=128}function Zg(e,n){let t=e[ho],r=n[Ye];if(Kt(r))e[W]|=2;else{let i=r[Ye][ft];n[ft]!==i&&(e[W]|=2)}t===null?e[ho]=[n]:t.push(n)}var Gn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[F];return Co(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[Re]}set context(n){this._lView[Re]=n}get destroyed(){return _r(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Ye];if(jt(n)){let t=n[mo],r=t?t.indexOf(this):-1;r>-1&&(Eo(n,r),lo(t,r))}this._attachedToViewContainer=!1}Ga(this._lView[F],this._lView)}onDestroy(n){wu(this._lView,n)}markForCheck(){Vd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[W]&=-129}reattach(){fa(this._lView),this._lView[W]|=128}detectChanges(){this._lView[W]|=1024,Ug(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=ci(this._lView),t=this._lView[gr];t!==null&&!n&&Ad(t,this._lView),kg(this._lView[F],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=n;let t=ci(this._lView),r=this._lView[gr];r!==null&&!t&&Zg(r,this._lView),fa(this._lView)}};function Hd(e){return ui(e._lView)||!!(e._lView[W]&64)}function Ud(e){da(e._lView)}var $d=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nI;constructor(t,r,i){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,i){let s=Oo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:i});return new Gn(s)}}return e})();function nI(){return Qg(pt(),G())}function Qg(e,n){return e.type&4?new $d(n,e,Ba(e,n)):null}function Di(e,n,t,r,i){let s=e.data[n];if(s===null)s=rI(e,n,t,r,i),th()&&(s.flags|=32);else if(s.type&64){s.type=t,s.value=r,s.attrs=i;let a=Jm();s.injectorIndex=a===null?-1:a.injectorIndex}return di(s,!0),s}function rI(e,n,t,r,i){let s=Su(),a=Mu(),c=a?s:s&&s.parent,d=e.data[n]=oI(e,c,t,n,r,i);return iI(e,d,s,a),d}function iI(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function oI(e,n,t,r,i,s){let a=n?n.injectorIndex:-1,c=0;return Eu()&&(c|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:c,providerIndexes:0,value:i,attrs:s,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}}function sI(e){let n=e[gu]??[],r=e[Ye][he],i=[];for(let s of n)s.data[dg]!==void 0?i.push(s):aI(s,r);e[gu]=i}function aI(e,n){let t=0,r=e.firstChild;if(r){let i=e.data[ug];for(;t<i;){let s=r.nextSibling;Dg(n,r,!1),r=s,t++}}}var lI=()=>null,cI=()=>null;function Aa(e,n){return lI(e,n)}function Kg(e,n,t){return cI(e,n,t)}var Jg=class{},Za=class{},od=class{resolveComponentFactory(n){throw new H(917,!1)}},kr=class{static NULL=new od},Tr=class{},Qa=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>uI()}return e})();function uI(){let e=G(),n=pt(),t=Mt(n.index,e);return(Kt(t)?t:e)[he]}var Xg=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:()=>null})}return e})();var wa={},sd=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let i=this.injector.get(n,wa,r);return i!==wa||t===wa?i:this.parentInjector.get(n,t,r)}};function Oa(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,s=0;if(n!==null)for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number")s=c;else if(s==1)i=Xs(i,c);else if(s==2){let d=c,p=n[++a];r=Xs(r,d+": "+p+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}function kt(e,n=0){let t=G();if(t===null)return K(e,n);let r=pt();return ng(r,t,Je(e),n)}function ey(e,n,t,r,i){let s=r===null?null:{"":-1},a=i(e,t);if(a!==null){let c=a,d=null,p=null;for(let h of a)if(h.resolveHostDirectives!==null){[c,d,p]=h.resolveHostDirectives(a);break}pI(e,n,t,c,s,d,p)}s!==null&&r!==null&&dI(t,r,s)}function dI(e,n,t){let r=e.localNames=[];for(let i=0;i<n.length;i+=2){let s=t[n[i+1]];if(s==null)throw new H(-301,!1);r.push(n[i],s)}}function fI(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function pI(e,n,t,r,i,s,a){let c=r.length,d=null;for(let b=0;b<c;b++){let v=r[b];d===null&&Jt(v)&&(d=v,fI(e,t,b)),Ju(Ma(t,n),e,v.type)}bI(t,e.data.length,c),d?.viewProvidersResolver&&d.viewProvidersResolver(d);for(let b=0;b<c;b++){let v=r[b];v.providersResolver&&v.providersResolver(v)}let p=!1,h=!1,g=Tg(e,n,c,null);c>0&&(t.directiveToIndex=new Map);for(let b=0;b<c;b++){let v=r[b];if(t.mergedAttrs=hi(t.mergedAttrs,v.hostAttrs),hI(e,t,n,g,v),vI(g,v,i),a!==null&&a.has(v)){let[N,k]=a.get(v);t.directiveToIndex.set(v.type,[g,N+t.directiveStart,k+t.directiveStart])}else(s===null||!s.has(v))&&t.directiveToIndex.set(v.type,g);v.contentQueries!==null&&(t.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(t.flags|=64);let D=v.type.prototype;!p&&(D.ngOnChanges||D.ngOnInit||D.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),p=!0),!h&&(D.ngOnChanges||D.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),h=!0),g++}mI(e,t,s)}function mI(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let i=e.data[r];if(t===null||!t.has(i))kh(0,n,i,r),kh(1,n,i,r),Ah(n,r,!1);else{let s=t.get(i);Nh(0,n,s,r),Nh(1,n,s,r),Ah(n,r,!0)}}}function kh(e,n,t,r){let i=e===0?t.inputs:t.outputs;for(let s in i)if(i.hasOwnProperty(s)){let a;e===0?a=n.inputs??={}:a=n.outputs??={},a[s]??=[],a[s].push(r),ty(n,s)}}function Nh(e,n,t,r){let i=e===0?t.inputs:t.outputs;for(let s in i)if(i.hasOwnProperty(s)){let a=i[s],c;e===0?c=n.hostDirectiveInputs??={}:c=n.hostDirectiveOutputs??={},c[a]??=[],c[a].push(r,s),ty(n,a)}}function ty(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Ah(e,n,t){let{attrs:r,inputs:i,hostDirectiveInputs:s}=e;if(r===null||!t&&i===null||t&&s===null||Id(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,c=0;for(;c<r.length;){let d=r[c];if(d===0){c+=4;continue}else if(d===5){c+=2;continue}else if(typeof d=="number")break;if(!t&&i.hasOwnProperty(d)){let p=i[d];for(let h of p)if(h===n){a??=[],a.push(d,r[c+1]);break}}else if(t&&s.hasOwnProperty(d)){let p=s[d];for(let h=0;h<p.length;h+=2)if(p[h]===n){a??=[],a.push(p[h+1],r[c+1]);break}}c+=2}e.initialInputs??=[],e.initialInputs.push(a)}function hI(e,n,t,r,i){e.data[r]=i;let s=i.factory||(i.factory=Pn(i.type,!0)),a=new Er(s,Jt(i),kt,null);e.blueprint[r]=a,t[r]=a,gI(e,n,r,Tg(e,t,i.hostVars,wt),i)}function gI(e,n,t,r,i){let s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~n.index;yI(a)!=c&&a.push(c),a.push(t,r,s)}}function yI(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function vI(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Jt(n)&&(t[""]=e)}}function bI(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function zd(e,n,t,r,i,s,a,c){let d=n[F],p=d.consts,h=xt(p,a),g=Di(d,e,t,r,h);return s&&ey(d,n,g,xt(p,c),i),g.mergedAttrs=hi(g.mergedAttrs,g.attrs),g.attrs!==null&&Oa(g,g.attrs,!1),g.mergedAttrs!==null&&Oa(g,g.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,g),g}function Wd(e,n){qh(e,n),yu(n)&&e.queries.elementEnd(n)}function _I(e,n,t,r,i,s){let a=n.consts,c=xt(a,i),d=Di(n,e,t,r,c);if(d.mergedAttrs=hi(d.mergedAttrs,d.attrs),s!=null){let p=xt(a,s);d.localNames=[];for(let h=0;h<p.length;h+=2)d.localNames.push(p[h],-1)}return d.attrs!==null&&Oa(d,d.attrs,!1),d.mergedAttrs!==null&&Oa(d,d.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,d),d}function Gd(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ka(e,n,t){return e[n]=t}function DI(e,n){return e[n]}function yt(e,n,t){if(t===wt)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Ra(e,n,t,r){let i=yt(e,n,t);return yt(e,n+1,r)||i}function wI(e,n,t,r,i){let s=Ra(e,n,t,r);return yt(e,n+2,i)||s}function CI(e,n,t,r,i,s){let a=Ra(e,n,t,r);return Ra(e,n+2,i,s)||a}function Ca(e,n,t){return function r(i){let s=Hn(e)?Mt(e.index,n):n;Vd(s,5);let a=n[Re],c=Oh(n,a,t,i),d=r.__ngNextListenerFn__;for(;d;)c=Oh(n,a,d,i)&&c,d=d.__ngNextListenerFn__;return c}}function Oh(e,n,t,r){let i=V(null);try{return ue(se.OutputStart,n,t),t(r)!==!1}catch(s){return BE(e,s),!1}finally{ue(se.OutputEnd,n,t),V(i)}}function ny(e,n,t,r,i,s,a,c){let d=li(e),p=!1,h=null;if(!r&&d&&(h=II(n,t,s,e.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,p=!0}else{let g=Bt(e,t),b=r?r(g):g;FC(t,b,s,c);let v=i.listen(b,s,c);if(!EI(s)){let D=r?N=>r(St(N[e.index])):e.index;ry(D,n,t,s,c,v,!1)}}return p}function EI(e){return e.startsWith("animation")||e.startsWith("transition")}function II(e,n,t,r){let i=e.cleanup;if(i!=null)for(let s=0;s<i.length-1;s+=2){let a=i[s];if(a===t&&i[s+1]===r){let c=n[si],d=i[s+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(s+=2)}return null}function ry(e,n,t,r,i,s,a){let c=n.firstCreatePass?Zm(n):null,d=qm(t),p=d.length;d.push(i,s),c&&c.push(r,e,p,(p+1)*(a?-1:1))}function Rh(e,n,t,r,i,s){let a=n[t],c=n[F],p=c.data[t].outputs[r],g=a[p].subscribe(s);ry(e.index,c,n,i,s,g,!0)}var ad=Symbol("BINDING");var ld=class extends kr{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=pr(n);return new Io(t,this.ngModule)}};function TI(e){return Object.keys(e).map(n=>{let[t,r,i]=e[n],s={propName:t,templateName:n,isSignal:(r&Wa.SignalBased)!==0};return i&&(s.transform=i),s})}function SI(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function MI(e,n,t){let r=n instanceof ct?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new sd(t,r):t}function xI(e){let n=e.get(Tr,null);if(n===null)throw new H(407,!1);let t=e.get(Xg,null),r=e.get(gn,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1}}function kI(e,n){let t=iy(e);return bg(n,t,t==="svg"?$m:t==="math"?zm:null)}function iy(e){return(e.selectors[0][0]||"div").toLowerCase()}var Io=class extends Za{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=TI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=SI(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=sE(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,i,s,a){ue(se.DynamicComponentStart);let c=V(null);try{let d=this.componentDef,p=NI(r,d,a,s),h=MI(d,i||this.ngModule,n),g=xI(h),b=g.rendererFactory.createRenderer(null,d),v=r?SE(b,r,d.encapsulation,h):kI(d,b),D=a?.some(Lh)||s?.some(x=>typeof x!="function"&&x.bindings.some(Lh)),N=Sd(null,p,null,512|Ig(d),null,null,g,b,h,null,mg(v,h,!0));N[Te]=v,ha(N);let k=null;try{let x=zd(Te,N,2,"#host",()=>p.directiveRegistry,!0,0);wg(b,v,x),gi(v,N),qa(p,N,x),Cd(p,x,N),Wd(p,x),t!==void 0&&OI(x,this.ngContentSelectors,t),k=Mt(x.index,N),N[Re]=k[Re],Bd(p,N,null)}catch(x){throw k!==null&&ed(k),ed(N),x}finally{ue(se.DynamicComponentEnd),ga()}return new La(this.componentType,N,!!D)}finally{V(c)}}};function NI(e,n,t,r){let i=e?["ng-version","21.1.4"]:aE(n.selectors[0]),s=null,a=null,c=0;if(t)for(let h of t)c+=h[ad].requiredVars,h.create&&(h.targetIdx=0,(s??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(r)for(let h=0;h<r.length;h++){let g=r[h];if(typeof g!="function")for(let b of g.bindings){c+=b[ad].requiredVars;let v=h+1;b.create&&(b.targetIdx=v,(s??=[]).push(b)),b.update&&(b.targetIdx=v,(a??=[]).push(b))}}let d=[n];if(r)for(let h of r){let g=typeof h=="function"?h:h.type,b=iu(g);d.push(b)}return Td(0,null,AI(s,a),1,c,d,null,null,null,[i],null)}function AI(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function Lh(e){let n=e[ad].kind;return n==="input"||n==="twoWay"}var La=class extends Jg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=go(t[F],Te),this.location=Ba(this._tNode,t),this.instance=Mt(this._tNode.index,t)[Re],this.hostView=this.changeDetectorRef=new Gn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let i=this._rootLView,s=jd(r,i[F],i,n,t);this.previousInputValues.set(n,t);let a=Mt(r.index,i);Vd(a,1)}get injector(){return new Cr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function OI(e,n,t){let r=e.projection=[];for(let i=0;i<n.length;i++){let s=t[i];r.push(s!=null&&s.length?Array.from(s):null)}}var Ja=(()=>{class e{static __NG_ELEMENT_ID__=RI}return e})();function RI(){let e=pt();return PI(e,G())}var LI=Ja,oy=class extends LI{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Ba(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){let n=_d(this._hostTNode,this._hostLView);if(Qh(n)){let t=Ta(n,this._hostLView),r=Ia(n),i=t[F].data[r+8];return new Cr(i,t)}else return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Ph(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(n,t,r){let i,s;typeof r=="number"?i=r:r!=null&&(i=r.index,s=r.injector);let a=Aa(this._lContainer,n.ssrId),c=n.createEmbeddedViewImpl(t||{},s,a);return this.insertImpl(c,i,yi(this._hostTNode,a)),c}createComponent(n,t,r,i,s,a,c){let d=n&&!uC(n),p;if(d)p=t;else{let k=t||{};p=k.index,r=k.injector,i=k.projectableNodes,s=k.environmentInjector||k.ngModuleRef,a=k.directives,c=k.bindings}let h=d?n:new Io(pr(n)),g=r||this.parentInjector;if(!s&&h.ngModule==null){let x=(d?g:this.parentInjector).get(ct,null);x&&(s=x)}let b=pr(h.componentType??{}),v=Aa(this._lContainer,b?.id??null),D=v?.firstChild??null,N=h.create(g,i,D,s,a,c);return this.insertImpl(N.hostView,p,yi(this._hostTNode,v)),N}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let i=n._lView;if(Wm(i)){let c=this.indexOf(n);if(c!==-1)this.detach(c);else{let d=i[Ye],p=new oy(d,d[dt],d[Ye]);p.detach(p.indexOf(n))}}let s=this._adjustIndex(t),a=this._lContainer;return Ro(a,i,s,r),n.attachToViewContainerRef(),lu(zu(a),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Ph(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Eo(this._lContainer,t);r&&(lo(zu(this._lContainer),t),Ga(r[F],r))}detach(n){let t=this._adjustIndex(n,-1),r=Eo(this._lContainer,t);return r&&lo(zu(this._lContainer),t)!=null?new Gn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ph(e){return e[mo]}function zu(e){return e[mo]||(e[mo]=[])}function PI(e,n){let t,r=n[e.index];return jt(r)?t=r:(t=Gg(r,n,null,e),n[e.index]=t,Md(n,t)),jI(t,n,e,r),new oy(t,e,n)}function FI(e,n){let t=e[he],r=t.createComment(""),i=Bt(n,e),s=t.parentNode(i);return Na(t,s,r,t.nextSibling(i),!1),r}var jI=HI,BI=()=>!1;function VI(e,n,t){return BI(e,n,t)}function HI(e,n,t,r){if(e[Vn])return;let i;t.type&8?i=St(r):i=FI(n,t),e[Vn]=i}var To=class{};var So=class extends To{injector;componentFactoryResolver=new ld(this);instance=null;constructor(n){super();let t=new dr([...n.providers,{provide:To,useValue:this},{provide:kr,useValue:this.componentFactoryResolver}],n.parent||fo(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function sy(e,n,t=null){return new So({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var UI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=du(!1,t.type),i=r.length>0?sy([r],this._injector,""):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=$({token:e,providedIn:"environment",factory:()=>new e(K(ct))})}return e})();function ae(e){return ko(()=>{let n=ay(e),t=gt(Ie({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Dd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(UI).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||lt,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&_i("NgStandalone"),ly(t);let r=e.dependencies;return t.directiveDefs=Fh(r,$I),t.pipeDefs=Fh(r,Nm),t.id=GI(t),t})}function $I(e){return pr(e)||iu(e)}function Nr(e){return ko(()=>({type:e.type,bootstrap:e.bootstrap||lt,declarations:e.declarations||lt,imports:e.imports||lt,exports:e.exports||lt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zI(e,n){if(e==null)return Bn;let t={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],s,a,c,d;Array.isArray(i)?(c=i[0],s=i[1],a=i[2]??s,d=i[3]||null):(s=i,a=i,c=Wa.None,d=null),t[s]=[r,c,d],n[s]=a}return t}function WI(e){if(e==null)return Bn;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function wi(e){return ko(()=>{let n=ay(e);return ly(n),n})}function Xa(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function ay(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Bn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||lt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:zI(e.inputs,n),outputs:WI(e.outputs),debugInfo:null}}function ly(e){e.features?.forEach(n=>n(e))}function Fh(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let i of t){let s=n(i);s!==null&&r.push(s)}return r}:null}function GI(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let s of r.join("|"))n=Math.imul(31,n)+s.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function YI(e){return Object.getPrototypeOf(e.prototype).constructor}function Ue(e){let n=YI(e.type),t=!0,r=[e];for(;n;){let i;if(Jt(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new H(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);let a=e;a.inputs=Wu(e.inputs),a.declaredInputs=Wu(e.declaredInputs),a.outputs=Wu(e.outputs);let c=i.hostBindings;c&&JI(e,c);let d=i.viewQuery,p=i.contentQueries;if(d&&QI(e,d),p&&KI(e,p),qI(e,i),km(e.outputs,i.outputs),Jt(i)&&i.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(i.data.animation)}}let s=i.features;if(s)for(let a=0;a<s.length;a++){let c=s[a];c&&c.ngInherit&&c(e),c===Ue&&(t=!1)}}n=Object.getPrototypeOf(n)}ZI(r)}function qI(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function ZI(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=hi(i.hostAttrs,t=hi(t,i.hostAttrs))}}function Wu(e){return e===Bn?{}:e===lt?[]:e}function QI(e,n){let t=e.viewQuery;t?e.viewQuery=(r,i)=>{n(r,i),t(r,i)}:e.viewQuery=n}function KI(e,n){let t=e.contentQueries;t?e.contentQueries=(r,i,s)=>{n(r,i,s),t(r,i,s)}:e.contentQueries=n}function JI(e,n){let t=e.hostBindings;t?e.hostBindings=(r,i)=>{n(r,i),t(r,i)}:e.hostBindings=n}function cy(e,n,t,r,i,s,a,c){if(t.firstCreatePass){e.mergedAttrs=hi(e.mergedAttrs,e.attrs);let h=e.tView=Td(2,e,i,s,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),h.queries=t.queries.embeddedTView(e))}c&&(e.flags|=c),di(e,!1);let d=eT(t,n,e,r);va()&&Od(t,n,d,e),gi(d,n);let p=Gg(d,n,d,e);n[r+Te]=p,Md(n,p),VI(p,e,n)}function XI(e,n,t,r,i,s,a,c,d,p,h){let g=t+Te,b;return n.firstCreatePass?(b=Di(n,g,4,a||null,c||null),pa()&&ey(n,e,b,xt(n.consts,p),Ld),qh(n,b)):b=n.data[g],cy(b,e,n,t,r,i,s,d),li(b)&&qa(n,e,b),p!=null&&Ao(e,b,h),b}function Mo(e,n,t,r,i,s,a,c,d,p,h){let g=t+Te,b;if(n.firstCreatePass){if(b=Di(n,g,4,a||null,c||null),p!=null){let v=xt(n.consts,p);b.localNames=[];for(let D=0;D<v.length;D+=2)b.localNames.push(v[D],-1)}}else b=n.data[g];return cy(b,e,n,t,r,i,s,d),p!=null&&Ao(e,b,h),b}function Nt(e,n,t,r,i,s,a,c){let d=G(),p=He(),h=xt(p.consts,s);return XI(d,p,e,n,t,r,i,h,void 0,a,c),Nt}var eT=tT;function tT(e,n,t,r){return vo(!0),n[he].createComment("")}function Yd(e){return typeof e=="function"&&e[it]!==void 0}var qd=new z("");function el(e){return!!e&&typeof e.then=="function"}function Zd(e){return!!e&&typeof e.subscribe=="function"}var uy=new z("");var Qd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=A(uy,{optional:!0})??[];injector=A(Zt);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let i of this.appInits){let s=oi(this.injector,i);if(el(s))t.push(s);else if(Zd(s)){let a=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});t.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dy=new z("");function fy(){wc(()=>{let e="";throw new H(600,e)})}function py(e){return e.isBoundToModule}var nT=10;var Ci=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=A(zn);afterRenderManager=A(Mg);zonelessEnabled=A(bo);rootEffectScheduler=A(Vu);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new nt;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=A(wr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(st(t=>!t))}constructor(){A(xr,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=A(ct);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,i=Zt.NULL){return this._injector.get(ut).run(()=>{ue(se.BootstrapComponentStart);let a=t instanceof Za;if(!this._injector.get(Qd).done){let D="";throw new H(405,D)}let d;a?d=t:d=this._injector.get(kr).resolveComponentFactory(t),this.componentTypes.push(d.componentType);let p=py(d)?void 0:this._injector.get(To),h=r||d.selector,g=d.create(i,[],h,p),b=g.location.nativeElement,v=g.injector.get(qd,null);return v?.registerApplication(b),g.onDestroy(()=>{this.detachView(g.hostView),wo(this.components,g),v?.unregisterApplication(b)}),this._loadComponent(g),ue(se.BootstrapComponentEnd,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ue(se.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(kd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw ue(se.ChangeDetectionEnd),new H(101,!1);let t=V(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,V(t),this.afterTick.next(),ue(se.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Tr,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<nT;){ue(se.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{ue(se.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews){if(!r&&!ui(i))continue;let s=r&&!this.zonelessEnabled?0:1;Ug(i,s),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>ui(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;wo(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(t),this._injector.get(dy,[]).forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>wo(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new H(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wo(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function _n(e,n,t,r){let i=G(),s=Un();if(yt(i,s,n)){let a=He(),c=ya();PE(c,i,e,n,t,r)}return _n}var gL=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var cd=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),i=Math.max(n,t),s=this.detach(i);if(i-r>1){let a=this.detach(r);this.attach(r,s),this.attach(i,a)}else this.attach(r,s)}move(n,t){this.attach(t,this.detach(n))}};function Gu(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function rT(e,n,t,r){let i,s,a=0,c=e.length-1,d=void 0;if(Array.isArray(n)){V(r);let p=n.length-1;for(V(null);a<=c&&a<=p;){let h=e.at(a),g=n[a],b=Gu(a,h,a,g,t);if(b!==0){b<0&&e.updateValue(a,g),a++;continue}let v=e.at(c),D=n[p],N=Gu(c,v,p,D,t);if(N!==0){N<0&&e.updateValue(c,D),c--,p--;continue}let k=t(a,h),x=t(c,v),ne=t(a,g);if(Object.is(ne,x)){let ze=t(p,D);Object.is(ze,k)?(e.swap(a,c),e.updateValue(c,D),p--,c--):e.move(c,a),e.updateValue(a,g),a++;continue}if(i??=new Pa,s??=Bh(e,a,c,t),ud(e,i,a,ne))e.updateValue(a,g),a++,c++;else if(s.has(ne))i.set(k,e.detach(a)),c--;else{let ze=e.create(a,n[a]);e.attach(a,ze),a++,c++}}for(;a<=p;)jh(e,i,t,a,n[a]),a++}else if(n!=null){V(r);let p=n[Symbol.iterator]();V(null);let h=p.next();for(;!h.done&&a<=c;){let g=e.at(a),b=h.value,v=Gu(a,g,a,b,t);if(v!==0)v<0&&e.updateValue(a,b),a++,h=p.next();else{i??=new Pa,s??=Bh(e,a,c,t);let D=t(a,b);if(ud(e,i,a,D))e.updateValue(a,b),a++,c++,h=p.next();else if(!s.has(D))e.attach(a,e.create(a,b)),a++,c++,h=p.next();else{let N=t(a,g);i.set(N,e.detach(a)),c--}}}for(;!h.done;)jh(e,i,t,e.length,h.value),h=p.next()}for(;a<=c;)e.destroy(e.detach(c--));i?.forEach(p=>{e.destroy(p)})}function ud(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function jh(e,n,t,r,i){if(ud(e,n,r,t(r,i)))e.updateValue(r,i);else{let s=e.create(r,i);e.attach(r,s)}}function Bh(e,n,t,r){let i=new Set;for(let s=n;s<=t;s++)i.add(r(s,e.at(s)));return i}var Pa=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}};function _e(e,n,t,r,i,s,a,c){_i("NgControlFlow");let d=G(),p=He(),h=xt(p.consts,s);return Mo(d,p,e,n,t,r,i,h,256,a,c),Kd}function Kd(e,n,t,r,i,s,a,c){_i("NgControlFlow");let d=G(),p=He(),h=xt(p.consts,s);return Mo(d,p,e,n,t,r,i,h,512,a,c),Kd}function De(e,n){_i("NgControlFlow");let t=G(),r=Un(),i=t[r]!==wt?t[r]:-1,s=i!==-1?Fa(t,Te+i):void 0,a=0;if(yt(t,r,e)){let c=V(null);try{if(s!==void 0&&qg(s,a),e!==-1){let d=Te+e,p=Fa(t,d),h=md(t[F],d),g=Kg(p,h,t),b=Oo(t,h,n,{dehydratedView:g});Ro(p,b,a,yi(h,g))}}finally{V(c)}}else if(s!==void 0){let c=Yg(s,a);c!==void 0&&(c[Re]=n)}}var dd=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Le}};function qe(e,n){return n}var fd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function Pe(e,n,t,r,i,s,a,c,d,p,h,g,b){_i("NgControlFlow");let v=G(),D=He(),N=d!==void 0,k=G(),x=c?a.bind(k[ft][Re]):a,ne=new fd(N,x);k[Te+e]=ne,Mo(v,D,e+1,n,t,r,i,xt(D.consts,s),256),N&&Mo(v,D,e+2,d,p,h,g,xt(D.consts,b),512)}var pd=class extends cd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Le}at(n){return this.getLView(n)[Re].$implicit}attach(n,t){let r=t[mr];this.needsIndexUpdate||=n!==this.length,Ro(this.lContainer,t,n,yi(this.templateTNode,r)),iT(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,oT(this.lContainer,n),sT(this.lContainer,n)}create(n,t){let r=Aa(this.lContainer,this.templateTNode.tView.ssrId);return Oo(this.hostLView,this.templateTNode,new dd(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Ga(n[F],n)}updateValue(n,t){this.getLView(n)[Re].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Re].$index=n}getLView(n){return aT(this.lContainer,n)}};function Fe(e){let n=V(null),t=bn();try{let r=G(),i=r[F],s=r[t],a=t+1,c=Fa(r,a);if(s.liveCollection===void 0){let p=md(i,a);s.liveCollection=new pd(c,r,p)}else s.liveCollection.reset();let d=s.liveCollection;if(rT(d,e,s.trackByFn,n),d.updateIndexes(),s.hasEmptyBlock){let p=Un(),h=d.length===0;if(yt(r,p,h)){let g=t+2,b=Fa(r,g);if(h){let v=md(i,g),D=Kg(b,v,r),N=Oo(r,v,void 0,{dehydratedView:D});Ro(b,N,0,yi(v,D))}else i.firstUpdatePass&&sI(b),qg(b,0)}}}finally{V(n)}}function Fa(e,n){return e[n]}function iT(e,n){if(e.length<=Le)return;let t=Le+n,r=e[t],i=r?r[br]:void 0;if(r&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0){let s=r[yn];fE(s,i),Ir.delete(r[vn]),i.detachedLeaveAnimationFns=void 0}}function oT(e,n){if(e.length<=Le)return;let t=Le+n,r=e[t],i=r?r[br]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[])}function sT(e,n){return Eo(e,n)}function aT(e,n){return Yg(e,n)}function md(e,n){return go(e,n)}function T(e,n,t){let r=G(),i=Un();if(yt(r,i,n)){let s=He(),a=ya();NE(a,r,e,n,r[he],t)}return T}function hd(e,n,t,r,i){jd(n,e,t,i?"class":"style",r)}function C(e,n,t,r){let i=G(),s=i[F],a=e+Te,c=s.firstCreatePass?zd(a,i,2,n,Ld,pa(),t,r):s.data[a];if(Pd(c,i,e,n,my),li(c)){let d=i[F];qa(d,i,c),Cd(d,c,i)}return r!=null&&Ao(i,c),C}function M(){let e=He(),n=pt(),t=Fd(n);return e.firstCreatePass&&Wd(e,t),Iu(t)&&Tu(),Cu(),t.classesWithoutHost!=null&&gC(t)&&hd(e,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yC(t)&&hd(e,t,G(),t.stylesWithoutHost,!1),M}function te(e,n,t,r){return C(e,n,t,r),M(),te}function Dn(e,n,t,r){let i=G(),s=i[F],a=e+Te,c=s.firstCreatePass?_I(a,s,2,n,t,r):s.data[a];return Pd(c,i,e,n,my),r!=null&&Ao(i,c),Dn}function wn(){let e=pt(),n=Fd(e);return Iu(n)&&Tu(),Cu(),wn}function tl(e,n,t,r){return Dn(e,n,t,r),wn(),tl}var my=(e,n,t,r,i)=>(vo(!0),bg(n[he],r,ch()));function Jd(e,n,t){let r=G(),i=r[F],s=e+Te,a=i.firstCreatePass?zd(s,r,8,"ng-container",Ld,pa(),n,t):i.data[s];if(Pd(a,r,e,"ng-container",lT),li(a)){let c=r[F];qa(c,r,a),Cd(c,a,r)}return t!=null&&Ao(r,a),Jd}function Xd(){let e=He(),n=pt(),t=Fd(n);return e.firstCreatePass&&Wd(e,t),Xd}function en(e,n,t){return Jd(e,n,t),Xd(),en}var lT=(e,n,t,r,i)=>(vo(!0),GC(n[he],""));function we(){return G()}function nl(e,n,t){let r=G(),i=Un();if(yt(r,i,n)){let s=He(),a=ya();Pg(a,r,e,n,r[he],t)}return nl}var Lo="en-US";var cT=Lo;function hy(e){typeof e=="string"&&(cT=e.toLowerCase().replace(/_/g,"-"))}function P(e,n,t){let r=G(),i=He(),s=pt();return uT(i,r,r[he],s,e,n,t),P}function rl(e,n,t){let r=G(),i=He(),s=pt();return(s.type&3||t)&&ny(s,i,r,t,r[he],e,n,Ca(s,r,n)),rl}function uT(e,n,t,r,i,s,a){let c=!0,d=null;if((r.type&3||a)&&(d??=Ca(r,n,s),ny(r,e,n,a,t,i,s,d)&&(c=!1)),c){let p=r.outputs?.[i],h=r.hostDirectiveOutputs?.[i];if(h&&h.length)for(let g=0;g<h.length;g+=2){let b=h[g],v=h[g+1];d??=Ca(r,n,s),Rh(r,n,b,v,i,d)}if(p&&p.length)for(let g of p)d??=Ca(r,n,s),Rh(r,n,g,i,i,d)}}function E(e=1){return lh(e)}function dT(e,n){let t=null,r=tE(e);for(let i=0;i<n.length;i++){let s=n[i];if(s==="*"){t=i;continue}if(r===null?Eg(e,s,!0):iE(r,s))return i}return t}function ef(e){let n=G()[ft][dt];if(!n.projection){let t=e?e.length:1,r=n.projection=Lm(t,null),i=r.slice(),s=n.child;for(;s!==null;){if(s.type!==128){let a=e?dT(s,e):0;a!==null&&(i[a]?i[a].projectionNext=s:r[a]=s,i[a]=s)}s=s.next}}}function tf(e,n=0,t,r,i,s){let a=G(),c=He(),d=r?e+1:null;d!==null&&Mo(a,c,d,r,i,s,null,t);let p=Di(c,Te+e,16,null,t||null);p.projection===null&&(p.projection=n),xu();let g=!a[mr]||Eu();a[ft][dt].projection[p.projection]===null&&d!==null?fT(a,c,d):g&&!$a(p)&&EE(c,a,p)}function fT(e,n,t){let r=Te+t,i=n.data[r],s=e[r],a=Aa(s,i.tView.ssrId),c=Oo(e,i,void 0,{dehydratedView:a});Ro(s,c,0,yi(i,a))}function Cn(e){let n=Xm();return bu(n,Te+e)}function ba(e,n){return e<<17|n<<2}function Sr(e){return e>>17&32767}function pT(e){return(e&2)==2}function mT(e,n){return e&131071|n<<17}function gd(e){return e|2}function vi(e){return(e&131068)>>2}function Yu(e,n){return e&-131069|n<<2}function hT(e){return(e&1)===1}function yd(e){return e|1}function gT(e,n,t,r,i,s){let a=s?n.classBindings:n.styleBindings,c=Sr(a),d=vi(a);e[r]=t;let p=!1,h;if(Array.isArray(t)){let g=t;h=g[1],(h===null||ii(g,h)>0)&&(p=!0)}else h=t;if(i)if(d!==0){let b=Sr(e[c+1]);e[r+1]=ba(b,c),b!==0&&(e[b+1]=Yu(e[b+1],r)),e[c+1]=mT(e[c+1],r)}else e[r+1]=ba(c,0),c!==0&&(e[c+1]=Yu(e[c+1],r)),c=r;else e[r+1]=ba(d,0),c===0?c=r:e[d+1]=Yu(e[d+1],r),d=r;p&&(e[r+1]=gd(e[r+1])),Vh(e,h,r,!0),Vh(e,h,r,!1),yT(n,h,e,r,s),a=ba(c,d),s?n.classBindings=a:n.styleBindings=a}function yT(e,n,t,r,i){let s=i?e.residualClasses:e.residualStyles;s!=null&&typeof n=="string"&&ii(s,n)>=0&&(t[r+1]=yd(t[r+1]))}function Vh(e,n,t,r){let i=e[t+1],s=n===null,a=r?Sr(i):vi(i),c=!1;for(;a!==0&&(c===!1||s);){let d=e[a],p=e[a+1];vT(d,n)&&(c=!0,e[a+1]=r?yd(p):gd(p)),a=r?Sr(p):vi(p)}c&&(e[t+1]=r?gd(i):yd(i))}function vT(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?ii(e,n)>=0:!1}var Ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function bT(e){return e.substring(Ht.key,Ht.keyEnd)}function _T(e){return DT(e),gy(e,yy(e,0,Ht.textEnd))}function gy(e,n){let t=Ht.textEnd;return t===n?-1:(n=Ht.keyEnd=wT(e,Ht.key=n,t),yy(e,n,t))}function DT(e){Ht.key=0,Ht.keyEnd=0,Ht.value=0,Ht.valueEnd=0,Ht.textEnd=e.length}function yy(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function wT(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function qn(e,n,t){return vy(e,n,t,!1),qn}function il(e,n){return vy(e,n,null,!0),il}function nf(e){ET(kT,CT,e,!0)}function CT(e,n){for(let t=_T(n);t>=0;t=gy(n,t))oa(e,bT(n),!0)}function vy(e,n,t,r){let i=G(),s=He(),a=Au(2);if(s.firstUpdatePass&&_y(s,e,a,r),n!==wt&&yt(i,a,n)){let c=s.data[bn()];Dy(s,c,i,i[he],e,i[a+1]=AT(n,t),r,a)}}function ET(e,n,t,r){let i=He(),s=Au(2);i.firstUpdatePass&&_y(i,null,s,r);let a=G();if(t!==wt&&yt(a,s,t)){let c=i.data[bn()];if(wy(c,r)&&!by(i,s)){let d=r?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(t=Xs(d,t||"")),hd(i,c,a,t,r)}else NT(i,c,a,a[he],a[s+1],a[s+1]=xT(e,n,t),r,s)}}function by(e,n){return n>=e.expandoStartIndex}function _y(e,n,t,r){let i=e.data;if(i[t+1]===null){let s=i[bn()],a=by(e,t);wy(s,r)&&n===null&&!a&&(n=!1),n=IT(i,s,n,r),gT(i,s,n,t,a,r)}}function IT(e,n,t,r){let i=ih(e),s=r?n.residualClasses:n.residualStyles;if(i===null)(r?n.classBindings:n.styleBindings)===0&&(t=qu(null,e,n,t,r),t=xo(t,n.attrs,r),s=null);else{let a=n.directiveStylingLast;if(a===-1||e[a]!==i)if(t=qu(i,e,n,t,r),s===null){let d=TT(e,n,r);d!==void 0&&Array.isArray(d)&&(d=qu(null,e,n,d[1],r),d=xo(d,n.attrs,r),ST(e,n,r,d))}else s=MT(e,n,r)}return s!==void 0&&(r?n.residualClasses=s:n.residualStyles=s),t}function TT(e,n,t){let r=t?n.classBindings:n.styleBindings;if(vi(r)!==0)return e[Sr(r)]}function ST(e,n,t,r){let i=t?n.classBindings:n.styleBindings;e[Sr(i)]=r}function MT(e,n,t){let r,i=n.directiveEnd;for(let s=1+n.directiveStylingLast;s<i;s++){let a=e[s].hostAttrs;r=xo(r,a,t)}return xo(r,n.attrs,t)}function qu(e,n,t,r,i){let s=null,a=t.directiveEnd,c=t.directiveStylingLast;for(c===-1?c=t.directiveStart:c++;c<a&&(s=n[c],r=xo(r,s.hostAttrs,i),s!==e);)c++;return e!==null&&(t.directiveStylingLast=c),r}function xo(e,n,t){let r=t?1:2,i=-1;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];typeof a=="number"?i=a:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),oa(e,a,t?!0:n[++s]))}return e===void 0?null:e}function xT(e,n,t){if(t==null||t==="")return lt;let r=[],i=za(t);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if(i instanceof Set)for(let s of i)e(r,s,!0);else if(typeof i=="object")for(let s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else typeof i=="string"&&n(r,i);return r}function kT(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&oa(e,r,t)}function NT(e,n,t,r,i,s,a,c){i===wt&&(i=lt);let d=0,p=0,h=0<i.length?i[0]:null,g=0<s.length?s[0]:null;for(;h!==null||g!==null;){let b=d<i.length?i[d+1]:void 0,v=p<s.length?s[p+1]:void 0,D=null,N;h===g?(d+=2,p+=2,b!==v&&(D=g,N=v)):g===null||h!==null&&h<g?(d+=2,D=h):(p+=2,D=g,N=v),D!==null&&Dy(e,n,t,r,D,N,a,c),h=d<i.length?i[d]:null,g=p<s.length?s[p]:null}}function Dy(e,n,t,r,i,s,a,c){if(!(n.type&3))return;let d=e.data,p=d[c+1],h=hT(p)?Hh(d,n,t,i,vi(p),a):void 0;if(!ja(h)){ja(s)||pT(p)&&(s=Hh(d,null,t,i,c,a));let g=vu(bn(),t);TE(r,a,g,i,s)}}function Hh(e,n,t,r,i,s){let a=n===null,c;for(;i>0;){let d=e[i],p=Array.isArray(d),h=p?d[1]:d,g=h===null,b=t[i+1];b===wt&&(b=g?lt:void 0);let v=g?sa(b,r):h===r?b:void 0;if(p&&!ja(v)&&(v=sa(d,r)),ja(v)&&(c=v,a))return c;let D=e[i+1];i=a?Sr(D):vi(D)}if(n!==null){let d=s?n.residualClasses:n.residualStyles;d!=null&&(c=sa(d,r))}return c}function ja(e){return e!==void 0}function AT(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Ln(za(e)))),e}function wy(e,n){return(e.flags&(n?8:16))!==0}function Z(e,n=""){let t=G(),r=He(),i=e+Te,s=r.firstCreatePass?Di(r,i,1,n,null):r.data[i],a=OT(r,t,s,n);t[i]=a,va()&&Od(r,t,a,s),di(s,!1)}var OT=(e,n,t,r)=>(vo(!0),zC(n[he],r));function RT(e,n,t,r=""){return yt(e,Un(),t)?n+ao(t)+r:wt}function Xe(e){return Ce("",e),Xe}function Ce(e,n,t){let r=G(),i=RT(r,e,n,t);return i!==wt&&LT(r,bn(),i),Ce}function LT(e,n,t){let r=vu(n,e);WC(e[he],r,t)}function de(e){return yt(G(),Un(),e)?ao(e):wt}function Uh(e,n,t){let r=He();r.firstCreatePass&&Cy(n,r.data,r.blueprint,Jt(e),t)}function Cy(e,n,t,r,i){if(e=Je(e),Array.isArray(e))for(let s=0;s<e.length;s++)Cy(e[s],n,t,r,i);else{let s=He(),a=G(),c=pt(),d=ur(e)?e:Je(e.provide),p=pu(e),h=c.providerIndexes&1048575,g=c.directiveStart,b=c.providerIndexes>>20;if(ur(e)||!e.multi){let v=new Er(p,i,kt,null),D=Qu(d,n,i?h:h+b,g);D===-1?(Ju(Ma(c,a),s,d),Zu(s,e,n.length),n.push(d),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(v),a.push(v)):(t[D]=v,a[D]=v)}else{let v=Qu(d,n,h+b,g),D=Qu(d,n,h,h+b),N=v>=0&&t[v],k=D>=0&&t[D];if(i&&!k||!i&&!N){Ju(Ma(c,a),s,d);let x=jT(i?FT:PT,t.length,i,r,p,e);!i&&k&&(t[D].providerFactory=x),Zu(s,e,n.length,0),n.push(d),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(x),a.push(x)}else{let x=Ey(t[i?D:v],p,!i&&r);Zu(s,e,v>-1?v:D,x)}!i&&r&&k&&t[D].componentProviders++}}}function Zu(e,n,t,r){let i=ur(n),s=Vm(n);if(i||s){let d=(s?Je(n.useClass):n).prototype.ngOnDestroy;if(d){let p=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){let h=p.indexOf(t);h===-1?p.push(t,[r,d]):p[h+1].push(r,d)}else p.push(t,d)}}}function Ey(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Qu(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function PT(e,n,t,r,i){return vd(this.multi,[])}function FT(e,n,t,r,i){let s=this.multi,a;if(this.providerFactory){let c=this.providerFactory.componentProviders,d=xa(r,r[F],this.providerFactory.index,i);a=d.slice(0,c),vd(s,a);for(let p=c;p<d.length;p++)a.push(d[p])}else a=[],vd(s,a);return a}function vd(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function jT(e,n,t,r,i,s){let a=new Er(e,t,kt,null);return a.multi=[],a.index=n,a.componentProviders=0,Ey(a,i,r&&!t),a}function je(e,n){return t=>{t.providersResolver=(r,i)=>Uh(r,i?i(e):e,!1),n&&(t.viewProvidersResolver=(r,i)=>Uh(r,i?i(n):n,!0))}}function ht(e,n,t){return Iy(G(),fi(),e,n,t)}function Ar(e,n,t,r){return BT(G(),fi(),e,n,t,r)}function En(e,n,t,r,i){return VT(G(),fi(),e,n,t,r,i)}function rf(e,n,t,r,i,s,a){let c=fi()+e,d=G(),p=CI(d,c,t,r,i,s);return yt(d,c+4,a)||p?Ka(d,c+5,n(t,r,i,s,a)):DI(d,c+5)}function of(e,n){let t=e[n];return t===wt?void 0:t}function Iy(e,n,t,r,i,s){let a=n+t;return yt(e,a,i)?Ka(e,a+1,s?r.call(s,i):r(i)):of(e,a+1)}function BT(e,n,t,r,i,s,a){let c=n+t;return Ra(e,c,i,s)?Ka(e,c+2,a?r.call(a,i,s):r(i,s)):of(e,c+2)}function VT(e,n,t,r,i,s,a,c){let d=n+t;return wI(e,d,i,s,a)?Ka(e,d+3,c?r.call(c,i,s,a):r(i,s,a)):of(e,d+3)}function ge(e,n){let t=He(),r,i=e+Te;t.firstCreatePass?(r=HT(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];let s=r.factory||(r.factory=Pn(r.type,!0)),a,c=at(kt);try{let d=Sa(!1),p=s();return Sa(d),_u(t,G(),i,p),p}finally{at(c)}}function HT(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function ye(e,n,t){let r=e+Te,i=G(),s=bu(i,r);return UT(i,r)?Iy(i,fi(),n,s.transform,t,s):s.transform(t)}function UT(e,n){return e[F].data[n].pure}function Ei(e,n){return Qg(e,n)}var Ty=(()=>{class e{applicationErrorHandler=A(zn);appRef=A(Ci);taskService=A(wr);ngZone=A(ut);zonelessEnabled=A(bo);tracing=A(xr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ot;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(io):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(A(Bu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?mh:Pu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(io+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 t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sy(){return[{provide:gn,useExisting:Ty},{provide:ut,useClass:oo},{provide:bo,useValue:!0}]}function $T(){return typeof $localize<"u"&&$localize.locale||Lo}var ol=new z("",{factory:()=>A(ol,{optional:!0,skipSelf:!0})||$T()});function sl(e,n){return Ds(e,n?.equal)}var ky=Symbol("InputSignalNode#UNSET"),iS=gt(Ie({},ws),{transformFn:void 0,applyValueToInputSignal(e,n){Ki(e,n)}});function Ny(e,n){let t=Object.create(iS);t.value=e,t.transformFn=n?.transform;function r(){if(qi(t),t.value===ky){let i=null;throw new H(-950,i)}return t.value}return r[it]=t,r}function My(e,n){return Ny(e,n)}function oS(e){return Ny(ky,e)}var Fo=(My.required=oS,My);var sf=new z(""),sS=new z("");function Po(e){return!e.moduleRef}function aS(e){let n=Po(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ut);return t.run(()=>{Po(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(zn),i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:r})}),Po(e)){let s=()=>n.destroy(),a=e.platformInjector.get(sf);a.add(s),n.onDestroy(()=>{i.unsubscribe(),a.delete(s)})}else{let s=()=>e.moduleRef.destroy(),a=e.platformInjector.get(sf);a.add(s),e.moduleRef.onDestroy(()=>{wo(e.allPlatformModules,e.moduleRef),i.unsubscribe(),a.delete(s)})}return cS(r,t,()=>{let s=n.get(wr),a=s.add(),c=n.get(Qd);return c.runInitializers(),c.donePromise.then(()=>{let d=n.get(ol,Lo);if(hy(d||Lo),!n.get(sS,!0))return Po(e)?n.get(Ci):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Po(e)){let h=n.get(Ci);return e.rootComponent!==void 0&&h.bootstrap(e.rootComponent),h}else return lS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{s.remove(a)})})})}var lS;function cS(e,n,t){try{let r=t();return el(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var al=null;function uS(e=[],n){return Zt.create({name:n,providers:[{provide:uo,useValue:"platform"},{provide:sf,useValue:new Set([()=>al=null])},...e]})}function dS(e=[]){if(al)return al;let n=uS(e);return al=n,fy(),fS(n),n}function fS(e){let n=e.get(Ha,null);oi(e,()=>{n?.forEach(t=>t())})}var pS=1e4;var UV=pS-1e3;var uf=(()=>{class e{static __NG_ELEMENT_ID__=mS}return e})();function mS(e){return hS(pt(),G(),(e&16)===16)}function hS(e,n,t){if(Hn(e)&&!t){let r=Mt(e.index,n);return new Gn(r,r)}else if(e.type&175){let r=n[ft];return new Gn(r,n)}return null}var af=class{supports(n){return n instanceof Map||Gd(n)}create(){return new lf}},lf=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Gd(n)))throw new H(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let s=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,s)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let i=this._records.get(n);this._maybeAddToChanges(i,t);let s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}let r=new cf(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_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,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,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,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},cf=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function xy(){return new df([new af])}var df=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:xy});factories;constructor(t){this.factories=t}static create(t,r){if(r){let i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=A(e,{optional:!0,skipSelf:!0});return e.create(t,r||xy())}}}find(t){let r=this.factories.find(i=>i.supports(t));if(r)return r;throw new H(901,!1)}}return e})();function Ay(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:i}=e;ue(se.BootstrapApplicationStart);try{let s=i?.injector??dS(r),a=[Sy(),gh,...t||[]],c=new So({providers:a,parent:s,debugName:"",runEnvironmentInitializers:!1});return aS({r3Injector:c.injector,platformInjector:s,rootComponent:n})}catch(s){return Promise.reject(s)}finally{ue(se.BootstrapApplicationEnd)}}function I(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var gS={schedule(e,n){let t=setTimeout(e,n);return()=>clearTimeout(t)}};function yS(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function vS(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var ff;function bS(e,n){if(!ff){let t=Element.prototype;ff=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?ff.call(e,n):!1}function _S(e){let n={};return e.forEach(({propName:t,templateName:r,transform:i})=>{n[yS(r)]=[t,i]}),n}function DS(e,n){return n.get(kr).resolveComponentFactory(e).inputs}function wS(e,n){let t=e.childNodes,r=n.map(()=>[]),i=-1;n.some((s,a)=>s==="*"?(i=a,!0):!1);for(let s=0,a=t.length;s<a;++s){let c=t[s],d=CS(c,n,i);d!==-1&&r[d].push(c)}return r}function CS(e,n,t){let r=t;return vS(e)&&n.some((i,s)=>i!=="*"&&bS(e,i)?(r=s,!0):!1),r}var ES=10,pf=class{componentFactory;inputMap=new Map;constructor(n,t){this.componentFactory=t.get(kr).resolveComponentFactory(n);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(n){return new mf(this.componentFactory,n,this.inputMap)}},mf=class{componentFactory;injector;inputMap;eventEmitters=new An(1);events=this.eventEmitters.pipe(Rn(n=>Oc(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,t,r){this.componentFactory=n,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get(ut),this.appRef=this.injector.get(Ci),this.cdScheduler=t.get(gn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=gS.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},ES))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t){if(this.componentRef===null){this.initialInputValues.set(n,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,t),Hd(this.componentRef.hostView)&&(Ud(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let t=Zt.create({providers:[],parent:this.injector}),r=wS(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[n,t]of this.initialInputValues)this.setInputValue(n,t);this.initialInputValues.clear()}initializeOutputs(n){let t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>{let s=n.instance[r];return new re(a=>{let c=s.subscribe(d=>a.next({name:i,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(t)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},hf=class extends HTMLElement{ngElementEventsSubscription=null};function vt(e,n){let t=DS(e,n.injector),r=n.strategyFactory||new pf(e,n.injector),i=_S(t);class s extends hf{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=r.create(this.injector||n.injector);t.forEach(({propName:d,transform:p})=>{if(!this.hasOwnProperty(d))return;let h=this[d];delete this[d],c.setInputValue(d,h,p)})}return this._ngElementStrategy}_ngElementStrategy;constructor(c){super(),this.injector=c}attributeChangedCallback(c,d,p,h){let[g,b]=i[c];this.ngElementStrategy.setInputValue(g,p,b)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return t.forEach(({propName:a,transform:c,isSignal:d})=>{Object.defineProperty(s.prototype,a,{get(){let p=this.ngElementStrategy.getInputValue(a);return d&&Yd(p)?p():p},set(p){this.ngElementStrategy.setInputValue(a,p,c)},configurable:!0,enumerable:!0})}),s}var Oy=null;function Zn(){return Oy}function gf(e){Oy??=e}var jo=class{},ll=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:()=>A(Ry),providedIn:"platform"})}return e})();var Ry=(()=>{class e extends ll{_location;_history;_doc=A(mt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zn().getBaseHref(this._doc)}onPopState(t){let r=Zn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Zn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:()=>new e,providedIn:"platform"})}return e})();var yf=/\s+/,Ly=[],Be=(()=>{class e{_ngEl;_renderer;initialClasses=Ly;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(yf):Ly}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(yf):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let i=this.stateMap.get(t);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(yf).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||e)(kt(Yn),kt(Qa))};static \u0275dir=wi({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var vf=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,i){this._ngEl=t,this._differs=r,this._renderer=i}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[i,s]=t.split("."),a=i.indexOf("-")===-1?void 0:$t.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${r}${s}`:r,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(kt(Yn),kt(df),kt(Qa))};static \u0275dir=wi({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Bo=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||e)(kt(Ja))};static \u0275dir=wi({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[zt]})}return e})();var Ne=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nr({type:e});static \u0275inj=jn({})}return e})();function Vo(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[i,s]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(s)}return null}var Or=class{};var Py="browser";var Ho=class{_doc;constructor(n){this._doc=n}manager},cl=(()=>{class e extends Ho{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i,s){return t.addEventListener(r,i,s),()=>this.removeEventListener(t,r,i,s)}removeEventListener(t,r,i,s){return t.removeEventListener(r,i,s)}static \u0275fac=function(r){return new(r||e)(K(mt))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),fl=new z(""),wf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(a=>{a.manager=this});let i=t.filter(a=>!(a instanceof cl));this._plugins=i.slice().reverse();let s=t.find(a=>a instanceof cl);s&&this._plugins.push(s)}addEventListener(t,r,i,s){return this._findPluginFor(r).addEventListener(t,r,i,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(s=>s.supports(t)),!r)throw new H(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(K(fl),K(ut))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),bf="ng-app-id";function Fy(e){for(let n of e)n.remove()}function jy(e,n){let t=n.createElement("style");return t.textContent=e,t}function TS(e,n,t,r){let i=e.head?.querySelectorAll(`style[${bf}="${n}"],link[${bf}="${n}"]`);if(i)for(let s of i)s.removeAttribute(bf),s instanceof HTMLLinkElement?r.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&t.set(s.textContent,{usage:0,elements:[s]})}function Df(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Cf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,i,s={}){this.doc=t,this.appId=r,this.nonce=i,TS(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let i of t)this.addUsage(i,this.inline,jy);r?.forEach(i=>this.addUsage(i,this.external,Df))}removeStyles(t,r){for(let i of t)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(t,r,i){let s=r.get(t);s?s.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,i(t,this.doc)))})}removeUsage(t,r){let i=r.get(t);i&&(i.usage--,i.usage<=0&&(Fy(i.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Fy(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(t,jy(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(t,Df(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(K(mt),K(Va),K(Ua,8),K(No))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),_f={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"},Ef=/%COMP%/g;var Vy="%COMP%",SS=`_nghost-${Vy}`,MS=`_ngcontent-${Vy}`,xS=!0,kS=new z("",{factory:()=>xS});function NS(e){return MS.replace(Ef,e)}function AS(e){return SS.replace(Ef,e)}function Hy(e,n){return n.map(t=>t.replace(Ef,e))}var If=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,i,s,a,c,d=null,p=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.ngZone=c,this.nonce=d,this.tracingService=p,this.defaultRenderer=new Uo(t,a,c,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(t,r);return i instanceof dl?i.applyToHost(t):i instanceof $o&&i.applyStyles(),i}getOrCreateRenderer(t,r){let i=this.rendererByCompId,s=i.get(r.id);if(!s){let a=this.doc,c=this.ngZone,d=this.eventManager,p=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.tracingService;switch(r.encapsulation){case Ut.Emulated:s=new dl(d,p,r,this.appId,h,a,c,g);break;case Ut.ShadowDom:return new ul(d,t,r,a,c,this.nonce,g,p);case Ut.ExperimentalIsolatedShadowDom:return new ul(d,t,r,a,c,this.nonce,g);default:s=new $o(d,p,r,h,a,c,g);break}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(K(wf),K(Cf),K(Va),K(kS),K(mt),K(ut),K(Ua),K(xr,8))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Uo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(_f[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(By(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(By(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new H(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;let s=_f[i];s?n.setAttributeNS(s,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let i=_f[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&($t.DashCase|$t.Important)?n.style.setProperty(t,r,i&$t.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&$t.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,i){if(typeof n=="string"&&(n=Zn().getGlobalEventTarget(this.doc,n),!n))throw new H(5102,!1);let s=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(n,t,s)),this.eventManager.addEventListener(n,t,s,i)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function By(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ul=class extends Uo{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,i,s,a,c,d){super(n,i,s,c),this.hostEl=t,this.sharedStylesHost=d,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let p=r.styles;p=Hy(r.id,p);for(let g of p){let b=document.createElement("style");a&&b.setAttribute("nonce",a),b.textContent=g,this.shadowRoot.appendChild(b)}let h=r.getExternalStyles?.();if(h)for(let g of h){let b=Df(g,i);a&&b.setAttribute("nonce",a),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},$o=class extends Uo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,i,s,a,c,d){super(n,s,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let p=r.styles;this.styles=d?Hy(d,p):p,this.styleUrls=r.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ir.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},dl=class extends $o{contentAttr;hostAttr;constructor(n,t,r,i,s,a,c,d){let p=i+"-"+r.id;super(n,t,r,s,a,c,d,p),this.contentAttr=NS(p),this.hostAttr=AS(p)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var pl=class e extends jo{supportsDOMEvents=!0;static makeCurrent(){gf(new e)}onAndCancel(n,t,r,i){return n.addEventListener(t,r,i),()=>{n.removeEventListener(t,r,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.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,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=OS();return t==null?null:RS(t)}resetBaseElement(){zo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Vo(document.cookie,n)}},zo=null;function OS(){return zo=zo||document.head.querySelector("base"),zo?zo.getAttribute("href"):null}function RS(e){return new URL(e,document.baseURI).pathname}var LS=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Uy=["alt","control","meta","shift"],PS={"\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"},FS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},$y=(()=>{class e extends Ho{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,i,s){let a=e.parseEventName(r),c=e.eventCallback(a.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zn().onAndCancel(t,a.domEventName,c,s))}static parseEventName(t){let r=t.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),a="code."),Uy.forEach(p=>{let h=r.indexOf(p);h>-1&&(r.splice(h,1),a+=p+".")}),a+=s,r.length!=0||s.length===0)return null;let d={};return d.domEventName=i,d.fullKey=a,d}static matchEventFullKeyCode(t,r){let i=PS[t.key]||t.key,s="";return r.indexOf("code.")>-1&&(i=t.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Uy.forEach(a=>{if(a!==i){let c=FS[a];c(t)&&(s+=a+".")}}),s+=i,s===r)}static eventCallback(t,r,i){return s=>{e.matchEventFullKeyCode(s,t)&&i.runGuarded(()=>r(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(K(mt))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function Tf(e,n){return Lt(this,null,function*(){return Ay(jS(e,n))})}function jS(e,n){return{platformRef:n?.platformRef,appProviders:[...$S,...e?.providers??[]],platformProviders:US}}function BS(){pl.makeCurrent()}function VS(){return new hn}function HS(){return wd(document),document}var US=[{provide:No,useValue:Py},{provide:Ha,useValue:BS,multi:!0},{provide:mt,useFactory:HS}];var $S=[{provide:uo,useValue:"root"},{provide:hn,useFactory:VS},{provide:fl,useClass:cl,multi:!0},{provide:fl,useClass:$y,multi:!0},If,Cf,wf,{provide:Tr,useExisting:If},{provide:Or,useClass:LS},[]];var Qn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
+ `).forEach(t=>{let r=t.indexOf(":");if(r>0){let i=t.slice(0,r),s=t.slice(r+1).trim();this.addHeaderEntry(i,s)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?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(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let i=(n.op==="a"?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":let s=n.value;if(!s)this.headers.delete(t),this.normalizedNames.delete(t);else{let a=this.headers.get(t);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(s=>s.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var hl=class{map=new Map;set(n,t){return this.map.set(n,t),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()}},gl=class{encodeKey(n){return zy(n)}encodeValue(n){return zy(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function zS(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[a,c]=s==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,s)),n.decodeValue(i.slice(s+1))],d=t.get(a)||[];d.push(c),t.set(a,d)}),t}var WS=/%(\d[a-f0-9])/gi,GS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zy(e){return encodeURIComponent(e).replace(WS,(n,t)=>GS[t]??n)}function ml(e){return`${e}`}var In=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new gl,n.fromString){if(n.fromObject)throw new H(2805,!1);this.map=zS(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],i=Array.isArray(r)?r.map(ml):[ml(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(s=>{t.push({param:r,value:s,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}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 t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(ml(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(ml(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function YS(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Wy(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Gy(e){return typeof Blob<"u"&&e instanceof Blob}function Yy(e){return typeof FormData<"u"&&e instanceof FormData}function qS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var qy="Content-Type",Zy="Accept",Qy="text/plain",Ky="application/json",ZS=`${Ky}, ${Qy}, */*`,Ii=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,i){this.url=t,this.method=n.toUpperCase();let s;if(YS(this.method)||i?(this.body=r!==void 0?r:null,s=i):s=r,s){if(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,this.keepalive=!!s.keepalive,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),s.priority&&(this.priority=s.priority),s.cache&&(this.cache=s.cache),s.credentials&&(this.credentials=s.credentials),typeof s.timeout=="number"){if(s.timeout<1||!Number.isInteger(s.timeout))throw new H(2822,"");this.timeout=s.timeout}s.mode&&(this.mode=s.mode),s.redirect&&(this.redirect=s.redirect),s.integrity&&(this.integrity=s.integrity),s.referrer&&(this.referrer=s.referrer),s.referrerPolicy&&(this.referrerPolicy=s.referrerPolicy),this.transferCache=s.transferCache}if(this.headers??=new Qn,this.context??=new hl,!this.params)this.params=new In,this.urlWithParams=t;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=t;else{let c=t.indexOf("?"),d=c===-1?"?":c<t.length-1?"&":"";this.urlWithParams=t+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Wy(this.body)||Gy(this.body)||Yy(this.body)||qS(this.body)?this.body:this.body instanceof In?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||Yy(this.body)?null:Gy(this.body)?this.body.type||null:Wy(this.body)?null:typeof this.body=="string"?Qy:this.body instanceof In?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ky:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,s=n.keepalive??this.keepalive,a=n.priority||this.priority,c=n.cache||this.cache,d=n.mode||this.mode,p=n.redirect||this.redirect,h=n.credentials||this.credentials,g=n.referrer||this.referrer,b=n.integrity||this.integrity,v=n.referrerPolicy||this.referrerPolicy,D=n.transferCache??this.transferCache,N=n.timeout??this.timeout,k=n.body!==void 0?n.body:this.body,x=n.withCredentials??this.withCredentials,ne=n.reportProgress??this.reportProgress,ze=n.headers||this.headers,me=n.params||this.params,Ke=n.context??this.context;return n.setHeaders!==void 0&&(ze=Object.keys(n.setHeaders).reduce((Y,Ae)=>Y.set(Ae,n.setHeaders[Ae]),ze)),n.setParams&&(me=Object.keys(n.setParams).reduce((Y,Ae)=>Y.set(Ae,n.setParams[Ae]),me)),new e(t,r,k,{params:me,headers:ze,context:Ke,reportProgress:ne,responseType:i,withCredentials:x,transferCache:D,keepalive:s,cache:c,priority:a,timeout:N,mode:d,redirect:p,credentials:h,referrer:g,integrity:b,referrerPolicy:v})}},Rr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Rr||{}),Si=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new Qn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},yl=class e extends Si{constructor(n={}){super(n)}type=Rr.ResponseHeader;clone(n={}){return new e({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})}},Wo=class e extends Si{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Rr.Response;clone(n={}){return new e({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,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Ti=class extends Si{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}},QS=200,KS=204;var JS=new z("");var XS=/^\)\]\}',?\n/;var Mf=(()=>{class e{xhrFactory;tracingService=A(xr,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new H(-2800,!1);let r=this.xhrFactory;return pn(null).pipe(Rn(()=>new re(s=>{let a=r.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((k,x)=>a.setRequestHeader(k,x.join(","))),t.headers.has(Zy)||a.setRequestHeader(Zy,ZS),!t.headers.has(qy)){let k=t.detectContentTypeHeader();k!==null&&a.setRequestHeader(qy,k)}if(t.timeout&&(a.timeout=t.timeout),t.responseType){let k=t.responseType.toLowerCase();a.responseType=k!=="json"?k:"text"}let c=t.serializeBody(),d=null,p=()=>{if(d!==null)return d;let k=a.statusText||"OK",x=new Qn(a.getAllResponseHeaders()),ne=a.responseURL||t.url;return d=new yl({headers:x,status:a.status,statusText:k,url:ne}),d},h=this.maybePropagateTrace(()=>{let{headers:k,status:x,statusText:ne,url:ze}=p(),me=null;x!==KS&&(me=typeof a.response>"u"?a.responseText:a.response),x===0&&(x=me?QS:0);let Ke=x>=200&&x<300;if(t.responseType==="json"&&typeof me=="string"){let Y=me;me=me.replace(XS,"");try{me=me!==""?JSON.parse(me):null}catch(Ae){me=Y,Ke&&(Ke=!1,me={error:Ae,text:me})}}Ke?(s.next(new Wo({body:me,headers:k,status:x,statusText:ne,url:ze||void 0})),s.complete()):s.error(new Ti({error:me,headers:k,status:x,statusText:ne,url:ze||void 0}))}),g=this.maybePropagateTrace(k=>{let{url:x}=p(),ne=new Ti({error:k,status:a.status||0,statusText:a.statusText||"Unknown Error",url:x||void 0});s.error(ne)}),b=g;t.timeout&&(b=this.maybePropagateTrace(k=>{let{url:x}=p(),ne=new Ti({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:x||void 0});s.error(ne)}));let v=!1,D=this.maybePropagateTrace(k=>{v||(s.next(p()),v=!0);let x={type:Rr.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(x.total=k.total),t.responseType==="text"&&a.responseText&&(x.partialText=a.responseText),s.next(x)}),N=this.maybePropagateTrace(k=>{let x={type:Rr.UploadProgress,loaded:k.loaded};k.lengthComputable&&(x.total=k.total),s.next(x)});return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",b),a.addEventListener("abort",g),t.reportProgress&&(a.addEventListener("progress",D),c!==null&&a.upload&&a.upload.addEventListener("progress",N)),a.send(c),s.next({type:Rr.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",b),t.reportProgress&&(a.removeEventListener("progress",D),c!==null&&a.upload&&a.upload.removeEventListener("progress",N)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(r){return new(r||e)(K(Or))};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eM(e,n){return n(e)}function tM(e,n,t){return(r,i)=>oi(t,()=>n(r,s=>e(s,i)))}var Jy=new z("",{factory:()=>[]}),Xy=new z(""),ev=new z("",{factory:()=>!0});var Mi=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=K(Mf),i},providedIn:"root"})}return e})();var vl=(()=>{class e{backend;injector;chain=null;pendingTasks=A(_o);contributeToStability=A(ev);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Jy),...this.injector.get(Xy,[])]));this.chain=r.reduceRight((i,s)=>tM(i,s,this.injector),eM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(Lc(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(K(Mi),K(ct))};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=K(vl),i},providedIn:"root"})}return e})();function Sf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var xi=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,i={}){let s;if(t instanceof Ii)s=t;else{let d;i.headers instanceof Qn?d=i.headers:d=new Qn(i.headers);let p;i.params&&(i.params instanceof In?p=i.params:p=new In({fromObject:i.params})),s=new Ii(t,r,i.body!==void 0?i.body:null,{headers:d,context:i.context,params:p,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let a=pn(s).pipe(eo(d=>this.handler.handle(d)));if(t instanceof Ii||i.observe==="events")return a;let c=a.pipe(Rc(d=>d instanceof Wo));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(st(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new H(2806,!1);return d.body}));case"blob":return c.pipe(st(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new H(2807,!1);return d.body}));case"text":return c.pipe(st(d=>{if(d.body!==null&&typeof d.body!="string")throw new H(2808,!1);return d.body}));default:return c.pipe(st(d=>d.body))}case"response":return c;default:throw new H(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new In().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Sf(i,r))}post(t,r,i={}){return this.request("POST",t,Sf(i,r))}put(t,r,i={}){return this.request("PUT",t,Sf(i,r))}static \u0275fac=function(r){return new(r||e)(K(xf))};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var nM=new z("",{factory:()=>!0}),rM="XSRF-TOKEN",iM=new z("",{factory:()=>rM}),oM="X-XSRF-TOKEN",sM=new z("",{factory:()=>oM}),aM=(()=>{class e{cookieName=A(iM);doc=A(mt);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vo(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=K(aM),i},providedIn:"root"})}return e})();function lM(e,n){if(!A(nM)||e.method==="GET"||e.method==="HEAD")return n(e);try{let i=A(ll).href,{origin:s}=new URL(i),{origin:a}=new URL(e.url,s);if(s!==a)return n(e)}catch(i){return n(e)}let t=A(tv).getToken(),r=A(sM);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}function kf(...e){let n=[xi,vl,{provide:xf,useExisting:vl},{provide:Mi,useFactory:()=>A(JS,{optional:!0})??A(Mf)},{provide:Jy,useValue:lM,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return aa(n)}var Pr=class{},rv=(()=>{class e{handle(t){return t.key}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),ki=class{},iv=(()=>{class e extends ki{compile(t,r){return t}compileTranslations(t,r){return t}static \u0275fac=(()=>{let t;return function(i){return(t||(t=Mr(e)))(i||e)}})();static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Jn=class{},ov=(()=>{class e extends Jn{getTranslation(t){return pn({})}static \u0275fac=(()=>{let t;return function(i){return(t||(t=Mr(e)))(i||e)}})();static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function bl(e,n){if(e===n)return!0;if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,r=typeof n,i;if(t==r&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((i=e.length)==n.length){for(let s=0;s<i;s++)if(!bl(e[s],n[s]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(Tn(e)&&Tn(n)){let s=Object.create(null);for(let a in e){if(!bl(e[a],n[a]))return!1;s[a]=!0}for(let a in n)if(!(a in s)&&typeof n[a]<"u")return!1;return!0}}return!1}function Kn(e){return typeof e<"u"&&e!==null}function nv(e){return e!==void 0}function Tn(e){return Yo(e)&&!Lr(e)&&e!==null}function Yo(e){return typeof e=="object"&&e!==null}function Lr(e){return Array.isArray(e)}function _l(e){return typeof e=="string"}function cM(e){return typeof e=="function"}function Dl(e){if(Lr(e))return e.map(n=>Dl(n));if(Tn(e)){let n={};return Object.keys(e).forEach(t=>{n[t]=Dl(e[t])}),n}else return e}function Rf(e,n){if(!Yo(e))return Dl(n);let t=Dl(e);return Yo(t)&&Yo(n)&&Object.keys(n).forEach(r=>{Tn(n[r])?r in e?t[r]=Rf(e[r],n[r]):Object.assign(t,{[r]:n[r]}):Object.assign(t,{[r]:n[r]})}),t}function sv(e,n){let t=n.split(".");n="";do{n+=t.shift();let r=!t.length;if(Kn(e)){if(Tn(e)&&nv(e[n])&&(Tn(e[n])||Lr(e[n])||r)){e=e[n],n="";continue}if(Lr(e)){let i=parseInt(n,10);if(nv(e[i])&&(Tn(e[i])||Lr(e[i])||r)){e=e[i],n="";continue}}}if(r){e=void 0;continue}n+="."}while(t.length);return e}function uM(e,n,t){return Rf(e,dM(n,t))}function dM(e,n){return e.split(".").reduceRight((t,r)=>({[r]:t}),n)}var Ni=class{},av=(()=>{class e extends Ni{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(t,r){if(_l(t))return this.interpolateString(t,r);if(cM(t))return this.interpolateFunction(t,r)}interpolateFunction(t,r){return t(r)}interpolateString(t,r){return r?t.replace(this.templateMatcher,(i,s)=>{let a=this.getInterpolationReplacement(r,s);return a!==void 0?a:i}):t}getInterpolationReplacement(t,r){return this.formatValue(sv(t,r))}formatValue(t){if(_l(t))return t;if(typeof t=="number"||typeof t=="boolean")return t.toString();if(t===null)return"null";if(Lr(t))return t.join(", ");if(Yo(t))return typeof t.toString=="function"&&t.toString!==Object.prototype.toString?t.toString():JSON.stringify(t)}static \u0275fac=(()=>{let t;return function(i){return(t||(t=Mr(e)))(i||e)}})();static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Nf=(()=>{class e{_onTranslationChange=new nt;_onLangChange=new nt;_onFallbackLangChange=new nt;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(t){return this.translations[t]}setTranslations(t,r,i){this.translations[t]=i&&this.hasTranslationFor(t)?Rf(this.translations[t],r):r,this.addLanguages([t]),this._onTranslationChange.next({lang:t,translations:this.getTranslations(t)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(t,r=!0){this.fallbackLang=t,r&&this._onFallbackLangChange.next({lang:t,translations:this.translations[t]})}setCurrentLang(t,r=!0){this.currentLang=t,r&&this._onLangChange.next({lang:t,translations:this.translations[t]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(t){this.languages=Array.from(new Set([...this.languages,...t]))}hasTranslationFor(t){return typeof this.translations[t]<"u"}deleteTranslations(t){delete this.translations[t]}getTranslation(t){let r=this.getValue(this.currentLang,t);return r===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(r=this.getValue(this.fallbackLang,t)),r}getValue(t,r){return sv(this.getTranslations(t),r)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Af=new z("TRANSLATE_CONFIG"),Go=e=>On(e)?e:pn(e);var Se=(()=>{class e{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=A(Jn);compiler=A(ki);parser=A(Ni);missingTranslationHandler=A(Pr);store=A(Nf);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let t=Ie({extend:!1,fallbackLang:null},A(Af,{optional:!0}));t.lang&&this.use(t.lang),t.fallbackLang&&this.setFallbackLang(t.fallbackLang),t.extend&&(this.extend=!0)}setFallbackLang(t){this.getFallbackLang()||this.store.setFallbackLang(t,!1);let r=this.loadOrExtendLanguage(t);return On(r)?(r.pipe(ti(1)).subscribe({next:()=>{this.store.setFallbackLang(t)},error:()=>{}}),r):(this.store.setFallbackLang(t),pn(this.store.getTranslations(t)))}use(t){this.lastUseLanguage=t,this.getCurrentLang()||this.store.setCurrentLang(t,!1);let r=this.loadOrExtendLanguage(t);return On(r)?(r.pipe(ti(1)).subscribe({next:()=>{this.changeLang(t)},error:()=>{}}),r):(this.changeLang(t),pn(this.store.getTranslations(t)))}loadOrExtendLanguage(t){if(!this.store.hasTranslationFor(t)||this.extend)return this._translationRequests[t]=this._translationRequests[t]||this.loadAndCompileTranslations(t),this._translationRequests[t]}changeLang(t){t===this.lastUseLanguage&&this.store.setCurrentLang(t)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(t){this.pending=!0;let r=this.currentLoader.getTranslation(t).pipe(Gs(1),ti(1));return this.loadingTranslations=r.pipe(st(i=>this.compiler.compileTranslations(i,t)),Gs(1),ti(1)),this.loadingTranslations.subscribe({next:i=>{this.store.setTranslations(t,i,this.extend),this.pending=!1},error:i=>{this.pending=!1}}),r}setTranslation(t,r,i=!1){let s=this.compiler.compileTranslations(r,t);this.store.setTranslations(t,s,i||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(t){this.store.addLanguages(t)}getParsedResultForKey(t,r){let i=this.getTextToInterpolate(t);if(Kn(i))return this.runInterpolation(i,r);let s=this.missingTranslationHandler.handle(Ie({key:t,translateService:this},r!==void 0&&{interpolateParams:r}));return s!==void 0?s:t}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(t){return this.store.getTranslation(t)}runInterpolation(t,r){if(Kn(t))return Lr(t)?this.runInterpolationOnArray(t,r):Tn(t)?this.runInterpolationOnDict(t,r):this.parser.interpolate(t,r)}runInterpolationOnArray(t,r){return t.map(i=>this.runInterpolation(i,r))}runInterpolationOnDict(t,r){let i={};for(let s in t){let a=this.runInterpolation(t[s],r);a!==void 0&&(i[s]=a)}return i}getParsedResult(t,r){return t instanceof Array?this.getParsedResultForArray(t,r):this.getParsedResultForKey(t,r)}getParsedResultForArray(t,r){let i={},s=!1;for(let c of t)i[c]=this.getParsedResultForKey(c,r),s=s||On(i[c]);if(!s)return i;let a=t.map(c=>Go(i[c]));return Ac(a).pipe(st(c=>{let d={};return c.forEach((p,h)=>{d[t[h]]=p}),d}))}get(t,r){if(!Kn(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(eo(()=>Go(this.getParsedResult(t,r)))):Go(this.getParsedResult(t,r))}getStreamOnTranslationChange(t,r){if(!Kn(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return zs(Ws(()=>this.get(t,r)),this.onTranslationChange.pipe(Rn(()=>{let i=this.getParsedResult(t,r);return Go(i)})))}stream(t,r){if(!Kn(t)||!t.length)throw new Error('Parameter "key" required');return zs(Ws(()=>this.get(t,r)),this.onLangChange.pipe(Rn(()=>{let i=this.getParsedResult(t,r);return Go(i)})))}instant(t,r){if(!Kn(t)||t.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(t,r);return On(i)?Array.isArray(t)?t.reduce((s,a)=>(s[a]=a,s),{}):t:i}set(t,r,i=this.getCurrentLang()){this.store.setTranslations(i,uM(this.store.getTranslations(i),t,_l(r)?this.compiler.compile(r,i):this.compiler.compileTranslations(r,i)),!1)}reloadLang(t){return this.resetLang(t),this.loadAndCompileTranslations(t)}resetLang(t){delete this._translationRequests[t],this.store.deleteTranslations(t)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let t=this.getBrowserCultureLang();return t?t.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return e.getBrowserLang()}getBrowserCultureLang(){return e.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(t){return this.setFallbackLang(t)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();var Ze=(()=>{class e{translate=A(Se);_ref=A(uf);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(t,r,i){let s=a=>{this.value=a!==void 0?a:t,this.lastKey=t,this._ref.markForCheck()};if(i){let a=this.translate.getParsedResult(t,r);On(a)?a.subscribe(s):s(a)}this.translate.get(t,r).subscribe(s)}transform(t,...r){if(!t||!t.length)return t;if(bl(t,this.lastKey)&&bl(r,this.lastParams))return this.value;let i;if(Kn(r[0])&&r.length)if(_l(r[0])&&r[0].length){let s=r[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{i=JSON.parse(s)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${r[0]}`)}}else Tn(r[0])&&(i=r[0]);return this.lastKey=t,this.lastParams=r,this.updateValue(t,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{(this.lastKey&&s.lang===this.translate.getCurrentLang()||s.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(t,i,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i,s.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,i))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Xa({name:"translate",type:e,pure:!1});static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function lv(e){return{provide:Jn,useClass:e}}function cv(e){return{provide:ki,useClass:e}}function uv(e){return{provide:Ni,useClass:e}}function dv(e){return{provide:Pr,useClass:e}}function fv(e={}){return Of(Ie({compiler:cv(iv),parser:uv(av),loader:lv(ov),missingTranslationHandler:dv(rv)},e),!0)}function Of(e={},n){let t=[];e.loader&&t.push(e.loader),e.compiler&&t.push(e.compiler),e.parser&&t.push(e.parser),e.missingTranslationHandler&&t.push(e.missingTranslationHandler),n&&t.push(Nf),(e.useDefaultLang||e.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),e.useDefaultLang===!0&&e.defaultLanguage&&(e.fallbackLang=e.defaultLanguage));let r={fallbackLang:e.fallbackLang??null,lang:e.lang,extend:e.extend??!1};return t.push({provide:Af,useValue:r}),t.push({provide:Se,useClass:Se,deps:[Nf,Jn,ki,Ni,Pr,Af]}),t}var $e=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[...Of(Ie({compiler:cv(iv),parser:uv(av),loader:lv(ov),missingTranslationHandler:dv(rv)},t),!0)]}}static forChild(t={}){return{ngModule:e,providers:[...Of(t,t.isolate??!1)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nr({type:e});static \u0275inj=jn({})}return e})();var Qe=(()=>{class e{constructor(){this.translateService=A(Se),this._selectedLanguage=Wn("en"),this._localizedStrings=Wn({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(t){console.log("[Bimplus-navigation] selectedLanguage set to:",t),this._selectedLanguage.set(t),this.translateService.use(t);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(r){console.error(r)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(t){console.log("[Bimplus-navigation] localizedStrings called .... "),this._localizedStrings.set(t),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,t)}catch(r){console.error(r)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[je([Se])],decls:2,vars:0,template:function(r,i){r&1&&(Dn(0,"p"),Z(1," localized widget works! "),wn())},dependencies:[$e],encapsulation:3})}}return e})();function fe(e,n,t=null){if(!n){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let r="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;r&&typeof r[n]=="function"&&r[n]({detail:t});let i=e;n in i&&i[n].emit(t)}var wl=(()=>{class e extends Qe{constructor(){super(),this.bimplusContactClicked=new ie}_contactClicked(){fe(this,"bimplusContactClicked","contact")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[je([Se]),Ue],decls:3,vars:3,consts:[["href","https://connect.allplan.com/support/contact.ct?SSO=1&autolang","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(r,i){r&1&&(Dn(0,"a",0),ge(1,"translate"),rl("click",function(){return i._contactClicked()}),tl(2,"div",1),wn()),r&2&&nl("title",ye(1,1,"_BimplusContactTitle"))},dependencies:[$e,Ze],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
9
+ `],encapsulation:3})}}return e})();var fM=(e,n)=>({open:e,"expand-up":n});function pM(e,n){if(e&1){let t=we();C(0,"li",7),P("click",function(){let i=j(t).$implicit,s=E();return B(s._switchLanguage(i.symbol))})("keypress",function(){let i=j(t).$implicit,s=E();return B(s._switchLanguage(i.symbol))}),C(1,"span"),Z(2),M()()}if(e&2){let t=n.$implicit,r=E();T("ngClass",r.selectedLanguage===t.symbol?"selected":""),_n("data-test","langmenu_item_"+t.text),w(2),Xe(t.text)}}var Cl=(()=>{class e{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new ie}_switchLanguage(t){fe(this,"bimplusLanguageSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",I],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",I]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},decls:8,vars:7,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(r,i){r&1&&(C(0,"div",0),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),M(),C(1,"div",1),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),C(2,"div",2),te(3,"div",3)(4,"span",4),M(),C(5,"ul",5),Pe(6,pM,3,3,"li",6,qe),M()()),r&2&&(T("ngClass",i._menuOpened?"open":""),w(),T("ngClass",i._menuOpened?"open":"")("ngClass",i.isTouch?"is-touch":""),w(4),T("ngClass",Ar(4,fM,i._menuOpened,i.expandUp)),w(),Fe(i._languagesList))},dependencies:[Ne,Be],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--language-menu-dropdown-open-text-color-enabled);background-color:var(--language-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--language-menu-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--language-menu-dropdown-menu-background-color-enabled);border:thin solid var(--language-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--language-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--language-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}
10
+ `],encapsulation:3})}}return e})();var mM=(e,n,t)=>({collapsed:e,"mini-mode":n,"is-touch":t}),pv=(e,n)=>n.id;function hM(e,n){if(e&1){let t=we();C(0,"div",4),ge(1,"translate"),P("dblclick",function(i){j(t);let s=E(3);return B(s._menuItemIgnoreAction(i))})("click",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"normal",i))})("keypress",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"normal",i))}),te(2,"div",5),C(3,"div",6),P("click",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"info",i))})("keypress",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"info",i))}),M()()}if(e&2){let t=E().$implicit,r=E(2);T("ngClass",r._getPrjItemClassAttributes(t,r.isTouch))("title",ye(1,3,r._isDisabled(t)&&t.textIdDisabled?t.textIdDisabled:t.textId)),w(2),T("ngClass",r._getPrjIconClassAttributes(t))}}function gM(e,n){if(e&1&&_e(0,hM,4,5,"div",3),e&2){let t=n.$implicit,r=E(2);De(r._isHidden(t)?-1:0)}}function yM(e,n){if(e&1&&Pe(0,gM,1,1,null,null,pv),e&2){let t=E();Fe(t.menuItems)}}function vM(e,n){if(e&1){let t=we();C(0,"div",4),ge(1,"translate"),P("dblclick",function(i){j(t);let s=E(3);return B(s._menuItemIgnoreAction(i))})("click",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"normal",i))})("keypress",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"normal",i))}),te(2,"div",5),C(3,"div",6),P("click",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"info",i))})("keypress",function(i){j(t);let s=E().$implicit,a=E(2);return B(a._menuItemClicked(s,"info",i))}),M()()}if(e&2){let t=E().$implicit,r=E(2);T("ngClass",r._getPrjItemClassAttributes(t,r.isTouch))("title",ye(1,3,r._isDisabled(t)&&t.textIdDisabled?t.textIdDisabled:t.textId)),w(2),T("ngClass",r._getPrjIconClassAttributes(t))}}function bM(e,n){if(e&1&&_e(0,vM,4,5,"div",3),e&2){let t=n.$implicit,r=E(2);De(!r._isHidden(t)&&(r.isCollapsed||t.action!=="processes")?0:-1)}}function _M(e,n){if(e&1&&Pe(0,bM,1,1,null,null,pv),e&2){let t=E();Fe(t.menuItems)}}function DM(e,n){e&1&&en(0)}function wM(e,n){if(e&1&&Nt(0,DM,1,0,"ng-container",13),e&2){E(2);let t=Cn(1);T("ngTemplateOutlet",t)}}function CM(e,n){if(e&1&&(C(0,"div",7)(1,"div",8),te(2,"div",9),M(),C(3,"div",10),Z(4),M()(),C(5,"div",11)(6,"div",12),_e(7,wM,1,1,"ng-container"),M()()),e&2){let t=E();w(),T("ngStyle",t.prjImageOverlayStyle),w(),T("ngStyle",t.prjImageStyle),w(2),Ce(" ",t.projectName," "),w(),T("ngClass",t.showHorizontalMenuIcons?"":"hidden"),w(2),De(t.showHorizontalMenuIcons?7:-1)}}function EM(e,n){e&1&&en(0)}function IM(e,n){if(e&1&&Nt(0,EM,1,0,"ng-container",13),e&2){E(2);let t=Cn(3);T("ngTemplateOutlet",t)}}function TM(e,n){e&1&&en(0)}function SM(e,n){if(e&1&&Nt(0,TM,1,0,"ng-container",13),e&2){E(2);let t=Cn(1);T("ngTemplateOutlet",t)}}function MM(e,n){if(e&1){let t=we();C(0,"a",14),ge(1,"translate"),P("dblclick",function(){j(t);let i=E();return B(i._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){j(t);let i=E();return B(i._projectMenuItemClicked("prjimageclick","normal"))}),C(2,"div",15),te(3,"div",16),C(4,"div",17),_e(5,IM,1,1,"ng-container"),M(),C(6,"div",18),Z(7),M()()(),C(8,"div",11)(9,"div",12),_e(10,SM,1,1,"ng-container"),M()()}if(e&2){let t=E();T("href",de(t.projectExplorerUrl),bi)("ngStyle",t.prjImageOverlayStyle)("title",ye(1,11,"_ModelThumbnailTooltip")),w(2),T("ngStyle",t.prjImageStyle),w(),T("ngClass",t.hideMenuIcons||t.showHorizontalMenuIcons?"hidden":""),w(),T("ngClass",t.hideMenuIcons||t.showHorizontalMenuIcons?"hidden":""),w(),De(!t.hideMenuIcons&&!t.showHorizontalMenuIcons?5:-1),w(2),Ce(" ",t.projectName," "),w(),T("ngClass",t.showHorizontalMenuIcons?"":"hidden"),w(2),De(t.showHorizontalMenuIcons?10:-1)}}var El=(()=>{class e extends Qe{constructor(){super(),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((t,r)=>this.menuItemsOrder.indexOf(t.id)-this.menuItemsOrder.indexOf(r.id))}_isHidden(t){if(t){let r=`${t.action?t.action:t.id}Visible`;return!this[r]}return!1}_isDisabled(t){if(t){let r=`${t.action?t.action:t.id}Disabled`;return!!this[r]}return!1}_projectMenuItemClicked(t,r){console.log(t,r)}_menuItemClicked(t,r,i){if(i&&(i.stopPropagation(),i.preventDefault()),console.log(t,r,i),r!="info"&&this._isDisabled(t))return;let s=t.action;fe(this,"bimplusProjectMenuClicked",{action:s,type:r})}_menuItemIgnoreAction(t){t&&(t.stopPropagation(),t.preventDefault())}_getPrjItemClassAttributes(t,r){return`${this._isDisabled(t)?"disabled":""} ${r?"":"hover-show-info"}`}_getPrjIconClassAttributes(t){return`${t.class} ${t.action===this.projectActiveItem?"active":""} ${this._isDisabled(t)?"disabled":""}`}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",I],modelsDisabled:[2,"modelsDisabled","modelsDisabled",I],documentsDisabled:[2,"documentsDisabled","documentsDisabled",I],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",I],processesDisabled:[2,"processesDisabled","processesDisabled",I],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",I],modelsVisible:[2,"modelsVisible","modelsVisible",I],documentsVisible:[2,"documentsVisible","documentsVisible",I],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",I],processesVisible:[2,"processesVisible","processesVisible",I],isCollapsed:[2,"isCollapsed","isCollapsed",I],isMiniMode:[2,"isMiniMode","isMiniMode",I],isTouch:[2,"isTouch","isTouch",I],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",I],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",I],menuItemsOrder:"menuItemsOrder"},features:[je([Se]),Ue],decls:7,vars:6,consts:[["navigationPrjList",""],["navigationPrjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(r,i){r&1&&(Nt(0,yM,2,0,"ng-template",null,0,Ei)(2,_M,2,0,"ng-template",null,1,Ei),C(4,"div",2),_e(5,CM,8,5)(6,MM,11,13),M()),r&2&&(w(4),T("ngClass",En(2,mM,i.isCollapsed,i.isMiniMode,i.isTouch)),w(),De(i.isMiniMode&&!i.isCollapsed?5:6))},dependencies:[Ne,Be,Bo,vf,$e,Ze],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--project-menu-project-container-background-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid var(--project-menu-project-container-mini-mode-border-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:var(--project-menu-project-details-background-color-enabled);background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{color:var(--project-menu-project-name-text-color);background-color:var(--project-menu-project-name-background-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:var(--project-menu-item-overlay-background-color-enabled);width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid var(--project-menu-project-items-horizontal-border-color-enabled)}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center}
11
+ `],encapsulation:3})}}return e})();var Lf=e=>({$implicit:e});function xM(e,n){if(e&1&&te(0,"div",9),e&2){let t=E().$implicit;nf(t.item.class),T("id",t.item.id)}}function kM(e,n){if(e&1){let t=we();C(0,"div",13),P("click",function(i){j(t);let s=E(2).$implicit,a=E();return B(a._mainMenuItemClicked(s.item,"info",i))})("keypress",function(i){j(t);let s=E(2).$implicit,a=E();return B(a._mainMenuItemClicked(s.item,"info",i))}),M()}}function NM(e,n){if(e&1){let t=we();C(0,"div",8),ge(1,"translate"),C(2,"div",10),P("click",function(i){j(t);let s=E().$implicit,a=E();return B(a._mainMenuItemClicked(s.item,"normal",i))})("keypress",function(i){j(t);let s=E().$implicit,a=E();return B(a._mainMenuItemClicked(s.item,"normal",i))}),te(3,"div",11),C(4,"span"),Z(5),ge(6,"translate"),M()(),_e(7,kM,1,0,"div",12),M()}if(e&2){let t=E().$implicit,r=E();T("id",t.item.id)("ngClass",r.isTouch?"":"hover-show-info "+(t.active?"active ":" ")+(t.disabled?"disabled ":" ")+(t.clickable?" ":"not-clickable ")+(t.selected?"selected ":" "))("title",t.disabled?ye(1,7,t.item.disabledTitle):""),w(2),T("ngClass",t.clickable?"":"not-clickable"),w(),T("ngClass",t.item.class+(t.active?" active":"")+(t.disabled?" disabled ":"")),w(2),Xe(ye(6,9,t.isDisabled&&t.item.textIdDisabled!==""?t.item.textIdDisabled:t.item.textId)),w(2),De(t.showInfoIcon?7:-1)}}function AM(e,n){if(e&1&&_e(0,xM,1,3,"div",7)(1,NM,8,11,"div",8),e&2){let t=n.$implicit;De(t.item.type==="divider"?0:1)}}function OM(e,n){e&1&&en(0)}function RM(e,n){if(e&1&&Nt(0,OM,1,0,"ng-container",14),e&2){let t=E(),r=Cn(1);T("ngTemplateOutlet",r)("ngTemplateOutletContext",ht(2,Lf,t._getContextData(t._openPrjBtn,t.projectActiveItem==="projectlist",t._isDisabled(t._openPrjBtn),!0,t.projectActiveItem==="projectlist")))}}function LM(e,n){if(e&1&&te(0,"lib-bimplus-project-menu",3),e&2){let t=E();T("projectName",de(t.projectName))("projectImageUrl",de(t.projectImageUrl))("projectExplorerUrl",de(t.projectExplorerUrl))("projectActiveItem",de(t.projectActiveItem))("projectmembersDisabled",de(t.projectmembersDisabled))("modelsDisabled",de(t.modelsDisabled))("documentsDisabled",de(t.documentsDisabled))("projectsettingsDisabled",de(t.projectsettingsDisabled))("processesDisabled",de(t.processesDisabled))("projectmembersVisible",de(t.projectmembersVisible))("modelsVisible",de(t.modelsVisible))("documentsVisible",de(t.documentsVisible))("projectsettingsVisible",de(t.projectsettingsVisible))("processesVisible",de(t.processesVisible))("isCollapsed",de(t.isCollapsed))("isMiniMode",de(t.isTouch))("isTouch",de(t.isTouch))("hideMenuIcons",de(t.hideProjectMenuIcons))("showHorizontalMenuIcons",de(t.showHorizontalMenuIcons))("menuItemsOrder",t.menuItemsOrder)}}function PM(e,n){e&1&&en(0)}function FM(e,n){if(e&1&&(C(0,"div"),Nt(1,PM,1,0,"ng-container",14),M()),e&2){let t=n.$implicit,r=E(),i=Cn(1);w(),T("ngTemplateOutlet",i)("ngTemplateOutletContext",ht(2,Lf,r._getContextData(t,!r._isSubscribed(t),r._isDisabled(t),r._isClickable(t),r.menuActiveItem===t.action)))}}function jM(e,n){e&1&&en(0)}function BM(e,n){if(e&1&&(C(0,"div"),Nt(1,jM,1,0,"ng-container",14),M()),e&2){let t=n.$implicit,r=E(),i=Cn(1);w(),T("ngTemplateOutlet",i)("ngTemplateOutletContext",ht(2,Lf,r._getContextData(t,r.footerActiveItem===t.action,r._isDisabled(t),!0,!1)))}}var pe={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn",PORTAL_TRY_BIMPLUS_PRO_BTN:"portalTryBimplusProBtn"},Il=(()=>{class e extends Qe{constructor(){super(),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.tryBimplusProVisible=!1,this.cloudviewerVisible=!0,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new ie,this.bimplusMainMenuOverlayClicked=new ie,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:pe.PORTAL_BIM_USERS,type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:pe.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:pe.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:pe.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:pe.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:pe.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:pe.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"BIM Explorer",textIdDisabled:"BIM Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:pe.PORTAL_CLOUD_VIEWER_BTN,type:"",class:"bim-mm-icon-cloud-viewer",textId:"Model Viewer",textIdDisabled:"Model Viewer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:pe.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:pe.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:pe.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:pe.PORTAL_TEAM_MANAGEMENT_BTN,type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:pe.PORTAL_PROPERTY_MANAGER_BTN,type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"",id:pe.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:pe.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:pe.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:pe.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:pe.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(t){t.localizedStrings&&this._localizedStrings.set(t.localizedStrings.currentValue)}get apps(){let t=this.appsList.slice().sort((r,i)=>this.appsOrder.indexOf(r.id)-this.appsOrder.indexOf(i.id));return this.connexisVisible||(t=t.filter(({id:r})=>r!==pe.PORTAL_CONNEXIS_BTN)),this.cloudviewerVisible||(t=t.filter(({id:r})=>r!==pe.PORTAL_CLOUD_VIEWER_BTN)),this.autoconverterVisible||(t=t.filter(({id:r})=>r!==pe.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(t=t.filter(({id:r})=>r!==pe.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(t=t.filter(({id:r})=>r!==pe.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(t=t.filter(({id:r})=>r!==pe.PORTAL_PROPERTY_MANAGER_BTN&&r!==pe.PORTAL_BIM_PROCESSES)),t}get footerList(){let t=this._menuFooterList.filter(r=>this._isSubscribed(r)&&!this._isHidden(r));return(this.teammembersDisabled||!this.isTouch)&&(t=t.filter(({id:r})=>r!==pe.DIVIDERAPPS)),this.getYourTeamVisible?t.filter(({id:r})=>r!==pe.DIVIDERAPPS):t.filter(({id:r})=>r!==pe.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(t){if(t.checkSubscription){let r=`${t.action}Subscribed`;return!!this[r]}return!0}_isClickable(t){return t.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(t){if(t){let r=`${t.action?t.action:t.id}Visible`;return!this[r]}return!1}_isDisabled(t){let r=`${t.action}Disabled`;return!!this[r]}_getContextData(t,r,i,s,a){return{item:t,active:r,disabled:i,clickable:s,selected:a,showInfoIcon:this.appsWithInfo.includes(t.id)}}_overlayClicked(){fe(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(t,r,i){if(i&&(i.stopPropagation(),i.preventDefault()),r!="info"&&this._isDisabled(t))return;let s=t.action;fe(this,"bimplusMainMenuClicked",{action:s,type:r})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",I],isTouch:[2,"isTouch","isTouch",I],isIpadApp:[2,"isIpadApp","isIpadApp",I],isDev:[2,"isDev","isDev",I],isStage:[2,"isStage","isStage",I],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",I],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",I],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",I],modelsDisabled:[2,"modelsDisabled","modelsDisabled",I],documentsDisabled:[2,"documentsDisabled","documentsDisabled",I],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",I],processesDisabled:[2,"processesDisabled","processesDisabled",I],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",I],showOverlay:[2,"showOverlay","showOverlay",I],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",I],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",I],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",I],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",I],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",I],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",I],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",I],connexisDisabled:[2,"connexisDisabled","connexisDisabled",I],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",I],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",I],shopDisabled:[2,"shopDisabled","shopDisabled",I],addinsDisabled:[2,"addinsDisabled","addinsDisabled",I],openProjectVisible:[2,"openProjectVisible","openProjectVisible",I],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",I],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",I],modelsVisible:[2,"modelsVisible","modelsVisible",I],documentsVisible:[2,"documentsVisible","documentsVisible",I],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",I],processesVisible:[2,"processesVisible","processesVisible",I],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",I],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",I],connexisVisible:[2,"connexisVisible","connexisVisible",I],teammembersVisible:[2,"teammembersVisible","teammembersVisible",I],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",I],shopVisible:[2,"shopVisible","shopVisible",I],addinsVisible:[2,"addinsVisible","addinsVisible",I],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",I],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",I],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",I],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",I],cloudviewerVisible:[2,"cloudviewerVisible","cloudviewerVisible",I],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[je([Se]),Ue,zt],decls:13,vars:4,consts:[["appNavigationItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,i){if(r&1){let s=we();Nt(0,AM,2,1,"ng-template",null,0,Ei),C(2,"div",1),P("click",function(){return j(s),B(i._overlayClicked())})("keypress",function(){return j(s),B(i._overlayClicked())}),C(3,"div",2),_e(4,RM,1,4,"ng-container"),_e(5,LM,1,39,"lib-bimplus-project-menu",3),C(6,"div",4)(7,"div",5),Pe(8,FM,2,4,"div",null,qe),M(),C(10,"div",6),Pe(11,BM,2,4,"div",null,qe),M()()()()}r&2&&(w(2),T("ngClass",i.showOverlay?"bim-mm-overlay":""),w(2),De(i._isHidden(i._openPrjBtn)?-1:4),w(),De(i.bimplusProjectMenuVisible?5:-1),w(),T("ngClass",i.apps.length||i.footerList.length?"bim-mm-apps-container":""),w(2),Fe(i.apps),w(3),Fe(i.footerList))},dependencies:[Ne,Be,Bo,$e,El,Ze],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/@bimplus/navigation/assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
12
+ `],encapsulation:3})}}return e})();var Fr=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(Fr||{});var VM=(e,n,t,r,i)=>({"model-viewer":e,"model-viewer-black":n,"connexis-viewer":t,"connexis-viewer-black":r,"burger-menu-not-visible":i}),HM=(e,n,t)=>({active:e,hidden:n,disabled:t}),UM=e=>({hidden:e});function $M(e,n){e&1&&(C(0,"span"),Z(1,"\xA0\xA0 -\xA0\xA0"),M())}var Tl=(()=>{class e extends Qe{constructor(){super(...arguments),this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this.logoState=Fo(Fr.BimplusViewer),this.isModelViewerActive=Fo(!1,{transform:I}),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.bimplusNavbarClicked=new ie,this.LogoState=Fr,this.logoTooltipSignal=sl(()=>this.isModelViewerActive()?"_Open_new_file":this.isDashboardTooltipEnabled?"_dashboard_tooltip":""),this.logoStateSignal=sl(()=>this.isModelViewerActive()?Fr.ModelViewerBlack:this.logoState())}_menuClicked(){this.isNavbarMenuEnabled&&fe(this,"bimplusNavbarClicked","menu")}_logoClicked(){fe(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&fe(this,"bimplusNavbarClicked","project")}static{this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Mr(e)))(i||e)}})()}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",I],isStage:[2,"isStage","isStage",I],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",I],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",I],logoState:[1,"logoState"],isModelViewerActive:[1,"isModelViewerActive"],isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",I],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",I],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",I],isTouch:[2,"isTouch","isTouch",I],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",I]},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},features:[Ue],decls:14,vars:25,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","keypress","ngClass","title"],[1,"bimplus-navbar-menu","icon",3,"click","keypress","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[1,"project",3,"click","keypress","ngClass"],[1,"bimplus-navbar-slot"]],template:function(r,i){r&1&&(C(0,"div",0)(1,"div",1)(2,"div",2),ge(3,"translate"),P("click",function(){return i._logoClicked()})("keypress",function(){return i._logoClicked()}),M(),C(4,"div",3),P("click",function(){return i._menuClicked()})("keypress",function(){return i._menuClicked()}),M()(),C(5,"div",4)(6,"div",5)(7,"span",6),Z(8),M(),_e(9,$M,2,0,"span"),C(10,"span",7),P("click",function(){return i._projectInfoClicked()})("keypress",function(){return i._projectInfoClicked()}),Z(11),M()(),C(12,"div",8),te(13,"slot"),M()()()),r&2&&(T("ngClass",i.isTouch?"is-touch":""),w(2),T("ngClass",rf(13,VM,i.logoStateSignal()===i.LogoState.ModelViewer,i.logoStateSignal()===i.LogoState.ModelViewerBlack,i.logoStateSignal()===i.LogoState.ConnexisViewer,i.logoStateSignal()===i.LogoState.ConnexisViewerBlack,!i.isNavbarMenuVisible))("title",ye(3,11,i.logoTooltipSignal())),w(2),T("ngClass",En(19,HM,i.isNavbarMenuActive,!i.isNavbarMenuVisible,!i.isNavbarMenuEnabled)),w(2),qn("margin-left",i.teamInfoOffset),T("ngClass",ht(23,UM,!i.isNavbarInfoVisible)),w(2),Xe(i.teamInfo),w(),De(i.projectInfo&&!i.isTouch?9:-1),w(),T("ngClass",i.isDev?"clickable":""),w(),Ce(" ",i.projectInfo," "))},dependencies:[Ne,Be,$e,Ze],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:var(--navbar-background-color-enabled);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:var(--navbar-text-color-enabled)}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:var(--navbar-preview-mode-text-color-enabled);font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:var(--navbar-preview-mode-background-color-enabled);letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logo_Black.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo_black.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:pointer}.bimplus-logo.model-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo_black.svg") center center / 14em no-repeat;background-position:center;margin-left:.4em;min-width:14em;cursor:pointer}.bimplus-logo.burger-menu-not-visible{margin-left:.4em;margin-right:6.8em}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
13
+ `],encapsulation:3})}}return e})();function zM(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var jr=zM;var WM=typeof global=="object"&&global&&global.Object===Object&&global,mv=WM;var GM=typeof self=="object"&&self&&self.Object===Object&&self,YM=mv||GM||Function("return this")(),Sl=YM;var qM=function(){return Sl.Date.now()},Ml=qM;var ZM=/\s/;function QM(e){for(var n=e.length;n--&&ZM.test(e.charAt(n)););return n}var hv=QM;var KM=/^\s+/;function JM(e){return e&&e.slice(0,hv(e)+1).replace(KM,"")}var gv=JM;var XM=Sl.Symbol,Ai=XM;var yv=Object.prototype,ex=yv.hasOwnProperty,tx=yv.toString,qo=Ai?Ai.toStringTag:void 0;function nx(e){var n=ex.call(e,qo),t=e[qo];try{e[qo]=void 0;var r=!0}catch(s){}var i=tx.call(e);return r&&(n?e[qo]=t:delete e[qo]),i}var vv=nx;var rx=Object.prototype,ix=rx.toString;function ox(e){return ix.call(e)}var bv=ox;var sx="[object Null]",ax="[object Undefined]",_v=Ai?Ai.toStringTag:void 0;function lx(e){return e==null?e===void 0?ax:sx:_v&&_v in Object(e)?vv(e):bv(e)}var Dv=lx;function cx(e){return e!=null&&typeof e=="object"}var wv=cx;var ux="[object Symbol]";function dx(e){return typeof e=="symbol"||wv(e)&&Dv(e)==ux}var Cv=dx;var Ev=NaN,fx=/^[-+]0x[0-9a-f]+$/i,px=/^0b[01]+$/i,mx=/^0o[0-7]+$/i,hx=parseInt;function gx(e){if(typeof e=="number")return e;if(Cv(e))return Ev;if(jr(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=jr(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=gv(e);var t=px.test(e);return t||mx.test(e)?hx(e.slice(2),t?2:8):fx.test(e)?Ev:+e}var Pf=gx;var yx="Expected a function",vx=Math.max,bx=Math.min;function _x(e,n,t){var r,i,s,a,c,d,p=0,h=!1,g=!1,b=!0;if(typeof e!="function")throw new TypeError(yx);n=Pf(n)||0,jr(t)&&(h=!!t.leading,g="maxWait"in t,s=g?vx(Pf(t.maxWait)||0,n):s,b="trailing"in t?!!t.trailing:b);function v(Y){var Ae=r,Me=i;return r=i=void 0,p=Y,a=e.apply(Me,Ae),a}function D(Y){return p=Y,c=setTimeout(x,n),h?v(Y):a}function N(Y){var Ae=Y-d,Me=Y-p,Fi=n-Ae;return g?bx(Fi,s-Me):Fi}function k(Y){var Ae=Y-d,Me=Y-p;return d===void 0||Ae>=n||Ae<0||g&&Me>=s}function x(){var Y=Ml();if(k(Y))return ne(Y);c=setTimeout(x,N(Y))}function ne(Y){return c=void 0,b&&r?v(Y):(r=i=void 0,a)}function ze(){c!==void 0&&clearTimeout(c),p=0,r=d=i=c=void 0}function me(){return c===void 0?a:ne(Ml())}function Ke(){var Y=Ml(),Ae=k(Y);if(r=arguments,i=this,d=Y,Ae){if(c===void 0)return D(d);if(g)return clearTimeout(c),c=setTimeout(x,n),v(d)}return c===void 0&&(c=setTimeout(x,n)),a}return Ke.cancel=ze,Ke.flush=me,Ke}var Oi=_x;var Dx="Expected a function";function wx(e,n,t){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(Dx);return jr(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),Oi(e,n,{leading:r,maxWait:n,trailing:i})}var Iv=wx;var Li=function(){return Li=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=t[s])}return n},Li.apply(this,arguments)};function Mv(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function xv(e){return!e||!e.ownerDocument?document:e.ownerDocument}var kv=function(e){var n={},t=Array.prototype.reduce.call(e,function(r,i){var s=i.name.match(/data-simplebar-(.+)/);if(s){var a=s[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(i.value){case"true":r[a]=!0;break;case"false":r[a]=!1;break;case void 0:r[a]=!0;break;default:r[a]=i.value}}return r},n);return t};function Nv(e,n){var t;e&&(t=e.classList).add.apply(t,n.split(" "))}function Av(e,n){e&&n.split(" ").forEach(function(t){e.classList.remove(t)})}function Ov(e){return".".concat(e.split(" ").join("."))}var jf=!!(typeof window<"u"&&window.document&&window.document.createElement),Cx=Object.freeze({__proto__:null,addClasses:Nv,canUseDOM:jf,classNamesToQuery:Ov,getElementDocument:xv,getElementWindow:Mv,getOptions:kv,removeClasses:Av}),Ri=null,Tv=null;jf&&window.addEventListener("resize",function(){Tv!==window.devicePixelRatio&&(Tv=window.devicePixelRatio,Ri=null)});function Sv(){if(Ri===null){if(typeof document>"u")return Ri=0,Ri;var e=document.body,n=document.createElement("div");n.classList.add("simplebar-hide-scrollbar"),e.appendChild(n);var t=n.getBoundingClientRect().right;e.removeChild(n),Ri=t}return Ri}var Xn=Mv,Ff=xv,Ex=kv,er=Nv,tr=Av,bt=Ov,Zo=(function(){function e(n,t){t===void 0&&(t={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=Xn(r.el);r.scrollXTicking||(i.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(i.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,er(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){tr(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(er(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){tr(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(i){r.mouseX=i.clientX,r.mouseY=i.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var s,a;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(s=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(a=r.isWithinBounds(r.axis.y.track.rect)),(s||a)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(s&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(i,"x"):r.onTrackClick(i,"x")),a&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(i,"y"):r.onTrackClick(i,"y"))))}},this.drag=function(i){var s,a,c,d,p,h,g,b,v,D,N;if(!(!r.draggedAxis||!r.contentWrapperEl)){var k,x=r.axis[r.draggedAxis].track,ne=(a=(s=x.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,ze=r.axis[r.draggedAxis].scrollbar,me=(d=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ke=parseInt((h=(p=r.elStyles)===null||p===void 0?void 0:p[r.axis[r.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);i.preventDefault(),i.stopPropagation(),r.draggedAxis==="y"?k=i.pageY:k=i.pageX;var Y=k-((b=(g=x.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&b!==void 0?b:0)-r.axis[r.draggedAxis].dragOffset;Y=r.draggedAxis==="x"&&r.isRtl?((D=(v=x.rect)===null||v===void 0?void 0:v[r.axis[r.draggedAxis].sizeAttr])!==null&&D!==void 0?D:0)-ze.size-Y:Y;var Ae=Y/(ne-ze.size),Me=Ae*(me-Ke);r.draggedAxis==="x"&&r.isRtl&&(Me=!((N=e.getRtlHelpers())===null||N===void 0)&&N.isScrollingToNegative?-Me:Me),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=Me}},this.onEndDrag=function(i){r.isDragging=!1;var s=Ff(r.el),a=Xn(r.el);i.preventDefault(),i.stopPropagation(),tr(r.el,r.classNames.dragging),r.onStopScrolling(),s.removeEventListener("mousemove",r.drag,!0),s.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=a.setTimeout(function(){s.removeEventListener("click",r.preventClick,!0),s.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=n,this.options=Li(Li({},e.defaultOptions),t),this.classNames=Li(Li({},e.defaultOptions.classNames),t.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Iv(this._onMouseMove,64),this.onWindowResize=Oi(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Oi(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Oi(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var n=document.createElement("div");n.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var t=n.firstElementChild,r=t?.firstElementChild;if(!r)return null;document.body.appendChild(t),t.scrollLeft=0;var i=e.getOffset(t),s=e.getOffset(r);t.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(t),e.rtlHelpers={isScrollOriginAtZero:i.left!==s.left,isScrollingToNegative:s.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Sv()}catch(n){return Sv()}},e.getOffset=function(n){var t=n.getBoundingClientRect(),r=Ff(n),i=Xn(n);return{top:t.top+(i.pageYOffset||r.documentElement.scrollTop),left:t.left+(i.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){jf&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var n,t;this.wrapperEl=this.el.querySelector(bt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(bt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(bt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(bt(this.classNames.offset)),this.maskEl=this.el.querySelector(bt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,bt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(bt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(bt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(bt(this.classNames.track)).concat(bt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(bt(this.classNames.track)).concat(bt(this.classNames.vertical))),this.axis.x.scrollbar.el=((n=this.axis.x.track.el)===null||n===void 0?void 0:n.querySelector(bt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((t=this.axis.y.track.el)===null||t===void 0?void 0:t.querySelector(bt(this.classNames.scrollbar)))||null,this.options.autoHide||(er(this.axis.x.scrollbar.el,this.classNames.visible),er(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var n=this,t,r=Xn(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(t=this.contentWrapperEl)===null||t===void 0||t.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,s=r.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){i&&r.requestAnimationFrame(function(){n.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){n.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var n=Xn(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var t=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||t>0,s=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,p=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=i?"".concat(t||p,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=t!==0&&p>t,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,b=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&p>s-b,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(n){var t,r;if(n===void 0&&(n="y"),!this.axis[n].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[n].scrollSizeAttr],s=(r=(t=this.axis[n].track.el)===null||t===void 0?void 0:t[this.axis[n].offsetSizeAttr])!==null&&r!==void 0?r:0,a=s/i,c;return c=Math.max(~~(a*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(n){var t,r,i;n===void 0&&(n="y");var s=this.axis[n].scrollbar;if(!(!this.axis[n].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[n].scrollSizeAttr],c=((t=this.axis[n].track.el)===null||t===void 0?void 0:t[this.axis[n].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[n].sizeAttr],10),p=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];p=n==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-p:p,n==="x"&&this.isRtl&&(p=!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?p:-p);var h=p/(a-d),g=~~((c-s.size)*h);g=n==="x"&&this.isRtl?-g+(c-s.size):g,s.el.style.transform=n==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(n){n===void 0&&(n="y");var t=this.axis[n].track.el,r=this.axis[n].scrollbar.el;!t||!r||!this.contentWrapperEl||(this.axis[n].isOverflowing||this.axis[n].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(n))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(n))),this.axis[n].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(n){n===void 0&&(n="y"),this.axis[n].isOverflowing&&!this.axis[n].scrollbar.isVisible&&(er(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(n){n===void 0&&(n="y"),!this.isDragging&&this.axis[n].isOverflowing&&this.axis[n].scrollbar.isVisible&&(tr(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(n){n===void 0&&(n="y");var t=this.axis[n];!t.track.el||!t.scrollbar.el||(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(n),er(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?er(t.scrollbar.el,this.classNames.hover):tr(t.scrollbar.el,this.classNames.hover)):(tr(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)))},e.prototype.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),tr(this.axis[n].track.el,this.classNames.hover),tr(this.axis[n].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)},e.prototype.onDragStart=function(n,t){var r;t===void 0&&(t="y"),this.isDragging=!0;var i=Ff(this.el),s=Xn(this.el),a=this.axis[t].scrollbar,c=t==="y"?n.pageY:n.pageX;this.axis[t].dragOffset=c-(((r=a.rect)===null||r===void 0?void 0:r[this.axis[t].offsetAttr])||0),this.draggedAxis=t,er(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(n,t){var r=this,i,s,a,c;t===void 0&&(t="y");var d=this.axis[t];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){n.preventDefault();var p=Xn(this.el);this.axis[t].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[t].scrollbar,g=(s=(i=h.rect)===null||i===void 0?void 0:i[this.axis[t].offsetAttr])!==null&&s!==void 0?s:0,b=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[t].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],D=t==="y"?this.mouseY-g:this.mouseX-g,N=D<0?-1:1,k=N===-1?v-b:v+b,x=40,ne=function(){r.contentWrapperEl&&(N===-1?v>k&&(v-=x,r.contentWrapperEl[r.axis[t].scrollOffsetAttr]=v,p.requestAnimationFrame(ne)):v<k&&(v+=x,r.contentWrapperEl[r.axis[t].scrollOffsetAttr]=v,p.requestAnimationFrame(ne)))};ne()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var n=Xn(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),n.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},e.prototype.findChild=function(n,t){var r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(i){return r.call(i,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Ex,e.helpers=Cx,e})();var Vf=function(e,n){return Vf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])},Vf(e,n)};function Ix(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Vf(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var Hf=Zo.helpers,Bf=Hf.getOptions,At=Hf.addClasses,Tx=Hf.canUseDOM,Uf=(function(e){Ix(n,e);function n(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=e.apply(this,t)||this;return n.instances.set(t[0],i),i}return n.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.getAttribute("data-simplebar")!=="init"&&!n.instances.has(t)&&new n(t,Bf(t.attributes))})},n.removeObserver=function(){var t;(t=n.globalObserver)===null||t===void 0||t.disconnect()},n.prototype.initDOM=function(){var t=this,r,i,s;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(t.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),At(this.wrapperEl,this.classNames.wrapper),At(this.contentWrapperEl,this.classNames.contentWrapper),At(this.offsetEl,this.classNames.offset),At(this.maskEl,this.classNames.mask),At(this.contentEl,this.classNames.contentEl),At(this.placeholderEl,this.classNames.placeholder),At(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),At(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("tabindex",this.options.tabIndex.toString()),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("role","region"),(s=this.contentWrapperEl)===null||s===void 0||s.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");At(a,this.classNames.track),At(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),At(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),At(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}Zo.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},n.prototype.unMount=function(){Zo.prototype.unMount.call(this),n.instances.delete(this.el)},n.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(n.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},n.handleMutations=function(t){t.forEach(function(r){r.addedNodes.forEach(function(i){i.nodeType===1&&(i.hasAttribute("data-simplebar")?!n.instances.has(i)&&document.documentElement.contains(i)&&new n(i,Bf(i.attributes)):i.querySelectorAll("[data-simplebar]").forEach(function(s){s.getAttribute("data-simplebar")!=="init"&&!n.instances.has(s)&&document.documentElement.contains(s)&&new n(s,Bf(s.attributes))}))}),r.removedNodes.forEach(function(i){var s;i.nodeType===1&&(i.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(i)&&((s=n.instances.get(i))===null||s===void 0||s.unMount()):Array.prototype.forEach.call(i.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=n.instances.get(a))===null||c===void 0||c.unMount())}))})})},n.instances=new WeakMap,n})(Zo);Tx&&Uf.initHtmlApi();var Sx=["*"],xl=(()=>{class e{constructor(){this.elementRef=A(Yn),this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let t=this._element?.querySelector(this._scrollableContainerClassName);if(!t){console.error("No scrollable container found in the element.");return}this._simpleBar=new Uf(t)}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){if(!(!this._element||!this._element?.querySelector(this._scrollableContainerClassName))){if(!this._simpleBar){console.error("No scrollable container found in the element.");return}this._simpleBar.recalculate()}}ngAfterViewChecked(){this._recalculateScrollbar()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-scrollable-container"]],ngContentSelectors:Sx,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(r,i){r&1&&(ef(),Dn(0,"div",0),tf(1),wn())},styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.scrollable-container{height:100%;max-height:100%;padding-right:var(--scrollable-container-paddin-right, .8rem)}
14
+ `],encapsulation:2})}}return e})();var Rv=e=>({capitalize:e}),Lv=e=>[e];function Mx(e,n){if(e&1){let t=we();C(0,"div",20),P("click",function(){let i=j(t).$index,s=E(2).$implicit,a=E(2);return B(a._messageAction(s,i))})("keypress",function(){let i=j(t).$index,s=E(2).$implicit,a=E(2);return B(a._messageAction(s,i))}),Z(1),M()}if(e&2){let t=n.$implicit,r=n.$index,i=E(2).$implicit,s=E(2);T("title",s._getItemLinkTitle(i,r)),w(),Xe(t)}}function xx(e,n){if(e&1&&Pe(0,Mx,2,2,"div",19,qe),e&2){let t=E().$implicit,r=E(2);Fe(t.linkText.constructor===r.Array?t.linkText:ht(0,Lv,t.linkText))}}function kx(e,n){if(e&1){let t=we();C(0,"div",13)(1,"div",14),te(2,"div",15),C(3,"div",16),Z(4),M(),C(5,"div",17),P("click",function(i){let s=j(t).$implicit,a=E(2);return B(a._closeMessage(s,!1,i))})("keypress",function(i){let s=j(t).$implicit,a=E(2);return B(a._closeMessage(s,!1,i))}),M()(),C(6,"div",18),Z(7),M(),_e(8,xx,2,2),M()}if(e&2){let t=n.$implicit;w(2),T("ngClass","message-item-icon-"+t.type),w(),T("ngClass",ht(5,Rv,t.capitalizedTitle)),w(),Ce(" ",t.title," "),w(3),Xe(t.text),w(),De(t.linkText?8:-1)}}function Nx(e,n){if(e&1&&(C(0,"lib-bimplus-scrollable-container"),Pe(1,kx,9,7,"div",13,qe),M()),e&2){let t=E();w(),Fe(t._messagesList)}}function Ax(e,n){e&1&&(C(0,"div",9),te(1,"div",21),C(2,"div",22),Z(3),ge(4,"translate"),M()()),e&2&&(w(3),Xe(ye(4,1,"_Notify_No_Messages")))}function Ox(e,n){if(e&1){let t=we();C(0,"div",20),P("click",function(){let i=j(t).$index,s=E(2).$implicit,a=E();return B(a._messageAction(s,i))})("keypress",function(){let i=j(t).$index,s=E(2).$implicit,a=E();return B(a._messageAction(s,i))}),Z(1),M()}if(e&2){let t=n.$implicit,r=n.$index,i=E(2).$implicit,s=E();T("title",s._getItemLinkTitle(i,r)),w(),Xe(t)}}function Rx(e,n){if(e&1&&Pe(0,Ox,2,2,"div",19,qe),e&2){let t=E().$implicit,r=E();Fe(t.linkText.constructor===r.Array?t.linkText:ht(0,Lv,t.linkText))}}function Lx(e,n){if(e&1){let t=we();C(0,"div",13)(1,"div",14),te(2,"div",15),C(3,"div",16),Z(4),M(),C(5,"div",17),P("click",function(i){let s=j(t).$implicit,a=E();return B(a._closeMessage(s,!0,i))})("keypress",function(i){let s=j(t).$implicit,a=E();return B(a._closeMessage(s,!0,i))}),M()(),C(6,"div",18),Z(7),M(),_e(8,Rx,2,2),M()}if(e&2){let t=n.$implicit;w(2),T("ngClass","message-item-icon-"+t.type),w(),T("ngClass",ht(5,Rv,t.capitalizedTitle)),w(),Ce(" ",t.title," "),w(3),Ce(" ",t.text," "),w(),De(t.linkText?8:-1)}}var kl="bimplus-notify-messages",Nl=(()=>{class e extends Qe{constructor(){super(),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new ie,this.bimplusNotifyDeleteAllMessages=new ie,this.bimplusNotifyMessageAction=new ie}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(t){if(t.messages){let r=t.messages.currentValue;this.updateMessages(r)}}updateMessages(t){if(!(t&&typeof t=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let i=JSON.parse(t);this._messagesList=i.messages;let s=this._messagesList.filter(a=>this._oldMessagesList.findIndex(c=>c.id===a.id)<0);s=s.filter(a=>this._messageNotReadYet(a)),s.slice().reverse().forEach(a=>{this._previewMessagesList.findIndex(c=>a.id===c.id)<0&&(this._previewMessagesList.unshift(a),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(a.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}_closeMessage(t,r,i){if(r)return this._closePreviewMessage(t.id);i&&(i.stopPropagation(),i.preventDefault()),fe(this,"bimplusNotifyDeleteMessage",JSON.stringify(t))}_closePreviewMessage(t,r=!0){t&&(this._previewMessagesList=this._previewMessagesList.filter(i=>i.id!==t),this.storeMessagesAsRead([t]),r&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){fe(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(t,r){t.actionId=r,fe(this,"bimplusNotifyMessageAction",JSON.stringify(t))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(t){if(!t?.id)return!0;let r=window.localStorage.getItem(kl);return r?!r.includes(t.id):!0}storeMessagesAsRead(t){if(!t||t.length<1)return;let r=window.localStorage.getItem(kl);r??="",t.forEach(i=>{r?.includes(i)||(r+=i+";")}),window.localStorage.setItem(kl,r)}clearAllLocalStorageMessages(){window.localStorage.removeItem(kl)}_getItemLinkTitle(t,r){let i=[];return t.linkText&&(t.links||t.link)&&(i=Array.isArray(t.links)?t.links:[t.link]),i[r]??""}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(r,i){r&2&&il("new-messages",i.newMessages)("bim-notify",i.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",I],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},features:[je([Se]),Ue,zt],decls:20,vars:15,consts:[[1,"dropdown",3,"click","keypress","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click","keypress"],[1,"messages-container"],[1,"message-item-empty"],[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],[1,"message-item"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click","keypress"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],[1,"message-item-link",3,"click","keypress","title"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(r,i){r&1&&(C(0,"div",0),ge(1,"translate"),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),C(2,"div",1),te(3,"div",2),M(),C(4,"div",3),te(5,"div",4),C(6,"div",5)(7,"div",6),Z(8),M(),C(9,"div",7),P("click",function(){return i._deleteAllMessages()})("keypress",function(){return i._deleteAllMessages()}),Z(10),ge(11,"translate"),M()(),C(12,"div",8),_e(13,Nx,3,0,"lib-bimplus-scrollable-container")(14,Ax,5,3,"div",9),M()()(),C(15,"div",10),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),M(),C(16,"div",11)(17,"div",12),Pe(18,Lx,9,7,"div",13,qe),M()()),r&2&&(T("ngClass",i._menuOpened?"open":"")("title",ye(1,11,"_BimplusNotifyTitle")),w(3),T("ngClass","icon-notify"+(i._alertActive?"-alert notify":"")),w(),T("ngClass",i._menuOpened?"open":""),w(4),Ce(" (",i._messagesList.length,") "),w(2),Ce(" ",ye(11,13,"_Notify_Mark_All")," "),w(3),De(i._messagesList.length?13:14),w(2),T("ngClass",i._menuOpened?"open":""),w(),qn("top",i.previewMessagesOffsetY),T("ngClass",i.showMessagePreview&&!i._menuOpened&&i._previewMessagesList.length>0?"visible":""),w(2),Fe(i._previewMessagesList))},dependencies:[Ne,Be,$e,xl,Ze],styles:[`.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--notify-message-title-text-color-enabled);background-color:var(--notify-message-title-background-color-enabled)}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:var(--notify-dropdown-menu-item-background-color-hovered)}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:var(--notify-messages-container-background-color-enabled);border:thin solid var(--notify-messages-container-border-color-enabled);-webkit-box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);text-decoration-color:var(--notify-messages-container-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid var(--notify-message-item-border-color-enabled);padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:var(--text-link-color-default);text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container{position:relative;display:flex;flex:1 1 auto}.bim-notify .messages-container lib-bimplus-scrollable-container{max-height:100%;min-width:100%}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:var(--notify-message-item-background-color-enabled);border:thin solid var(--notify-message-item-border-color-enabled);-webkit-box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg")}
15
+ `],encapsulation:2})}}return e})();var Px=(e,n,t)=>({red:e,yellow:n,green:t}),Al=(()=>{class e extends Qe{constructor(){super(),this.usedStorage=Fo(0),this.bimplusStorageInfoClicked=new ie}_infoClicked(t){fe(this,"bimplusStorageInfoClicked",t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:[1,"usedStorage"]},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},features:[je([Se]),Ue],decls:8,vars:13,consts:[[1,"storage-info",3,"click","keypress"],[1,"progress-title"],["data-test","used-storage",1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(r,i){r&1&&(C(0,"div",0),P("click",function(){return i._infoClicked("storageInfo")})("keypress",function(){return i._infoClicked("storageInfo")}),C(1,"span",1),Z(2),ge(3,"translate"),C(4,"span",2),Z(5),M()(),C(6,"div",3),te(7,"div",4),M()()),r&2&&(w(2),Ce(" ",ye(3,7,"_Common_Data_Environment_Quota")," "),w(3),Ce(" ",i.usedStorage(),"% "),w(2),qn("width",i.usedStorage()+"%")("max-width",i.usedStorage()+"%"),T("ngClass",En(9,Px,i.usedStorage()>=90,i.usedStorage()>=80&&i.usedStorage()<90,i.usedStorage()<80)))},dependencies:[Ne,Be,$e,Ze],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:var(--storage-info-placeholder-text-color-enabled);flex-direction:column}.storage-info.hovered,.storage-info:hover{color:var(--storage-info-text-color-hovered)}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:var(--storage-info-bar-border-color-hovered)}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:var(--storage-info-bar-container-background-color-enabled);padding:.125em;border:var(--storage-info-bar-container-border-color-enabled) solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:var(--storage-info-bar-background-color-low-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:var(--storage-info-bar-background-color-medium-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:var(--storage-info-bar-background-color-high-enabled)}
16
+ `],encapsulation:3})}}return e})();var Ol=(()=>{class e extends Qe{constructor(){super(),this.defaultShopUrl="https://www.bimplus.net/",this.shopUrl=this.defaultShopUrl,this.country="",this.isTouch=!1,this.bimplusUpgradeLinkClicked=new ie}_getLangParamValue(t){let i={en:"1",fr:"2",de:"3",cs:"1",es:"1",it:"1",ru:"1",ro:"1",tr:"1"}[t];return`&lang=${i||"1"}`}_getCountryIsoParam(t){let i={en:"gb",us:"us",fr:"fr",de:"de",cs:"cz",es:"es",it:"it",ru:"ru",ro:"ro",tr:"tr"}[t];return i?`&ap_country_iso=${i}`:""}_linkClicked(){let t=this.shopUrl||this.defaultShopUrl;console.debug("Opening upgrade to Bimplus link"),window.open(t,"_blank"),fe(this,"bimplusUpgradeLinkClicked",t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-upgrade-link"]],inputs:{shopUrl:"shopUrl",country:"country",isTouch:[2,"isTouch","isTouch",I]},outputs:{bimplusUpgradeLinkClicked:"bimplusUpgradeLinkClicked"},features:[je([Se]),Ue],decls:3,vars:4,consts:[[1,"bimplus-upgrade-link","secondary-button","body-text-mixin",3,"click","keypress","ngClass"]],template:function(r,i){r&1&&(C(0,"div",0),P("click",function(){return i._linkClicked()})("keypress",function(){return i._linkClicked()}),Z(1),ge(2,"translate"),M()),r&2&&(T("ngClass",i.isTouch?"is-touch":""),w(),Ce(" ",ye(2,2,"_Upgrade_to_Bimplus")," "))},dependencies:[Ne,Be,$e,Ze],styles:[`.secondary-button{border:solid 2px var(--color-border-input-focus);border-radius:.4rem;padding:.4rem;box-sizing:border-box;line-height:1.2;height:100%;display:inline-block;color:var(--color-border-input-focus);text-transform:uppercase;text-align:center;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:100%;font-weight:var(--font-weight, 700);cursor:pointer}.secondary-button:hover{background-color:var(--color-background-button-secondary-hover)}.secondary-button.hidden{visibility:hidden}.is-touch .secondary-button{padding-left:0}
17
+ `],encapsulation:3})}}return e})();var Fx=(e,n)=>({open:e,"is-touch":n}),jx=e=>({open:e}),Bx=e=>({selected:e});function Vx(e,n){if(e&1){let t=we();C(0,"li",7),P("click",function(){let i=j(t).$implicit,s=E();return B(s._menuItemClicked(i.mode))})("keypress",function(){let i=j(t).$implicit,s=E();return B(s._menuItemClicked(i.mode))}),te(1,"div",8),C(2,"span"),Z(3),ge(4,"translate"),M()()}if(e&2){let t=n.$implicit,r=E();T("ngClass",ht(5,Bx,r.selectedMode===t.mode)),w(),T("ngClass",t.class),w(2),Xe(ye(4,3,t.textId))}}var Rl=(()=>{class e extends Qe{constructor(){super(),this._menuItemsList=[{mode:"touch",class:"icon-touch-mode-toolbar",textId:"_Touch_Mode"},{mode:"desktop",class:"icon-desktop-mode-toolbar",textId:"_Desktop_Mode"}],this._menuOpened=!1,this.isTouch=!1,this.selectedMode="desktop",this.bimplusTouchModeSelected=new ie}get _selectedItem(){return this._menuItemsList.find(t=>t.mode==this.selectedMode)}ngOnChanges(t){t.localizedStrings&&this._localizedStrings.set(t.localizedStrings.currentValue)}_menuItemClicked(t){fe(this,"bimplusTouchModeSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",I],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},features:[je([Se]),Ue,zt],decls:8,vars:9,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"],[1,"icon",3,"ngClass"]],template:function(r,i){r&1&&(C(0,"div",0),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),M(),C(1,"div",1),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),C(2,"div",2),te(3,"div",3)(4,"span",4),M(),C(5,"ul",5),Pe(6,Vx,5,7,"li",6,qe),M()()),r&2&&(T("ngClass",i._menuOpened?"open":""),w(),T("ngClass",Ar(4,Fx,i._menuOpened,i.isTouch)),w(2),T("ngClass",i._selectedItem!=null&&i._selectedItem.class?i._selectedItem==null?null:i._selectedItem.class:""),w(2),T("ngClass",ht(7,jx,i._menuOpened)),w(),Fe(i._menuItemsList))},dependencies:[Ne,Be,$e,Ze],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;width:4em;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--touch-menu-dropdown-open-text-color-enabled);background-color:var(--touch-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:1em;margin-right:.3em;background-size:1.4em 1.4em;padding-top:.31em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--touch-menu-dropdown-toggle-text-color-enabled);min-width:2.8em;min-height:2.81em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .main-icon{padding-top:.1em}.dropdown-toggle .icon{margin:0}.is-touch .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;padding-bottom:.22em;min-width:0;min-height:0;padding-top:0;padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.dropdown-toggle:hover{color:var(--touch-menu-dropdown-toggle-text-color-hovered)}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--touch-menu-dropdown-menu-background-color-enabled);border:thin solid var(--touch-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--touch-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 2.2em .2em 2em;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--touch-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--touch-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-touch-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Desktop_Mode.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
18
+ `],encapsulation:3})}}return e})();var Hx=(e,n,t)=>({divider:e,languageMenuItem:n,"submenu-hidden":t});function Ux(e,n){if(e&1&&Z(0),e&2){let t=E();Ce(" ",t.userName," ")}}function $x(e,n){if(e&1){let t=we();C(0,"div",16),P("click",function(){let i=j(t).$implicit,s=E(4);return B(s._switchLanguage(i.symbol))})("keypress",function(){let i=j(t).$implicit,s=E(4);return B(s._switchLanguage(i.symbol))}),Z(1),M()}if(e&2){let t=n.$implicit,r=E(4);T("id",de(r._getLangId(t)))("ngClass",t.symbol===r.selectedLanguage?"selected":""),_n("key",r._getLangId(t)),w(),Ce(" ",t.text," ")}}function zx(e,n){if(e&1&&(te(0,"div",10)(1,"div",11),C(2,"span",12),Z(3),ge(4,"translate"),M(),C(5,"div",13)(6,"div",14),Pe(7,$x,2,5,"div",15,qe),M()()),e&2){let t=E(2).$implicit,r=E();w(),T("ngClass",t.class),w(),T("ngClass",t.textClass?t.textClass:""),w(),Ce(" ",ye(4,4,t.textId)," "),w(2),T("ngClass",r._languagesMenuOpened?"open":""),w(2),Fe(r._languagesList)}}function Wx(e,n){if(e&1&&(te(0,"div",11),C(1,"span",12),Z(2),ge(3,"translate"),M()),e&2){let t=E(2).$implicit;T("ngClass",t.class),w(),T("ngClass",t.textClass?t.textClass:""),w(),Ce(" ",ye(3,3,t.textId)," ")}}function Gx(e,n){if(e&1&&(C(0,"a",9),te(1,"div",11),C(2,"span",12),Z(3),ge(4,"translate"),M()()),e&2){let t=E(2).$implicit,r=E();T("href",de(r._buildUrl(t)),bi),w(),T("ngClass",t.class),w(),T("ngClass",t.textClass?t.textClass:""),w(),Ce(" ",ye(4,5,t.textId)," ")}}function Yx(e,n){if(e&1){let t=we();C(0,"li",8),P("click",function(){j(t);let i=E(),s=i.$implicit,a=i.$index,c=E();return B(c._menuItemClicked(s,a))})("keypress",function(){j(t);let i=E(),s=i.$implicit,a=i.$index,c=E();return B(c._menuItemClicked(s,a))}),_e(1,zx,9,6)(2,Wx,4,5)(3,Gx,5,7,"a",9),M()}if(e&2){let t=E().$implicit;T("ngClass",En(4,Hx,t.type==="divider",t.action==="submenu",(!t.url||t.url.slice(0,2)==="#/")&&t.action!=="submenu")),_n("key",t.id)("role",t.type==="divider"?"separator":""),w(),De(t.action==="submenu"?1:!t.url||t.url.slice(0,2)==="#/"?2:!t.type||t.type!=="divider"?3:-1)}}function qx(e,n){if(e&1&&_e(0,Yx,4,8,"li",7),e&2){let t=n.$implicit;De(t?0:-1)}}var Ll=(()=>{class e extends Qe{constructor(){super(),this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina",lCode:"3"},{symbol:"de",text:"Deutsch",lCode:"1"},{symbol:"en",text:"English (UK)",lCode:"0"},{symbol:"us",text:"English (US)",lCode:void 0},{symbol:"es",text:"Espa\xF1ol",lCode:"18"},{symbol:"fr",text:"Fran\xE7ais",lCode:"4"},{symbol:"it",text:"Italiano",lCode:"2"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",lCode:"14"},{symbol:"ro",text:"Romana",lCode:void 0},{symbol:"tr",text:"T\xFCrk\xE7e",lCode:void 0}],this._menuOpened=!1,this._languagesMenuOpened=!1,this.accountSettingsVisible=!0,this.removeConnectedAppsVisible=!1,this.userGuideVisible=!0,this.contactFormVisible=!0,this.forumVisible=!0,this.releaseNotesVisible=!0,this.submenuVisible=!0,this.clearCacheVisible=!0,this.dividerLoggedInVisible=!0,this.logoutVisible=!0,this.isEmbedded=!1,this.isTouch=!1,this.allowRcaItem=!1,this.buttonTitle="",this.userName="Unknown user",this.userPhotoUrl="",this.userGuideLinkUrl="https://bimplus-help.allplan.com/welcome.htm",this.contactFormLinkUrl="https://www.allplan.com/info/contact",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new ie,this.bimplusLanguageSelected=new ie,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"contactFormLink",action:"contactForm",class:"icon-contact-form",textId:"_Contact_form",get url(){return this._url?.()??""},_url:()=>this.contactFormLinkUrl,queryParams:"",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"releaseNotesLink",action:"releaseNotes",class:"icon-release-notes",textId:"_Release_notes",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(t){t.localizedStrings&&this._localizedStrings.set(t.localizedStrings.currentValue)}_menuItemClicked(t,r){!t||t.type==="divider"||(t.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,fe(this,"bimplusUserMenuClicked",{index:r,action:t.action?t.action:""})))}_switchLanguage(t){this._languagesMenuOpened=!1,this._menuOpened=!1,fe(this,"bimplusLanguageSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(t){return t?!this[`${t.action?t.action:t.id}Visible`]:!1}_buildUrl(t){let r=t?.url,s=this._languagesList.find(c=>c.symbol===this.selectedLanguage)?.lCode,a=r?.endsWith?.(".ct")&&s;return(t?.queryParams||a)&&(r=r+"?",a&&(r=r+"L="+s,t?.queryParams&&(r=r+"&")),t?.queryParams&&(r=r+t.queryParams)),r}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(r=>{if(!(this._isHidden(r)||r.checkState&&!this[r.checkState]))return r})}_getLangId(t){return"portalLanguage"+t?.symbol.charAt(0).toUpperCase()+t?.symbol.slice(1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",I],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",I],userGuideVisible:[2,"userGuideVisible","userGuideVisible",I],contactFormVisible:[2,"contactFormVisible","contactFormVisible",I],forumVisible:[2,"forumVisible","forumVisible",I],releaseNotesVisible:[2,"releaseNotesVisible","releaseNotesVisible",I],submenuVisible:[2,"submenuVisible","submenuVisible",I],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",I],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",I],logoutVisible:[2,"logoutVisible","logoutVisible",I],isEmbedded:[2,"isEmbedded","isEmbedded",I],isTouch:[2,"isTouch","isTouch",I],allowRcaItem:[2,"allowRcaItem","allowRcaItem",I],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",contactFormLinkUrl:"contactFormLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},features:[je([Se]),Ue,zt],decls:10,vars:11,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[3,"ngClass"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],[1,"languageSubmenuItem",3,"id","ngClass"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(r,i){r&1&&(C(0,"div",0),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),M(),C(1,"div",1)(2,"div",2),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),te(3,"img",3),C(4,"div",4),_e(5,Ux,1,1),M(),te(6,"span",5),M(),C(7,"ul",6),Pe(8,qx,1,1,null,null,qe),M()()),r&2&&(T("ngClass",i._menuOpened?"open":""),_n("key","bimcompOverlay"),w(),T("ngClass",i._menuOpened?"open":""),_n("key","userMenu"),w(),T("title",i.buttonTitle?i.buttonTitle:""),w(),T("src",de(i.userPhotoUrl?i.userPhotoUrl:""),bi)("alt",de(i.buttonTitle?i.buttonTitle:"")),w(2),De(i.isTouch?-1:5),w(2),T("ngClass",i._menuOpened?"open":""),w(),Fe(i._getMenuItems()))},dependencies:[Ne,Be,$e,Ze],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Pic_Default.webp") no-repeat center}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .user-name{margin-left:.2em}.dropdown-toggle:hover{color:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-account-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/@bimplus/navigation/assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-contact-form{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact_From.svg") no-repeat center}.icon-forum{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Forum.svg") no-repeat center}.icon-release-notes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Release_Notes.svg") no-repeat center}.icon-clear-cache{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
19
+ `],encapsulation:3})}}return e})();var Zx=(e,n)=>({open:e,"is-touch":n});function Qx(e,n){if(e&1){let t=we();C(0,"li",7),P("click",function(){let i=j(t).$implicit,s=E();return B(s._switchZoom(i.symbol))})("keypress",function(){let i=j(t).$implicit,s=E();return B(s._switchZoom(i.symbol))}),C(1,"span"),Z(2),M()()}if(e&2){let t=n.$implicit,r=E();T("ngClass",r._getZoomClassObject(t.symbol)),w(2),Xe(t.text)}}var Pl=(()=>{class e{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new ie}_switchZoom(t){fe(this,"bimplusZoomSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(t){return{selected:this.selectedZoom===t,["bimzoom-"+t]:!0}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",I],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},decls:8,vars:6,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-zoom"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(r,i){r&1&&(C(0,"div",0),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),M(),C(1,"div",1),P("click",function(){return i._toggleOpened()})("keypress",function(){return i._toggleOpened()}),C(2,"div",2),te(3,"div",3)(4,"span",4),M(),C(5,"ul",5),Pe(6,Qx,3,2,"li",6,qe),M()()),r&2&&(T("ngClass",i._menuOpened?"open":""),w(),T("ngClass",Ar(3,Zx,i._menuOpened,i.isTouch)),w(4),T("ngClass",i._menuOpened?"open":""),w(),Fe(i._zoomList))},dependencies:[Ne,Be],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--zoom-dropdown-open-text-color-enabled);background-color:var(--zoom-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--zoom-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:6.5em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--zoom-dropdown-menu-background-color-enabled);border:thin solid var(--zoom-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--zoom-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.21em 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--zoom-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-zoom{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Zoom.svg")}
20
+ `],encapsulation:3})}}return e})();var $f=new z("TRANSLATE_HTTP_LOADER_CONFIG"),Kx=(()=>{class e{http;config;constructor(){this.config=Ie({prefix:"/assets/i18n/",suffix:".json",enforceLoading:!1,useHttpBackend:!1},A($f)),this.http=this.config.useHttpBackend?new xi(A(Mi)):A(xi)}getTranslation(t){let r=this.config.enforceLoading?`?enforceLoading=${Date.now()}`:"";return this.http.get(`${this.config.prefix}${t}${this.config.suffix}${r}`)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function Pv(e={}){let n=e.useHttpBackend??!1;return[{provide:$f,useValue:e},{provide:Jn,useClass:Kx,deps:[n?Mi:xi,$f]}]}var Fv=(()=>{class e{constructor(){this.defaultLang="en",this.currentLanguage$=new Nn(this.defaultLang),this.currentLanguageStrings$=new Nn({}),this._languageFilesUri="/assets"}set languageFilesUri(t){this._languageFilesUri=t}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(t){this.currentLanguageStrings$.next(t)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(t){return Lt(this,null,function*(){this.currentLanguage$.next(t),yield this.fetchLanguageStrings(t)})}extractLocalizedStrings(t){let r={};for(let[i,s]of Object.entries(this.currentLanguageStrings))typeof s=="string"&&t.find(a=>a===i)&&(r[i]=s);return r}fetchLanguageStrings(t){return Lt(this,null,function*(){let r=yield fetch(`${this._languageFilesUri}/strings_${t}.json`);console.log(`Language strings loaded from: ${this._languageFilesUri}/strings_${t}.json`),console.log(r);let i=yield r.json();if(t!==this.defaultLang){let a=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),c=a&&Object.keys(a);if(c?.length)for(let d in c){let p=c[d];i[p]??=a[p]}}this.currentLanguageStrings$.next(i)})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function zf(e){e||(e=A(Dr));let n=new re(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(Fc(n))}var Bv=qw(jv());function Jx(e,n){if(e&1){let t=we();C(0,"lib-bimplus-main-menu",11),P("bimplusMainMenuClicked",function(i){j(t);let s=E();return B(s.bimplusMainMenuClicked(i))})("bimplusMainMenuOverlayClicked",function(){j(t);let i=E();return B(i.bimplusMainMenuOverlayClicked())}),M()}if(e&2){let t=E();T("selectedLanguage",t.languageStringsService.currentLanguage)("localizedStrings",t.languageStringsService.currentLanguageStrings)("isTouch",t.isTouch)("showHorizontalMenuIcons",t.isTouch)("appsWithInfo",t.appsWithInfo)("appsOrder",t.appsOrder)("menuItemsOrder",t.menuItemsOrder)}}var Vv=(()=>{class e{constructor(){this.translateService=A(Se),this.languageStringsService=A(Fv),this.logoState=Fr.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuData=[],this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.activeTab=Wn("object-properties"),this.languageStringsService.currentLanguage$.pipe(zf()).subscribe({next:t=>{this.translateService.use(t),Bv.default.locale(t)}}),this.languageStringsService.currentLanguageStrings$.pipe(zf()).subscribe({next:t=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,t)}})}log(t,r,i,s){let a=typeof r?.detail=="object"?JSON.stringify(r?.detail):r?.detail,c=`EVENT : ${t}. `+(i?`INDEX: ${r?.detail?.index} ACTION: ${r?.detail?.action}`:`VALUE: ${a}`);(s?()=>window.alert(c):()=>console.log(c))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:t=>{this.log("Navbar clicked",t),t?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages()}bimplusLanguageSelected(t){this.log("bimplusLanguageSelected",{detail:t}),this._switchLanguage(t)}_switchLanguage(t){t&&this.languageStringsService.setCurrentLanguage(t)}bimplusUserMenuClicked(t){this.log("bimplusUserMenuClicked",t,!0)}bimplusTouchModeSelected(t){this.log("bimplusTouchModeSelected",{detail:t}),this.isTouch=t==="touch"}bimplusMainMenuClicked(t){this.log("bimplusMainMenuClicked",{detail:t},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(t){this.log("bimplusStorageInfoClicked",{detail:t},!1,!0)}bimplusUpgradeLinkClicked(t){this.log("bimplusUpgradeLinkClicked",{detail:t},!1,!0)}bimplusContactClicked(t){this.log("bimplusContactClicked",{detail:t},!1,!0)}bimplusZoomSelected(t){this.log("bimplusZoomSelected",{detail:t}),this.selectedZoom=t;let r=62.5*(Number(t)/100),i=document.querySelector("html");i&&(i.style.fontSize=r+"%")}bimplusNotifyDeleteMessage(t){let r=JSON.parse(t),i=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(s=>s.id!==r.id);this.messages=i&&JSON.stringify({messages:i})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(t){this.log("This is notify message action handler",{detail:t},!1,!0)}initLanguage(){console.log("[@Bimplus/Navigation-Web] Initializing language settings..."),this.languageStringsService.languageFilesUri="/assets/@bimplus/navigation/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ae({type:e,selectors:[["app-root"]],features:[je([])],decls:11,vars:22,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"logoState","isNavbarMenuVisible","isNavbarMenuActive","isTouch"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],["country","",3,"bimplusUpgradeLinkClicked","selectedLanguage","localizedStrings","isTouch"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(r,i){r&1&&(C(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-notify",2),P("bimplusNotifyMessageAction",function(a){return i.bimplusNotifyMessageAction(a)})("bimplusNotifyDeleteMessage",function(a){return i.bimplusNotifyDeleteMessage(a)})("bimplusNotifyDeleteAllMessages",function(){return i.bimplusNotifyDeleteAllMessages()}),M(),C(3,"lib-bimplus-storage-info",3),P("bimplusStorageInfoClicked",function(a){return i.bimplusStorageInfoClicked(a)}),M(),C(4,"lib-bimplus-upgrade-link",4),P("bimplusUpgradeLinkClicked",function(a){return i.bimplusUpgradeLinkClicked(a)}),M(),C(5,"lib-bimplus-contact",5),P("bimplusContactClicked",function(a){return i.bimplusContactClicked(a)}),M(),C(6,"lib-bimplus-zoom",6),P("bimplusZoomSelected",function(a){return i.bimplusZoomSelected(a)}),M(),C(7,"lib-bimplus-touch-menu",7),P("bimplusTouchModeSelected",function(a){return i.bimplusTouchModeSelected(a)}),M(),C(8,"lib-bimplus-language-menu",8),P("bimplusLanguageSelected",function(a){return i.bimplusLanguageSelected(a)}),M(),C(9,"lib-bimplus-user-menu",9),P("bimplusLanguageSelected",function(a){return i.bimplusLanguageSelected(a)})("bimplusUserMenuClicked",function(a){return i.bimplusUserMenuClicked(a)}),M()()(),_e(10,Jx,1,7,"lib-bimplus-main-menu",10)),r&2&&(w(),T("logoState",i.logoState)("isNavbarMenuVisible",i.isBimplusMainMenuVisible)("isNavbarMenuActive",i.isNavbarMenuActive)("isTouch",i.isTouch),w(),T("selectedLanguage",i.languageStringsService.currentLanguage)("localizedStrings",i.languageStringsService.currentLanguageStrings)("messages",i.messages),w(),T("selectedLanguage",i.languageStringsService.currentLanguage)("localizedStrings",i.languageStringsService.currentLanguageStrings)("usedStorage",90),w(),T("selectedLanguage",i.languageStringsService.currentLanguage)("localizedStrings",i.languageStringsService.currentLanguageStrings)("isTouch",i.isTouch),w(2),T("selectedZoom",i.selectedZoom),w(),T("selectedMode",i.isTouch?"touch":"desktop")("selectedLanguage",i.languageStringsService.currentLanguage)("localizedStrings",i.languageStringsService.currentLanguageStrings),w(),T("selectedLanguage",i.languageStringsService.currentLanguage),w(),T("selectedLanguage",i.languageStringsService.currentLanguage)("localizedStrings",i.languageStringsService.currentLanguageStrings)("isTouch",i.isTouch),w(),De(i.isNavbarMenuActive?10:-1))},dependencies:[wl,Cl,Il,Tl,Nl,Al,Ol,Ll,Pl,Rl],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
21
+ `],encapsulation:2})}}return e})();var Gf=class{handle(n){return console.warn("[navigation-web] Missing translation string"+n.key),n.key}};Lt(null,null,function*(){let e=yield Tf({providers:[kf(),fv({defaultLanguage:"en",loader:Pv({prefix:"./assets/@bimplus/navigation/languages/strings_",suffix:".json"}),missingTranslationHandler:{provide:Pr,useClass:Gf}})]}),n=vt(wl,{injector:e.injector});customElements.define("bimplus-navigation-contact",n);let t=vt(Cl,{injector:e.injector});customElements.define("bimplus-navigation-language-menu",t);let r=vt(Il,{injector:e.injector});customElements.define("bimplus-navigation-main-menu",r);let i=vt(Tl,{injector:e.injector});customElements.define("bimplus-navigation-navbar",i);let s=vt(Nl,{injector:e.injector});customElements.define("bimplus-navigation-notify",s);let a=vt(El,{injector:e.injector});customElements.define("bimplus-navigation-project-menu",a);let c=vt(Al,{injector:e.injector});customElements.define("bimplus-navigation-storage-info",c);let d=vt(Ol,{injector:e.injector});customElements.define("bimplus-navigation-upgrade-link",d);let p=vt(Rl,{injector:e.injector});customElements.define("bimplus-navigation-touch-menu",p);let h=vt(Ll,{injector:e.injector});customElements.define("bimplus-navigation-user-menu",h);let g=vt(Pl,{injector:e.injector});customElements.define("bimplus-navigation-zoom",g);let b=vt(xl,{injector:e.injector});customElements.define("bimplus-navigation-scrollable-container-element",b);let v=vt(Vv,{injector:e.injector});customElements.define("bimplus-navigation-app-wrapper-internal-element",v)});export{Gf as BimplusMissingTranslationHandler};