@bimplus/navigation-web 0.0.217 → 0.0.218-snyk-issus-01

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,24 +1,21 @@
1
- var ky=Object.create;var Tc=Object.defineProperty,Ay=Object.defineProperties,Ly=Object.getOwnPropertyDescriptor,Ny=Object.getOwnPropertyDescriptors,Oy=Object.getOwnPropertyNames,pm=Object.getOwnPropertySymbols,Ry=Object.getPrototypeOf,mm=Object.prototype.hasOwnProperty,Py=Object.prototype.propertyIsEnumerable;var fm=(e,t,n)=>t in e?Tc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Le=(e,t)=>{for(var n in t||={})mm.call(t,n)&&fm(e,n,t[n]);if(pm)for(var n of pm(t))Py.call(t,n)&&fm(e,n,t[n]);return e},nt=(e,t)=>Ay(e,Ny(t));var hm=(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 Fy=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vy=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Oy(t))!mm.call(e,r)&&r!==n&&Tc(e,r,{get:()=>t[r],enumerable:!(i=Ly(t,r))||i.enumerable});return e};var jy=(e,t,n)=>(n=e!=null?ky(Ry(e)):{},Vy(t||!e||!e.__esModule?Tc(n,"default",{value:e,enumerable:!0}):n,e));var Wt=(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 T2=Fy((vf,Vr)=>{"use strict";(function(e,t){typeof vf=="object"&&typeof Vr<"u"?Vr.exports=t():typeof define=="function"&&define.amd?define(t):e.moment=t()})(vf,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 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 _(s){return s._pf==null&&(s._pf=v()),s._pf}var I;Array.prototype.some?I=Array.prototype.some:I=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 A(s){var l=null,u=!1,p=s._d&&!isNaN(s._d.getTime());if(p&&(l=_(s),u=I.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 k(s){var l=y(NaN);return s!=null?g(_(l),s):_(l).userInvalidated=!0,l}var ne=t.momentProperties=[],ce=!1;function et(s,l){var u,p,m,b=ne.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),b>0)for(u=0;u<b;u++)p=ne[u],m=l[p],c(m)||(s[p]=m);return s}function ze(s){et(this,s),this._d=new Date(s._d!=null?s._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ce===!1&&(ce=!0,t.updateOffset(this),ce=!1)}function O(s){return s instanceof ze||s!=null&&s._isAMomentObject!=null}function we(s){t.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+s)}function ie(s,l){var u=!0;return g(function(){if(t.deprecationHandler!=null&&t.deprecationHandler(null,s),u){var p=[],m,b,C,L=arguments.length;for(b=0;b<L;b++){if(m="",typeof arguments[b]=="object"){m+=`
2
- [`+b+"] ";for(C in arguments[0])o(arguments[0],C)&&(m+=C+": "+arguments[0][C]+", ");m=m.slice(0,-2)}else m=arguments[b];p.push(m)}we(s+`
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
3
  Arguments: `+Array.prototype.slice.call(p).join("")+`
4
- `+new Error().stack),u=!1}return l.apply(this,arguments)},l)}var xn={};function _f(s,l){t.deprecationHandler!=null&&t.deprecationHandler(s,l),xn[s]||(we(l),xn[s]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function zt(s){return typeof Function<"u"&&s instanceof Function||Object.prototype.toString.call(s)==="[object Function]"}function L2(s){var l,u;for(u in s)o(s,u)&&(l=s[u],zt(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 tc(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 nc(s){s!=null&&this.set(s)}var ic;Object.keys?ic=Object.keys:ic=function(s){var l,u=[];for(l in s)o(s,l)&&u.push(l);return u};var N2={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O2(s,l,u){var p=this._calendar[s]||this._calendar.sameElse;return zt(p)?p.call(l,u):p}function $t(s,l,u){var p=""+Math.abs(s),m=l-p.length,b=s>=0;return(b?u?"+":"":"-")+Math.pow(10,Math.max(0,m)).toString().substr(1)+p}var rc=/(\[[^\[]*\])|(\\)?([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,as=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oc={},Vi={};function P(s,l,u,p){var m=p;typeof p=="string"&&(m=function(){return this[p]()}),s&&(Vi[s]=m),l&&(Vi[l[0]]=function(){return $t(m.apply(this,arguments),l[1],l[2])}),u&&(Vi[u]=function(){return this.localeData().ordinal(m.apply(this,arguments),s)})}function R2(s){return s.match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"")}function P2(s){var l=s.match(rc),u,p;for(u=0,p=l.length;u<p;u++)Vi[l[u]]?l[u]=Vi[l[u]]:l[u]=R2(l[u]);return function(m){var b="",C;for(C=0;C<p;C++)b+=zt(l[C])?l[C].call(m,s):l[C];return b}}function ls(s,l){return s.isValid()?(l=Cf(l,s.localeData()),oc[l]=oc[l]||P2(l),oc[l](s)):s.localeData().invalidDate()}function Cf(s,l){var u=5;function p(m){return l.longDateFormat(m)||m}for(as.lastIndex=0;u>=0&&as.test(s);)s=s.replace(as,p),as.lastIndex=0,u-=1;return s}var F2={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 V2(s){var l=this._longDateFormat[s],u=this._longDateFormat[s.toUpperCase()];return l||!u?l:(this._longDateFormat[s]=u.match(rc).map(function(p){return p==="MMMM"||p==="MM"||p==="DD"||p==="dddd"?p.slice(1):p}).join(""),this._longDateFormat[s])}var j2="Invalid date";function H2(){return this._invalidDate}var B2="%d",U2=/\d{1,2}/;function z2(s){return this._ordinal.replace("%d",s)}var $2={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 Z2(s,l,u,p){var m=this._relativeTime[u];return zt(m)?m(s,l,u,p):m.replace(/%d/i,s)}function W2(s,l){var u=this._relativeTime[s>0?"future":"past"];return zt(u)?u(l):u.replace(/%s/i,l)}var wf={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 Dt(s){return typeof s=="string"?wf[s]||wf[s.toLowerCase()]:void 0}function sc(s){var l={},u,p;for(p in s)o(s,p)&&(u=Dt(p),u&&(l[u]=s[p]));return l}var G2={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 Y2(s){var l=[],u;for(u in s)o(s,u)&&l.push({unit:u,priority:G2[u]});return l.sort(function(p,m){return p.priority-m.priority}),l}var Df=/\d/,bt=/\d\d/,Ef=/\d{3}/,ac=/\d{4}/,cs=/[+-]?\d{6}/,ve=/\d\d?/,xf=/\d\d\d\d?/,Mf=/\d\d\d\d\d\d?/,us=/\d{1,3}/,lc=/\d{1,4}/,ds=/[+-]?\d{1,6}/,ji=/\d+/,ps=/[+-]?\d+/,q2=/Z|[+-]\d\d:?\d\d/gi,fs=/Z|[+-]\d\d(?::?\d\d)?/gi,Q2=/[+-]?\d+(\.\d{1,3})?/,jr=/[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,Hi=/^[1-9]\d?/,cc=/^([1-9]\d|\d)/,ms;ms={};function N(s,l,u){ms[s]=zt(l)?l:function(p,m){return p&&u?u:l}}function X2(s,l){return o(ms,s)?ms[s](l._strict,l._locale):new RegExp(K2(s))}function K2(s){return rn(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(l,u,p,m,b){return u||p||m||b}))}function rn(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Et(s){return s<0?Math.ceil(s)||0:Math.floor(s)}function J(s){var l=+s,u=0;return l!==0&&isFinite(l)&&(u=Et(l)),u}var uc={};function ue(s,l){var u,p=l,m;for(typeof s=="string"&&(s=[s]),d(l)&&(p=function(b,C){C[l]=J(b)}),m=s.length,u=0;u<m;u++)uc[s[u]]=p}function Hr(s,l){ue(s,function(u,p,m,b){m._w=m._w||{},l(u,m._w,m,b)})}function J2(s,l,u){l!=null&&o(uc,s)&&uc[s](l,u._a,u,s)}function hs(s){return s%4===0&&s%100!==0||s%400===0}var Je=0,on=1,Zt=2,$e=3,At=4,sn=5,ei=6,eb=7,tb=8;P("Y",0,0,function(){var s=this.year();return s<=9999?$t(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"),N("Y",ps),N("YY",ve,bt),N("YYYY",lc,ac),N("YYYYY",ds,cs),N("YYYYYY",ds,cs),ue(["YYYYY","YYYYYY"],Je),ue("YYYY",function(s,l){l[Je]=s.length===2?t.parseTwoDigitYear(s):J(s)}),ue("YY",function(s,l){l[Je]=t.parseTwoDigitYear(s)}),ue("Y",function(s,l){l[Je]=parseInt(s,10)});function Br(s){return hs(s)?366:365}t.parseTwoDigitYear=function(s){return J(s)+(J(s)>68?1900:2e3)};var If=Bi("FullYear",!0);function nb(){return hs(this.year())}function Bi(s,l){return function(u){return u!=null?(Sf(this,s,u),t.updateOffset(this,l),this):Ur(this,s)}}function Ur(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 Sf(s,l,u){var p,m,b,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}b=u,C=s.month(),L=s.date(),L=L===29&&C===1&&!hs(b)?28:L,m?p.setUTCFullYear(b,C,L):p.setFullYear(b,C,L)}}function ib(s){return s=Dt(s),zt(this[s])?this[s]():this}function rb(s,l){if(typeof s=="object"){s=sc(s);var u=Y2(s),p,m=u.length;for(p=0;p<m;p++)this[u[p].unit](s[u[p].unit])}else if(s=Dt(s),zt(this[s]))return this[s](l);return this}function ob(s,l){return(s%l+l)%l}var Ae;Array.prototype.indexOf?Ae=Array.prototype.indexOf:Ae=function(s){var l;for(l=0;l<this.length;++l)if(this[l]===s)return l;return-1};function dc(s,l){if(isNaN(s)||isNaN(l))return NaN;var u=ob(l,12);return s+=(l-u)/12,u===1?hs(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)}),N("M",ve,Hi),N("MM",ve,bt),N("MMM",function(s,l){return l.monthsShortRegex(s)}),N("MMMM",function(s,l){return l.monthsRegex(s)}),ue(["M","MM"],function(s,l){l[on]=J(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 sb="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Tf="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),kf=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ab=jr,lb=jr;function cb(s,l){return s?i(this._months)?this._months[s.month()]:this._months[(this._months.isFormat||kf).test(l)?"format":"standalone"][s.month()]:i(this._months)?this._months:this._months.standalone}function ub(s,l){return s?i(this._monthsShort)?this._monthsShort[s.month()]:this._monthsShort[kf.test(l)?"format":"standalone"][s.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function db(s,l,u){var p,m,b,C=s.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],p=0;p<12;++p)b=y([2e3,p]),this._shortMonthsParse[p]=this.monthsShort(b,"").toLocaleLowerCase(),this._longMonthsParse[p]=this.months(b,"").toLocaleLowerCase();return u?l==="MMM"?(m=Ae.call(this._shortMonthsParse,C),m!==-1?m:null):(m=Ae.call(this._longMonthsParse,C),m!==-1?m:null):l==="MMM"?(m=Ae.call(this._shortMonthsParse,C),m!==-1?m:(m=Ae.call(this._longMonthsParse,C),m!==-1?m:null)):(m=Ae.call(this._longMonthsParse,C),m!==-1?m:(m=Ae.call(this._shortMonthsParse,C),m!==-1?m:null))}function pb(s,l,u){var p,m,b;if(this._monthsParseExact)return db.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]&&(b="^"+this.months(m,"")+"|^"+this.monthsShort(m,""),this._monthsParse[p]=new RegExp(b.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 Af(s,l){if(!s.isValid())return s;if(typeof l=="string"){if(/^\d+$/.test(l))l=J(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,dc(s.year(),u)),s._isUTC?s._d.setUTCMonth(u,p):s._d.setMonth(u,p),s}function Lf(s){return s!=null?(Af(this,s),t.updateOffset(this,!0),this):Ur(this,"Month")}function fb(){return dc(this.year(),this.month())}function mb(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Nf.call(this),s?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=ab),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}function hb(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Nf.call(this),s?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=lb),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}function Nf(){function s(U,te){return te.length-U.length}var l=[],u=[],p=[],m,b,C,L;for(m=0;m<12;m++)b=y([2e3,m]),C=rn(this.monthsShort(b,"")),L=rn(this.months(b,"")),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 gb(s,l,u,p,m,b,C){var L;return s<100&&s>=0?(L=new Date(s+400,l,u,p,m,b,C),isFinite(L.getFullYear())&&L.setFullYear(s)):L=new Date(s,l,u,p,m,b,C),L}function zr(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 gs(s,l,u){var p=7+l-u,m=(7+zr(s,0,p).getUTCDay()-l)%7;return-m+p-1}function Of(s,l,u,p,m){var b=(7+u-p)%7,C=gs(s,p,m),L=1+7*(l-1)+b+C,U,te;return L<=0?(U=s-1,te=Br(U)+L):L>Br(s)?(U=s+1,te=L-Br(s)):(U=s,te=L),{year:U,dayOfYear:te}}function $r(s,l,u){var p=gs(s.year(),l,u),m=Math.floor((s.dayOfYear()-p-1)/7)+1,b,C;return m<1?(C=s.year()-1,b=m+an(C,l,u)):m>an(s.year(),l,u)?(b=m-an(s.year(),l,u),C=s.year()+1):(C=s.year(),b=m),{week:b,year:C}}function an(s,l,u){var p=gs(s,l,u),m=gs(s+1,l,u);return(Br(s)-p+m)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),N("w",ve,Hi),N("ww",ve,bt),N("W",ve,Hi),N("WW",ve,bt),Hr(["w","ww","W","WW"],function(s,l,u,p){l[p.substr(0,1)]=J(s)});function bb(s){return $r(s,this._week.dow,this._week.doy).week}var vb={dow:0,doy:6};function yb(){return this._week.dow}function _b(){return this._week.doy}function Cb(s){var l=this.localeData().week(this);return s==null?l:this.add((s-l)*7,"d")}function wb(s){var l=$r(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"),N("d",ve),N("e",ve),N("E",ve),N("dd",function(s,l){return l.weekdaysMinRegex(s)}),N("ddd",function(s,l){return l.weekdaysShortRegex(s)}),N("dddd",function(s,l){return l.weekdaysRegex(s)}),Hr(["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}),Hr(["d","e","E"],function(s,l,u,p){l[p]=J(s)});function Db(s,l){return typeof s!="string"?s:isNaN(s)?(s=l.weekdaysParse(s),typeof s=="number"?s:null):parseInt(s,10)}function Eb(s,l){return typeof s=="string"?l.weekdaysParse(s)%7||7:isNaN(s)?null:s}function pc(s,l){return s.slice(l,7).concat(s.slice(0,l))}var xb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Mb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ib=jr,Sb=jr,Tb=jr;function kb(s,l){var u=i(this._weekdays)?this._weekdays:this._weekdays[s&&s!==!0&&this._weekdays.isFormat.test(l)?"format":"standalone"];return s===!0?pc(u,this._week.dow):s?u[s.day()]:u}function Ab(s){return s===!0?pc(this._weekdaysShort,this._week.dow):s?this._weekdaysShort[s.day()]:this._weekdaysShort}function Lb(s){return s===!0?pc(this._weekdaysMin,this._week.dow):s?this._weekdaysMin[s.day()]:this._weekdaysMin}function Nb(s,l,u){var p,m,b,C=s.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],p=0;p<7;++p)b=y([2e3,1]).day(p),this._minWeekdaysParse[p]=this.weekdaysMin(b,"").toLocaleLowerCase(),this._shortWeekdaysParse[p]=this.weekdaysShort(b,"").toLocaleLowerCase(),this._weekdaysParse[p]=this.weekdays(b,"").toLocaleLowerCase();return u?l==="dddd"?(m=Ae.call(this._weekdaysParse,C),m!==-1?m:null):l==="ddd"?(m=Ae.call(this._shortWeekdaysParse,C),m!==-1?m:null):(m=Ae.call(this._minWeekdaysParse,C),m!==-1?m:null):l==="dddd"?(m=Ae.call(this._weekdaysParse,C),m!==-1||(m=Ae.call(this._shortWeekdaysParse,C),m!==-1)?m:(m=Ae.call(this._minWeekdaysParse,C),m!==-1?m:null)):l==="ddd"?(m=Ae.call(this._shortWeekdaysParse,C),m!==-1||(m=Ae.call(this._weekdaysParse,C),m!==-1)?m:(m=Ae.call(this._minWeekdaysParse,C),m!==-1?m:null)):(m=Ae.call(this._minWeekdaysParse,C),m!==-1||(m=Ae.call(this._weekdaysParse,C),m!==-1)?m:(m=Ae.call(this._shortWeekdaysParse,C),m!==-1?m:null))}function Ob(s,l,u){var p,m,b;if(this._weekdaysParseExact)return Nb.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]||(b="^"+this.weekdays(m,"")+"|^"+this.weekdaysShort(m,"")+"|^"+this.weekdaysMin(m,""),this._weekdaysParse[p]=new RegExp(b.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 Rb(s){if(!this.isValid())return s!=null?this:NaN;var l=Ur(this,"Day");return s!=null?(s=Db(s,this.localeData()),this.add(s-l,"d")):l}function Pb(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 Fb(s){if(!this.isValid())return s!=null?this:NaN;if(s!=null){var l=Eb(s,this.localeData());return this.day(this.day()%7?l:l-7)}else return this.day()||7}function Vb(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||fc.call(this),s?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Ib),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}function jb(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||fc.call(this),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Sb),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Hb(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||fc.call(this),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Tb),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function fc(){function s(tt,pn){return pn.length-tt.length}var l=[],u=[],p=[],m=[],b,C,L,U,te;for(b=0;b<7;b++)C=y([2e3,1]).day(b),L=rn(this.weekdaysMin(C,"")),U=rn(this.weekdaysShort(C,"")),te=rn(this.weekdays(C,"")),l.push(L),u.push(U),p.push(te),m.push(L),m.push(U),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 mc(){return this.hours()%12||12}function Bb(){return this.hours()||24}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,mc),P("k",["kk",2],0,Bb),P("hmm",0,0,function(){return""+mc.apply(this)+$t(this.minutes(),2)}),P("hmmss",0,0,function(){return""+mc.apply(this)+$t(this.minutes(),2)+$t(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+$t(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+$t(this.minutes(),2)+$t(this.seconds(),2)});function Pf(s,l){P(s,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),l)})}Pf("a",!0),Pf("A",!1);function Ff(s,l){return l._meridiemParse}N("a",Ff),N("A",Ff),N("H",ve,cc),N("h",ve,Hi),N("k",ve,Hi),N("HH",ve,bt),N("hh",ve,bt),N("kk",ve,bt),N("hmm",xf),N("hmmss",Mf),N("Hmm",xf),N("Hmmss",Mf),ue(["H","HH"],$e),ue(["k","kk"],function(s,l,u){var p=J(s);l[$e]=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[$e]=J(s),_(u).bigHour=!0}),ue("hmm",function(s,l,u){var p=s.length-2;l[$e]=J(s.substr(0,p)),l[At]=J(s.substr(p)),_(u).bigHour=!0}),ue("hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[$e]=J(s.substr(0,p)),l[At]=J(s.substr(p,2)),l[sn]=J(s.substr(m)),_(u).bigHour=!0}),ue("Hmm",function(s,l,u){var p=s.length-2;l[$e]=J(s.substr(0,p)),l[At]=J(s.substr(p))}),ue("Hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[$e]=J(s.substr(0,p)),l[At]=J(s.substr(p,2)),l[sn]=J(s.substr(m))});function Ub(s){return(s+"").toLowerCase().charAt(0)==="p"}var zb=/[ap]\.?m?\.?/i,$b=Bi("Hours",!0);function Zb(s,l,u){return s>11?u?"pm":"PM":u?"am":"AM"}var Vf={calendar:N2,longDateFormat:F2,invalidDate:j2,ordinal:B2,dayOfMonthOrdinalParse:U2,relativeTime:$2,months:sb,monthsShort:Tf,week:vb,weekdays:xb,weekdaysMin:Mb,weekdaysShort:Rf,meridiemParse:zb},De={},Zr={},Wr;function Wb(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 jf(s){return s&&s.toLowerCase().replace("_","-")}function Gb(s){for(var l=0,u,p,m,b;l<s.length;){for(b=jf(s[l]).split("-"),u=b.length,p=jf(s[l+1]),p=p?p.split("-"):null;u>0;){if(m=bs(b.slice(0,u).join("-")),m)return m;if(p&&p.length>=u&&Wb(b,p)>=u-1)break;u--}l++}return Wr}function Yb(s){return!!(s&&s.match("^[^/\\\\]*$"))}function bs(s){var l=null,u;if(De[s]===void 0&&typeof Vr<"u"&&Vr&&Vr.exports&&Yb(s))try{l=Wr._abbr,u=hm,u("./locale/"+s),Mn(l)}catch{De[s]=null}return De[s]}function Mn(s,l){var u;return s&&(c(l)?u=ln(s):u=hc(s,l),u?Wr=u:typeof console<"u"&&console.warn&&console.warn("Locale "+s+" not found. Did you forget to load it?")),Wr._abbr}function hc(s,l){if(l!==null){var u,p=Vf;if(l.abbr=s,De[s]!=null)_f("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=De[s]._config;else if(l.parentLocale!=null)if(De[l.parentLocale]!=null)p=De[l.parentLocale]._config;else if(u=bs(l.parentLocale),u!=null)p=u._config;else return Zr[l.parentLocale]||(Zr[l.parentLocale]=[]),Zr[l.parentLocale].push({name:s,config:l}),null;return De[s]=new nc(tc(p,l)),Zr[s]&&Zr[s].forEach(function(m){hc(m.name,m.config)}),Mn(s),De[s]}else return delete De[s],null}function qb(s,l){if(l!=null){var u,p,m=Vf;De[s]!=null&&De[s].parentLocale!=null?De[s].set(tc(De[s]._config,l)):(p=bs(s),p!=null&&(m=p._config),l=tc(m,l),p==null&&(l.abbr=s),u=new nc(l),u.parentLocale=De[s],De[s]=u),Mn(s)}else De[s]!=null&&(De[s].parentLocale!=null?(De[s]=De[s].parentLocale,s===Mn()&&Mn(s)):De[s]!=null&&delete De[s]);return De[s]}function ln(s){var l;if(s&&s._locale&&s._locale._abbr&&(s=s._locale._abbr),!s)return Wr;if(!i(s)){if(l=bs(s),l)return l;s=[s]}return Gb(s)}function Qb(){return ic(De)}function gc(s){var l,u=s._a;return u&&_(s).overflow===-2&&(l=u[on]<0||u[on]>11?on:u[Zt]<1||u[Zt]>dc(u[Je],u[on])?Zt:u[$e]<0||u[$e]>24||u[$e]===24&&(u[At]!==0||u[sn]!==0||u[ei]!==0)?$e:u[At]<0||u[At]>59?At:u[sn]<0||u[sn]>59?sn:u[ei]<0||u[ei]>999?ei:-1,_(s)._overflowDayOfYear&&(l<Je||l>Zt)&&(l=Zt),_(s)._overflowWeeks&&l===-1&&(l=eb),_(s)._overflowWeekday&&l===-1&&(l=tb),_(s).overflow=l),s}var Xb=/^\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)?)?$/,Kb=/^\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)?)?$/,Jb=/Z|[+-]\d\d(?::?\d\d)?/,vs=[["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]],bc=[["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/]],ev=/^\/?Date\((-?\d+)/i,tv=/^(?:(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}))$/,nv={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Hf(s){var l,u,p=s._i,m=Xb.exec(p)||Kb.exec(p),b,C,L,U,te=vs.length,tt=bc.length;if(m){for(_(s).iso=!0,l=0,u=te;l<u;l++)if(vs[l][1].exec(m[1])){C=vs[l][0],b=vs[l][2]!==!1;break}if(C==null){s._isValid=!1;return}if(m[3]){for(l=0,u=tt;l<u;l++)if(bc[l][1].exec(m[3])){L=(m[2]||" ")+bc[l][0];break}if(L==null){s._isValid=!1;return}}if(!b&&L!=null){s._isValid=!1;return}if(m[4])if(Jb.exec(m[4]))U="Z";else{s._isValid=!1;return}s._f=C+(L||"")+(U||""),yc(s)}else s._isValid=!1}function iv(s,l,u,p,m,b){var C=[rv(s),Tf.indexOf(l),parseInt(u,10),parseInt(p,10),parseInt(m,10)];return b&&C.push(parseInt(b,10)),C}function rv(s){var l=parseInt(s,10);return l<=49?2e3+l:l<=999?1900+l:l}function ov(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function sv(s,l,u){if(s){var p=Rf.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 av(s,l,u){if(s)return nv[s];if(l)return 0;var p=parseInt(u,10),m=p%100,b=(p-m)/100;return b*60+m}function Bf(s){var l=tv.exec(ov(s._i)),u;if(l){if(u=iv(l[4],l[3],l[2],l[5],l[6],l[7]),!sv(l[1],u,s))return;s._a=u,s._tzm=av(l[8],l[9],l[10]),s._d=zr.apply(null,s._a),s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),_(s).rfc2822=!0}else s._isValid=!1}function lv(s){var l=ev.exec(s._i);if(l!==null){s._d=new Date(+l[1]);return}if(Hf(s),s._isValid===!1)delete s._isValid;else return;if(Bf(s),s._isValid===!1)delete s._isValid;else return;s._strict?s._isValid=!1:t.createFromInputFallback(s)}t.createFromInputFallback=ie("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 Ui(s,l,u){return s??l??u}function cv(s){var l=new Date(t.now());return s._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()]}function vc(s){var l,u,p=[],m,b,C;if(!s._d){for(m=cv(s),s._w&&s._a[Zt]==null&&s._a[on]==null&&uv(s),s._dayOfYear!=null&&(C=Ui(s._a[Je],m[Je]),(s._dayOfYear>Br(C)||s._dayOfYear===0)&&(_(s)._overflowDayOfYear=!0),u=zr(C,0,s._dayOfYear),s._a[on]=u.getUTCMonth(),s._a[Zt]=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[$e]===24&&s._a[At]===0&&s._a[sn]===0&&s._a[ei]===0&&(s._nextDay=!0,s._a[$e]=0),s._d=(s._useUTC?zr:gb).apply(null,p),b=s._useUTC?s._d.getUTCDay():s._d.getDay(),s._tzm!=null&&s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),s._nextDay&&(s._a[$e]=24),s._w&&typeof s._w.d<"u"&&s._w.d!==b&&(_(s).weekdayMismatch=!0)}}function uv(s){var l,u,p,m,b,C,L,U,te;l=s._w,l.GG!=null||l.W!=null||l.E!=null?(b=1,C=4,u=Ui(l.GG,s._a[Je],$r(ye(),1,4).year),p=Ui(l.W,1),m=Ui(l.E,1),(m<1||m>7)&&(U=!0)):(b=s._locale._week.dow,C=s._locale._week.doy,te=$r(ye(),b,C),u=Ui(l.gg,s._a[Je],te.year),p=Ui(l.w,te.week),l.d!=null?(m=l.d,(m<0||m>6)&&(U=!0)):l.e!=null?(m=l.e+b,(l.e<0||l.e>6)&&(U=!0)):m=b),p<1||p>an(u,b,C)?_(s)._overflowWeeks=!0:U!=null?_(s)._overflowWeekday=!0:(L=Of(u,p,m,b,C),s._a[Je]=L.year,s._dayOfYear=L.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function yc(s){if(s._f===t.ISO_8601){Hf(s);return}if(s._f===t.RFC_2822){Bf(s);return}s._a=[],_(s).empty=!0;var l=""+s._i,u,p,m,b,C,L=l.length,U=0,te,tt;for(m=Cf(s._f,s._locale).match(rc)||[],tt=m.length,u=0;u<tt;u++)b=m[u],p=(l.match(X2(b,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),U+=p.length),Vi[b]?(p?_(s).empty=!1:_(s).unusedTokens.push(b),J2(b,p,s)):s._strict&&!p&&_(s).unusedTokens.push(b);_(s).charsLeftOver=L-U,l.length>0&&_(s).unusedInput.push(l),s._a[$e]<=12&&_(s).bigHour===!0&&s._a[$e]>0&&(_(s).bigHour=void 0),_(s).parsedDateParts=s._a.slice(0),_(s).meridiem=s._meridiem,s._a[$e]=dv(s._locale,s._a[$e],s._meridiem),te=_(s).era,te!==null&&(s._a[Je]=s._locale.erasConvertYear(te,s._a[Je])),vc(s),gc(s)}function dv(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 pv(s){var l,u,p,m,b,C,L=!1,U=s._f.length;if(U===0){_(s).invalidFormat=!0,s._d=new Date(NaN);return}for(m=0;m<U;m++)b=0,C=!1,l=et({},s),s._useUTC!=null&&(l._useUTC=s._useUTC),l._f=s._f[m],yc(l),A(l)&&(C=!0),b+=_(l).charsLeftOver,b+=_(l).unusedTokens.length*10,_(l).score=b,L?b<p&&(p=b,u=l):(p==null||b<p||C)&&(p=b,u=l,C&&(L=!0));g(s,u||l)}function fv(s){if(!s._d){var l=sc(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)}),vc(s)}}function mv(s){var l=new ze(gc(Uf(s)));return l._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Uf(s){var l=s._i,u=s._f;return s._locale=s._locale||ln(s._l),l===null||u===void 0&&l===""?k({nullInput:!0}):(typeof l=="string"&&(s._i=l=s._locale.preparse(l)),O(l)?new ze(gc(l)):(f(l)?s._d=l:i(u)?pv(s):u?yc(s):hv(s),A(s)||(s._d=null),s))}function hv(s){var l=s._i;c(l)?s._d=new Date(t.now()):f(l)?s._d=new Date(l.valueOf()):typeof l=="string"?lv(s):i(l)?(s._a=h(l.slice(0),function(u){return parseInt(u,10)}),vc(s)):r(l)?fv(s):d(l)?s._d=new Date(l):t.createFromInputFallback(s)}function zf(s,l,u,p,m){var b={};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),b._isAMomentObject=!0,b._useUTC=b._isUTC=m,b._l=u,b._i=s,b._f=l,b._strict=p,mv(b)}function ye(s,l,u,p){return zf(s,l,u,p,!1)}var gv=ie("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=ye.apply(null,arguments);return this.isValid()&&s.isValid()?s<this?this:s:k()}),bv=ie("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=ye.apply(null,arguments);return this.isValid()&&s.isValid()?s>this?this:s:k()});function $f(s,l){var u,p;if(l.length===1&&i(l[0])&&(l=l[0]),!l.length)return ye();for(u=l[0],p=1;p<l.length;++p)(!l[p].isValid()||l[p][s](u))&&(u=l[p]);return u}function vv(){var s=[].slice.call(arguments,0);return $f("isBefore",s)}function yv(){var s=[].slice.call(arguments,0);return $f("isAfter",s)}var _v=function(){return Date.now?Date.now():+new Date},Gr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Cv(s){var l,u=!1,p,m=Gr.length;for(l in s)if(o(s,l)&&!(Ae.call(Gr,l)!==-1&&(s[l]==null||!isNaN(s[l]))))return!1;for(p=0;p<m;++p)if(s[Gr[p]]){if(u)return!1;parseFloat(s[Gr[p]])!==J(s[Gr[p]])&&(u=!0)}return!0}function wv(){return this._isValid}function Dv(){return Lt(NaN)}function ys(s){var l=sc(s),u=l.year||0,p=l.quarter||0,m=l.month||0,b=l.week||l.isoWeek||0,C=l.day||0,L=l.hour||0,U=l.minute||0,te=l.second||0,tt=l.millisecond||0;this._isValid=Cv(l),this._milliseconds=+tt+te*1e3+U*6e4+L*1e3*60*60,this._days=+C+b*7,this._months=+m+p*3+u*12,this._data={},this._locale=ln(),this._bubble()}function _s(s){return s instanceof ys}function _c(s){return s<0?Math.round(-1*s)*-1:Math.round(s)}function Ev(s,l,u){var p=Math.min(s.length,l.length),m=Math.abs(s.length-l.length),b=0,C;for(C=0;C<p;C++)(u&&s[C]!==l[C]||!u&&J(s[C])!==J(l[C]))&&b++;return b+m}function Zf(s,l){P(s,0,0,function(){var u=this.utcOffset(),p="+";return u<0&&(u=-u,p="-"),p+$t(~~(u/60),2)+l+$t(~~u%60,2)})}Zf("Z",":"),Zf("ZZ",""),N("Z",fs),N("ZZ",fs),ue(["Z","ZZ"],function(s,l,u){u._useUTC=!0,u._tzm=Cc(fs,s)});var xv=/([\+\-]|\d\d)/gi;function Cc(s,l){var u=(l||"").match(s),p,m,b;return u===null?null:(p=u[u.length-1]||[],m=(p+"").match(xv)||["-",0,0],b=+(m[1]*60)+J(m[2]),b===0?0:m[0]==="+"?b:-b)}function wc(s,l){var u,p;return l._isUTC?(u=l.clone(),p=(O(s)||f(s)?s.valueOf():ye(s).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+p),t.updateOffset(u,!1),u):ye(s).local()}function Dc(s){return-Math.round(s._d.getTimezoneOffset())}t.updateOffset=function(){};function Mv(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=Cc(fs,s),s===null)return this}else Math.abs(s)<16&&!u&&(s=s*60);return!this._isUTC&&l&&(m=Dc(this)),this._offset=s,this._isUTC=!0,m!=null&&this.add(m,"m"),p!==s&&(!l||this._changeInProgress?qf(this,Lt(s-p,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?p:Dc(this)}function Iv(s,l){return s!=null?(typeof s!="string"&&(s=-s),this.utcOffset(s,l),this):-this.utcOffset()}function Sv(s){return this.utcOffset(0,s)}function Tv(s){return this._isUTC&&(this.utcOffset(0,s),this._isUTC=!1,s&&this.subtract(Dc(this),"m")),this}function kv(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var s=Cc(q2,this._i);s!=null?this.utcOffset(s):this.utcOffset(0,!0)}return this}function Av(s){return this.isValid()?(s=s?ye(s).utcOffset():0,(this.utcOffset()-s)%60===0):!1}function Lv(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nv(){if(!c(this._isDSTShifted))return this._isDSTShifted;var s={},l;return et(s,this),s=Uf(s),s._a?(l=s._isUTC?y(s._a):ye(s._a),this._isDSTShifted=this.isValid()&&Ev(s._a,l.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ov(){return this.isValid()?!this._isUTC:!1}function Rv(){return this.isValid()?this._isUTC:!1}function Wf(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Pv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Lt(s,l){var u=s,p=null,m,b,C;return _s(s)?u={ms:s._milliseconds,d:s._days,M:s._months}:d(s)||!isNaN(+s)?(u={},l?u[l]=+s:u.milliseconds=+s):(p=Pv.exec(s))?(m=p[1]==="-"?-1:1,u={y:0,d:J(p[Zt])*m,h:J(p[$e])*m,m:J(p[At])*m,s:J(p[sn])*m,ms:J(_c(p[ei]*1e3))*m}):(p=Fv.exec(s))?(m=p[1]==="-"?-1:1,u={y:ti(p[2],m),M:ti(p[3],m),w:ti(p[4],m),d:ti(p[5],m),h:ti(p[6],m),m:ti(p[7],m),s:ti(p[8],m)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(C=Vv(ye(u.from),ye(u.to)),u={},u.ms=C.milliseconds,u.M=C.months),b=new ys(u),_s(s)&&o(s,"_locale")&&(b._locale=s._locale),_s(s)&&o(s,"_isValid")&&(b._isValid=s._isValid),b}Lt.fn=ys.prototype,Lt.invalid=Dv;function ti(s,l){var u=s&&parseFloat(s.replace(",","."));return(isNaN(u)?0:u)*l}function Gf(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 Vv(s,l){var u;return s.isValid()&&l.isValid()?(l=wc(l,s),s.isBefore(l)?u=Gf(s,l):(u=Gf(l,s),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function Yf(s,l){return function(u,p){var m,b;return p!==null&&!isNaN(+p)&&(_f(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."),b=u,u=p,p=b),m=Lt(u,p),qf(this,m,s),this}}function qf(s,l,u,p){var m=l._milliseconds,b=_c(l._days),C=_c(l._months);s.isValid()&&(p=p??!0,C&&Af(s,Ur(s,"Month")+C*u),b&&Sf(s,"Date",Ur(s,"Date")+b*u),m&&s._d.setTime(s._d.valueOf()+m*u),p&&t.updateOffset(s,b||C))}var jv=Yf(1,"add"),Hv=Yf(-1,"subtract");function Qf(s){return typeof s=="string"||s instanceof String}function Bv(s){return O(s)||f(s)||Qf(s)||d(s)||zv(s)||Uv(s)||s===null||s===void 0}function Uv(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,b,C=p.length;for(m=0;m<C;m+=1)b=p[m],u=u||o(s,b);return l&&u}function zv(s){var l=i(s),u=!1;return l&&(u=s.filter(function(p){return!d(p)&&Qf(s)}).length===0),l&&u}function $v(s){var l=r(s)&&!a(s),u=!1,p=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],m,b;for(m=0;m<p.length;m+=1)b=p[m],u=u||o(s,b);return l&&u}function Zv(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 Wv(s,l){arguments.length===1&&(arguments[0]?Bv(arguments[0])?(s=arguments[0],l=void 0):$v(arguments[0])&&(l=arguments[0],s=void 0):(s=void 0,l=void 0));var u=s||ye(),p=wc(u,this).startOf("day"),m=t.calendarFormat(this,p)||"sameElse",b=l&&(zt(l[m])?l[m].call(this,u):l[m]);return this.format(b||this.localeData().calendar(m,this,ye(u)))}function Gv(){return new ze(this)}function Yv(s,l){var u=O(s)?s:ye(s);return this.isValid()&&u.isValid()?(l=Dt(l)||"millisecond",l==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(l).valueOf()):!1}function qv(s,l){var u=O(s)?s:ye(s);return this.isValid()&&u.isValid()?(l=Dt(l)||"millisecond",l==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(l).valueOf()<u.valueOf()):!1}function Qv(s,l,u,p){var m=O(s)?s:ye(s),b=O(l)?l:ye(l);return this.isValid()&&m.isValid()&&b.isValid()?(p=p||"()",(p[0]==="("?this.isAfter(m,u):!this.isBefore(m,u))&&(p[1]===")"?this.isBefore(b,u):!this.isAfter(b,u))):!1}function Xv(s,l){var u=O(s)?s:ye(s),p;return this.isValid()&&u.isValid()?(l=Dt(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 Kv(s,l){return this.isSame(s,l)||this.isAfter(s,l)}function Jv(s,l){return this.isSame(s,l)||this.isBefore(s,l)}function e3(s,l,u){var p,m,b;if(!this.isValid())return NaN;if(p=wc(s,this),!p.isValid())return NaN;switch(m=(p.utcOffset()-this.utcOffset())*6e4,l=Dt(l),l){case"year":b=Cs(this,p)/12;break;case"month":b=Cs(this,p);break;case"quarter":b=Cs(this,p)/3;break;case"second":b=(this-p)/1e3;break;case"minute":b=(this-p)/6e4;break;case"hour":b=(this-p)/36e5;break;case"day":b=(this-p-m)/864e5;break;case"week":b=(this-p-m)/6048e5;break;default:b=this-p}return u?b:Et(b)}function Cs(s,l){if(s.date()<l.date())return-Cs(l,s);var u=(l.year()-s.year())*12+(l.month()-s.month()),p=s.clone().add(u,"months"),m,b;return l-p<0?(m=s.clone().add(u-1,"months"),b=(l-p)/(p-m)):(m=s.clone().add(u+1,"months"),b=(l-p)/(m-p)),-(u+b)||0}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function t3(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function n3(s){if(!this.isValid())return null;var l=s!==!0,u=l?this.clone().utc():this;return u.year()<0||u.year()>9999?ls(u,l?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):zt(Date.prototype.toISOString)?l?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ls(u,"Z")):ls(u,l?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function i3(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var s="moment",l="",u,p,m,b;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",b=l+'[")]',this.format(u+p+m+b)}function r3(s){s||(s=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var l=ls(this,s);return this.localeData().postformat(l)}function o3(s,l){return this.isValid()&&(O(s)&&s.isValid()||ye(s).isValid())?Lt({to:this,from:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function s3(s){return this.from(ye(),s)}function a3(s,l){return this.isValid()&&(O(s)&&s.isValid()||ye(s).isValid())?Lt({from:this,to:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function l3(s){return this.to(ye(),s)}function Xf(s){var l;return s===void 0?this._locale._abbr:(l=ln(s),l!=null&&(this._locale=l),this)}var Kf=ie("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 Jf(){return this._locale}var ws=1e3,zi=60*ws,Ds=60*zi,em=(365*400+97)*24*Ds;function $i(s,l){return(s%l+l)%l}function tm(s,l,u){return s<100&&s>=0?new Date(s+400,l,u)-em:new Date(s,l,u).valueOf()}function nm(s,l,u){return s<100&&s>=0?Date.UTC(s+400,l,u)-em:Date.UTC(s,l,u)}function c3(s){var l,u;if(s=Dt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?nm:tm,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-=$i(l+(this._isUTC?0:this.utcOffset()*zi),Ds);break;case"minute":l=this._d.valueOf(),l-=$i(l,zi);break;case"second":l=this._d.valueOf(),l-=$i(l,ws);break}return this._d.setTime(l),t.updateOffset(this,!0),this}function u3(s){var l,u;if(s=Dt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?nm:tm,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+=Ds-$i(l+(this._isUTC?0:this.utcOffset()*zi),Ds)-1;break;case"minute":l=this._d.valueOf(),l+=zi-$i(l,zi)-1;break;case"second":l=this._d.valueOf(),l+=ws-$i(l,ws)-1;break}return this._d.setTime(l),t.updateOffset(this,!0),this}function d3(){return this._d.valueOf()-(this._offset||0)*6e4}function p3(){return Math.floor(this.valueOf()/1e3)}function f3(){return new Date(this.valueOf())}function m3(){var s=this;return[s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond()]}function h3(){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 g3(){return this.isValid()?this.toISOString():null}function b3(){return A(this)}function v3(){return g({},_(this))}function y3(){return _(this).overflow}function _3(){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"),N("N",Ec),N("NN",Ec),N("NNN",Ec),N("NNNN",A3),N("NNNNN",L3),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}),N("y",ji),N("yy",ji),N("yyy",ji),N("yyyy",ji),N("yo",N3),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 C3(s,l){var u,p,m,b=this._eras||ln("en")._eras;for(u=0,p=b.length;u<p;++u){switch(typeof b[u].since){case"string":m=t(b[u].since).startOf("day"),b[u].since=m.valueOf();break}switch(typeof b[u].until){case"undefined":b[u].until=1/0;break;case"string":m=t(b[u].until).startOf("day").valueOf(),b[u].until=m.valueOf();break}}return b}function w3(s,l,u){var p,m,b=this.eras(),C,L,U;for(s=s.toUpperCase(),p=0,m=b.length;p<m;++p)if(C=b[p].name.toUpperCase(),L=b[p].abbr.toUpperCase(),U=b[p].narrow.toUpperCase(),u)switch(l){case"N":case"NN":case"NNN":if(L===s)return b[p];break;case"NNNN":if(C===s)return b[p];break;case"NNNNN":if(U===s)return b[p];break}else if([C,L,U].indexOf(s)>=0)return b[p]}function D3(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 E3(){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 x3(){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 M3(){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 I3(){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 S3(s){return o(this,"_erasNameRegex")||xc.call(this),s?this._erasNameRegex:this._erasRegex}function T3(s){return o(this,"_erasAbbrRegex")||xc.call(this),s?this._erasAbbrRegex:this._erasRegex}function k3(s){return o(this,"_erasNarrowRegex")||xc.call(this),s?this._erasNarrowRegex:this._erasRegex}function Ec(s,l){return l.erasAbbrRegex(s)}function A3(s,l){return l.erasNameRegex(s)}function L3(s,l){return l.erasNarrowRegex(s)}function N3(s,l){return l._eraYearOrdinalRegex||ji}function xc(){var s=[],l=[],u=[],p=[],m,b,C,L,U,te=this.eras();for(m=0,b=te.length;m<b;++m)C=rn(te[m].name),L=rn(te[m].abbr),U=rn(te[m].narrow),l.push(C),s.push(L),u.push(U),p.push(C),p.push(L),p.push(U);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 Es(s,l){P(0,[s,s.length],0,l)}Es("gggg","weekYear"),Es("ggggg","weekYear"),Es("GGGG","isoWeekYear"),Es("GGGGG","isoWeekYear"),N("G",ps),N("g",ps),N("GG",ve,bt),N("gg",ve,bt),N("GGGG",lc,ac),N("gggg",lc,ac),N("GGGGG",ds,cs),N("ggggg",ds,cs),Hr(["gggg","ggggg","GGGG","GGGGG"],function(s,l,u,p){l[p.substr(0,2)]=J(s)}),Hr(["gg","GG"],function(s,l,u,p){l[p]=t.parseTwoDigitYear(s)});function O3(s){return im.call(this,s,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function R3(s){return im.call(this,s,this.isoWeek(),this.isoWeekday(),1,4)}function P3(){return an(this.year(),1,4)}function F3(){return an(this.isoWeekYear(),1,4)}function V3(){var s=this.localeData()._week;return an(this.year(),s.dow,s.doy)}function j3(){var s=this.localeData()._week;return an(this.weekYear(),s.dow,s.doy)}function im(s,l,u,p,m){var b;return s==null?$r(this,p,m).year:(b=an(s,p,m),l>b&&(l=b),H3.call(this,s,l,u,p,m))}function H3(s,l,u,p,m){var b=Of(s,l,u,p,m),C=zr(b.year,0,b.dayOfYear);return this.year(C.getUTCFullYear()),this.month(C.getUTCMonth()),this.date(C.getUTCDate()),this}P("Q",0,"Qo","quarter"),N("Q",Df),ue("Q",function(s,l){l[on]=(J(s)-1)*3});function B3(s){return s==null?Math.ceil((this.month()+1)/3):this.month((s-1)*3+this.month()%3)}P("D",["DD",2],"Do","date"),N("D",ve,Hi),N("DD",ve,bt),N("Do",function(s,l){return s?l._dayOfMonthOrdinalParse||l._ordinalParse:l._dayOfMonthOrdinalParseLenient}),ue(["D","DD"],Zt),ue("Do",function(s,l){l[Zt]=J(s.match(ve)[0])});var rm=Bi("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),N("DDD",us),N("DDDD",Ef),ue(["DDD","DDDD"],function(s,l,u){u._dayOfYear=J(s)});function U3(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"),N("m",ve,cc),N("mm",ve,bt),ue(["m","mm"],At);var z3=Bi("Minutes",!1);P("s",["ss",2],0,"second"),N("s",ve,cc),N("ss",ve,bt),ue(["s","ss"],sn);var $3=Bi("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}),N("S",us,Df),N("SS",us,bt),N("SSS",us,Ef);var In,om;for(In="SSSS";In.length<=9;In+="S")N(In,ji);function Z3(s,l){l[ei]=J(("0."+s)*1e3)}for(In="S";In.length<=9;In+="S")ue(In,Z3);om=Bi("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");function W3(){return this._isUTC?"UTC":""}function G3(){return this._isUTC?"Coordinated Universal Time":""}var T=ze.prototype;T.add=jv,T.calendar=Wv,T.clone=Gv,T.diff=e3,T.endOf=u3,T.format=r3,T.from=o3,T.fromNow=s3,T.to=a3,T.toNow=l3,T.get=ib,T.invalidAt=y3,T.isAfter=Yv,T.isBefore=qv,T.isBetween=Qv,T.isSame=Xv,T.isSameOrAfter=Kv,T.isSameOrBefore=Jv,T.isValid=b3,T.lang=Kf,T.locale=Xf,T.localeData=Jf,T.max=bv,T.min=gv,T.parsingFlags=v3,T.set=rb,T.startOf=c3,T.subtract=Hv,T.toArray=m3,T.toObject=h3,T.toDate=f3,T.toISOString=n3,T.inspect=i3,typeof Symbol<"u"&&Symbol.for!=null&&(T[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),T.toJSON=g3,T.toString=t3,T.unix=p3,T.valueOf=d3,T.creationData=_3,T.eraName=E3,T.eraNarrow=x3,T.eraAbbr=M3,T.eraYear=I3,T.year=If,T.isLeapYear=nb,T.weekYear=O3,T.isoWeekYear=R3,T.quarter=T.quarters=B3,T.month=Lf,T.daysInMonth=fb,T.week=T.weeks=Cb,T.isoWeek=T.isoWeeks=wb,T.weeksInYear=V3,T.weeksInWeekYear=j3,T.isoWeeksInYear=P3,T.isoWeeksInISOWeekYear=F3,T.date=rm,T.day=T.days=Rb,T.weekday=Pb,T.isoWeekday=Fb,T.dayOfYear=U3,T.hour=T.hours=$b,T.minute=T.minutes=z3,T.second=T.seconds=$3,T.millisecond=T.milliseconds=om,T.utcOffset=Mv,T.utc=Sv,T.local=Tv,T.parseZone=kv,T.hasAlignedHourOffset=Av,T.isDST=Lv,T.isLocal=Ov,T.isUtcOffset=Rv,T.isUtc=Wf,T.isUTC=Wf,T.zoneAbbr=W3,T.zoneName=G3,T.dates=ie("dates accessor is deprecated. Use date instead.",rm),T.months=ie("months accessor is deprecated. Use month instead",Lf),T.years=ie("years accessor is deprecated. Use year instead",If),T.zone=ie("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Iv),T.isDSTShifted=ie("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nv);function Y3(s){return ye(s*1e3)}function q3(){return ye.apply(null,arguments).parseZone()}function sm(s){return s}var se=nc.prototype;se.calendar=O2,se.longDateFormat=V2,se.invalidDate=H2,se.ordinal=z2,se.preparse=sm,se.postformat=sm,se.relativeTime=Z2,se.pastFuture=W2,se.set=L2,se.eras=C3,se.erasParse=w3,se.erasConvertYear=D3,se.erasAbbrRegex=T3,se.erasNameRegex=S3,se.erasNarrowRegex=k3,se.months=cb,se.monthsShort=ub,se.monthsParse=pb,se.monthsRegex=hb,se.monthsShortRegex=mb,se.week=bb,se.firstDayOfYear=_b,se.firstDayOfWeek=yb,se.weekdays=kb,se.weekdaysMin=Lb,se.weekdaysShort=Ab,se.weekdaysParse=Ob,se.weekdaysRegex=Vb,se.weekdaysShortRegex=jb,se.weekdaysMinRegex=Hb,se.isPM=Ub,se.meridiem=Zb;function xs(s,l,u,p){var m=ln(),b=y().set(p,l);return m[u](b,s)}function am(s,l,u){if(d(s)&&(l=s,s=void 0),s=s||"",l!=null)return xs(s,l,u,"month");var p,m=[];for(p=0;p<12;p++)m[p]=xs(s,p,u,"month");return m}function Mc(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(),b=s?m._week.dow:0,C,L=[];if(u!=null)return xs(l,(u+b)%7,p,"day");for(C=0;C<7;C++)L[C]=xs(l,(C+b)%7,p,"day");return L}function Q3(s,l){return am(s,l,"months")}function X3(s,l){return am(s,l,"monthsShort")}function K3(s,l,u){return Mc(s,l,u,"weekdays")}function J3(s,l,u){return Mc(s,l,u,"weekdaysShort")}function ey(s,l,u){return Mc(s,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(s){var l=s%10,u=J(s%100/10)===1?"th":l===1?"st":l===2?"nd":l===3?"rd":"th";return s+u}}),t.lang=ie("moment.lang is deprecated. Use moment.locale instead.",Mn),t.langData=ie("moment.langData is deprecated. Use moment.localeData instead.",ln);var cn=Math.abs;function ty(){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 lm(s,l,u,p){var m=Lt(l,u);return s._milliseconds+=p*m._milliseconds,s._days+=p*m._days,s._months+=p*m._months,s._bubble()}function ny(s,l){return lm(this,s,l,1)}function iy(s,l){return lm(this,s,l,-1)}function cm(s){return s<0?Math.floor(s):Math.ceil(s)}function ry(){var s=this._milliseconds,l=this._days,u=this._months,p=this._data,m,b,C,L,U;return s>=0&&l>=0&&u>=0||s<=0&&l<=0&&u<=0||(s+=cm(Ic(u)+l)*864e5,l=0,u=0),p.milliseconds=s%1e3,m=Et(s/1e3),p.seconds=m%60,b=Et(m/60),p.minutes=b%60,C=Et(b/60),p.hours=C%24,l+=Et(C/24),U=Et(um(l)),u+=U,l-=cm(Ic(U)),L=Et(u/12),u%=12,p.days=l,p.months=u,p.years=L,this}function um(s){return s*4800/146097}function Ic(s){return s*146097/4800}function oy(s){if(!this.isValid())return NaN;var l,u,p=this._milliseconds;if(s=Dt(s),s==="month"||s==="quarter"||s==="year")switch(l=this._days+p/864e5,u=this._months+um(l),s){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(l=this._days+Math.round(Ic(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 dm=un("ms"),sy=un("s"),ay=un("m"),ly=un("h"),cy=un("d"),uy=un("w"),dy=un("M"),py=un("Q"),fy=un("y"),my=dm;function hy(){return Lt(this)}function gy(s){return s=Dt(s),this.isValid()?this[s+"s"]():NaN}function ni(s){return function(){return this.isValid()?this._data[s]:NaN}}var by=ni("milliseconds"),vy=ni("seconds"),yy=ni("minutes"),_y=ni("hours"),Cy=ni("days"),wy=ni("months"),Dy=ni("years");function Ey(){return Et(this.days()/7)}var dn=Math.round,Zi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function xy(s,l,u,p,m){return m.relativeTime(l||1,!!u,s,p)}function My(s,l,u,p){var m=Lt(s).abs(),b=dn(m.as("s")),C=dn(m.as("m")),L=dn(m.as("h")),U=dn(m.as("d")),te=dn(m.as("M")),tt=dn(m.as("w")),pn=dn(m.as("y")),Sn=b<=u.ss&&["s",b]||b<u.s&&["ss",b]||C<=1&&["m"]||C<u.m&&["mm",C]||L<=1&&["h"]||L<u.h&&["hh",L]||U<=1&&["d"]||U<u.d&&["dd",U];return u.w!=null&&(Sn=Sn||tt<=1&&["w"]||tt<u.w&&["ww",tt]),Sn=Sn||te<=1&&["M"]||te<u.M&&["MM",te]||pn<=1&&["y"]||["yy",pn],Sn[2]=l,Sn[3]=+s>0,Sn[4]=p,xy.apply(null,Sn)}function Iy(s){return s===void 0?dn:typeof s=="function"?(dn=s,!0):!1}function Sy(s,l){return Zi[s]===void 0?!1:l===void 0?Zi[s]:(Zi[s]=l,s==="s"&&(Zi.ss=l-1),!0)}function Ty(s,l){if(!this.isValid())return this.localeData().invalidDate();var u=!1,p=Zi,m,b;return typeof s=="object"&&(l=s,s=!1),typeof s=="boolean"&&(u=s),typeof l=="object"&&(p=Object.assign({},Zi,l),l.s!=null&&l.ss==null&&(p.ss=l.s-1)),m=this.localeData(),b=My(this,!u,p,m),u&&(b=m.pastFuture(+this,b)),m.postformat(b)}var Sc=Math.abs;function Wi(s){return(s>0)-(s<0)||+s}function Ms(){if(!this.isValid())return this.localeData().invalidDate();var s=Sc(this._milliseconds)/1e3,l=Sc(this._days),u=Sc(this._months),p,m,b,C,L=this.asSeconds(),U,te,tt,pn;return L?(p=Et(s/60),m=Et(p/60),s%=60,p%=60,b=Et(u/12),u%=12,C=s?s.toFixed(3).replace(/\.?0+$/,""):"",U=L<0?"-":"",te=Wi(this._months)!==Wi(L)?"-":"",tt=Wi(this._days)!==Wi(L)?"-":"",pn=Wi(this._milliseconds)!==Wi(L)?"-":"",U+"P"+(b?te+b+"Y":"")+(u?te+u+"M":"")+(l?tt+l+"D":"")+(m||p||s?"T":"")+(m?pn+m+"H":"")+(p?pn+p+"M":"")+(s?pn+C+"S":"")):"P0D"}var re=ys.prototype;re.isValid=wv,re.abs=ty,re.add=ny,re.subtract=iy,re.as=oy,re.asMilliseconds=dm,re.asSeconds=sy,re.asMinutes=ay,re.asHours=ly,re.asDays=cy,re.asWeeks=uy,re.asMonths=dy,re.asQuarters=py,re.asYears=fy,re.valueOf=my,re._bubble=ry,re.clone=hy,re.get=gy,re.milliseconds=by,re.seconds=vy,re.minutes=yy,re.hours=_y,re.days=Cy,re.weeks=Ey,re.months=wy,re.years=Dy,re.humanize=Ty,re.toISOString=Ms,re.toString=Ms,re.toJSON=Ms,re.locale=Xf,re.localeData=Jf,re.toIsoString=ie("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ms),re.lang=Kf,P("X",0,0,"unix"),P("x",0,0,"valueOf"),N("x",ps),N("X",Q2),ue("X",function(s,l,u){u._d=new Date(parseFloat(s)*1e3)}),ue("x",function(s,l,u){u._d=new Date(J(s))});return t.version="2.30.1",n(ye),t.fn=T,t.min=vv,t.max=yv,t.now=_v,t.utc=y,t.unix=Y3,t.months=Q3,t.isDate=f,t.locale=Mn,t.invalid=k,t.duration=Lt,t.isMoment=O,t.weekdays=K3,t.parseZone=q3,t.localeData=ln,t.isDuration=_s,t.monthsShort=X3,t.weekdaysMin=ey,t.defineLocale=hc,t.updateLocale=qb,t.locales=Qb,t.weekdaysShort=J3,t.normalizeUnits=Dt,t.relativeTimeRounding=Iy,t.relativeTimeThreshold=Sy,t.calendarFormat=Zv,t.prototype=T,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 kc;function Ac(){return kc}function fn(e){let t=kc;return kc=e,t}var Hy=Symbol("NotFound"),Is=class extends Error{name="\u0275NotFound";constructor(t){super(t)}};function Gi(e){return e===Hy||e?.name==="\u0275NotFound"}function Rc(e,t){return Object.is(e,t)}var Ze=null,Ss=!1,Pc=1,By=null,ut=Symbol("SIGNAL");function Z(e){let t=Ze;return Ze=e,t}function ks(){return Ze}var Yi={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function qr(e){if(Ss)throw new Error("");if(Ze===null)return;Ze.consumerOnSignalRead(e);let t=Ze.nextProducerIndex++;if(Ns(Ze),t<Ze.producerNode.length&&Ze.producerNode[t]!==e&&Yr(Ze)){let n=Ze.producerNode[t];Ls(n,Ze.producerIndexOfThis[t])}Ze.producerNode[t]!==e&&(Ze.producerNode[t]=e,Ze.producerIndexOfThis[t]=Yr(Ze)?bm(e,Ze,t):0),Ze.producerLastReadVersion[t]=e.version}function gm(){Pc++}function Fc(e){if(!(Yr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Pc)){if(!e.producerMustRecompute(e)&&!Xr(e)){Oc(e);return}e.producerRecomputeValue(e),Oc(e)}}function Vc(e){if(e.liveConsumerNode===void 0)return;let t=Ss;Ss=!0;try{for(let n of e.liveConsumerNode)n.dirty||Uy(n)}finally{Ss=t}}function jc(){return Ze?.consumerAllowSignalWrites!==!1}function Uy(e){e.dirty=!0,Vc(e),e.consumerMarkedDirty?.(e)}function Oc(e){e.dirty=!1,e.lastCleanEpoch=Pc}function qi(e){return e&&(e.nextProducerIndex=0),Z(e)}function Qr(e,t){if(Z(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Yr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ls(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Xr(e){Ns(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Fc(n),i!==n.version))return!0}return!1}function As(e){if(Ns(e),Yr(e))for(let t=0;t<e.producerNode.length;t++)Ls(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function bm(e,t,n){if(vm(e),e.liveConsumerNode.length===0&&ym(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=bm(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Ls(e,t){if(vm(e),e.liveConsumerNode.length===1&&ym(e))for(let i=0;i<e.producerNode.length;i++)Ls(e.producerNode[i],e.producerIndexOfThis[i]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];Ns(r),r.producerIndexOfThis[i]=t}}function Yr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ns(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function vm(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ym(e){return e.producerNode!==void 0}function Hc(e){By?.(e)}function Os(e,t){let n=Object.create(zy);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(Fc(n),qr(n),n.value===Ts)throw n.error;return n.value};return i[ut]=n,Hc(n),i}var Lc=Symbol("UNSET"),Nc=Symbol("COMPUTING"),Ts=Symbol("ERRORED"),zy=nt(Le({},Yi),{value:Lc,dirty:!0,error:null,equal:Rc,kind:"computed",producerMustRecompute(e){return e.value===Lc||e.value===Nc},producerRecomputeValue(e){if(e.value===Nc)throw new Error("");let t=e.value;e.value=Nc;let n=qi(e),i,r=!1;try{i=e.computation(),Z(null),r=t!==Lc&&t!==Ts&&i!==Ts&&e.equal(t,i)}catch(o){i=Ts,e.error=o}finally{Qr(e,n)}if(r){e.value=t;return}e.value=i,e.version++}});function $y(){throw new Error}var _m=$y;function Cm(e){_m(e)}function Bc(e){_m=e}var Zy=null;function Uc(e,t){let n=Object.create(Rs);n.value=e,t!==void 0&&(n.equal=t);let i=()=>wm(n);return i[ut]=n,Hc(n),[i,a=>Kr(n,a),a=>Dm(n,a)]}function wm(e){return qr(e),e.value}function Kr(e,t){jc()||Cm(e),e.equal(e.value,t)||(e.value=t,Wy(e))}function Dm(e,t){jc()||Cm(e),Kr(e,t(e.value))}var Rs=nt(Le({},Yi),{equal:Rc,value:void 0,kind:"signal"});function Wy(e){e.version++,gm(),Vc(e),Zy?.(e)}function q(e){return typeof e=="function"}function Ps(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 Fs=Ps(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
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
5
  ${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
6
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Jr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var it=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 Fs?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Em(o)}catch(a){t=t??[],a instanceof Fs?t=[...t,...a.errors]:t.push(a)}}if(t)throw new Fs(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Em(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)&&Jr(n,t)}remove(t){let{_finalizers:n}=this;n&&Jr(n,t),t instanceof e&&t._removeParent(this)}};it.EMPTY=(()=>{let e=new it;return e.closed=!0,e})();var zc=it.EMPTY;function Vs(e){return e instanceof it||e&&"closed"in e&&q(e.remove)&&q(e.add)&&q(e.unsubscribe)}function Em(e){q(e)?e():e.unsubscribe()}var Nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Qi={setTimeout(e,t,...n){let{delegate:i}=Qi;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Qi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function js(e){Qi.setTimeout(()=>{let{onUnhandledError:t}=Nt;if(t)t(e);else throw e})}function eo(){}var xm=$c("C",void 0,void 0);function Mm(e){return $c("E",void 0,e)}function Im(e){return $c("N",e,void 0)}function $c(e,t,n){return{kind:e,value:t,error:n}}var ii=null;function Xi(e){if(Nt.useDeprecatedSynchronousErrorHandling){let t=!ii;if(t&&(ii={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:i}=ii;if(ii=null,n)throw i}}else e()}function Sm(e){Nt.useDeprecatedSynchronousErrorHandling&&ii&&(ii.errorThrown=!0,ii.error=e)}var ri=class extends it{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Vs(t)&&t.add(this)):this.destination=qy}static create(t,n,i){return new mn(t,n,i)}next(t){this.isStopped?Wc(Im(t),this):this._next(t)}error(t){this.isStopped?Wc(Mm(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Wc(xm,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()}}},Gy=Function.prototype.bind;function Zc(e,t){return Gy.call(e,t)}var Gc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Hs(i)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Hs(i)}else Hs(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Hs(n)}}},mn=class extends ri{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&&Nt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Zc(t.next,o),error:t.error&&Zc(t.error,o),complete:t.complete&&Zc(t.complete,o)}):r=t}this.destination=new Gc(r)}};function Hs(e){Nt.useDeprecatedSynchronousErrorHandling?Sm(e):js(e)}function Yy(e){throw e}function Wc(e,t){let{onStoppedNotification:n}=Nt;n&&Qi.setTimeout(()=>n(e,t))}var qy={closed:!0,next:eo,error:Yy,complete:eo};var Ki=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Bs(e){return e}function Tm(e){return e.length===0?Bs: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=Xy(n)?n:new mn(n,i,r);return Xi(()=>{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=km(i),new i((r,o)=>{let a=new mn({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)}[Ki](){return this}pipe(...n){return Tm(n)(this)}toPromise(n){return n=km(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 km(e){var t;return(t=e??Nt.Promise)!==null&&t!==void 0?t:Promise}function Qy(e){return e&&q(e.next)&&q(e.error)&&q(e.complete)}function Xy(e){return e&&e instanceof ri||Qy(e)&&Vs(e)}function Ky(e){return q(e?.lift)}function Fe(e){return t=>{if(Ky(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 We(e,t,n,i,r){return new Yc(e,t,n,i,r)}var Yc=class extends ri{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 Am=Ps(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 Us(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Am}next(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){Xi(()=>{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(){Xi(()=>{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 it(()=>{this.currentObservers=null,Jr(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 Us(t,n),e})(),Us=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 Tn=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 qc={now(){return(qc.delegate||Date).now()},delegate:void 0};var kn=class extends Ot{constructor(t=1/0,n=1/0,i=qc){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 Lm(e){return e&&q(e.schedule)}function Qc(e){return e[e.length-1]}function Nm(e){return q(Qc(e))?e.pop():void 0}function Ji(e){return Lm(Qc(e))?e.pop():void 0}function Om(e,t){return typeof Qc(e)=="number"?e.pop():t}function Pm(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 Rm(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 oi(e){return this instanceof oi?(this.v=e,this):new oi(e)}function Fm(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(v){return function(_){return Promise.resolve(_).then(v,g)}}function c(v,_){i[v]&&(r[v]=function(I){return new Promise(function(A,k){o.push([v,I,A,k])>1||d(v,I)})},_&&(r[v]=_(r[v])))}function d(v,_){try{f(i[v](_))}catch(I){y(o[0][3],I)}}function f(v){v.value instanceof oi?Promise.resolve(v.value.v).then(h,g):y(o[0][2],v)}function h(v){d("next",v)}function g(v){d("throw",v)}function y(v,_){v(_),o.shift(),o.length&&d(o[0][0],o[0][1])}}function Vm(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 Rm=="function"?Rm(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 $s=e=>e&&typeof e.length=="number"&&typeof e!="function";function Zs(e){return q(e?.then)}function Ws(e){return q(e[Ki])}function Gs(e){return Symbol.asyncIterator&&q(e?.[Symbol.asyncIterator])}function Ys(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 Jy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var qs=Jy();function Qs(e){return q(e?.[qs])}function Xs(e){return Fm(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:i,done:r}=yield oi(n.read());if(r)return yield oi(void 0);yield yield oi(i)}}finally{n.releaseLock()}})}function Ks(e){return q(e?.getReader)}function xe(e){if(e instanceof oe)return e;if(e!=null){if(Ws(e))return e4(e);if($s(e))return t4(e);if(Zs(e))return n4(e);if(Gs(e))return jm(e);if(Qs(e))return i4(e);if(Ks(e))return r4(e)}throw Ys(e)}function e4(e){return new oe(t=>{let n=e[Ki]();if(q(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function t4(e){return new oe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function n4(e){return new oe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,js)})}function i4(e){return new oe(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function jm(e){return new oe(t=>{o4(e,t).catch(n=>t.error(n))})}function r4(e){return jm(Xs(e))}function o4(e,t){var n,i,r,o;return Pm(this,void 0,void 0,function*(){try{for(n=Vm(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 xt(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 Js(e,t=0){return Fe((n,i)=>{n.subscribe(We(i,r=>xt(i,e,()=>i.next(r),t),()=>xt(i,e,()=>i.complete(),t),r=>xt(i,e,()=>i.error(r),t)))})}function ea(e,t=0){return Fe((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Hm(e,t){return xe(e).pipe(ea(t),Js(t))}function Bm(e,t){return xe(e).pipe(ea(t),Js(t))}function Um(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 zm(e,t){return new oe(n=>{let i;return xt(n,t,()=>{i=e[qs](),xt(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 ta(e,t){if(!e)throw new Error("Iterable cannot be null");return new oe(n=>{xt(n,t,()=>{let i=e[Symbol.asyncIterator]();xt(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function $m(e,t){return ta(Xs(e),t)}function Zm(e,t){if(e!=null){if(Ws(e))return Hm(e,t);if($s(e))return Um(e,t);if(Zs(e))return Bm(e,t);if(Gs(e))return ta(e,t);if(Qs(e))return zm(e,t);if(Ks(e))return $m(e,t)}throw Ys(e)}function hn(e,t){return t?Zm(e,t):xe(e)}function gn(...e){let t=Ji(e);return hn(e,t)}function si(e){return!!e&&(e instanceof oe||q(e.lift)&&q(e.subscribe))}function rt(e,t){return Fe((n,i)=>{let r=0;n.subscribe(We(i,o=>{i.next(e.call(t,o,r++))}))})}var{isArray:s4}=Array;function a4(e,t){return s4(t)?e(...t):e(t)}function Wm(e){return rt(t=>a4(e,t))}var{isArray:l4}=Array,{getPrototypeOf:c4,prototype:u4,keys:d4}=Object;function Gm(e){if(e.length===1){let t=e[0];if(l4(t))return{args:t,keys:null};if(p4(t)){let n=d4(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function p4(e){return e&&typeof e=="object"&&c4(e)===u4}function Ym(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function qm(e,t,n,i,r,o,a,c){let d=[],f=0,h=0,g=!1,y=()=>{g&&!d.length&&!f&&t.complete()},v=I=>f<i?_(I):d.push(I),_=I=>{o&&t.next(I),f++;let A=!1;xe(n(I,h++)).subscribe(We(t,k=>{r?.(k),o?v(k):t.next(k)},()=>{A=!0},void 0,()=>{if(A)try{for(f--;d.length&&f<i;){let k=d.shift();a?xt(t,a,()=>_(k)):_(k)}y()}catch(k){t.error(k)}}))};return e.subscribe(We(t,v,()=>{g=!0,y()})),()=>{c?.()}}function er(e,t,n=1/0){return q(t)?er((i,r)=>rt((o,a)=>t(i,o,r,a))(xe(e(i,r))),n):(typeof t=="number"&&(n=t),Fe((i,r)=>qm(i,r,e,n)))}function na(e=1/0){return er(Bs,e)}function Qm(){return na(1)}function ia(...e){return Qm()(hn(e,Ji(e)))}function ra(e){return new oe(t=>{xe(e()).subscribe(t)})}function Xc(...e){let t=Nm(e),{args:n,keys:i}=Gm(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;xe(n[h]).subscribe(We(o,y=>{g||(g=!0,f--),c[h]=y},()=>d--,void 0,()=>{(!d||!g)&&(f||o.next(i?Ym(i,c):c),o.complete())}))}});return t?r.pipe(Wm(t)):r}function Kc(...e){let t=Ji(e),n=Om(e,1/0),i=e;return i.length?i.length===1?xe(i[0]):na(n)(hn(i,t)):zs}function Jc(e,t){return Fe((n,i)=>{let r=0;n.subscribe(We(i,o=>e.call(t,o,r++)&&i.next(o)))})}function to(e,t){return q(t)?er(e,t,1):er(e,1)}function tr(e){return e<=0?()=>zs:Fe((t,n)=>{let i=0;t.subscribe(We(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}function eu(e){return Fe((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Xm(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},v=()=>{y(),a=d=void 0,h=g=!1},_=()=>{let I=a;v(),I?.unsubscribe()};return Fe((I,A)=>{f++,!g&&!h&&y();let k=d=d??t();A.add(()=>{f--,f===0&&!g&&!h&&(c=tu(_,r))}),k.subscribe(A),!a&&f>0&&(a=new mn({next:ne=>k.next(ne),error:ne=>{g=!0,y(),c=tu(v,n,ne),k.error(ne)},complete:()=>{h=!0,y(),c=tu(v,i),k.complete()}}),xe(I).subscribe(a))})(o)}}function tu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new mn({next:()=>{i.unsubscribe(),e()}});return xe(t(...n)).subscribe(i)}function oa(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,Xm({connector:()=>new kn(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function An(e,t){return Fe((n,i)=>{let r=null,o=0,a=!1,c=()=>a&&!r&&i.complete();n.subscribe(We(i,d=>{r?.unsubscribe();let f=0,h=o++;xe(e(d,h)).subscribe(r=We(i,g=>i.next(t?t(d,g,h,f++):g),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function nu(e){return Fe((t,n)=>{xe(e).subscribe(We(n,()=>n.complete(),eo)),!n.closed&&t.subscribe(n)})}var ua="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",j=class extends Error{code;constructor(t,n){super(da(t,n)),this.code=t}};function f4(e){return`NG0${Math.abs(e)}`}function da(e,t){return`${f4(e)}${t?": "+t:""}`}function Ie(e){for(let t in e)if(e[t]===Ie)return t;throw Error("")}function t1(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function vt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(vt).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 m4=Ie({__forward_ref__:Ie});function fa(e){return e.__forward_ref__=fa,e.toString=function(){return vt(this())},e}function Qe(e){return hu(e)?e():e}function hu(e){return typeof e=="function"&&e.hasOwnProperty(m4)&&e.__forward_ref__===fa}function n1(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(i==null?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function On(e){return{providers:e.providers||[],imports:e.imports||[]}}function ma(e){return h4(e,ha)}function h4(e,t){return e.hasOwnProperty(t)&&e[t]||null}function g4(e){let t=e?.[ha]??null;return t||null}function ru(e){return e&&e.hasOwnProperty(aa)?e[aa]:null}var ha=Ie({\u0275prov:Ie}),aa=Ie({\u0275inj:Ie}),z=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=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gu(e){return e&&!!e.\u0275providers}var bu=Ie({\u0275cmp:Ie}),vu=Ie({\u0275dir:Ie}),yu=Ie({\u0275pipe:Ie});var io=Ie({\u0275fac:Ie}),di=Ie({__NG_ELEMENT_ID__:Ie}),Km=Ie({__NG_ENV_ID__:Ie});function ir(e){return typeof e=="string"?e:e==null?"":String(e)}function i1(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ir(e)}function _u(e,t){throw new j(-200,e)}function ga(e,t){throw new j(-201,!1)}var ou;function r1(){return ou}function ot(e){let t=ou;return ou=e,t}function Cu(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 b4={},ai=b4,su="__NG_DI_FLAG__",au=class{injector;constructor(t){this.injector=t}retrieve(t,n){let i=li(n)||0;try{return this.injector.get(t,i&8?null:ai,i)}catch(r){if(Gi(r))return r;throw r}}},la="ngTempTokenPath",v4="ngTokenPath",y4=/\n/gm,_4="\u0275",Jm="__source";function C4(e,t=0){let n=Ac();if(n===void 0)throw new j(-203,!1);if(n===null)return Cu(e,void 0,t);{let i=w4(t),r=n.retrieve(e,i);if(Gi(r)){if(i.optional)return null;throw r}return r}}function V(e,t=0){return(r1()||C4)(Qe(e),t)}function F(e,t){return V(e,li(t))}function li(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function w4(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function lu(e){let t=[];for(let n=0;n<e.length;n++){let i=Qe(e[n]);if(Array.isArray(i)){if(i.length===0)throw new j(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let c=i[a],d=D4(c);typeof d=="number"?d===-1?r=c.token:o|=d:r=c}t.push(V(r,o))}else t.push(V(i))}return t}function wu(e,t){return e[su]=t,e.prototype[su]=t,e}function D4(e){return e[su]}function E4(e,t,n,i){let r=e[la];throw t[Jm]&&r.unshift(t[Jm]),e.message=x4(`
8
- `+e.message,r,n,i),e[v4]=r,e[la]=null,e}function x4(e,t,n,i=null){e=e&&e.charAt(0)===`
9
- `&&e.charAt(1)==_4?e.slice(2):e;let r=vt(t);if(Array.isArray(t))r=t.map(vt).join(" -> ");else if(typeof t=="object"){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];o.push(a+":"+(typeof c=="string"?JSON.stringify(c):vt(c)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(y4,`
10
- `)}`}function Ln(e,t){let n=e.hasOwnProperty(io);return n?e[io]:null}function ba(e,t){e.forEach(n=>Array.isArray(n)?ba(n,t):t(n))}function Du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function o1(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function s1(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 va(e,t,n){let i=rr(e,t);return i>=0?e[i|1]=n:(i=~i,s1(e,i,t,n)),i}function ya(e,t){let n=rr(e,t);if(n>=0)return e[n|1]}function rr(e,t){return M4(e,t,1)}function M4(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 Rn={},st=[],pi=new z(""),Eu=new z("",-1),xu=new z(""),ro=class{get(t,n=ai){if(n===ai)throw new Is(`NullInjectorError: No provider for ${vt(t)}!`);return n}};function fi(e){return e[bu]||null}function Mu(e){return e[vu]||null}function a1(e){return e[yu]||null}function so(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 ba(t,a=>{let c=a;ca(c,o,[],i)&&(r||=[],r.push(c))}),r!==void 0&&l1(r,o),n}function l1(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:r}=e[n];Su(r,o=>{t(o,i)})}}function ca(e,t,n,i){if(e=Qe(e),!e)return!1;let r=null,o=ru(e),a=!o&&fi(e);if(!o&&!a){let d=e.ngModule;if(o=ru(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)ca(f,t,n,i)}}else if(o){if(o.imports!=null&&!c){i.add(r);let f;try{ba(o.imports,h=>{ca(h,t,n,i)&&(f||=[],f.push(h))})}finally{}f!==void 0&&l1(f,t)}if(!c){let f=Ln(r)||(()=>new r);t({provide:r,useFactory:f,deps:st},r),t({provide:xu,useValue:r,multi:!0},r),t({provide:pi,useValue:()=>V(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)gu(n)&&(n=n.\u0275providers),Array.isArray(n)?Su(n,t):t(n)}var I4=Ie({provide:String,useValue:Ie});function c1(e){return e!==null&&typeof e=="object"&&I4 in e}function S4(e){return!!(e&&e.useExisting)}function T4(e){return!!(e&&e.useFactory)}function ci(e){return typeof e=="function"}function u1(e){return!!e.useClass}var ao=new z(""),sa={},e1={},iu;function lo(){return iu===void 0&&(iu=new ro),iu}var dt=class{},ui=class extends dt{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,uu(t,a=>this.processProvider(a)),this.records.set(Eu,nr(void 0,this)),r.has("environment")&&this.records.set(dt,nr(void 0,this));let o=this.records.get(ao);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(xu,st,{self:!0}))}retrieve(t,n){let i=li(n)||0;try{return this.get(t,ai,i)}catch(r){if(Gi(r))return r;throw r}}destroy(){no(this),this._destroyed=!0;let t=Z(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(),Z(t)}}onDestroy(t){return no(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){no(this);let n=fn(this),i=ot(void 0),r;try{return t()}finally{fn(n),ot(i)}}get(t,n=ai,i){if(no(this),t.hasOwnProperty(Km))return t[Km](this);let r=li(i),o,a=fn(this),c=ot(void 0);try{if(!(r&4)){let f=this.records.get(t);if(f===void 0){let h=O4(t)&&ma(t);h&&this.injectableDefInScope(h)?f=nr(cu(t),sa):f=null,this.records.set(t,f)}if(f!=null)return this.hydrate(t,f)}let d=r&2?lo():this.parent;return n=r&8&&n===ai?null:n,d.get(t,n)}catch(d){if(Gi(d)){if((d[la]=d[la]||[]).unshift(vt(t)),a)throw d;return E4(d,t,"R3InjectorError",this.source)}else throw d}finally{ot(c),fn(a)}}resolveInjectorInitializers(){let t=Z(null),n=fn(this),i=ot(void 0),r;try{let o=this.get(pi,st,{self:!0});for(let a of o)a()}finally{fn(n),ot(i),Z(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(vt(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Qe(t);let n=ci(t)?t:Qe(t&&t.provide),i=A4(t);if(!ci(t)&&t.multi===!0){let r=this.records.get(n);r||(r=nr(void 0,sa,!0),r.factory=()=>lu(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){let i=Z(null);try{return n.value===e1?_u(vt(t)):n.value===sa&&(n.value=e1,n.value=n.factory()),typeof n.value=="object"&&n.value&&N4(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Qe(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 cu(e){let t=ma(e),n=t!==null?t.factory:Ln(e);if(n!==null)return n;if(e instanceof z)throw new j(204,!1);if(e instanceof Function)return k4(e);throw new j(204,!1)}function k4(e){if(e.length>0)throw new j(204,!1);let n=g4(e);return n!==null?()=>n.factory(e):()=>new e}function A4(e){if(c1(e))return nr(void 0,e.useValue);{let t=Tu(e);return nr(t,sa)}}function Tu(e,t,n){let i;if(ci(e)){let r=Qe(e);return Ln(r)||cu(r)}else if(c1(e))i=()=>Qe(e.useValue);else if(T4(e))i=()=>e.useFactory(...lu(e.deps||[]));else if(S4(e))i=()=>V(Qe(e.useExisting));else{let r=Qe(e&&(e.useClass||e.provide));if(L4(e))i=()=>new r(...lu(e.deps));else return Ln(r)||cu(r)}return i}function no(e){if(e.destroyed)throw new j(205,!1)}function nr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function L4(e){return!!e.deps}function N4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function O4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function uu(e,t){for(let n of e)Array.isArray(n)?uu(n,t):n&&gu(n)?uu(n.\u0275providers,t):t(n)}function or(e,t){let n;e instanceof ui?(no(e),n=e):n=new au(e);let i,r=fn(n),o=ot(void 0);try{return t()}finally{fn(r),ot(o)}}function d1(){return r1()!==void 0||Ac()!=null}var Rt=0,G=1,$=2,Ge=3,Mt=4,at=5,mi=6,sr=7,Ne=8,hi=9,Qt=10,Me=11,ar=12,ku=13,gi=14,lt=15,bi=16,vi=17,yi=18,co=19,Au=20,bn=21,Ca=22,uo=23,yt=24,wa=25,Ve=26,p1=1,Lu=6,Pn=7,po=8,fo=9,Xe=10;function Xt(e){return Array.isArray(e)&&typeof e[p1]=="object"}function Pt(e){return Array.isArray(e)&&e[p1]===!0}function Da(e){return(e.flags&4)!==0}function Fn(e){return e.componentOffset>-1}function mo(e){return(e.flags&1)===1}function Kt(e){return!!e.template}function lr(e){return(e[$]&512)!==0}function _i(e){return(e[$]&256)===256}var f1="svg",m1="math";function It(e){for(;Array.isArray(e);)e=e[Rt];return e}function Nu(e,t){return It(t[e])}function Ft(e,t){return It(t[e.index])}function ho(e,t){return e.data[t]}function Ou(e,t){return e[t]}function Ru(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function St(e,t){let n=t[e];return Xt(n)?n:n[Rt]}function Ea(e){return(e[$]&128)===128}function h1(e){return Pt(e[Ge])}function Vt(e,t){return t==null?null:e[t]}function Pu(e){e[vi]=0}function xa(e){e[$]&1024||(e[$]|=1024,Ea(e)&&go(e))}function g1(e,t){for(;e>0;)t=t[gi],e--;return t}function cr(e){return!!(e[$]&9216||e[yt]?.dirty)}function Ma(e){e[Qt].changeDetectionScheduler?.notify(8),e[$]&64&&(e[$]|=1024),cr(e)&&go(e)}function go(e){e[Qt].changeDetectionScheduler?.notify(0);let t=Nn(e);for(;t!==null&&!(t[$]&8192||(t[$]|=8192,!Ea(t)));)t=Nn(t)}function Fu(e,t){if(_i(e))throw new j(911,!1);e[bn]===null&&(e[bn]=[]),e[bn].push(t)}function b1(e,t){if(e[bn]===null)return;let n=e[bn].indexOf(t);n!==-1&&e[bn].splice(n,1)}function Nn(e){let t=e[Ge];return Pt(t)?t[Ge]:t}function v1(e){return e[sr]??=[]}function y1(e){return e.cleanup??=[]}var X={lFrame:N1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},bo=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(bo||{}),R4=0,du=!1;function _1(){return X.lFrame.elementDepthCount}function C1(){X.lFrame.elementDepthCount++}function w1(){X.lFrame.elementDepthCount--}function Ia(){return X.bindingsEnabled}function Vu(){return X.skipHydrationRootTNode!==null}function D1(e){return X.skipHydrationRootTNode===e}function E1(){X.skipHydrationRootTNode=null}function Y(){return X.lFrame.lView}function je(){return X.lFrame.tView}function H(e){return X.lFrame.contextLView=e,e[Ne]}function B(e){return X.lFrame.contextLView=null,e}function pt(){let e=ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function ju(){return X.lFrame.currentTNode}function x1(){let e=X.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vn(e,t){let n=X.lFrame;n.currentTNode=e,n.isParent=t}function Sa(){return X.lFrame.isParent}function Ta(){X.lFrame.isParent=!1}function M1(){return X.lFrame.contextLView}function Hu(e){n1("Must never be called in production mode"),R4=e}function Bu(){return du}function Uu(e){let t=du;return du=e,t}function ur(){let e=X.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function I1(e){return X.lFrame.bindingIndex=e}function Ci(){return X.lFrame.bindingIndex++}function zu(e){let t=X.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function S1(){return X.lFrame.inI18n}function T1(e,t){let n=X.lFrame;n.bindingIndex=n.bindingRootIndex=e,ka(t)}function k1(){return X.lFrame.currentDirectiveIndex}function ka(e){X.lFrame.currentDirectiveIndex=e}function A1(e){let t=X.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $u(e){X.lFrame.currentQueryIndex=e}function P4(e){let t=e[G];return t.type===2?t.declTNode:t.type===1?e[at]:null}function Zu(e,t,n){if(n&4){let r=t,o=e;for(;r=r.parent,r===null&&!(n&1);)if(r=P4(o),r===null||(o=o[gi],r.type&10))break;if(r===null)return!1;t=r,e=o}let i=X.lFrame=L1();return i.currentTNode=t,i.lView=e,!0}function Aa(e){let t=L1(),n=e[G];X.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function L1(){let e=X.lFrame,t=e===null?null:e.child;return t===null?N1(e):t}function N1(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=X.lFrame;return X.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Wu=O1;function La(){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(X.lFrame.contextLView=g1(e,X.lFrame.contextLView))[Ne]}function vn(){return X.lFrame.selectedIndex}function jn(e){X.lFrame.selectedIndex=e}function Gu(){let e=X.lFrame;return ho(e.tView,e.selectedIndex)}function P1(){return X.lFrame.currentNamespace}var F1=!0;function vo(){return F1}function yo(e){F1=e}function pu(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||st,_a(e)];return i=i||(typeof e=="object"?void 0:vt(e)),new ui(o,t||lo(),i||null,r)}var Gt=class e{static THROW_IF_NOT_FOUND=ai;static NULL=new ro;static create(t,n){if(Array.isArray(t))return pu({name:""},n,t,"");{let i=t.name??"";return pu({name:i},t.parent,t.providers,i)}}static \u0275prov=W({token:e,providedIn:"any",factory:()=>V(Eu)});static __NG_ELEMENT_ID__=-1},_t=new z(""),wi=(()=>{class e{static __NG_ELEMENT_ID__=F4;static __NG_ENV_ID__=n=>n}return e})(),fu=class extends wi{_lView;constructor(t){super(),this._lView=t}get destroyed(){return _i(this._lView)}onDestroy(t){let n=this._lView;return Fu(n,t),()=>b1(n,t)}};function F4(){return new fu(Y())}var Yt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Jt=new z("",{providedIn:"root",factory:()=>{let e=F(dt),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Yt),t.handleError(n))}}}),j1={provide:pi,useValue:()=>void F(Yt),multi:!0};function Hn(e,t){let[n,i,r]=Uc(e,t?.equal),o=n,a=o[ut];return o.set=i,o.update=r,o.asReadonly=H1.bind(o),o}function H1(){let e=this[ut];if(e.readonlyFn===void 0){let t=()=>this();t[ut]=e,e.readonlyFn=t}return e.readonlyFn}var qt=class{},Na=new z("",{providedIn:"root",factory:()=>!1});var Yu=new z(""),qu=new z("");var Di=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Tn(!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=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),_o=(()=>{class e{internalPendingTasks=F(Di);scheduler=F(qt);errorHandler=F(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=W({token:e,providedIn:"root",factory:()=>new e})}return e})();function Co(...e){}var Qu=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>new mu})}return e})(),mu=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 br(e){return{toString:e}.toString()}var Oa="__parameters__";function q4(e){return function(...n){if(e){let i=e(...n);for(let r in i)this[r]=i[r]}}}function mh(e,t,n){return br(()=>{let i=q4(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;let a=new r(...o);return c.annotation=a,c;function c(d,f,h){let g=d.hasOwnProperty(Oa)?d[Oa]:Object.defineProperty(d,Oa,{value:[]})[Oa];for(;g.length<=h;)g.push(null);return(g[h]=g[h]||[]).push(a),d}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var Rd=wu(mh("Optional"),8);var Pd=wu(mh("SkipSelf"),4);function Q4(e){return typeof e=="function"}var ja=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 Ut=(()=>{let e=()=>gh;return e.ngInherit=!0,e})();function gh(e){return e.type.prototype.ngOnChanges&&(e.setInput=K4),X4}function X4(){let e=vh(this),t=e?.current;if(t){let n=e.previous;if(n===Rn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function K4(e,t,n,i,r){let o=this.declaredInputs[i],a=vh(e)||J4(e,{previous:Rn,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new ja(f&&f.currentValue,n,d===Rn),hh(e,t,r,n)}var bh="__ngSimpleChanges__";function vh(e){return e[bh]||null}function J4(e,t){return e[bh]=t}var B1=[];var he=function(e,t=null,n){for(let i=0;i<B1.length;i++){let r=B1[i];r(e,t,n)}};function e5(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 Fd(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 Pa(e,t,n){yh(e,t,3,n)}function Fa(e,t,n,i){(e[$]&3)===n&&yh(e,t,n,i)}function Xu(e,t){let n=e[$];(n&3)===t&&(n&=16383,n+=1,e[$]=n)}function yh(e,t,n,i){let r=i!==void 0?e[vi]&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[vi]+=65536),(c<o||o==-1)&&(t5(e,n,t,d),e[vi]=(e[vi]&4294901760)+d+2),d++}function U1(e,t){he(4,e,t);let n=Z(null);try{t.call(e)}finally{Z(n),he(5,e,t)}}function t5(e,t,n,i){let r=n[i]<0,o=n[i+1],a=r?-n[i]:n[i],c=e[a];r?e[$]>>14<e[vi]>>16&&(e[$]&3)===t&&(e[$]+=16384,U1(c,o)):U1(c,o)}var pr=-1,xi=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=i}};function n5(e){return(e.flags&8)!==0}function i5(e){return(e.flags&16)!==0}function r5(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];s5(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function o5(e){return e===3||e===4||e===6}function s5(e){return e.charCodeAt(0)===64}function fr(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 _h(e){return e!==pr}function Ha(e){return e&32767}function a5(e){return e>>16}function Ba(e,t){let n=a5(e),i=t;for(;n>0;)i=i[gi],n--;return i}var ld=!0;function Ua(e){let t=ld;return ld=e,t}var l5=256,Ch=l5-1,wh=5,c5=0,en={};function u5(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(di)&&(i=n[di]),i==null&&(i=n[di]=c5++);let r=i&Ch,o=1<<r;t.data[e+(r>>wh)]|=o}function za(e,t){let n=Dh(e,t);if(n!==-1)return n;let i=t[G];i.firstCreatePass&&(e.injectorIndex=t.length,Ku(i.data,e),Ku(t,null),Ku(i.blueprint,null));let r=Vd(e,t),o=e.injectorIndex;if(_h(r)){let a=Ha(r),c=Ba(r,t),d=c[G].data;for(let f=0;f<8;f++)t[o+f]=c[a+f]|d[a+f]}return t[o+8]=r,o}function Ku(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Dh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Vd(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=Sh(r),i===null)return pr;if(n++,r=r[gi],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return pr}function cd(e,t,n){u5(e,t,n)}function Eh(e,t,n){if(n&8||e!==void 0)return e;ga(t,"NodeInjector")}function xh(e,t,n,i){if(n&8&&i===void 0&&(i=null),(n&3)===0){let r=e[hi],o=ot(void 0);try{return r?r.get(t,i,n&8):Cu(t,i,n&8)}finally{ot(o)}}return Eh(i,t,n)}function Mh(e,t,n,i=0,r){if(e!==null){if(t[$]&2048&&!(i&2)){let a=h5(e,t,n,i,en);if(a!==en)return a}let o=Ih(e,t,n,i,en);if(o!==en)return o}return xh(t,n,i,r)}function Ih(e,t,n,i,r){let o=f5(n);if(typeof o=="function"){if(!Zu(t,e,i))return i&1?Eh(r,n,i):xh(t,n,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ga(n);else return a}finally{Wu()}}else if(typeof o=="number"){let a=null,c=Dh(e,t),d=pr,f=i&1?t[lt][at]:null;for((c===-1||i&4)&&(d=c===-1?Vd(e,t):t[c+8],d===pr||!Z1(i,!1)?c=-1:(a=t[G],c=Ha(d),t=Ba(d,t)));c!==-1;){let h=t[G];if($1(o,c,h.data)){let g=d5(c,t,n,a,i,f);if(g!==en)return g}d=t[c+8],d!==pr&&Z1(i,t[G].data[c+8]===f)&&$1(o,c,t)?(a=h,c=Ha(d),t=Ba(d,t)):c=-1}}return r}function d5(e,t,n,i,r,o){let a=t[G],c=a.data[e+8],d=i==null?Fn(c)&&ld:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=p5(c,a,n,d,f);return h!==null?$a(t,a,h,c):en}function p5(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 v=g;v<y;v++){let _=a[v];if(v<d&&n===_||v>=d&&_.type===n)return v}if(r){let v=a[d];if(v&&Kt(v)&&v.type===n)return d}return null}function $a(e,t,n,i){let r=e[n],o=t.data;if(r instanceof xi){let a=r;a.resolving&&_u(i1(o[n]));let c=Ua(a.canSeeViewProviders);a.resolving=!0;let d=o[n].type||o[n],f,h=a.injectImpl?ot(a.injectImpl):null,g=Zu(e,i,0);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&e5(n,o[n],t)}finally{h!==null&&ot(h),Ua(c),a.resolving=!1,Wu()}}return r}function f5(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(di)?e[di]:void 0;return typeof t=="number"?t>=0?t&Ch:m5:t}function $1(e,t,n){let i=1<<e;return!!(n[t+(e>>wh)]&i)}function Z1(e,t){return!(e&2)&&!(e&1&&t)}var Ei=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Mh(this._tNode,this._lView,t,li(i),n)}};function m5(){return new Ei(pt(),Y())}function Si(e){return br(()=>{let t=e.prototype.constructor,n=t[io]||ud(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[io]||ud(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ud(e){return hu(e)?()=>{let t=ud(Qe(e));return t&&t()}:Ln(e)}function h5(e,t,n,i,r){let o=e,a=t;for(;o!==null&&a!==null&&a[$]&2048&&!lr(a);){let c=Ih(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=Sh(a),a=a[gi]}o=d}return r}function Sh(e){let t=e[G],n=t.type;return n===2?t.declTNode:n===1?e[at]:null}function g5(){return tl(pt(),Y())}function tl(e,t){return new Un(Ft(e,t))}var Un=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=g5}return e})();function Th(e){return(e.flags&128)===128}var jd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(jd||{}),kh=new Map,b5=0;function v5(){return b5++}function y5(e){kh.set(e[co],e)}function dd(e){kh.delete(e[co])}var W1="__ngContext__";function vr(e,t){Xt(t)?(e[W1]=t[co],y5(t)):e[W1]=t}function Ah(e){return Nh(e[ar])}function Lh(e){return Nh(e[Mt])}function Nh(e){for(;e!==null&&!Pt(e);)e=e[Mt];return e}var pd;function Hd(e){pd=e}function Oh(){if(pd!==void 0)return pd;if(typeof document<"u")return document;throw new j(210,!1)}var nl=new z("",{providedIn:"root",factory:()=>_5}),_5="ng",il=new z(""),yr=new z("",{providedIn:"platform",factory:()=>"unknown"});var rl=new z("",{providedIn:"root",factory:()=>Oh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var C5="h",w5="b";var Rh="r";var Ph="di";var Fh=!1,Vh=new z("",{providedIn:"root",factory:()=>Fh});var D5=(e,t,n,i)=>{};function E5(e,t,n,i){D5(e,t,n,i)}var x5=()=>null;function jh(e,t,n=!1){return x5(e,t,n)}function Hh(e,t){let n=e.contentQueries;if(n!==null){let i=Z(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];$u(o),c.contentQueries(2,t[a],a)}}}finally{Z(i)}}}function fd(e,t,n){$u(0);let i=Z(null);try{t(e,n)}finally{Z(i)}}function Bd(e,t,n){if(Da(t)){let i=Z(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{Z(i)}}}var yn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(yn||{});var Za=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ua})`}};function ol(e){return e instanceof Za?e.changingThisBreaksApplicationSecurity:e}function Bh(e,t){let n=Uh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ua})`)}return n===t}function Uh(e){return e instanceof Za&&e.getTypeName()||null}var M5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zh(e){return e=String(e),e.match(M5)?e:"unsafe:"+e}var Ud=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}(Ud||{});function _r(e){let t=I5();return t?t.sanitize(Ud.URL,e)||"":Bh(e,"URL")?ol(e):zh(ir(e))}function I5(){let e=Y();return e&&e[Qt].sanitizer}var S5=/^>|^->|<!--|-->|--!>|<!-$/g,T5=/(<|>)/g,k5="\u200B$1\u200B";function A5(e){return e.replace(S5,t=>t.replace(T5,k5))}function L5(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 $h="ng-template";function N5(e,t,n,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&L5(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(zd(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 zd(e){return e.type===4&&e.value!==$h}function O5(e,t,n){let i=e.type===4&&!n?$h:e.value;return t===i}function R5(e,t,n){let i=4,r=e.attrs,o=r!==null?V5(r):0,a=!1;for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="number"){if(!a&&!jt(i)&&!jt(d))return!1;if(a&&jt(d))continue;a=!1,i=d|i&1;continue}if(!a)if(i&4){if(i=2|i&1,d!==""&&!O5(e,d,n)||d===""&&t.length===1){if(jt(i))return!1;a=!0}}else if(i&8){if(r===null||!N5(e,r,d,n)){if(jt(i))return!1;a=!0}}else{let f=t[++c],h=P5(d,r,zd(e),n);if(h===-1){if(jt(i))return!1;a=!0;continue}if(f!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&f!==g){if(jt(i))return!1;a=!0}}}}return jt(i)||a}function jt(e){return(e&1)===0}function P5(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 j5(t,e)}function Zh(e,t,n=!1){for(let i=0;i<t.length;i++)if(R5(e,t[i],n))return!0;return!1}function F5(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function V5(e){for(let t=0;t<e.length;t++){let n=e[t];if(o5(n))return t}return e.length}function j5(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 H5(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 G1(e,t){return e?":not("+t.trim()+")":t}function B5(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!==""&&!jt(a)&&(t+=G1(o,r),r=""),i=a,o=o||!jt(i);n++}return r!==""&&(t+=G1(o,r)),t}function U5(e){return e.map(B5).join(",")}function z5(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(!jt(r))break;r=o}i++}return n.length&&t.push(1,...n),t}var wt={};function $5(e,t){return e.createText(t)}function Z5(e,t,n){e.setValue(t,n)}function W5(e,t){return e.createComment(A5(t))}function Wh(e,t,n){return e.createElement(t,n)}function Wa(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Gh(e,t,n){e.appendChild(t,n)}function Y1(e,t,n,i,r){i!==null?Wa(e,t,n,i,r):Gh(e,t,n)}function Yh(e,t,n){e.removeChild(null,t,n)}function G5(e,t,n){e.setAttribute(t,"style",n)}function Y5(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qh(e,t,n){let{mergedAttrs:i,classes:r,styles:o}=n;i!==null&&r5(e,t,i),r!==null&&Y5(e,t,r),o!==null&&G5(e,t,o)}function $d(e,t,n,i,r,o,a,c,d,f,h){let g=Ve+i,y=g+r,v=q5(g,y),_=typeof f=="function"?f():f;return v[G]={type:e,blueprint:v,template:n,queries:null,viewQuery:c,declTNode:t,data:v.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 q5(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:wt);return n}function Q5(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=$d(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Zd(e,t,n,i,r,o,a,c,d,f,h){let g=t.blueprint.slice();return g[Rt]=r,g[$]=i|4|128|8|64|1024,(f!==null||e&&e[$]&2048)&&(g[$]|=2048),Pu(g),g[Ge]=g[gi]=e,g[Ne]=n,g[Qt]=a||e&&e[Qt],g[Me]=c||e&&e[Me],g[hi]=d||e&&e[hi]||null,g[at]=o,g[co]=v5(),g[mi]=h,g[Au]=f,g[lt]=t.type==2?e[lt]:g,g}function X5(e,t,n){let i=Ft(t,e),r=Q5(n),o=e[Qt].rendererFactory,a=Wd(e,Zd(e,r,null,Qh(n),i,t,null,o.createRenderer(i,n),null,null,null));return e[t.index]=a}function Qh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Xh(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 Wd(e,t){return e[ar]?e[ku][Mt]=t:e[ar]=t,e[ku]=t,t}function w(e=1){Kh(je(),Y(),vn()+e,!1)}function Kh(e,t,n,i){if(!i)if((t[$]&3)===3){let o=e.preOrderCheckHooks;o!==null&&Pa(t,o,n)}else{let o=e.preOrderHooks;o!==null&&Fa(t,o,0,n)}jn(n)}var sl=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(sl||{});function md(e,t,n,i){let r=Z(null);try{let[o,a,c]=e.inputs[n],d=null;(a&sl.SignalBased)!==0&&(d=t[o][ut]),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{Z(r)}}function Jh(e,t,n,i,r){let o=vn(),a=i&2;try{jn(-1),a&&t.length>Ve&&Kh(e,t,Ve,!1),he(a?2:0,r,n),n(i,r)}finally{jn(o),he(a?3:1,r,n)}}function al(e,t,n){o8(e,t,n),(n.flags&64)===64&&s8(e,t,n)}function Gd(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 K5(e,t,n,i){let o=i.get(Vh,Fh)||n===yn.ShadowDom,a=e.selectRootElement(t,o);return J5(a),a}function J5(e){e8(e)}var e8=()=>null;function t8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function n8(e,t,n,i,r,o){let a=t[G];if(qd(e,a,t,n,i)){Fn(e)&&r8(t,e.index);return}i8(e,t,n,i,r,o)}function i8(e,t,n,i,r,o){if(e.type&3){let a=Ft(e,t);n=t8(n),i=o!=null?o(i,e.value||"",n):i,r.setProperty(a,n,i)}else e.type&12}function r8(e,t){let n=St(t,e);n[$]&16||(n[$]|=64)}function o8(e,t,n){let i=n.directiveStart,r=n.directiveEnd;Fn(n)&&X5(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||za(n,t);let o=n.initialInputs;for(let a=i;a<r;a++){let c=e.data[a],d=$a(t,e,a,n);if(vr(d,t),o!==null&&u8(t,a-i,d,c,n,o),Kt(c)){let f=St(n.index,t);f[Ne]=$a(t,e,a,n)}}}function s8(e,t,n){let i=n.directiveStart,r=n.directiveEnd,o=n.index,a=k1();try{jn(o);for(let c=i;c<r;c++){let d=e.data[c],f=t[c];ka(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&a8(d,f)}}finally{jn(-1),ka(a)}}function a8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Yd(e,t){let n=e.directiveRegistry,i=null;if(n)for(let r=0;r<n.length;r++){let o=n[r];Zh(t,o.selectors,!1)&&(i??=[],Kt(o)?i.unshift(o):i.push(o))}return i}function l8(e,t,n,i,r,o){let a=Ft(e,t);c8(t[Me],a,o,e.value,n,i,r)}function c8(e,t,n,i,r,o,a){if(o==null)e.removeAttribute(t,r,n);else{let c=a==null?ir(o):a(o,i||"",r);e.setAttribute(t,r,c,n)}}function u8(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];md(i,n,d,f)}}function d8(e,t){let n=e[hi];if(!n)return;n.get(Jt,null)?.(t)}function qd(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];md(g,n[f],h,r),c=!0}if(o)for(let d of o){let f=n[d],h=t.data[d];md(h,f,i,r),c=!0}return c}function p8(e,t){let n=St(t,e),i=n[G];f8(i,n);let r=n[Rt];r!==null&&n[mi]===null&&(n[mi]=jh(r,n[hi])),he(18),Qd(i,n,n[Ne]),he(19,n[Ne])}function f8(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Qd(e,t,n){Aa(t);try{let i=e.viewQuery;i!==null&&fd(1,i,n);let r=e.template;r!==null&&Jh(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[yi]?.finishViewCreation(e),e.staticContentQueries&&Hh(e,t),e.staticViewQueries&&fd(2,e.viewQuery,n);let o=e.components;o!==null&&m8(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[$]&=-5,La()}}function m8(e,t){for(let n=0;n<t.length;n++)p8(e,t[n])}function ko(e,t,n,i){let r=Z(null);try{let o=t.tView,c=e[$]&4096?4096:16,d=Zd(e,o,n,c,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),f=e[t.index];d[bi]=f;let h=e[yi];return h!==null&&(d[yi]=h.createEmbeddedView(o)),Qd(o,d,n),d}finally{Z(r)}}function mr(e,t){return!t||t.firstChild===null||Th(e)}var q1=!1,h8=new z(""),g8;function Xd(e,t){return g8(e,t)}var Bt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Bt||{});function ll(e){return(e.flags&32)===32}function dr(e,t,n,i,r){if(i!=null){let o,a=!1;Pt(i)?o=i:Xt(i)&&(a=!0,i=i[Rt]);let c=It(i);e===0&&n!==null?r==null?Gh(t,n,c):Wa(t,n,c,r||null,!0):e===1&&n!==null?Wa(t,n,c,r||null,!0):e===2?Yh(t,c,a):e===3&&t.destroyNode(c),o!=null&&M8(t,e,o,n,r)}}function b8(e,t){e0(e,t),t[Rt]=null,t[at]=null}function v8(e,t,n,i,r,o){i[Rt]=r,i[at]=t,dl(e,i,n,1,r,o)}function e0(e,t){t[Qt].changeDetectionScheduler?.notify(9),dl(e,t,t[Me],2,null,null)}function y8(e){let t=e[ar];if(!t)return Ju(e[G],e);for(;t;){let n=null;if(Xt(t))n=t[ar];else{let i=t[Xe];i&&(n=i)}if(!n){for(;t&&!t[Mt]&&t!==e;)Xt(t)&&Ju(t[G],t),t=t[Ge];t===null&&(t=e),Xt(t)&&Ju(t[G],t),n=t&&t[Mt]}t=n}}function Kd(e,t){let n=e[fo],i=n.indexOf(t);n.splice(i,1)}function cl(e,t){if(_i(t))return;let n=t[Me];n.destroyNode&&dl(e,t,n,3,null,null),y8(t)}function Ju(e,t){if(_i(t))return;let n=Z(null);try{t[$]&=-129,t[$]|=256,t[yt]&&As(t[yt]),C8(e,t),_8(e,t),t[G].type===1&&t[Me].destroy();let i=t[bi];if(i!==null&&Pt(t[Ge])){i!==t[Ge]&&Kd(i,t);let r=t[yi];r!==null&&r.detachView(e)}dd(t)}finally{Z(n)}}function _8(e,t){let n=e.cleanup,i=t[sr];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[sr]=null);let r=t[bn];if(r!==null){t[bn]=null;for(let a=0;a<r.length;a++){let c=r[a];c()}}let o=t[uo];if(o!==null){t[uo]=null;for(let a of o)a.destroy()}}function C8(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 xi)){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];he(4,c,d);try{d.call(c)}finally{he(5,c,d)}}else{he(4,r,o);try{o.call(r)}finally{he(5,r,o)}}}}}function t0(e,t,n){return w8(e,t.parent,n)}function w8(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[Rt];if(Fn(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===yn.None||r===yn.Emulated)return null}return Ft(i,n)}function n0(e,t,n){return E8(e,t,n)}function D8(e,t,n){return e.type&40?Ft(e,n):null}var E8=D8,Q1;function ul(e,t,n,i){let r=t0(e,i,t),o=t[Me],a=i.parent||t[at],c=n0(a,i,t);if(r!=null)if(Array.isArray(n))for(let d=0;d<n.length;d++)Y1(o,r,n[d],c,!1);else Y1(o,r,n,c,!1);Q1!==void 0&&Q1(o,i,t,n,r)}function wo(e,t){if(t!==null){let n=t.type;if(n&3)return Ft(t,e);if(n&4)return hd(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return wo(e,i);{let r=e[t.index];return Pt(r)?hd(-1,r):It(r)}}else{if(n&128)return wo(e,t.next);if(n&32)return Xd(t,e)()||It(e[t.index]);{let i=i0(e,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Nn(e[lt]);return wo(r,i)}else return wo(e,t.next)}}}return null}function i0(e,t){if(t!==null){let i=e[lt][at],r=t.projection;return i.projection[r]}return null}function hd(e,t){let n=Xe+e+1;if(n<t.length){let i=t[n],r=i[G].firstChild;if(r!==null)return wo(i,r)}return t[Pn]}function Jd(e,t,n,i,r,o,a){for(;n!=null;){if(n.type===128){n=n.next;continue}let c=i[n.index],d=n.type;if(a&&t===0&&(c&&vr(It(c),i),n.flags|=2),!ll(n))if(d&8)Jd(e,t,n.child,i,r,o,!1),dr(t,e,r,c,o);else if(d&32){let f=Xd(n,i),h;for(;h=f();)dr(t,e,r,h,o);dr(t,e,r,c,o)}else d&16?r0(e,t,i,n,r,o):dr(t,e,r,c,o);n=a?n.projectionNext:n.next}}function dl(e,t,n,i,r,o){Jd(n,i,e.firstChild,t,r,o,!1)}function x8(e,t,n){let i=t[Me],r=t0(e,n,t),o=n.parent||t[at],a=n0(o,n,t);r0(i,0,t,n,r,a)}function r0(e,t,n,i,r,o){let a=n[lt],d=a[at].projection[i.projection];if(Array.isArray(d))for(let f=0;f<d.length;f++){let h=d[f];dr(t,e,r,h,o)}else{let f=d,h=a[Ge];Th(i)&&(f.flags|=128),Jd(e,t,f,h,r,o,!0)}}function M8(e,t,n,i,r){let o=n[Pn],a=It(n);o!==a&&dr(t,e,i,o,r);for(let c=Xe;c<n.length;c++){let d=n[c];dl(d[G],d,e,t,i,o)}}function I8(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=i.indexOf("-")===-1?void 0:Bt.DashCase;r==null?e.removeStyle(n,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Bt.Important),e.setStyle(n,i,r,o))}}function Eo(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(It(o)),Pt(o)&&o0(o,i);let a=n.type;if(a&8)Eo(e,t,n.child,i);else if(a&32){let c=Xd(n,t),d;for(;d=c();)i.push(d)}else if(a&16){let c=i0(t,n);if(Array.isArray(c))i.push(...c);else{let d=Nn(t[lt]);Eo(d[G],d,c,i,!0)}}n=r?n.projectionNext:n.next}return i}function o0(e,t){for(let n=Xe;n<e.length;n++){let i=e[n],r=i[G].firstChild;r!==null&&Eo(i[G],i,r,t)}e[Pn]!==e[Rt]&&t.push(e[Pn])}function s0(e){if(e[wa]!==null){for(let t of e[wa])t.impl.addSequence(t);e[wa].length=0}}var a0=[];function S8(e){return e[yt]??T8(e)}function T8(e){let t=a0.pop()??Object.create(A8);return t.lView=e,t}function k8(e){e.lView[yt]!==e&&(e.lView=null,a0.push(e))}var A8=nt(Le({},Yi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{go(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}});function L8(e){let t=e[yt]??Object.create(N8);return t.lView=e,t}var N8=nt(Le({},Yi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Nn(e.lView);for(;t&&!l0(t[G]);)t=Nn(t);t&&xa(t)},consumerOnSignalRead(){this.lView[yt]=this}});function l0(e){return e.type!==2}function c0(e){if(e[uo]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[uo])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[$]&8192)}}var O8=100;function ep(e,t=0){let i=e[Qt].rendererFactory,r=!1;r||i.begin?.();try{R8(e,t)}finally{r||i.end?.()}}function R8(e,t){let n=Bu();try{Uu(!0),gd(e,t);let i=0;for(;cr(e);){if(i===O8)throw new j(103,!1);i++,gd(e,1)}}finally{Uu(n)}}function u0(e,t){Hu(t?bo.Exhaustive:bo.OnlyDirtyViews);try{ep(e)}finally{Hu(bo.Off)}}function P8(e,t,n,i){if(_i(t))return;let r=t[$],o=!1,a=!1;Aa(t);let c=!0,d=null,f=null;o||(l0(e)?(f=S8(t),d=qi(f)):ks()===null?(c=!1,f=L8(t),d=qi(f)):t[yt]&&(As(t[yt]),t[yt]=null));try{Pu(t),I1(e.bindingStartIndex),n!==null&&Jh(e,t,n,2,i);let h=(r&3)===3;if(!o)if(h){let v=e.preOrderCheckHooks;v!==null&&Pa(t,v,null)}else{let v=e.preOrderHooks;v!==null&&Fa(t,v,0,null),Xu(t,0)}if(a||F8(t),c0(t),d0(t,0),e.contentQueries!==null&&Hh(e,t),!o)if(h){let v=e.contentCheckHooks;v!==null&&Pa(t,v)}else{let v=e.contentHooks;v!==null&&Fa(t,v,1),Xu(t,1)}j8(e,t);let g=e.components;g!==null&&f0(t,g,0);let y=e.viewQuery;if(y!==null&&fd(2,y,i),!o)if(h){let v=e.viewCheckHooks;v!==null&&Pa(t,v)}else{let v=e.viewHooks;v!==null&&Fa(t,v,2),Xu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ca]){for(let v of t[Ca])v();t[Ca]=null}o||(s0(t),t[$]&=-73)}catch(h){throw o||go(t),h}finally{f!==null&&(Qr(f,d),c&&k8(f)),La()}}function d0(e,t){for(let n=Ah(e);n!==null;n=Lh(n))for(let i=Xe;i<n.length;i++){let r=n[i];p0(r,t)}}function F8(e){for(let t=Ah(e);t!==null;t=Lh(t)){if(!(t[$]&2))continue;let n=t[fo];for(let i=0;i<n.length;i++){let r=n[i];xa(r)}}}function V8(e,t,n){he(18);let i=St(t,e);p0(i,n),he(19,i[Ne])}function p0(e,t){Ea(e)&&gd(e,t)}function gd(e,t){let i=e[G],r=e[$],o=e[yt],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(o?.dirty&&Xr(o)),a||=!1,o&&(o.dirty=!1),e[$]&=-9217,a)P8(i,e,i.template,e[Ne]);else if(r&8192){let c=Z(null);try{c0(e),d0(e,1);let d=i.components;d!==null&&f0(e,d,1),s0(e)}finally{Z(c)}}}function f0(e,t,n){for(let i=0;i<t.length;i++)V8(e,t[i],n)}function j8(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)jn(~r);else{let o=r,a=n[++i],c=n[++i];T1(a,o);let d=t[o];he(24,d),c(2,d),he(25,d)}}}finally{jn(-1)}}function tp(e,t){let n=Bu()?64:1088;for(e[Qt].changeDetectionScheduler?.notify(t);e;){e[$]|=n;let i=Nn(e);if(lr(e)&&!i)return e;e=i}return null}function m0(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function h0(e,t){let n=Xe+t;if(n<e.length)return e[n]}function Ao(e,t,n,i=!0){let r=t[G];if(H8(r,t,e,n),i){let a=hd(n,e),c=t[Me],d=c.parentNode(e[Pn]);d!==null&&v8(r,e[at],c,t,d,a)}let o=t[mi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function g0(e,t){let n=xo(e,t);return n!==void 0&&cl(n[G],n),n}function xo(e,t){if(e.length<=Xe)return;let n=Xe+t,i=e[n];if(i){let r=i[bi];r!==null&&r!==e&&Kd(r,i),t>0&&(e[n-1][Mt]=i[Mt]);let o=oo(e,Xe+t);b8(i[G],i);let a=o[yi];a!==null&&a.detachView(o[G]),i[Ge]=null,i[Mt]=null,i[$]&=-129}return i}function H8(e,t,n,i){let r=Xe+i,o=n.length;i>0&&(n[r-1][Mt]=t),i<o-Xe?(t[Mt]=n[r],Du(n,Xe+i,t)):(n.push(t),t[Mt]=null),t[Ge]=n;let a=t[bi];a!==null&&n!==a&&b0(a,t);let c=t[yi];c!==null&&c.insertView(e),Ma(t),t[$]|=128}function b0(e,t){let n=e[fo],i=t[Ge];if(Xt(i))e[$]|=2;else{let r=i[Ge][lt];t[lt]!==r&&(e[$]|=2)}n===null?e[fo]=[t]:n.push(t)}var Bn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[G];return Eo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Ne]}set context(t){this._lView[Ne]=t}get destroyed(){return _i(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Ge];if(Pt(t)){let n=t[po],i=n?n.indexOf(this):-1;i>-1&&(xo(t,i),oo(n,i))}this._attachedToViewContainer=!1}cl(this._lView[G],this._lView)}onDestroy(t){Fu(this._lView,t)}markForCheck(){tp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[$]&=-129}reattach(){Ma(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,ep(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[hi].get(h8,q1)}catch{this.exhaustive=q1}}attachToViewContainerRef(){if(this._appRef)throw new j(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=lr(this._lView),n=this._lView[bi];n!==null&&!t&&Kd(n,this._lView),e0(this._lView[G],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new j(902,!1);this._appRef=t;let n=lr(this._lView),i=this._lView[bi];i!==null&&!n&&b0(i,this._lView),Ma(this._lView)}};function np(e){return cr(e._lView)||!!(e._lView[$]&64)}function ip(e){xa(e._lView)}var Lo=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=B8;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=ko(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new Bn(o)}}return e})();function B8(){return v0(pt(),Y())}function v0(e,t){return e.type&4?new Lo(t,e,tl(e,t)):null}function No(e,t,n,i,r){let o=e.data[t];if(o===null)o=U8(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 Vn(o,!0),o}function U8(e,t,n,i,r){let o=ju(),a=Sa(),c=a?o:o&&o.parent,d=e.data[t]=$8(e,c,n,t,i,r);return z8(e,d,o,a),d}function z8(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 $8(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,c=0;return Vu()&&(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 LS=new RegExp(`^(\\d+)*(${w5}|${C5})*(.*)`);function Z8(e){let t=e[Lu]??[],i=e[Ge][Me],r=[];for(let o of t)o.data[Ph]!==void 0?r.push(o):W8(o,i);e[Lu]=r}function W8(e,t){let n=0,i=e.firstChild;if(i){let r=e.data[Rh];for(;n<r;){let o=i.nextSibling;Yh(t,i,!1),i=o,n++}}}var G8=()=>null,Y8=()=>null;function Ga(e,t){return G8(e,t)}function y0(e,t,n){return Y8(e,t,n)}var _0=class{},pl=class{},bd=class{resolveComponentFactory(t){throw new j(917,!1)}},Ti=class{static NULL=new bd},Mi=class{},fl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>q8()}return e})();function q8(){let e=Y(),t=pt(),n=St(t.index,e);return(Xt(n)?n:e)[Me]}var C0=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();var Va={},vd=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){let r=this.injector.get(t,Va,i);return r!==Va||n===Va?r:this.parentInjector.get(t,n,i)}};function yd(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 Be(e,t=0){let n=Y();if(n===null)return V(e,t);let i=pt();return Mh(i,n,Qe(e),t)}function rp(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}K8(e,t,n,c,o,d,f)}o!==null&&i!==null&&Q8(n,i,o)}function Q8(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 j(-301,!1);i.push(t[r],o)}}function X8(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function K8(e,t,n,i,r,o,a){let c=i.length,d=!1;for(let y=0;y<c;y++){let v=i[y];!d&&Kt(v)&&(d=!0,X8(e,n,y)),cd(za(n,t),e,v.type)}r_(n,e.data.length,c);for(let y=0;y<c;y++){let v=i[y];v.providersResolver&&v.providersResolver(v)}let f=!1,h=!1,g=Xh(e,t,c,null);c>0&&(n.directiveToIndex=new Map);for(let y=0;y<c;y++){let v=i[y];if(n.mergedAttrs=fr(n.mergedAttrs,v.hostAttrs),e_(e,n,t,g,v),i_(g,v,r),a!==null&&a.has(v)){let[I,A]=a.get(v);n.directiveToIndex.set(v.type,[g,I+n.directiveStart,A+n.directiveStart])}else(o===null||!o.has(v))&&n.directiveToIndex.set(v.type,g);v.contentQueries!==null&&(n.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(n.flags|=64);let _=v.type.prototype;!f&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!h&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}J8(e,n,o)}function J8(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=e.data[i];if(n===null||!n.has(r))X1(0,t,r,i),X1(1,t,r,i),J1(t,i,!1);else{let o=n.get(r);K1(0,t,o,i),K1(1,t,o,i),J1(t,i,!0)}}}function X1(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),w0(t,o)}}function K1(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),w0(t,a)}}function w0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function J1(e,t,n){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!n&&r===null||n&&o===null||zd(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 e_(e,t,n,i,r){e.data[i]=r;let o=r.factory||(r.factory=Ln(r.type,!0)),a=new xi(o,Kt(r),Be);e.blueprint[i]=a,n[i]=a,t_(e,t,i,Xh(e,n,r.hostVars,wt),r)}function t_(e,t,n,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~t.index;n_(a)!=c&&a.push(c),a.push(n,i,o)}}function n_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function i_(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 r_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function D0(e,t,n,i,r,o,a,c){let d=t.consts,f=Vt(d,a),h=No(t,e,2,i,f);return o&&rp(t,n,h,Vt(d,c),r),h.mergedAttrs=fr(h.mergedAttrs,h.attrs),h.attrs!==null&&yd(h,h.attrs,!1),h.mergedAttrs!==null&&yd(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function E0(e,t){Fd(e,t),Da(t)&&e.queries.elementEnd(t)}function op(e){return ml(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function x0(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 ml(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function hl(e,t,n){return e[t]=n}function o_(e,t){return e[t]}function Ct(e,t,n){if(n===wt)return!1;let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Ya(e,t,n,i){let r=Ct(e,t,n);return Ct(e,t+1,i)||r}function s_(e,t,n,i,r){let o=Ya(e,t,n,i);return Ct(e,t+2,r)||o}function a_(e,t,n,i,r,o){let a=Ya(e,t,n,i);return Ya(e,t+2,r,o)||a}function ed(e,t,n){return function i(r){let o=Fn(e)?St(e.index,t):t;tp(o,5);let a=t[Ne],c=eh(t,a,n,r),d=i.__ngNextListenerFn__;for(;d;)c=eh(t,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function eh(e,t,n,i){let r=Z(null);try{return he(6,t,n),n(i)!==!1}catch(o){return d8(e,o),!1}finally{he(7,t,n),Z(r)}}function l_(e,t,n,i,r,o,a,c){let d=mo(e),f=!1,h=null;if(!i&&d&&(h=c_(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;E5(n,y,o,c);let v=r.listen(y,o,c),_=i?I=>i(It(I[e.index])):e.index;M0(_,t,n,o,c,v,!1)}return f}function c_(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[sr],d=r[o+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(o+=2)}return null}function M0(e,t,n,i,r,o,a){let c=t.firstCreatePass?y1(t):null,d=v1(n),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function th(e,t,n,i,r,o){let a=t[n],c=t[G],f=c.data[n].outputs[i],g=a[f].subscribe(o);M0(e.index,c,t,r,o,g,!0)}var _d=Symbol("BINDING");var Cd=class extends Ti{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=fi(t);return new Mo(n,this.ngModule)}};function u_(e){return Object.keys(e).map(t=>{let[n,i,r]=e[t],o={propName:n,templateName:t,isSignal:(i&sl.SignalBased)!==0};return r&&(o.transform=r),o})}function d_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function p_(e,t,n){let i=t instanceof dt?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new vd(n,i):n}function f_(e){let t=e.get(Mi,null);if(t===null)throw new j(407,!1);let n=e.get(C0,null),i=e.get(qt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:!1}}function m_(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Wh(t,n,n==="svg"?f1:n==="math"?m1:null)}var Mo=class extends pl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=u_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=d_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=U5(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,r,o,a){he(22);let c=Z(null);try{let d=this.componentDef,f=h_(i,d,a,o),h=p_(d,r||this.ngModule,t),g=f_(h),y=g.rendererFactory.createRenderer(null,d),v=i?K5(y,i,d.encapsulation,h):m_(d,y),_=a?.some(nh)||o?.some(k=>typeof k!="function"&&k.bindings.some(nh)),I=Zd(null,f,null,512|Qh(d),null,null,g,y,h,null,jh(v,h,!0));I[Ve]=v,Aa(I);let A=null;try{let k=D0(Ve,f,I,"#host",()=>f.directiveRegistry,!0,0);v&&(qh(y,v,k),vr(v,I)),al(f,I,k),Bd(f,k,I),E0(f,k),n!==void 0&&b_(k,this.ngContentSelectors,n),A=St(k.index,I),I[Ne]=A[Ne],Qd(f,I,null)}catch(k){throw A!==null&&dd(A),dd(I),k}finally{he(23),La()}return new qa(this.componentType,I,!!_)}finally{Z(c)}}};function h_(e,t,n,i){let r=e?["ng-version","20.0.5"]:z5(t.selectors[0]),o=null,a=null,c=0;if(n)for(let h of n)c+=h[_d].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[_d].requiredVars;let v=h+1;y.create&&(y.targetIdx=v,(o??=[]).push(y)),y.update&&(y.targetIdx=v,(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 $d(0,null,g_(o,a),1,c,d,null,null,null,[r],null)}function g_(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 nh(e){let t=e[_d].kind;return t==="input"||t==="twoWay"}var qa=class extends _0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,i){super(),this._rootLView=n,this._hasInputBindings=i,this._tNode=ho(n[G],Ve),this.location=tl(this._tNode,n),this.instance=St(this._tNode.index,n)[Ne],this.hostView=this.changeDetectorRef=new Bn(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=qd(i,r[G],r,t,n);this.previousInputValues.set(t,n);let a=St(i.index,r);tp(a,1)}get injector(){return new Ei(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function b_(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 Cr=(()=>{class e{static __NG_ELEMENT_ID__=v_}return e})();function v_(){let e=pt();return __(e,Y())}var y_=Cr,I0=class extends y_{_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 Ei(this._hostTNode,this._hostLView)}get parentInjector(){let t=Vd(this._hostTNode,this._hostLView);if(_h(t)){let n=Ba(t,this._hostLView),i=Ha(t),r=n[G].data[i+8];return new Ei(r,n)}else return new Ei(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ih(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Xe}createEmbeddedView(t,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Ga(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(c,r,mr(this._hostTNode,a)),c}createComponent(t,n,i,r,o,a,c){let d=t&&!Q4(t),f;if(d)f=n;else{let A=n||{};f=A.index,i=A.injector,r=A.projectableNodes,o=A.environmentInjector||A.ngModuleRef,a=A.directives,c=A.bindings}let h=d?t:new Mo(fi(t)),g=i||this.parentInjector;if(!o&&h.ngModule==null){let k=(d?g:this.parentInjector).get(dt,null);k&&(o=k)}let y=fi(h.componentType??{}),v=Ga(this._lContainer,y?.id??null),_=v?.firstChild??null,I=h.create(g,r,_,o,a,c);return this.insertImpl(I.hostView,f,mr(this._hostTNode,v)),I}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let r=t._lView;if(h1(r)){let c=this.indexOf(t);if(c!==-1)this.detach(c);else{let d=r[Ge],f=new I0(d,d[at],d[Ge]);f.detach(f.indexOf(t))}}let o=this._adjustIndex(n),a=this._lContainer;return Ao(a,r,o,i),t.attachToViewContainerRef(),Du(td(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ih(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=xo(this._lContainer,n);i&&(oo(td(this._lContainer),n),cl(i[G],i))}detach(t){let n=this._adjustIndex(t,-1),i=xo(this._lContainer,n);return i&&oo(td(this._lContainer),n)!=null?new Bn(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function ih(e){return e[po]}function td(e){return e[po]||(e[po]=[])}function __(e,t){let n,i=t[e.index];return Pt(i)?n=i:(n=m0(i,t,null,e),t[e.index]=n,Wd(t,n)),w_(n,t,e,i),new I0(n,e,t)}function C_(e,t){let n=e[Me],i=n.createComment(""),r=Ft(t,e),o=n.parentNode(r);return Wa(n,o,i,n.nextSibling(r),!1),i}var w_=x_,D_=()=>!1;function E_(e,t,n){return D_(e,t,n)}function x_(e,t,n,i){if(e[Pn])return;let r;n.type&8?r=It(i):r=C_(t,n),e[Pn]=r}var rh=new Set;function wr(e){rh.has(e)||(rh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Io=class{};var So=class extends Io{injector;componentFactoryResolver=new Cd(this);instance=null;constructor(t){super();let n=new ui([...t.providers,{provide:Io,useValue:this},{provide:Ti,useValue:this.componentFactoryResolver}],t.parent||lo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function S0(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var M_=(()=>{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?S0([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=W({token:e,providedIn:"environment",factory:()=>new e(V(dt))})}return e})();function le(e){return br(()=>{let t=T0(e),n=nt(Le({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===jd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(M_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||st,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wr("NgStandalone"),k0(n);let i=e.dependencies;return n.directiveDefs=oh(i,!1),n.pipeDefs=oh(i,!0),n.id=A_(n),n})}function I_(e){return fi(e)||Mu(e)}function S_(e){return e!==null}function ki(e){return br(()=>({type:e.type,bootstrap:e.bootstrap||st,declarations:e.declarations||st,imports:e.imports||st,exports:e.exports||st,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function T_(e,t){if(e==null)return Rn;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=sl.None,d=null),n[o]=[i,c,d],t[o]=a}return n}function k_(e){if(e==null)return Rn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zn(e){return br(()=>{let t=T0(e);return k0(t),t})}function gl(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 T0(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||Rn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||st,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:T_(e.inputs,t),outputs:k_(e.outputs),debugInfo:null}}function k0(e){e.features?.forEach(t=>t(e))}function oh(e,t){if(!e)return null;let n=t?a1:I_;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(S_)}function A_(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 L_(e){return Object.getPrototypeOf(e.prototype).constructor}function Ue(e){let t=L_(e.type),n=!0,i=[e];for(;t;){let r;if(Kt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new j(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);let a=e;a.inputs=nd(e.inputs),a.declaredInputs=nd(e.declaredInputs),a.outputs=nd(e.outputs);let c=r.hostBindings;c&&F_(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&R_(e,d),f&&P_(e,f),N_(e,r),t1(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===Ue&&(n=!1)}}t=Object.getPrototypeOf(t)}O_(i)}function N_(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 O_(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=fr(r.hostAttrs,n=fr(n,r.hostAttrs))}}function nd(e){return e===Rn?{}:e===st?[]:e}function R_(e,t){let n=e.viewQuery;n?e.viewQuery=(i,r)=>{t(i,r),n(i,r)}:e.viewQuery=t}function P_(e,t){let n=e.contentQueries;n?e.contentQueries=(i,r,o)=>{t(i,r,o),n(i,r,o)}:e.contentQueries=t}function F_(e,t){let n=e.hostBindings;n?e.hostBindings=(i,r)=>{t(i,r),n(i,r)}:e.hostBindings=t}function V_(e,t,n,i,r,o,a,c,d){let f=t.consts,h=No(t,e,4,a||null,c||null);Ia()&&rp(t,n,h,Vt(f,d),Yd),h.mergedAttrs=fr(h.mergedAttrs,h.attrs),Fd(t,h);let g=h.tView=$d(2,h,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,f,null);return t.queries!==null&&(t.queries.template(t,h),g.queries=t.queries.embeddedTView(h)),h}function hr(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ve,y=t.firstCreatePass?V_(g,t,e,i,r,o,a,c,f):t.data[g];d&&(y.flags|=d),Vn(y,!1);let v=j_(t,e,y,n);vo()&&ul(t,e,v,y),vr(v,e);let _=m0(v,e,v,y);return e[g]=_,Wd(e,_),E_(_,y,e),mo(y)&&al(t,e,y),f!=null&&Gd(e,y,h),y}function ae(e,t,n,i,r,o,a,c){let d=Y(),f=je(),h=Vt(f.consts,o);return hr(d,f,e,t,n,i,r,h,void 0,a,c),ae}var j_=H_;function H_(e,t,n,i){return yo(!0),t[Me].createComment("")}var sp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(sp||{}),Oo=new z(""),A0=!1,wd=class extends Ot{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,d1()&&(this.destroyRef=F(wi,{optional:!0})??void 0,this.pendingTasks=F(Di,{optional:!0})??void 0)}emit(t){let n=Z(null);try{super.next(t)}finally{Z(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 it&&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)}})}}},K=wd;function L0(e){let t,n;function i(){e=Co;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 sh(e){return queueMicrotask(()=>e()),()=>{e=Co}}var ap="isAngularZone",Qa=ap+"_ID",B_=0,He=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new K(!1);onMicrotaskEmpty=new K(!1);onStable=new K(!1);onError=new K(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=A0}=t;if(typeof Zone>"u")throw new j(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,$_(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ap)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new j(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new j(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,U_,Co,Co);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)}},U_={};function lp(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 z_(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){L0(()=>{e.callbackScheduled=!1,Dd(e),e.isCheckStableRunning=!0,lp(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Dd(e)}function $_(e){let t=()=>{z_(e)},n=B_++;e._inner=e._inner.fork({name:"angular",properties:{[ap]:!0,[Qa]:n,[Qa+n]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if(Z_(d))return i.invokeTask(o,a,c,d);try{return ah(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),lh(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return ah(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!W_(d)&&t(),lh(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,Dd(e),lp(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 Dd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function lh(e){e._nesting--,lp(e)}var Xa=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new K;onMicrotaskEmpty=new K;onStable=new K;onError=new K;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 Z_(e){return N0(e,"__ignore_ng_zone__")}function W_(e){return N0(e,"__scheduler_tick__")}function N0(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var O0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();var cp=new z("");function bl(e){return!!e&&typeof e.then=="function"}function up(e){return!!e&&typeof e.subscribe=="function"}var R0=new z("");var dp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=F(R0,{optional:!0})??[];injector=F(Gt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=or(this.injector,r);if(bl(o))n.push(o);else if(up(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=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),P0=new z("");function F0(){Bc(()=>{let e="";throw new j(600,e)})}function V0(e){return e.isBoundToModule}var G_=10;var Ai=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=F(Jt);afterRenderManager=F(O0);zonelessEnabled=F(Na);rootEffectScheduler=F(Qu);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=F(Di);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(rt(n=>!n))}constructor(){F(Oo,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=F(dt);_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(He).run(()=>{he(10);let a=n instanceof pl;if(!this._injector.get(dp).done){let _="";throw new j(405,_)}let d;a?d=n:d=this._injector.get(Ti).resolveComponentFactory(n),this.componentTypes.push(d.componentType);let f=V0(d)?void 0:this._injector.get(Io),h=i||d.selector,g=d.create(r,[],h,f),y=g.location.nativeElement,v=g.injector.get(cp,null);return v?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),Do(this.components,g),v?.unregisterApplication(y)}),this._loadComponent(g),he(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){he(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(sp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new j(101,!1);let n=Z(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Z(n),this.afterTick.next(),he(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Mi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<G_;)he(14),this.synchronizeOnce(),he(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&&!cr(r))continue;let o=i&&!this.zonelessEnabled?0:1;ep(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})=>cr(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;Do(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(P0,[]).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),()=>Do(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new j(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=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Do(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function _n(e,t,n,i){let r=Y(),o=Ci();if(Ct(r,o,t)){let a=je(),c=Gu();l8(c,r,e,t,n,i)}return _n}var Ed=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 id(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function Y_(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=id(o,f,o,h,n);if(g!==0){g<0&&e.updateValue(o,h),o++;continue}let y=e.at(a),v=t[d],_=id(a,y,d,v,n);if(_!==0){_<0&&e.updateValue(a,v),a--,d--;continue}let I=n(o,f),A=n(a,y),k=n(o,h);if(Object.is(k,A)){let ne=n(d,v);Object.is(ne,I)?(e.swap(o,a),e.updateValue(a,v),d--,a--):e.move(a,o),e.updateValue(o,h),o++;continue}if(i??=new Ka,r??=uh(e,o,a,n),xd(e,i,o,k))e.updateValue(o,h),o++,a++;else if(r.has(k))i.set(I,e.detach(o)),a--;else{let ne=e.create(o,t[o]);e.attach(o,ne),o++,a++}}for(;o<=d;)ch(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=id(o,h,o,g,n);if(y!==0)y<0&&e.updateValue(o,g),o++,f=d.next();else{i??=new Ka,r??=uh(e,o,a,n);let v=n(o,g);if(xd(e,i,o,v))e.updateValue(o,g),o++,a++,f=d.next();else if(!r.has(v))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;)ch(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 xd(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function ch(e,t,n,i,r){if(xd(e,t,i,n(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function uh(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 Se(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=Y(),f=je(),h=Vt(f.consts,o);return hr(d,f,e,t,n,i,r,h,256,a,c),pp}function pp(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=Y(),f=je(),h=Vt(f.consts,o);return hr(d,f,e,t,n,i,r,h,512,a,c),pp}function Te(e,t){wr("NgControlFlow");let n=Y(),i=Ci(),r=n[i]!==wt?n[i]:-1,o=r!==-1?Ja(n,Ve+r):void 0,a=0;if(Ct(n,i,e)){let c=Z(null);try{if(o!==void 0&&g0(o,a),e!==-1){let d=Ve+e,f=Ja(n,d),h=Td(n[G],d),g=y0(f,h,n),y=ko(n,h,t,{dehydratedView:g});Ao(f,y,a,mr(h,g))}}finally{Z(c)}}else if(o!==void 0){let c=h0(o,a);c!==void 0&&(c[Ne]=t)}}var Md=class{lContainer;$implicit;$index;constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-Xe}};var Id=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 v=Y(),_=je(),I=d!==void 0,A=Y(),k=c?a.bind(A[lt][Ne]):a,ne=new Id(I,k);A[Ve+e]=ne,hr(v,_,e+1,t,n,i,r,Vt(_.consts,o),256),I&&hr(v,_,e+2,d,f,h,g,Vt(_.consts,y),512)}var Sd=class extends Ed{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-Xe}at(t){return this.getLView(t)[Ne].$implicit}attach(t,n){let i=n[mi];this.needsIndexUpdate||=t!==this.length,Ao(this.lContainer,n,t,mr(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,q_(this.lContainer,t)}create(t,n){let i=Ga(this.lContainer,this.templateTNode.tView.ssrId),r=ko(this.hostLView,this.templateTNode,new Md(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){cl(t[G],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Ne].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Ne].$index=t}getLView(t){return Q_(this.lContainer,t)}};function yl(e){let t=Z(null),n=vn();try{let i=Y(),r=i[G],o=i[n],a=n+1,c=Ja(i,a);if(o.liveCollection===void 0){let f=Td(r,a);o.liveCollection=new Sd(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(Y_(d,e,o.trackByFn),d.updateIndexes(),o.hasEmptyBlock){let f=Ci(),h=d.length===0;if(Ct(i,f,h)){let g=n+2,y=Ja(i,g);if(h){let v=Td(r,g),_=y0(y,v,i),I=ko(i,v,void 0,{dehydratedView:_});Ao(y,I,0,mr(v,_))}else r.firstUpdatePass&&Z8(y),g0(y,0)}}}finally{Z(t)}}function Ja(e,t){return e[t]}function q_(e,t){return xo(e,t)}function Q_(e,t){return h0(e,t)}function Td(e,t){return ho(e,t)}function E(e,t,n){let i=Y(),r=Ci();if(Ct(i,r,t)){let o=je(),a=Gu();n8(a,i,e,t,i[Me],n)}return E}function kd(e,t,n,i,r){qd(t,e,n,r?"class":"style",i)}function D(e,t,n,i){let r=Y(),o=je(),a=Ve+e,c=r[Me],d=o.firstCreatePass?D0(a,o,r,t,Yd,Ia(),n,i):o.data[a],f=X_(o,r,d,c,t,e);r[a]=f;let h=mo(d);return Vn(d,!0),qh(c,f,d),!ll(d)&&vo()&&ul(o,r,f,d),(_1()===0||h)&&vr(f,r),C1(),h&&(al(o,r,d),Bd(o,d,r)),i!==null&&Gd(r,d),D}function S(){let e=pt();Sa()?Ta():(e=e.parent,Vn(e,!1));let t=e;D1(t)&&E1(),w1();let n=je();return n.firstCreatePass&&E0(n,t),t.classesWithoutHost!=null&&n5(t)&&kd(n,t,Y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&i5(t)&&kd(n,t,Y(),t.stylesWithoutHost,!1),S}function ee(e,t,n,i){return D(e,t,n,i),S(),ee}var X_=(e,t,n,i,r,o)=>(yo(!0),Wh(i,r,P1()));function K_(e,t,n,i,r){let o=t.consts,a=Vt(o,i),c=No(t,e,8,"ng-container",a);a!==null&&yd(c,a,!0);let d=Vt(o,r);return Ia()&&rp(t,n,c,d,Yd),c.mergedAttrs=fr(c.mergedAttrs,c.attrs),t.queries!==null&&t.queries.elementStart(t,c),c}function Ro(e,t,n){let i=Y(),r=je(),o=e+Ve,a=r.firstCreatePass?K_(o,r,i,t,n):r.data[o];Vn(a,!0);let c=J_(r,i,a,e);return i[o]=c,vo()&&ul(r,i,c,a),vr(c,i),mo(a)&&(al(r,i,a),Bd(r,a,i)),n!=null&&Gd(i,a),Ro}function Po(){let e=pt(),t=je();return Sa()?Ta():(e=e.parent,Vn(e,!1)),t.firstCreatePass&&(Fd(t,e),Da(e)&&t.queries.elementEnd(e)),Po}function tn(e,t,n){return Ro(e,t,n),Po(),tn}var J_=(e,t,n,i)=>(yo(!0),W5(t[Me],""));function _e(){return Y()}var Fo="en-US";var e9=Fo;function j0(e){typeof e=="string"&&(e9=e.toLowerCase().replace(/_/g,"-"))}function R(e,t,n){let i=Y(),r=je(),o=pt();return t9(r,i,i[Me],o,e,t,n),R}function t9(e,t,n,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=ed(i,t,o),l_(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],v=h[g+1];d??=ed(i,t,o),th(i,t,y,v,r,d)}if(f&&f.length)for(let g of f)d??=ed(i,t,o),th(i,t,g,r,r,d)}}function x(e=1){return R1(e)}function n9(e,t){let n=null,i=F5(e);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){n=r;continue}if(i===null?Zh(e,o,!0):H5(i,o))return r}return n}function fp(e){let t=Y()[lt][at];if(!t.projection){let n=e?e.length:1,i=t.projection=o1(n,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let a=e?n9(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function mp(e,t=0,n,i,r,o){let a=Y(),c=je(),d=i?e+1:null;d!==null&&hr(a,c,d,i,r,o,null,n);let f=No(c,Ve+e,16,null,n||null);f.projection===null&&(f.projection=t),Ta();let g=!a[mi]||Vu();a[lt][at].projection[f.projection]===null&&d!==null?i9(a,c,d):g&&!ll(f)&&x8(c,a,f)}function i9(e,t,n){let i=Ve+n,r=t.data[i],o=e[i],a=Ga(o,r.tView.ssrId),c=ko(e,r,void 0,{dehydratedView:a});Ao(o,c,0,mr(r,a))}function Cn(e){let t=M1();return Ou(t,Ve+e)}function Ra(e,t){return e<<17|t<<2}function Ii(e){return e>>17&32767}function r9(e){return(e&2)==2}function o9(e,t){return e&131071|t<<17}function Ad(e){return e|2}function gr(e){return(e&131068)>>2}function rd(e,t){return e&-131069|t<<2}function s9(e){return(e&1)===1}function Ld(e){return e|1}function a9(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,c=Ii(a),d=gr(a);e[i]=n;let f=!1,h;if(Array.isArray(n)){let g=n;h=g[1],(h===null||rr(g,h)>0)&&(f=!0)}else h=n;if(r)if(d!==0){let y=Ii(e[c+1]);e[i+1]=Ra(y,c),y!==0&&(e[y+1]=rd(e[y+1],i)),e[c+1]=o9(e[c+1],i)}else e[i+1]=Ra(c,0),c!==0&&(e[c+1]=rd(e[c+1],i)),c=i;else e[i+1]=Ra(d,0),c===0?c=i:e[d+1]=rd(e[d+1],i),d=i;f&&(e[i+1]=Ad(e[i+1])),dh(e,h,i,!0),dh(e,h,i,!1),l9(t,h,e,i,o),a=Ra(c,d),o?t.classBindings=a:t.styleBindings=a}function l9(e,t,n,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&rr(o,t)>=0&&(n[i+1]=Ld(n[i+1]))}function dh(e,t,n,i){let r=e[n+1],o=t===null,a=i?Ii(r):gr(r),c=!1;for(;a!==0&&(c===!1||o);){let d=e[a],f=e[a+1];c9(d,t)&&(c=!0,e[a+1]=i?Ld(f):Ad(f)),a=i?Ii(f):gr(f)}c&&(e[n+1]=i?Ad(r):Ld(r))}function c9(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?rr(e,t)>=0:!1}var Ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function u9(e){return e.substring(Ht.key,Ht.keyEnd)}function d9(e){return p9(e),H0(e,B0(e,0,Ht.textEnd))}function H0(e,t){let n=Ht.textEnd;return n===t?-1:(t=Ht.keyEnd=f9(e,Ht.key=t,n),B0(e,t,n))}function p9(e){Ht.key=0,Ht.keyEnd=0,Ht.value=0,Ht.valueEnd=0,Ht.textEnd=e.length}function B0(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function f9(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $n(e,t,n){return U0(e,t,n,!1),$n}function _l(e,t){return U0(e,t,null,!0),_l}function hp(e){h9(C9,m9,e,!0)}function m9(e,t){for(let n=d9(t);n>=0;n=H0(t,n))va(e,u9(t),!0)}function U0(e,t,n,i){let r=Y(),o=je(),a=zu(2);if(o.firstUpdatePass&&$0(o,e,a,i),t!==wt&&Ct(r,a,t)){let c=o.data[vn()];Z0(o,c,r,r[Me],e,r[a+1]=D9(t,n),i,a)}}function h9(e,t,n,i){let r=je(),o=zu(2);r.firstUpdatePass&&$0(r,null,o,i);let a=Y();if(n!==wt&&Ct(a,o,n)){let c=r.data[vn()];if(W0(c,i)&&!z0(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(n=pa(d,n||"")),kd(r,c,a,n,i)}else w9(r,c,a,a[Me],a[o+1],a[o+1]=_9(e,t,n),i,o)}}function z0(e,t){return t>=e.expandoStartIndex}function $0(e,t,n,i){let r=e.data;if(r[n+1]===null){let o=r[vn()],a=z0(e,n);W0(o,i)&&t===null&&!a&&(t=!1),t=g9(r,o,t,i),a9(r,o,t,n,a,i)}}function g9(e,t,n,i){let r=A1(e),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(n=od(null,e,t,n,i),n=To(n,t.attrs,i),o=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==r)if(n=od(r,e,t,n,i),o===null){let d=b9(e,t,i);d!==void 0&&Array.isArray(d)&&(d=od(null,e,t,d[1],i),d=To(d,t.attrs,i),v9(e,t,i,d))}else o=y9(e,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),n}function b9(e,t,n){let i=n?t.classBindings:t.styleBindings;if(gr(i)!==0)return e[Ii(i)]}function v9(e,t,n,i){let r=n?t.classBindings:t.styleBindings;e[Ii(r)]=i}function y9(e,t,n){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let a=e[o].hostAttrs;i=To(i,a,n)}return To(i,t.attrs,n)}function od(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=To(i,o.hostAttrs,r),o!==e);)c++;return e!==null&&(n.directiveStylingLast=c),i}function To(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]),va(e,a,n?!0:t[++o]))}return e===void 0?null:e}function _9(e,t,n){if(n==null||n==="")return st;let i=[],r=ol(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 C9(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&va(e,i,n)}function w9(e,t,n,i,r,o,a,c){r===wt&&(r=st);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,v=f<o.length?o[f+1]:void 0,_=null,I;h===g?(d+=2,f+=2,y!==v&&(_=g,I=v)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,I=v),_!==null&&Z0(e,t,n,i,_,I,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function Z0(e,t,n,i,r,o,a,c){if(!(t.type&3))return;let d=e.data,f=d[c+1],h=s9(f)?ph(d,t,n,r,gr(f),a):void 0;if(!el(h)){el(o)||r9(f)&&(o=ph(d,null,n,r,c,a));let g=Nu(vn(),n);I8(i,a,g,r,o)}}function ph(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===wt&&(y=g?st:void 0);let v=g?ya(y,i):h===i?y:void 0;if(f&&!el(v)&&(v=ya(d,i)),el(v)&&(c=v,a))return c;let _=e[r+1];r=a?Ii(_):gr(_)}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 D9(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=vt(ol(e)))),e}function W0(e,t){return(e.flags&(t?8:16))!==0}function Q(e,t=""){let n=Y(),i=je(),r=e+Ve,o=i.firstCreatePass?No(i,r,1,t,null):i.data[r],a=E9(i,n,o,t,e);n[r]=a,vo()&&ul(i,n,a,o),Vn(o,!1)}var E9=(e,t,n,i,r)=>(yo(!0),$5(t[Me],i));function x9(e,t,n,i=""){return Ct(e,Ci(),n)?t+ir(n)+i:wt}function Ke(e){return Ce("",e),Ke}function Ce(e,t,n){let i=Y(),r=x9(i,e,t,n);return r!==wt&&M9(i,vn(),r),Ce}function M9(e,t,n){let i=Nu(t,e);Z5(e[Me],i,n)}function de(e){return Ct(Y(),Ci(),e)?ir(e):wt}function I9(e,t,n){let i=je();if(i.firstCreatePass){let r=Kt(e);Nd(n,i.data,i.blueprint,r,!0),Nd(t,i.data,i.blueprint,r,!1)}}function Nd(e,t,n,i,r){if(e=Qe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Nd(e[o],t,n,i,r);else{let o=je(),a=Y(),c=pt(),d=ci(e)?e:Qe(e.provide),f=Tu(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(ci(e)||!e.multi){let v=new xi(f,r,Be),_=ad(d,t,r?h:h+y,g);_===-1?(cd(za(c,a),o,d),sd(o,e,t.length),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(v),a.push(v)):(n[_]=v,a[_]=v)}else{let v=ad(d,t,h+y,g),_=ad(d,t,h,h+y),I=v>=0&&n[v],A=_>=0&&n[_];if(r&&!A||!r&&!I){cd(za(c,a),o,d);let k=k9(r?T9:S9,n.length,r,i,f);!r&&A&&(n[_].providerFactory=k),sd(o,e,t.length,0),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(k),a.push(k)}else{let k=G0(n[r?_:v],f,!r&&i);sd(o,e,v>-1?v:_,k)}!r&&i&&A&&n[_].componentProviders++}}}function sd(e,t,n,i){let r=ci(t),o=u1(t);if(r||o){let d=(o?Qe(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 G0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ad(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function S9(e,t,n,i){return Od(this.multi,[])}function T9(e,t,n,i){let r=this.multi,o;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=$a(n,n[G],this.providerFactory.index,i);o=c.slice(0,a),Od(r,o);for(let d=a;d<c.length;d++)o.push(c[d])}else o=[],Od(r,o);return o}function Od(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function k9(e,t,n,i,r){let o=new xi(e,n,Be);return o.multi=[],o.index=t,o.componentProviders=0,G0(o,r,i&&!n),o}function Oe(e,t=[]){return n=>{n.providersResolver=(i,r)=>I9(i,r?r(e):e,t)}}function ct(e,t,n,i){return Y0(Y(),ur(),e,t,n,i)}function Li(e,t,n,i,r){return A9(Y(),ur(),e,t,n,i,r)}function wn(e,t,n,i,r,o){return L9(Y(),ur(),e,t,n,i,r,o)}function gp(e,t,n,i,r,o,a,c){let d=ur()+e,f=Y(),h=a_(f,d,n,i,r,o);return Ct(f,d+4,a)||h?hl(f,d+5,c?t.call(c,n,i,r,o,a):t(n,i,r,o,a)):o_(f,d+5)}function bp(e,t){let n=e[t];return n===wt?void 0:n}function Y0(e,t,n,i,r,o){let a=t+n;return Ct(e,a,r)?hl(e,a+1,o?i.call(o,r):i(r)):bp(e,a+1)}function A9(e,t,n,i,r,o,a){let c=t+n;return Ya(e,c,r,o)?hl(e,c+2,a?i.call(a,r,o):i(r,o)):bp(e,c+2)}function L9(e,t,n,i,r,o,a,c){let d=t+n;return s_(e,d,r,o,a)?hl(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):bp(e,d+3)}function ge(e,t){let n=je(),i,r=e+Ve;n.firstCreatePass?(i=N9(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=Ln(i.type,!0)),a,c=ot(Be);try{let d=Ua(!1),f=o();return Ua(d),Ru(n,Y(),r,f),f}finally{ot(c)}}function N9(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function be(e,t,n){let i=e+Ve,r=Y(),o=Ou(r,i);return O9(r,i)?Y0(r,ur(),t,o.transform,n,o):o.transform(n)}function O9(e,t){return e[G].data[t].pure}function Dr(e,t){return v0(e,t)}var R9=(()=>{class e{zone=F(He);changeDetectionScheduler=F(qt);applicationRef=F(Ai);applicationErrorHandler=F(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=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function q0({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new He(nt(Le({},Q0()),{scheduleInRootZone:n})),[{provide:He,useFactory:e},{provide:pi,multi:!0,useFactory:()=>{let i=F(R9,{optional:!0});return()=>i.initialize()}},{provide:pi,multi:!0,useFactory:()=>{let i=F(P9);return()=>{i.initialize()}}},t===!0?{provide:Yu,useValue:!0}:[],{provide:qu,useValue:n??A0},{provide:Jt,useFactory:()=>{let i=F(He),r=F(dt),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Yt),o.handleError(a))})}}}]}function Q0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var P9=(()=>{class e{subscription=new it;initialized=!1;zone=F(He);pendingTasks=F(Di);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(()=>{He.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{He.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var X0=(()=>{class e{applicationErrorHandler=F(Jt);appRef=F(Ai);taskService=F(Di);ngZone=F(He);zonelessEnabled=F(Na);tracing=F(Oo,{optional:!0});disableScheduling=F(Yu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new it;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(F(qu,{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 Xa||!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?sh:L0;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(Qa+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,sh(()=>{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=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function F9(){return typeof $localize<"u"&&$localize.locale||Fo}var Cl=new z("",{providedIn:"root",factory:()=>F(Cl,{optional:!0,skipSelf:!0})||F9()});function wl(e,t){return Os(e,t?.equal)}var K0=class{[ut];constructor(t){this[ut]=t}destroy(){this[ut].destroy()}};var ig=Symbol("InputSignalNode#UNSET"),X9=nt(Le({},Rs),{transformFn:void 0,applyValueToInputSignal(e,t){Kr(e,t)}});function rg(e,t){let n=Object.create(X9);n.value=e,n.transformFn=t?.transform;function i(){if(qr(n),n.value===ig){let r=null;throw new j(-950,r)}return n.value}return i[ut]=n,i}var K9=new z("");K9.__NG_ELEMENT_ID__=e=>{let t=pt();if(t===null)throw new j(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new j(204,!1)};function J0(e,t){return rg(e,t)}function J9(e){return rg(ig,e)}var jo=(J0.required=J9,J0);var vp=new z(""),e6=new z("");function Vo(e){return!e.moduleRef}function t6(e){let t=Vo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(He);return n.run(()=>{Vo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(Jt),r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:i})}),Vo(e)){let o=()=>t.destroy(),a=e.platformInjector.get(vp);a.add(o),t.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(vp);a.add(o),e.moduleRef.onDestroy(()=>{Do(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return i6(i,n,()=>{let o=t.get(dp);return o.runInitializers(),o.donePromise.then(()=>{let a=t.get(Cl,Fo);if(j0(a||Fo),!t.get(e6,!0))return Vo(e)?t.get(Ai):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vo(e)){let d=t.get(Ai);return e.rootComponent!==void 0&&d.bootstrap(e.rootComponent),d}else return n6?.(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}var n6;function i6(e,t,n){try{let i=n();return bl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}var Dl=null;function r6(e=[],t){return Gt.create({name:t,providers:[{provide:ao,useValue:"platform"},{provide:vp,useValue:new Set([()=>Dl=null])},...e]})}function o6(e=[]){if(Dl)return Dl;let t=r6(e);return Dl=t,F0(),s6(t),t}function s6(e){let t=e.get(il,null);or(e,()=>{t?.forEach(n=>n())})}var Mp=(()=>{class e{static __NG_ELEMENT_ID__=a6}return e})();function a6(e){return l6(pt(),Y(),(e&16)===16)}function l6(e,t,n){if(Fn(e)&&!n){let i=St(e.index,t);return new Bn(i,i)}else if(e.type&175){let i=t[lt];return new Bn(i,t)}return null}var yp=class{constructor(){}supports(t){return op(t)}create(t){return new _p(t)}},c6=(e,t)=>t,_p=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||c6}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<eg(i,r,o)?n:i,c=eg(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 v=y<o.length?o[y]:o[y]=0,_=v+y;h<=_&&_<f&&(o[y]=v+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=[]),!op(t))throw new j(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,x0(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 Cp(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 El),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 El),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}},Cp=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}},wp=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}},El=class{map=new Map;put(t){let n=t.trackById,i=this.map.get(n);i||(i=new wp,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 eg(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 Dp=class{constructor(){}supports(t){return t instanceof Map||ml(t)}create(){return new Ep}},Ep=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||ml(t)))throw new j(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 xp(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))}},xp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function tg(){return new Ip([new yp])}var Ip=(()=>{class e{factories;static \u0275prov=W({token:e,providedIn:"root",factory:tg});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:i=>e.create(n,i||tg()),deps:[[e,new Pd,new Rd]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;throw new j(901,!1)}}return e})();function ng(){return new Sp([new Dp])}var Sp=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:ng});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:i=>e.create(n,i||ng()),deps:[[e,new Pd,new Rd]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new j(901,!1)}}return e})();function og(e){he(8);try{let{rootComponent:t,appProviders:n,platformProviders:i}=e,r=o6(i),o=[q0({}),{provide:qt,useExisting:X0},j1,...n||[]],a=new So({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return t6({r3Injector:a.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}finally{he(9)}}function M(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var u6={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function d6(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function p6(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Tp;function f6(e,t){if(!Tp){let n=Element.prototype;Tp=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Tp.call(e,t):!1}function m6(e){let t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[d6(i)]=[n,r]}),t}function h6(e,t){return t.get(Ti).resolveComponentFactory(e).inputs}function g6(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=b6(c,t,r);d!==-1&&i[d].push(c)}return i}function b6(e,t,n){let i=n;return p6(e)&&t.some((r,o)=>r!=="*"&&f6(e,r)?(i=o,!0):!1),i}var v6=10,kp=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Ti).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Ap(this.componentFactory,t,this.inputMap)}},Ap=class{componentFactory;injector;inputMap;eventEmitters=new kn(1);events=this.eventEmitters.pipe(An(t=>Kc(...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(He),this.appRef=this.injector.get(Ai),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=u6.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},v6))})}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),np(this.componentRef.hostView)&&(ip(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Gt.create({providers:[],parent:this.injector}),i=g6(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 ft(e,t){let n=h6(e,t.injector),i=t.strategyFactory||new kp(e,t.injector),r=m6(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 sg=null;function Bo(){return sg}function Np(e){sg??=e}var Ho=class{};var Op=/\s+/,ag=[],Pe=(()=>{class e{_ngEl;_renderer;initialClasses=ag;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Op):ag}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Op):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(Op).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)(Be(Un),Be(fl))};static \u0275dir=zn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var xl=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}},mt=(()=>{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 xl(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),lg(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);lg(o,r)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)(Be(Cr),Be(Lo),Be(Ip))};static \u0275dir=zn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function lg(e,t){e.context.$implicit=t.item}var Uo=(()=>{class e{_viewContainer;_context=new Ml;_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){cg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){cg(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)(Be(Cr),Be(Lo))};static \u0275dir=zn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ml=class{$implicit=null;ngIf=null};function cg(e,t){if(e&&!e.createEmbeddedView)throw new j(2020,!1)}var Rp=(()=>{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:Bt.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)(Be(Un),Be(Sp),Be(fl))};static \u0275dir=zn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),zo=(()=>{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)(Be(Cr))};static \u0275dir=zn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ut]})}return e})();var pe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=ki({type:e});static \u0275inj=On({})}return e})();function $o(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 Ni=class{};var ug="browser",y6="server";function dg(e){return e===y6}var Tl=new z(""),jp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,i){this._zone=i,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}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 j(5101,!1);return this._eventNameToPlugin.set(n,i),i}static \u0275fac=function(i){return new(i||e)(V(Tl),V(He))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Zo=class{_doc;constructor(t){this._doc=t}manager},Il="ng-app-id";function pg(e){for(let t of e)t.remove()}function fg(e,t){let n=t.createElement("style");return n.textContent=e,n}function _6(e,t,n,i){let r=e.head?.querySelectorAll(`style[${Il}="${t}"],link[${Il}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Il),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 Fp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Hp=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,this.isServer=dg(o),_6(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,fg);i?.forEach(r=>this.addUsage(r,this.external,Fp))}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&&(pg(r.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])pg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(n,fg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,Fp(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Il,this.appId),n.appendChild(i)}static \u0275fac=function(i){return new(i||e)(V(_t),V(nl),V(rl,8),V(yr))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Pp={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"},Bp=/%COMP%/g;var hg="%COMP%",C6=`_nghost-${hg}`,w6=`_ngcontent-${hg}`,D6=!0,E6=new z("",{providedIn:"root",factory:()=>D6});function x6(e){return w6.replace(Bp,e)}function M6(e){return C6.replace(Bp,e)}function gg(e,t){return t.map(n=>n.replace(Bp,e))}var Up=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,i,r,o,a,c,d,f=null,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=d,this.nonce=f,this.tracingService=h,this.platformIsServer=!1,this.defaultRenderer=new Wo(n,a,d,this.platformIsServer,this.tracingService)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(n,i);return r instanceof Sl?r.applyToHost(n):r instanceof Go&&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 yn.Emulated:o=new Sl(d,f,i,this.appId,h,a,c,g,y);break;case yn.ShadowDom:return new Vp(d,f,n,i,a,c,this.nonce,g,y);default:o=new Go(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)(V(jp),V(Hp),V(nl),V(E6),V(_t),V(yr),V(He),V(rl),V(Oo,8))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Wo=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(Pp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(mg(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(mg(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 j(-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=Pp[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){let r=Pp[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&(Bt.DashCase|Bt.Important)?t.style.setProperty(n,i,r&Bt.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Bt.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=Bo().getGlobalEventTarget(this.doc,t),!t))throw new j(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 mg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Vp=class extends Wo{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=gg(r.id,h);for(let y of h){let v=document.createElement("style");c&&v.setAttribute("nonce",c),v.textContent=y,this.shadowRoot.appendChild(v)}let g=r.getExternalStyles?.();if(g)for(let y of g){let v=Fp(y,o);c&&v.setAttribute("nonce",c),this.shadowRoot.appendChild(v)}}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)}},Go=class extends Wo{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?gg(f,h):h,this.styleUrls=i.getExternalStyles?.(f)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Sl=class extends Go{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=x6(h),this.hostAttr=M6(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 kl=class e extends Ho{supportsDOMEvents=!0;static makeCurrent(){Np(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=I6();return n==null?null:S6(n)}resetBaseElement(){Yo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return $o(document.cookie,t)}},Yo=null;function I6(){return Yo=Yo||document.head.querySelector("base"),Yo?Yo.getAttribute("href"):null}function S6(e){return new URL(e,document.baseURI).pathname}var T6=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),vg=(()=>{class e extends Zo{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)(V(_t))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),bg=["alt","control","meta","shift"],k6={"\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"},A6={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},yg=(()=>{class e extends Zo{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(()=>Bo().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."),bg.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=k6[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"),bg.forEach(a=>{if(a!==r){let c=A6[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)(V(_t))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function zp(e){return og(L6(e))}function L6(e){return{appProviders:[...F6,...e?.providers??[]],platformProviders:P6}}function N6(){kl.makeCurrent()}function O6(){return new Yt}function R6(){return Hd(document),document}var P6=[{provide:yr,useValue:ug},{provide:il,useValue:N6,multi:!0},{provide:_t,useFactory:R6}];var F6=[{provide:ao,useValue:"root"},{provide:Yt,useFactory:O6},{provide:Tl,useClass:vg,multi:!0,deps:[_t]},{provide:Tl,useClass:yg,multi:!0,deps:[_t]},Up,Hp,jp,{provide:Mi,useExisting:Up},{provide:Ni,useClass:T6},[]];var xr=class{},qo=class{},Zn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
11
- `).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 Ll=class{encodeKey(t){return _g(t)}encodeValue(t){return _g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function V6(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 j6=/%(\d[a-f0-9])/gi,H6={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _g(e){return encodeURIComponent(e).replace(j6,(t,n)=>H6[n]??t)}function Al(e){return`${e}`}var Dn=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ll,t.fromString){if(t.fromObject)throw new j(2805,!1);this.map=V6(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(Al):[Al(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(Al(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(Al(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 Nl=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 B6(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Cg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function wg(e){return typeof Blob<"u"&&e instanceof Blob}function Dg(e){return typeof FormData<"u"&&e instanceof FormData}function U6(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Eg="Content-Type",xg="Accept",Mg="X-Request-URL",Ig="text/plain",Sg="application/json",z6=`${Sg}, ${Ig}, */*`,Er=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;keepalive=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,n,i,r){this.url=n,this.method=t.toUpperCase();let o;if(B6(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(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),this.transferCache=o.transferCache),this.headers??=new Zn,this.context??=new Nl,!this.params)this.params=new Dn,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"||Cg(this.body)||wg(this.body)||Dg(this.body)||U6(this.body)?this.body:this.body instanceof Dn?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||Dg(this.body)?null:wg(this.body)?this.body.type||null:Cg(this.body)?null:typeof this.body=="string"?Ig:this.body instanceof Dn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Sg: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.transferCache??this.transferCache,c=t.body!==void 0?t.body:this.body,d=t.withCredentials??this.withCredentials,f=t.reportProgress??this.reportProgress,h=t.headers||this.headers,g=t.params||this.params,y=t.context??this.context;return t.setHeaders!==void 0&&(h=Object.keys(t.setHeaders).reduce((v,_)=>v.set(_,t.setHeaders[_]),h)),t.setParams&&(g=Object.keys(t.setParams).reduce((v,_)=>v.set(_,t.setParams[_]),g)),new e(n,i,c,{params:g,headers:h,context:y,reportProgress:f,responseType:r,withCredentials:d,transferCache:a,keepalive:o})}},Oi=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}(Oi||{}),Mr=class{headers;status;statusText;url;ok;type;constructor(t,n=200,i="OK"){this.headers=t.headers||new Zn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Ol=class e extends Mr{constructor(t={}){super(t)}type=Oi.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})}},Qo=class e extends Mr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Oi.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})}},Xo=class extends Mr{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}},$6=200,Z6=204;function $p(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,transferCache:e.transferCache,keepalive:e.keepalive}}var Ir=(()=>{class e{handler;constructor(n){this.handler=n}request(n,i,r={}){let o;if(n instanceof Er)o=n;else{let d;r.headers instanceof Zn?d=r.headers:d=new Zn(r.headers);let f;r.params&&(r.params instanceof Dn?f=r.params:f=new Dn({fromObject:r.params})),o=new Er(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})}let a=gn(o).pipe(to(d=>this.handler.handle(d)));if(n instanceof Er||r.observe==="events")return a;let c=a.pipe(Jc(d=>d instanceof Qo));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(rt(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new j(2806,!1);return d.body}));case"blob":return c.pipe(rt(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new j(2807,!1);return d.body}));case"text":return c.pipe(rt(d=>{if(d.body!==null&&typeof d.body!="string")throw new j(2808,!1);return d.body}));case"json":default:return c.pipe(rt(d=>d.body))}case"response":return c;default:throw new j(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 Dn().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,$p(r,i))}post(n,i,r={}){return this.request("POST",n,$p(r,i))}put(n,i,r={}){return this.request("PUT",n,$p(r,i))}static \u0275fac=function(i){return new(i||e)(V(xr))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var W6=new z("");function G6(e,t){return t(e)}function Y6(e,t,n){return(i,r)=>or(n,()=>t(i,o=>e(o,r)))}var Tg=new z(""),kg=new z(""),Ag=new z("",{providedIn:"root",factory:()=>!0});var Rl=(()=>{class e extends xr{backend;injector;chain=null;pendingTasks=F(_o);contributeToStability=F(Ag);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(Tg),...this.injector.get(kg,[])]));this.chain=i.reduceRight((r,o)=>Y6(r,o,this.injector),G6)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,r=>this.backend.handle(r)).pipe(eu(i))}else return this.chain(n,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(V(qo),V(dt))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var q6=/^\)\]\}',?\n/,Q6=RegExp(`^${Mg}:`,"m");function X6(e){return"responseURL"in e&&e.responseURL?e.responseURL:Q6.test(e.getAllResponseHeaders())?e.getResponseHeader(Mg):null}var Zp=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new j(-2800,!1);n.keepalive;let i=this.xhrFactory;return(i.\u0275loadImpl?hn(i.\u0275loadImpl()):gn(null)).pipe(An(()=>new oe(o=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((I,A)=>a.setRequestHeader(I,A.join(","))),n.headers.has(xg)||a.setRequestHeader(xg,z6),!n.headers.has(Eg)){let I=n.detectContentTypeHeader();I!==null&&a.setRequestHeader(Eg,I)}if(n.responseType){let I=n.responseType.toLowerCase();a.responseType=I!=="json"?I:"text"}let c=n.serializeBody(),d=null,f=()=>{if(d!==null)return d;let I=a.statusText||"OK",A=new Zn(a.getAllResponseHeaders()),k=X6(a)||n.url;return d=new Ol({headers:A,status:a.status,statusText:I,url:k}),d},h=()=>{let{headers:I,status:A,statusText:k,url:ne}=f(),ce=null;A!==Z6&&(ce=typeof a.response>"u"?a.responseText:a.response),A===0&&(A=ce?$6:0);let et=A>=200&&A<300;if(n.responseType==="json"&&typeof ce=="string"){let ze=ce;ce=ce.replace(q6,"");try{ce=ce!==""?JSON.parse(ce):null}catch(O){ce=ze,et&&(et=!1,ce={error:O,text:ce})}}et?(o.next(new Qo({body:ce,headers:I,status:A,statusText:k,url:ne||void 0})),o.complete()):o.error(new Xo({error:ce,headers:I,status:A,statusText:k,url:ne||void 0}))},g=I=>{let{url:A}=f(),k=new Xo({error:I,status:a.status||0,statusText:a.statusText||"Unknown Error",url:A||void 0});o.error(k)},y=!1,v=I=>{y||(o.next(f()),y=!0);let A={type:Oi.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(A.total=I.total),n.responseType==="text"&&a.responseText&&(A.partialText=a.responseText),o.next(A)},_=I=>{let A={type:Oi.UploadProgress,loaded:I.loaded};I.lengthComputable&&(A.total=I.total),o.next(A)};return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",v),c!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(c),o.next({type:Oi.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",v),c!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||e)(V(Ni))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Lg=new z(""),K6="XSRF-TOKEN",J6=new z("",{providedIn:"root",factory:()=>K6}),eC="X-XSRF-TOKEN",tC=new z("",{providedIn:"root",factory:()=>eC}),Ko=class{},nC=(()=>{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=$o(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(i){return new(i||e)(V(_t),V(J6))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function iC(e,t){let n=e.url.toLowerCase();if(!F(Lg)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let i=F(Ko).getToken(),r=F(tC);return i!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),t(e)}function Wp(...e){let t=[Ir,Zp,Rl,{provide:xr,useExisting:Rl},{provide:qo,useFactory:()=>F(W6,{optional:!0})??F(Zp)},{provide:Tg,useValue:iC,multi:!0},{provide:Lg,useValue:!0},{provide:Ko,useClass:nC}];for(let n of e)t.push(...n.\u0275providers);return so(t)}var Gn=class{},Ng=(()=>{class e extends Gn{getTranslation(n){return gn({})}static \u0275fac=(()=>{let n;return function(r){return(n||(n=Si(e)))(r||e)}})();static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Ri=class{},Og=(()=>{class e{handle(n){return n.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();function Fl(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(!Fl(e[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;a=Object.create(null);for(o in e){if(!Fl(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 Wn(e){return typeof e<"u"&&e!==null}function ts(e){return Pl(e)&&!Jp(e)&&e!==null}function Pl(e){return typeof e=="object"}function Jp(e){return Array.isArray(e)}function ef(e){return typeof e=="string"}function oC(e){return typeof e=="function"}function Gp(e,t){let n=Object.assign({},e);return Pl(e)?(Pl(e)&&Pl(t)&&Object.keys(t).forEach(i=>{ts(t[i])?i in e?n[i]=Gp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):Gp({},t)}function Yp(e,t){let n=t.split(".");t="";do t+=n.shift(),Wn(e)&&Wn(e[t])&&(ts(e[t])||Jp(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function sC(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]||!ts(r[a]))&&(r[a]={}),r=r[a])}}var Sr=class{},Rg=(()=>{class e extends Sr{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,i){if(ef(n))return this.interpolateString(n,i);if(oC(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=Yp(i,o);return Wn(a)?a:r}):n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=Si(e)))(r||e)}})();static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),Tr=class{},Pg=(()=>{class e extends Tr{compile(n,i){return n}compileTranslations(n,i){return n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=Si(e)))(r||e)}})();static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})(),es=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new K;onLangChange=new K;onDefaultLangChange=new K},qp=new z("ISOLATE_TRANSLATE_SERVICE"),Qp=new z("USE_DEFAULT_LANG"),Xp=new z("DEFAULT_LANGUAGE"),Kp=new z("USE_EXTEND"),Jo=e=>si(e)?e:gn(e),Ee=(()=>{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 es),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(tr(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return gn(this.translations[n]);this.currentLang||(this.currentLang=n);let i=this.retrieveTranslations(n);return si(i)?(i.pipe(tr(1)).subscribe(()=>{this.changeLang(n)}),i):(this.changeLang(n),gn(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(oa(1),tr(1));return this.loadingTranslations=i.pipe(rt(r=>this.compiler.compileTranslations(r,n)),oa(1),tr(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?Le(Le({},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]=Gp(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(Yp(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Yp(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(Jp(n))return n.map(r=>this.runInterpolation(r,i));if(ts(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||si(o[d]);if(!a)return o;let c=i.map(d=>Jo(o[d]));return Xc(c).pipe(rt(d=>{let f={};return d.forEach((h,g)=>{f[i[g]]=h}),f}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!Wn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(to(r=>Jo(this.getParsedResult(r,n,i)))):Jo(this.getParsedResult(this.translations[this.currentLang],n,i))}getStreamOnTranslationChange(n,i){if(!Wn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return ia(ra(()=>this.get(n,i)),this.onTranslationChange.pipe(An(r=>{let o=this.getParsedResult(r.translations,n,i);return Jo(o)})))}stream(n,i){if(!Wn(n)||!n.length)throw new Error('Parameter "key" required');return ia(ra(()=>this.get(n,i)),this.onLangChange.pipe(An(r=>{let o=this.getParsedResult(r.translations,n,i);return Jo(o)})))}instant(n,i){if(!Wn(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 si(r)?Array.isArray(n)?n.reduce((o,a)=>(o[a]=a,o),{}):n:r}set(n,i,r=this.currentLang){sC(this.translations[r],n,ef(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)(V(es),V(Gn),V(Tr),V(Sr),V(Ri),V(Qp),V(qp),V(Kp),V(Xp))};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ye=(()=>{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);si(a)?a.subscribe(o):o(a)}this.translate.get(n,i).subscribe(o)}transform(n,...i){if(!n||!n.length)return n;if(Fl(n,this.lastKey)&&Fl(i,this.lastParams))return this.value;let r;if(Wn(i[0])&&i.length)if(ef(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 ts(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)(Be(Ee,16),Be(Mp,16))};static \u0275pipe=gl({name:"translate",type:e,pure:!1});static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var ke=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Gn,useClass:Ng},n.compiler||{provide:Tr,useClass:Pg},n.parser||{provide:Sr,useClass:Rg},n.missingTranslationHandler||{provide:Ri,useClass:Og},es,{provide:qp,useValue:n.isolate},{provide:Qp,useValue:n.useDefaultLang},{provide:Kp,useValue:n.extend},{provide:Xp,useValue:n.defaultLanguage},Ee]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Gn,useClass:Ng},n.compiler||{provide:Tr,useClass:Pg},n.parser||{provide:Sr,useClass:Rg},n.missingTranslationHandler||{provide:Ri,useClass:Og},{provide:qp,useValue:n.isolate},{provide:Qp,useValue:n.useDefaultLang},{provide:Kp,useValue:n.extend},{provide:Xp,useValue:n.defaultLanguage},Ee]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=ki({type:e});static \u0275inj=On({})}return e})();var qe=(()=>{let t=class t{constructor(){this.translateService=F(Ee),this._selectedLanguage=Hn("en"),this._localizedStrings=Hn({})}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:[Oe([Ee])],decls:2,vars:0,template:function(r,o){r&1&&(D(0,"p"),Q(1," localized widget works! "),S())},dependencies:[pe,ke],encapsulation:3});let e=t;return e})();function fe(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 Vl=(()=>{let t=class t extends qe{constructor(){super(),this.bimplusContactClicked=new K}_contactClicked(){fe(this,"bimplusContactClicked","contact")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[Oe([Ee]),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,o){r&1&&(D(0,"a",0),ge(1,"translate"),R("click",function(){return o._contactClicked()}),ee(2,"div",1),S()),r&2&&E("title",be(1,1,"_BimplusContactTitle"))},dependencies:[pe,ke,Ye],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%}
12
- `],encapsulation:3});let e=t;return e})();var aC=(e,t)=>({open:e,"expand-up":t});function lC(e,t){if(e&1){let n=_e();D(0,"li",7),R("click",function(){let r=H(n).$implicit,o=x();return B(o._switchLanguage(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=x();return B(o._switchLanguage(r.symbol))}),D(1,"span"),Q(2),S()()}if(e&2){let n=t.$implicit,i=x();E("ngClass",i.selectedLanguage===n.symbol?"selected":""),_n("data-test","langmenu_item_"+n.text),w(2),Ke(n.text)}}var jl=(()=>{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 K}_switchLanguage(i){fe(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&&(D(0,"div",0),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),S(),D(1,"div",1),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",2),ee(3,"div",3)(4,"span",4),S(),D(5,"ul",5),ae(6,lC,3,3,"li",6),S()()),r&2&&(E("ngClass",o._menuOpened?"open":""),w(),E("ngClass",o._menuOpened?"open":"")("ngClass",o.isTouch?"is-touch":""),w(4),E("ngClass",Li(5,aC,o._menuOpened,o.expandUp)),w(),E("ngForOf",o._languagesList))},dependencies:[pe,Pe,mt],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}
13
- `],encapsulation:3});let e=t;return e})();var cC=(e,t,n)=>({collapsed:e,"mini-mode":t,"is-touch":n}),Fg=(e,t)=>t.id;function uC(e,t){if(e&1){let n=_e();D(0,"div",4),ge(1,"translate"),R("dblclick",function(r){H(n);let o=x(3);return B(o._menuItemIgnoreAction(r))})("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))}),ee(2,"div",5),D(3,"div",6),R("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))}),S()()}if(e&2){let n=x().$implicit,i=x(2);E("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",be(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),E("ngClass",i._getPrjIconClassAttributes(n))}}function dC(e,t){if(e&1&&Se(0,uC,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Te(i._isHidden(n)?-1:0)}}function pC(e,t){if(e&1&&vl(0,dC,1,1,null,null,Fg),e&2){let n=x();yl(n.menuItems)}}function fC(e,t){if(e&1){let n=_e();D(0,"div",4),ge(1,"translate"),R("dblclick",function(r){H(n);let o=x(3);return B(o._menuItemIgnoreAction(r))})("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"normal",r))}),ee(2,"div",5),D(3,"div",6),R("click",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x(2);return B(a._menuItemClicked(o,"info",r))}),S()()}if(e&2){let n=x().$implicit,i=x(2);E("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",be(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),E("ngClass",i._getPrjIconClassAttributes(n))}}function mC(e,t){if(e&1&&Se(0,fC,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Te(!i._isHidden(n)&&(i.isCollapsed||n.action!=="processes")?0:-1)}}function hC(e,t){if(e&1&&vl(0,mC,1,1,null,null,Fg),e&2){let n=x();yl(n.menuItems)}}function gC(e,t){e&1&&tn(0)}function bC(e,t){if(e&1&&ae(0,gC,1,0,"ng-container",13),e&2){x(2);let n=Cn(1);E("ngTemplateOutlet",n)}}function vC(e,t){if(e&1&&(D(0,"div",7)(1,"div",8),ee(2,"div",9),S(),D(3,"div",10),Q(4),S()(),D(5,"div",11)(6,"div",12),Se(7,bC,1,1,"ng-container"),S()()),e&2){let n=x();w(),E("ngStyle",n.prjImageOverlayStyle),w(),E("ngStyle",n.prjImageStyle),w(2),Ce(" ",n.projectName," "),w(),E("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Te(n.showHorizontalMenuIcons?7:-1)}}function yC(e,t){e&1&&tn(0)}function _C(e,t){if(e&1&&ae(0,yC,1,0,"ng-container",13),e&2){x(2);let n=Cn(3);E("ngTemplateOutlet",n)}}function CC(e,t){e&1&&tn(0)}function wC(e,t){if(e&1&&ae(0,CC,1,0,"ng-container",13),e&2){x(2);let n=Cn(1);E("ngTemplateOutlet",n)}}function DC(e,t){if(e&1){let n=_e();D(0,"a",14),ge(1,"translate"),R("dblclick",function(){H(n);let r=x();return B(r._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){H(n);let r=x();return B(r._projectMenuItemClicked("prjimageclick","normal"))}),D(2,"div",15),ee(3,"div",16),D(4,"div",17),Se(5,_C,1,1,"ng-container"),S(),D(6,"div",18),Q(7),S()()(),D(8,"div",11)(9,"div",12),Se(10,wC,1,1,"ng-container"),S()()}if(e&2){let n=x();E("href",de(n.projectExplorerUrl),_r)("ngStyle",n.prjImageOverlayStyle)("title",be(1,11,"_ModelThumbnailTooltip")),w(2),E("ngStyle",n.prjImageStyle),w(),E("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),E("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),Te(!n.hideMenuIcons&&!n.showHorizontalMenuIcons?5:-1),w(2),Ce(" ",n.projectName," "),w(),E("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Te(n.showHorizontalMenuIcons?10:-1)}}var Hl=(()=>{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;fe(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:[Oe([Ee]),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,o){r&1&&(ae(0,pC,2,0,"ng-template",null,0,Dr)(2,hC,2,0,"ng-template",null,1,Dr),D(4,"div",2),Se(5,vC,8,5)(6,DC,11,13),S()),r&2&&(w(4),E("ngClass",wn(2,cC,o.isCollapsed,o.isMiniMode,o.isTouch)),w(),Te(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[pe,Pe,zo,Rp,ke,Ye],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}
14
- `],encapsulation:3});let e=t;return e})();var tf=e=>({$implicit:e});function EC(e,t){if(e&1&&ee(0,"div",10),e&2){let n=x().$implicit;hp(n.item.class),E("id",n.item.id)}}function xC(e,t){if(e&1){let n=_e();D(0,"div",14),R("click",function(r){H(n);let o=x(2).$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){H(n);let o=x(2).$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"info",r))}),S()}}function MC(e,t){if(e&1){let n=_e();D(0,"div",9),ge(1,"translate"),D(2,"div",11),R("click",function(r){H(n);let o=x().$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){H(n);let o=x().$implicit,a=x();return B(a._mainMenuItemClicked(o.item,"normal",r))}),ee(3,"div",12),D(4,"span"),Q(5),ge(6,"translate"),S()(),Se(7,xC,1,0,"div",13),S()}if(e&2){let n=x().$implicit,i=x();E("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?be(1,7,n.item.disabledTitle):""),w(2),E("ngClass",n.clickable?"":"not-clickable"),w(),E("ngClass",n.item.class+(n.active?" active":"")+(n.disabled?" disabled ":"")),w(2),Ke(be(6,9,n.isDisabled&&n.item.textIdDisabled!==""?n.item.textIdDisabled:n.item.textId)),w(2),Te(n.showInfoIcon?7:-1)}}function IC(e,t){if(e&1&&Se(0,EC,1,3,"div",8)(1,MC,8,11,"div",9),e&2){let n=t.$implicit;Te(n.item.type==="divider"?0:1)}}function SC(e,t){e&1&&tn(0)}function TC(e,t){if(e&1&&ae(0,SC,1,0,"ng-container",15),e&2){let n=x(),i=Cn(1);E("ngTemplateOutlet",i)("ngTemplateOutletContext",ct(2,tf,n._getContextData(n._openPrjBtn,n.projectActiveItem==="projectlist",n._isDisabled(n._openPrjBtn),!0,n.projectActiveItem==="projectlist")))}}function kC(e,t){if(e&1&&ee(0,"lib-bimplus-project-menu",3),e&2){let n=x();E("projectName",de(n.projectName))("projectImageUrl",de(n.projectImageUrl))("projectExplorerUrl",de(n.projectExplorerUrl))("projectActiveItem",de(n.projectActiveItem))("projectmembersDisabled",de(n.projectmembersDisabled))("modelsDisabled",de(n.modelsDisabled))("documentsDisabled",de(n.documentsDisabled))("projectsettingsDisabled",de(n.projectsettingsDisabled))("processesDisabled",de(n.processesDisabled))("projectmembersVisible",de(n.projectmembersVisible))("modelsVisible",de(n.modelsVisible))("documentsVisible",de(n.documentsVisible))("projectsettingsVisible",de(n.projectsettingsVisible))("processesVisible",de(n.processesVisible))("isCollapsed",de(n.isCollapsed))("isMiniMode",de(n.isTouch))("isTouch",de(n.isTouch))("hideMenuIcons",de(n.hideProjectMenuIcons))("showHorizontalMenuIcons",de(n.showHorizontalMenuIcons))("menuItemsOrder",n.menuItemsOrder)}}function AC(e,t){e&1&&tn(0)}function LC(e,t){if(e&1&&(D(0,"div"),ae(1,AC,1,0,"ng-container",15),S()),e&2){let n=t.$implicit,i=x(),r=Cn(1);w(),E("ngTemplateOutlet",r)("ngTemplateOutletContext",ct(2,tf,i._getContextData(n,!i._isSubscribed(n),i._isDisabled(n),i._isClickable(n),i.menuActiveItem===n.action)))}}function NC(e,t){e&1&&tn(0)}function OC(e,t){if(e&1&&(D(0,"div"),ae(1,NC,1,0,"ng-container",15),S()),e&2){let n=t.$implicit,i=x(),r=Cn(1);w(),E("ngTemplateOutlet",r)("ngTemplateOutletContext",ct(2,tf,i._getContextData(n,i.footerActiveItem===n.action,i._isDisabled(n),!0,!1)))}}var me={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"},Bl=(()=>{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 K,this.bimplusMainMenuOverlayClicked=new K,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:me.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:me.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:me.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:me.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:me.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:me.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:me.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:me.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:me.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:me.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:me.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:me.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:me.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:me.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:me.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:me.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:me.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:me.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!==me.PORTAL_CONNEXIS_BTN)),this.cloudviewerVisible||(i=i.filter(({id:r})=>r!==me.PORTAL_CLOUD_VIEWER_BTN)),this.autoconverterVisible||(i=i.filter(({id:r})=>r!==me.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(i=i.filter(({id:r})=>r!==me.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(i=i.filter(({id:r})=>r!==me.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(i=i.filter(({id:r})=>r!==me.PORTAL_PROPERTY_MANAGER_BTN&&r!==me.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!==me.DIVIDERAPPS)),this.getYourTeamVisible?i.filter(({id:r})=>r!==me.DIVIDERAPPS):i.filter(({id:r})=>r!==me.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(){fe(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),r!="info"&&this._isDisabled(i))return;let a=i.action;fe(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:[Oe([Ee]),Ue,Ut],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=_e();ae(0,IC,2,1,"ng-template",null,0,Dr),D(2,"div",1),R("click",function(){return H(a),B(o._overlayClicked())})("keypress",function(){return H(a),B(o._overlayClicked())}),D(3,"div",2),Se(4,TC,1,4,"ng-container"),Se(5,kC,1,39,"lib-bimplus-project-menu",3),D(6,"div",4)(7,"div",5),ae(8,LC,2,4,"div",6),S(),D(9,"div",7),ae(10,OC,2,4,"div",6),S()()()()}r&2&&(w(2),E("ngClass",o.showOverlay?"bim-mm-overlay":""),w(2),Te(o._isHidden(o._openPrjBtn)?-1:4),w(),Te(o.bimplusProjectMenuVisible?5:-1),w(),E("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),w(2),E("ngForOf",o.apps),w(2),E("ngForOf",o.footerList))},dependencies:[pe,Pe,mt,zo,ke,Ye,Hl],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}
15
- `],encapsulation:3});let e=t;return e})();var ns=function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e}(ns||{});var RC=(e,t,n,i,r)=>({"model-viewer":e,"model-viewer-black":t,"connexis-viewer":n,"connexis-viewer-black":i,"burger-menu-not-visible":r}),PC=(e,t,n)=>({active:e,hidden:t,disabled:n}),FC=e=>({hidden:e});function VC(e,t){e&1&&(D(0,"span"),Q(1,"\xA0\xA0 -\xA0\xA0"),S())}var Ul=(()=>{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=jo(ns.BimplusViewer),this.isModelViewerActive=jo(!1,{transform:M}),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.bimplusNavbarClicked=new K,this.LogoState=ns,this.logoTooltipSignal=wl(()=>this.isModelViewerActive()?"_Open_new_file":this.isDashboardTooltipEnabled?"_dashboard_tooltip":""),this.logoStateSignal=wl(()=>this.isModelViewerActive()?ns.ModelViewerBlack:this.logoState())}_menuClicked(){this.isNavbarMenuEnabled&&fe(this,"bimplusNavbarClicked","menu")}_logoClicked(){fe(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&fe(this,"bimplusNavbarClicked","project")}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Si(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:[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"],[4,"ngIf"],[1,"project",3,"click","keypress","ngClass"],[1,"bimplus-navbar-slot"]],template:function(r,o){r&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),ge(3,"translate"),R("click",function(){return o._logoClicked()})("keypress",function(){return o._logoClicked()}),S(),D(4,"div",3),R("click",function(){return o._menuClicked()})("keypress",function(){return o._menuClicked()}),S()(),D(5,"div",4)(6,"div",5)(7,"span",6),Q(8),S(),ae(9,VC,2,0,"span",7),D(10,"span",8),R("click",function(){return o._projectInfoClicked()})("keypress",function(){return o._projectInfoClicked()}),Q(11),S()(),D(12,"div",9),ee(13,"slot"),S()()()),r&2&&(E("ngClass",o.isTouch?"is-touch":""),w(2),E("ngClass",gp(13,RC,o.logoStateSignal()===o.LogoState.ModelViewer,o.logoStateSignal()===o.LogoState.ModelViewerBlack,o.logoStateSignal()===o.LogoState.ConnexisViewer,o.logoStateSignal()===o.LogoState.ConnexisViewerBlack,!o.isNavbarMenuVisible))("title",be(3,11,o.logoTooltipSignal())),w(2),E("ngClass",wn(19,PC,o.isNavbarMenuActive,!o.isNavbarMenuVisible,!o.isNavbarMenuEnabled)),w(2),$n("margin-left",o.teamInfoOffset),E("ngClass",ct(23,FC,!o.isNavbarInfoVisible)),w(2),Ke(o.teamInfo),w(),E("ngIf",o.projectInfo&&!o.isTouch),w(),E("ngClass",o.isDev?"clickable":""),w(),Ce(" ",o.projectInfo," "))},dependencies:[pe,Pe,Uo,ke,Ye],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}
16
- `],encapsulation:3});let e=t;return e})();function jC(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Pi=jC;var HC=typeof global=="object"&&global&&global.Object===Object&&global,Vg=HC;var BC=typeof self=="object"&&self&&self.Object===Object&&self,UC=Vg||BC||Function("return this")(),zl=UC;var zC=function(){return zl.Date.now()},$l=zC;var $C=/\s/;function ZC(e){for(var t=e.length;t--&&$C.test(e.charAt(t)););return t}var jg=ZC;var WC=/^\s+/;function GC(e){return e&&e.slice(0,jg(e)+1).replace(WC,"")}var Hg=GC;var YC=zl.Symbol,kr=YC;var Bg=Object.prototype,qC=Bg.hasOwnProperty,QC=Bg.toString,is=kr?kr.toStringTag:void 0;function XC(e){var t=qC.call(e,is),n=e[is];try{e[is]=void 0;var i=!0}catch{}var r=QC.call(e);return i&&(t?e[is]=n:delete e[is]),r}var Ug=XC;var KC=Object.prototype,JC=KC.toString;function e7(e){return JC.call(e)}var zg=e7;var t7="[object Null]",n7="[object Undefined]",$g=kr?kr.toStringTag:void 0;function i7(e){return e==null?e===void 0?n7:t7:$g&&$g in Object(e)?Ug(e):zg(e)}var Zg=i7;function r7(e){return e!=null&&typeof e=="object"}var Wg=r7;var o7="[object Symbol]";function s7(e){return typeof e=="symbol"||Wg(e)&&Zg(e)==o7}var Gg=s7;var Yg=NaN,a7=/^[-+]0x[0-9a-f]+$/i,l7=/^0b[01]+$/i,c7=/^0o[0-7]+$/i,u7=parseInt;function d7(e){if(typeof e=="number")return e;if(Gg(e))return Yg;if(Pi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Pi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Hg(e);var n=l7.test(e);return n||c7.test(e)?u7(e.slice(2),n?2:8):a7.test(e)?Yg:+e}var nf=d7;var p7="Expected a function",f7=Math.max,m7=Math.min;function h7(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(p7);t=nf(t)||0,Pi(n)&&(h=!!n.leading,g="maxWait"in n,o=g?f7(nf(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function v(O){var we=i,ie=r;return i=r=void 0,f=O,a=e.apply(ie,we),a}function _(O){return f=O,c=setTimeout(k,t),h?v(O):a}function I(O){var we=O-d,ie=O-f,xn=t-we;return g?m7(xn,o-ie):xn}function A(O){var we=O-d,ie=O-f;return d===void 0||we>=t||we<0||g&&ie>=o}function k(){var O=$l();if(A(O))return ne(O);c=setTimeout(k,I(O))}function ne(O){return c=void 0,y&&i?v(O):(i=r=void 0,a)}function ce(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function et(){return c===void 0?a:ne($l())}function ze(){var O=$l(),we=A(O);if(i=arguments,r=this,d=O,we){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(k,t),v(d)}return c===void 0&&(c=setTimeout(k,t)),a}return ze.cancel=ce,ze.flush=et,ze}var Ar=h7;var g7="Expected a function";function b7(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(g7);return Pi(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Ar(e,t,{leading:i,maxWait:t,trailing:r})}var qg=b7;var Nr=function(){return Nr=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},Nr.apply(this,arguments)};function Kg(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Jg(e){return!e||!e.ownerDocument?document:e.ownerDocument}var e2=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 t2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function n2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function i2(e){return".".concat(e.split(" ").join("."))}var of=!!(typeof window<"u"&&window.document&&window.document.createElement),v7=Object.freeze({__proto__:null,addClasses:t2,canUseDOM:of,classNamesToQuery:i2,getElementDocument:Jg,getElementWindow:Kg,getOptions:e2,removeClasses:n2}),Lr=null,Qg=null;of&&window.addEventListener("resize",function(){Qg!==window.devicePixelRatio&&(Qg=window.devicePixelRatio,Lr=null)});function Xg(){if(Lr===null){if(typeof document>"u")return Lr=0,Lr;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),Lr=n}return Lr}var Yn=Kg,rf=Jg,y7=e2,qn=t2,Qn=n2,ht=i2,rs=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=Yn(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,qn(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(){Qn(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(qn(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Qn(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,v,_,I;if(!(!i.draggedAxis||!i.contentWrapperEl)){var A,k=i.axis[i.draggedAxis].track,ne=(a=(o=k.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,ce=i.axis[i.draggedAxis].scrollbar,et=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,ze=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"?A=r.pageY:A=r.pageX;var O=A-((y=(g=k.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;O=i.draggedAxis==="x"&&i.isRtl?((_=(v=k.rect)===null||v===void 0?void 0:v[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-ce.size-O:O;var we=O/(ne-ce.size),ie=we*(et-ze);i.draggedAxis==="x"&&i.isRtl&&(ie=!((I=e.getRtlHelpers())===null||I===void 0)&&I.isScrollingToNegative?-ie:ie),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ie}},this.onEndDrag=function(r){i.isDragging=!1;var o=rf(i.el),a=Yn(i.el);r.preventDefault(),r.stopPropagation(),Qn(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=Nr(Nr({},e.defaultOptions),n),this.classNames=Nr(Nr({},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=qg(this._onMouseMove,64),this.onWindowResize=Ar(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Ar(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Ar(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:Xg()}catch{return Xg()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=rf(t),r=Yn(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){of&&(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(ht(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(ht(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(ht(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(ht(this.classNames.offset)),this.maskEl=this.el.querySelector(ht(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,ht(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(ht(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(ht(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(ht(this.classNames.track)).concat(ht(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(ht(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(ht(this.classNames.scrollbar)))||null,this.options.autoHide||(qn(this.axis.x.scrollbar.el,this.classNames.visible),qn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=Yn(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=Yn(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&&(qn(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&&(Qn(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),qn(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?qn(n.scrollbar.el,this.classNames.hover):Qn(n.scrollbar.el,this.classNames.hover)):(Qn(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Qn(this.axis[t].track.el,this.classNames.hover),Qn(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=rf(this.el),o=Yn(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,qn(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=Yn(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),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,I=_<0?-1:1,A=I===-1?v-y:v+y,k=40,ne=function(){i.contentWrapperEl&&(I===-1?v>A&&(v-=k,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=v,f.requestAnimationFrame(ne)):v<A&&(v+=k,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=v,f.requestAnimationFrame(ne)))};ne()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Yn(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=y7,e.helpers=v7,e}();var af=function(e,t){return af=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])},af(e,t)};function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");af(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var lf=rs.helpers,sf=lf.getOptions,Tt=lf.addClasses,C7=lf.canUseDOM,cf=function(e){_7(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,sf(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)}rs.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){rs.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,sf(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,sf(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}(rs);C7&&cf.initHtmlApi();var w7=["*"],Zl=(()=>{let t=class t{constructor(){this.elementRef=F(Un),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 cf(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:w7,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(r,o){r&1&&(fp(),D(0,"div",0),mp(1),S())},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)}
17
- `],encapsulation:2});let e=t;return e})();var r2=e=>({capitalize:e}),o2=e=>[e];function D7(e,t){if(e&1){let n=_e();D(0,"div",22),R("click",function(){let r=H(n).index,o=x(2).$implicit,a=x(2);return B(a._messageAction(o,r))})("keypress",function(){let r=H(n).index,o=x(2).$implicit,a=x(2);return B(a._messageAction(o,r))}),Q(1),S()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x(2);E("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function E7(e,t){if(e&1&&ae(0,D7,2,2,"div",21),e&2){let n=x().$implicit,i=x(2);E("ngForOf",n.linkText.constructor===i.Array?n.linkText:ct(1,o2,n.linkText))}}function x7(e,t){if(e&1){let n=_e();D(0,"div",14)(1,"div",15),ee(2,"div",16),D(3,"div",17),Q(4),S(),D(5,"div",18),R("click",function(r){let o=H(n).$implicit,a=x(2);return B(a._closeMessage(o,!1,r))})("keypress",function(r){let o=H(n).$implicit,a=x(2);return B(a._closeMessage(o,!1,r))}),S()(),D(6,"div",19),Q(7),S(),Se(8,E7,1,3,"div",20),S()}if(e&2){let n=t.$implicit;w(2),E("ngClass","message-item-icon-"+n.type),w(),E("ngClass",ct(5,r2,n.capitalizedTitle)),w(),Ce(" ",n.title," "),w(3),Ke(n.text),w(),Te(n.linkText?8:-1)}}function M7(e,t){if(e&1&&(D(0,"lib-bimplus-scrollable-container"),ae(1,x7,9,7,"div",13),S()),e&2){let n=x();w(),E("ngForOf",n._messagesList)}}function I7(e,t){e&1&&(D(0,"div",9),ee(1,"div",23),D(2,"div",24),Q(3),ge(4,"translate"),S()()),e&2&&(w(3),Ke(be(4,1,"_Notify_No_Messages")))}function S7(e,t){if(e&1){let n=_e();D(0,"div",22),R("click",function(){let r=H(n).index,o=x(2).$implicit,a=x();return B(a._messageAction(o,r))})("keypress",function(){let r=H(n).index,o=x(2).$implicit,a=x();return B(a._messageAction(o,r))}),Q(1),S()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x();E("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function T7(e,t){if(e&1&&ae(0,S7,2,2,"div",21),e&2){let n=x().$implicit,i=x();E("ngForOf",n.linkText.constructor===i.Array?n.linkText:ct(1,o2,n.linkText))}}function k7(e,t){if(e&1){let n=_e();D(0,"div",14)(1,"div",15),ee(2,"div",16),D(3,"div",17),Q(4),S(),D(5,"div",18),R("click",function(r){let o=H(n).$implicit,a=x();return B(a._closeMessage(o,!0,r))})("keypress",function(r){let o=H(n).$implicit,a=x();return B(a._closeMessage(o,!0,r))}),S()(),D(6,"div",19),Q(7),S(),Se(8,T7,1,3,"div",20),S()}if(e&2){let n=t.$implicit;w(2),E("ngClass","message-item-icon-"+n.type),w(),E("ngClass",ct(5,r2,n.capitalizedTitle)),w(),Ce(" ",n.title," "),w(3),Ce(" ",n.text," "),w(),Te(n.linkText?8:-1)}}var Wl="bimplus-notify-messages",Gl=(()=>{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 K,this.bimplusNotifyDeleteAllMessages=new K,this.bimplusNotifyMessageAction=new K}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()),fe(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(){fe(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(i,r){i.actionId=r,fe(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(Wl);return r?!r.includes(i.id):!0}storeMessagesAsRead(i){if(!i||i.length<1)return;let r=window.localStorage.getItem(Wl);r??="",i.forEach(o=>{r?.includes(o)||(r+=o+";")}),window.localStorage.setItem(Wl,r)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Wl)}_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&&_l("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:[Oe([Ee]),Ue,Ut],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&&(D(0,"div",0),ge(1,"translate"),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",1),ee(3,"div",2),S(),D(4,"div",3),ee(5,"div",4),D(6,"div",5)(7,"div",6),Q(8),S(),D(9,"div",7),R("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),Q(10),ge(11,"translate"),S()(),D(12,"div",8),Se(13,M7,2,1,"lib-bimplus-scrollable-container")(14,I7,5,3,"div",9),S()()(),D(15,"div",10),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),S(),D(16,"div",11)(17,"div",12),ae(18,k7,9,7,"div",13),S()()),r&2&&(E("ngClass",o._menuOpened?"open":"")("title",be(1,12,"_BimplusNotifyTitle")),w(3),E("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),w(),E("ngClass",o._menuOpened?"open":""),w(4),Ce(" (",o._messagesList.length,") "),w(2),Ce(" ",be(11,14,"_Notify_Mark_All")," "),w(3),Te(o._messagesList.length?13:14),w(2),E("ngClass",o._menuOpened?"open":""),w(),$n("top",o.previewMessagesOffsetY),E("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),w(2),E("ngForOf",o._previewMessagesList))},dependencies:[pe,Pe,mt,ke,Ye,Zl],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")}
18
- `],encapsulation:2});let e=t;return e})();var A7=(e,t,n)=>({red:e,yellow:t,green:n}),Yl=(()=>{let t=class t extends qe{constructor(){super(),this.usedStorage=jo(0),this.bimplusStorageInfoClicked=new K}_infoClicked(i){fe(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:[Oe([Ee]),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,o){r&1&&(D(0,"div",0),R("click",function(){return o._infoClicked("storageInfo")})("keypress",function(){return o._infoClicked("storageInfo")}),D(1,"span",1),Q(2),ge(3,"translate"),D(4,"span",2),Q(5),S()(),D(6,"div",3),ee(7,"div",4),S()()),r&2&&(w(2),Ce(" ",be(3,7,"_Common_Data_Environment_Quota")," "),w(3),Ce(" ",o.usedStorage(),"% "),w(2),$n("width",o.usedStorage()+"%")("max-width",o.usedStorage()+"%"),E("ngClass",wn(9,A7,o.usedStorage()>=90,o.usedStorage()>=80&&o.usedStorage()<90,o.usedStorage()<80)))},dependencies:[pe,Pe,ke,Ye],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)}
19
- `],encapsulation:3});let e=t;return e})();var ql=(()=>{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 K}_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"),fe(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:[Oe([Ee]),Ue],decls:3,vars:4,consts:[[1,"bimplus-upgrade-link","secondary-button","body-text-mixin",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(D(0,"div",0),R("click",function(){return o._linkClicked()})("keypress",function(){return o._linkClicked()}),Q(1),ge(2,"translate"),S()),r&2&&(E("ngClass",o.isTouch?"is-touch":""),w(),Ce(" ",be(2,2,"_Upgrade_to_Bimplus")," "))},dependencies:[pe,Pe,ke,Ye],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}
20
- `],encapsulation:3});let e=t;return e})();var L7=(e,t)=>({open:e,"is-touch":t}),N7=e=>({open:e}),O7=e=>({selected:e});function R7(e,t){if(e&1){let n=_e();D(0,"li",7),R("click",function(){let r=H(n).$implicit,o=x();return B(o._menuItemClicked(r.mode))})("keypress",function(){let r=H(n).$implicit,o=x();return B(o._menuItemClicked(r.mode))}),ee(1,"div",8),D(2,"span"),Q(3),ge(4,"translate"),S()()}if(e&2){let n=t.$implicit,i=x();E("ngClass",ct(5,O7,i.selectedMode===n.mode)),w(),E("ngClass",n.class),w(2),Ke(be(4,3,n.textId))}}var Ql=(()=>{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 K}get _selectedItem(){return this._menuItemsList.find(i=>i.mode==this.selectedMode)}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i){fe(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:[Oe([Ee]),Ue,Ut],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&&(D(0,"div",0),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),S(),D(1,"div",1),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",2),ee(3,"div",3)(4,"span",4),S(),D(5,"ul",5),ae(6,R7,5,7,"li",6),S()()),r&2&&(E("ngClass",o._menuOpened?"open":""),w(),E("ngClass",Li(5,L7,o._menuOpened,o.isTouch)),w(2),E("ngClass",o._selectedItem!=null&&o._selectedItem.class?o._selectedItem==null?null:o._selectedItem.class:""),w(2),E("ngClass",ct(8,N7,o._menuOpened)),w(),E("ngForOf",o._menuItemsList))},dependencies:[pe,Pe,mt,ke,Ye],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}
21
- `],encapsulation:3});let e=t;return e})();var P7=(e,t,n)=>({divider:e,languageMenuItem:t,"submenu-hidden":n});function F7(e,t){if(e&1&&Q(0),e&2){let n=x();Ce(" ",n.userName," ")}}function V7(e,t){if(e&1){let n=_e();D(0,"div",17),R("click",function(){let r=H(n).$implicit,o=x(4);return B(o._switchLanguage(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=x(4);return B(o._switchLanguage(r.symbol))}),Q(1),S()}if(e&2){let n=t.$implicit,i=x(4);E("id",de(i._getLangId(n)))("ngClass",n.symbol===i.selectedLanguage?"selected":""),_n("key",i._getLangId(n)),w(),Ce(" ",n.text," ")}}function j7(e,t){if(e&1&&(ee(0,"div",11)(1,"div",12),D(2,"span",13),Q(3),ge(4,"translate"),S(),D(5,"div",14)(6,"div",15),ae(7,V7,2,5,"div",16),S()()),e&2){let n=x(2).$implicit,i=x();w(),E("ngClass",n.class),w(),E("ngClass",n.textClass?n.textClass:""),w(),Ce(" ",be(4,5,n.textId)," "),w(2),E("ngClass",i._languagesMenuOpened?"open":""),w(2),E("ngForOf",i._languagesList)}}function H7(e,t){if(e&1&&(ee(0,"div",12),D(1,"span",13),Q(2),ge(3,"translate"),S()),e&2){let n=x(2).$implicit;E("ngClass",n.class),w(),E("ngClass",n.textClass?n.textClass:""),w(),Ce(" ",be(3,3,n.textId)," ")}}function B7(e,t){if(e&1&&(D(0,"a",10),ee(1,"div",12),D(2,"span",13),Q(3),ge(4,"translate"),S()()),e&2){let n=x(2).$implicit,i=x();E("href",de(i._buildUrl(n)),_r),w(),E("ngClass",n.class),w(),E("ngClass",n.textClass?n.textClass:""),w(),Ce(" ",be(4,5,n.textId)," ")}}function U7(e,t){if(e&1){let n=_e();D(0,"li",9),R("click",function(){H(n);let r=x(),o=r.$implicit,a=r.index,c=x();return B(c._menuItemClicked(o,a))})("keypress",function(){H(n);let r=x(),o=r.$implicit,a=r.index,c=x();return B(c._menuItemClicked(o,a))}),Se(1,j7,8,7)(2,H7,4,5)(3,B7,5,7,"a",10),S()}if(e&2){let n=x().$implicit;E("ngClass",wn(4,P7,n.type==="divider",n.action==="submenu",(!n.url||n.url.slice(0,2)==="#/")&&n.action!=="submenu")),_n("key",n.id)("role",n.type==="divider"?"separator":""),w(),Te(n.action==="submenu"?1:!n.url||n.url.slice(0,2)==="#/"?2:!n.type||n.type!=="divider"?3:-1)}}function z7(e,t){if(e&1&&(Ro(0),ae(1,U7,4,8,"li",8),Po()),e&2){let n=t.$implicit;w(),E("ngIf",n)}}var Xl=(()=>{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 K,this.bimplusLanguageSelected=new K,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,fe(this,"bimplusUserMenuClicked",{index:r,action:i.action?i.action:""})))}_switchLanguage(i){this._languagesMenuOpened=!1,this._menuOpened=!1,fe(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:[Oe([Ee]),Ue,Ut],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&&(D(0,"div",0),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),S(),D(1,"div",1)(2,"div",2),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),ee(3,"img",3),D(4,"div",4),Se(5,F7,1,1),S(),ee(6,"span",5),S(),D(7,"ul",6),ae(8,z7,2,1,"ng-container",7),S()()),r&2&&(E("ngClass",o._menuOpened?"open":""),_n("key","bimcompOverlay"),w(),E("ngClass",o._menuOpened?"open":""),_n("key","userMenu"),w(),E("title",o.buttonTitle?o.buttonTitle:""),w(),E("src",de(o.userPhotoUrl?o.userPhotoUrl:""),_r)("alt",de(o.buttonTitle?o.buttonTitle:"")),w(2),Te(o.isTouch?-1:5),w(2),E("ngClass",o._menuOpened?"open":""),w(),E("ngForOf",o._getMenuItems()))},dependencies:[pe,Pe,mt,Uo,ke,Ye],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}
22
- `],encapsulation:3});let e=t;return e})();var $7=(e,t)=>({open:e,"is-touch":t});function Z7(e,t){if(e&1){let n=_e();D(0,"li",7),R("click",function(){let r=H(n).$implicit,o=x();return B(o._switchZoom(r.symbol))})("keypress",function(){let r=H(n).$implicit,o=x();return B(o._switchZoom(r.symbol))}),D(1,"span"),Q(2),S()()}if(e&2){let n=t.$implicit,i=x();E("ngClass",i._getZoomClassObject(n.symbol)),w(2),Ke(n.text)}}var Kl=(()=>{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 K}_switchZoom(i){fe(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&&(D(0,"div",0),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),S(),D(1,"div",1),R("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),D(2,"div",2),ee(3,"div",3)(4,"span",4),S(),D(5,"ul",5),ae(6,Z7,3,2,"li",6),S()()),r&2&&(E("ngClass",o._menuOpened?"open":""),w(),E("ngClass",Li(4,$7,o._menuOpened,o.isTouch)),w(4),E("ngClass",o._menuOpened?"open":""),w(),E("ngForOf",o._zoomList))},dependencies:[pe,Pe,mt],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")}
23
- `],encapsulation:3});let e=t;return e})();var s2=(()=>{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)(V(Ir),V(String),V(String))};static \u0275prov=W({token:e,factory:e.\u0275fac})}return e})();var a2=(()=>{let t=class t{constructor(){this.defaultLang="en",this.currentLanguage$=new Tn(this.defaultLang),this.currentLanguageStrings$=new Tn({}),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 Wt(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 Wt(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=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function uf(e){e||(e=F(wi));let t=new oe(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(nu(t))}function W7(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Fi=W7;var G7=typeof global=="object"&&global&&global.Object===Object&&global,l2=G7;var Y7=typeof self=="object"&&self&&self.Object===Object&&self,q7=l2||Y7||Function("return this")(),Jl=q7;var Q7=function(){return Jl.Date.now()},ec=Q7;var X7=/\s/;function K7(e){for(var t=e.length;t--&&X7.test(e.charAt(t)););return t}var c2=K7;var J7=/^\s+/;function ew(e){return e&&e.slice(0,c2(e)+1).replace(J7,"")}var u2=ew;var tw=Jl.Symbol,Or=tw;var d2=Object.prototype,nw=d2.hasOwnProperty,iw=d2.toString,os=Or?Or.toStringTag:void 0;function rw(e){var t=nw.call(e,os),n=e[os];try{e[os]=void 0;var i=!0}catch{}var r=iw.call(e);return i&&(t?e[os]=n:delete e[os]),r}var p2=rw;var ow=Object.prototype,sw=ow.toString;function aw(e){return sw.call(e)}var f2=aw;var lw="[object Null]",cw="[object Undefined]",m2=Or?Or.toStringTag:void 0;function uw(e){return e==null?e===void 0?cw:lw:m2&&m2 in Object(e)?p2(e):f2(e)}var h2=uw;function dw(e){return e!=null&&typeof e=="object"}var g2=dw;var pw="[object Symbol]";function fw(e){return typeof e=="symbol"||g2(e)&&h2(e)==pw}var b2=fw;var v2=NaN,mw=/^[-+]0x[0-9a-f]+$/i,hw=/^0b[01]+$/i,gw=/^0o[0-7]+$/i,bw=parseInt;function vw(e){if(typeof e=="number")return e;if(b2(e))return v2;if(Fi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Fi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=u2(e);var n=hw.test(e);return n||gw.test(e)?bw(e.slice(2),n?2:8):mw.test(e)?v2:+e}var df=vw;var yw="Expected a function",_w=Math.max,Cw=Math.min;function ww(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(yw);t=df(t)||0,Fi(n)&&(h=!!n.leading,g="maxWait"in n,o=g?_w(df(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function v(O){var we=i,ie=r;return i=r=void 0,f=O,a=e.apply(ie,we),a}function _(O){return f=O,c=setTimeout(k,t),h?v(O):a}function I(O){var we=O-d,ie=O-f,xn=t-we;return g?Cw(xn,o-ie):xn}function A(O){var we=O-d,ie=O-f;return d===void 0||we>=t||we<0||g&&ie>=o}function k(){var O=ec();if(A(O))return ne(O);c=setTimeout(k,I(O))}function ne(O){return c=void 0,y&&i?v(O):(i=r=void 0,a)}function ce(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function et(){return c===void 0?a:ne(ec())}function ze(){var O=ec(),we=A(O);if(i=arguments,r=this,d=O,we){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(k,t),v(d)}return c===void 0&&(c=setTimeout(k,t)),a}return ze.cancel=ce,ze.flush=et,ze}var Rr=ww;var Dw="Expected a function";function Ew(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(Dw);return Fi(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Rr(e,t,{leading:i,maxWait:t,trailing:r})}var y2=Ew;var Fr=function(){return Fr=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},Fr.apply(this,arguments)};function w2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function D2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var E2=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 x2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function M2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function I2(e){return".".concat(e.split(" ").join("."))}var ff=!!(typeof window<"u"&&window.document&&window.document.createElement),xw=Object.freeze({__proto__:null,addClasses:x2,canUseDOM:ff,classNamesToQuery:I2,getElementDocument:D2,getElementWindow:w2,getOptions:E2,removeClasses:M2}),Pr=null,_2=null;ff&&window.addEventListener("resize",function(){_2!==window.devicePixelRatio&&(_2=window.devicePixelRatio,Pr=null)});function C2(){if(Pr===null){if(typeof document>"u")return Pr=0,Pr;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),Pr=n}return Pr}var Xn=w2,pf=D2,Mw=E2,Kn=x2,Jn=M2,gt=I2,ss=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,v,_,I;if(!(!i.draggedAxis||!i.contentWrapperEl)){var A,k=i.axis[i.draggedAxis].track,ne=(a=(o=k.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,ce=i.axis[i.draggedAxis].scrollbar,et=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,ze=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"?A=r.pageY:A=r.pageX;var O=A-((y=(g=k.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;O=i.draggedAxis==="x"&&i.isRtl?((_=(v=k.rect)===null||v===void 0?void 0:v[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-ce.size-O:O;var we=O/(ne-ce.size),ie=we*(et-ze);i.draggedAxis==="x"&&i.isRtl&&(ie=!((I=e.getRtlHelpers())===null||I===void 0)&&I.isScrollingToNegative?-ie:ie),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ie}},this.onEndDrag=function(r){i.isDragging=!1;var o=pf(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=Fr(Fr({},e.defaultOptions),n),this.classNames=Fr(Fr({},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=y2(this._onMouseMove,64),this.onWindowResize=Rr(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Rr(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Rr(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:C2()}catch{return C2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=pf(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(){ff&&(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=pf(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),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,I=_<0?-1:1,A=I===-1?v-y:v+y,k=40,ne=function(){i.contentWrapperEl&&(I===-1?v>A&&(v-=k,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=v,f.requestAnimationFrame(ne)):v<A&&(v+=k,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=v,f.requestAnimationFrame(ne)))};ne()}},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=Mw,e.helpers=xw,e}();var hf=function(e,t){return hf=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])},hf(e,t)};function Iw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var gf=ss.helpers,mf=gf.getOptions,kt=gf.addClasses,Sw=gf.canUseDOM,S2=function(e){Iw(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,mf(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)}ss.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){ss.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,mf(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,mf(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}(ss);Sw&&S2.initHtmlApi();var bf=function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e}(bf||{});var k2=jy(T2());function Tw(e,t){if(e&1){let n=_e();D(0,"lib-bimplus-main-menu",11),R("bimplusMainMenuClicked",function(r){H(n);let o=x();return B(o.bimplusMainMenuClicked(r))})("bimplusMainMenuOverlayClicked",function(){H(n);let r=x();return B(r.bimplusMainMenuOverlayClicked())}),S()}if(e&2){let n=x();E("selectedLanguage",n.languageStringsService.currentLanguage)("localizedStrings",n.languageStringsService.currentLanguageStrings)("isTouch",n.isTouch)("showHorizontalMenuIcons",n.isTouch)("appsWithInfo",n.appsWithInfo)("appsOrder",n.appsOrder)("menuItemsOrder",n.menuItemsOrder)}}var A2=(()=>{let t=class t{constructor(){this.translateService=F(Ee),this.languageStringsService=F(a2),this.logoState=bf.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=Hn("object-properties"),this.languageStringsService.currentLanguage$.pipe(uf()).subscribe({next:i=>{this.translateService.use(i),k2.default.locale(i)}}),this.languageStringsService.currentLanguageStrings$.pipe(uf()).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:[Oe([])],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&&(D(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-notify",2),R("bimplusNotifyMessageAction",function(c){return o.bimplusNotifyMessageAction(c)})("bimplusNotifyDeleteMessage",function(c){return o.bimplusNotifyDeleteMessage(c)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),S(),D(3,"lib-bimplus-storage-info",3),R("bimplusStorageInfoClicked",function(c){return o.bimplusStorageInfoClicked(c)}),S(),D(4,"lib-bimplus-upgrade-link",4),R("bimplusUpgradeLinkClicked",function(c){return o.bimplusUpgradeLinkClicked(c)}),S(),D(5,"lib-bimplus-contact",5),R("bimplusContactClicked",function(c){return o.bimplusContactClicked(c)}),S(),D(6,"lib-bimplus-zoom",6),R("bimplusZoomSelected",function(c){return o.bimplusZoomSelected(c)}),S(),D(7,"lib-bimplus-touch-menu",7),R("bimplusTouchModeSelected",function(c){return o.bimplusTouchModeSelected(c)}),S(),D(8,"lib-bimplus-language-menu",8),R("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)}),S(),D(9,"lib-bimplus-user-menu",9),R("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)})("bimplusUserMenuClicked",function(c){return o.bimplusUserMenuClicked(c)}),S()()(),Se(10,Tw,1,7,"lib-bimplus-main-menu",10)),r&2&&(w(),E("logoState",o.logoState)("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),w(),E("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),w(),E("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),w(),E("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(2),E("selectedZoom",o.selectedZoom),w(),E("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),w(),E("selectedLanguage",o.languageStringsService.currentLanguage),w(),E("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(),Te(o.isNavbarMenuActive?10:-1))},dependencies:[Vl,jl,Bl,Ul,Gl,Yl,ql,Xl,Kl,Ql,pe],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}
24
- `],encapsulation:2});let e=t;return e})();var kw=e=>new s2(e,"./assets/@bimplus/navigation/languages/strings_",".json"),yf=class{handle(t){return console.warn("Missing translation string "+t.key),t.key}};Wt(null,null,function*(){let e=yield zp({providers:[Wp(),_a(ke.forRoot({missingTranslationHandler:{provide:Ri,useClass:yf},isolate:!0,defaultLanguage:"en",loader:{provide:Gn,useFactory:kw,deps:[Ir]}}))]}),t=ft(Vl,{injector:e.injector});customElements.define("bimplus-navigation-contact",t);let n=ft(jl,{injector:e.injector});customElements.define("bimplus-navigation-language-menu",n);let i=ft(Bl,{injector:e.injector});customElements.define("bimplus-navigation-main-menu",i);let r=ft(Ul,{injector:e.injector});customElements.define("bimplus-navigation-navbar",r);let o=ft(Gl,{injector:e.injector});customElements.define("bimplus-navigation-notify",o);let a=ft(Hl,{injector:e.injector});customElements.define("bimplus-navigation-project-menu",a);let c=ft(Yl,{injector:e.injector});customElements.define("bimplus-navigation-storage-info",c);let d=ft(ql,{injector:e.injector});customElements.define("bimplus-navigation-upgrade-link",d);let f=ft(Ql,{injector:e.injector});customElements.define("bimplus-navigation-touch-menu",f);let h=ft(Xl,{injector:e.injector});customElements.define("bimplus-navigation-user-menu",h);let g=ft(Kl,{injector:e.injector});customElements.define("bimplus-navigation-zoom",g);let y=ft(Zl,{injector:e.injector});customElements.define("bimplus-navigation-scrollable-container-element",y);let v=ft(A2,{injector:e.injector});customElements.define("bimplus-navigation-app-wrapper-internal-element",v)});export{yf as BimplusMissingTranslationHandler};
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};