@bimplus/navigation-web 0.0.218 → 0.0.219-angualr-v21

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 vy=Object.create;var Mc=Object.defineProperty,yy=Object.defineProperties,_y=Object.getOwnPropertyDescriptor,Cy=Object.getOwnPropertyDescriptors,wy=Object.getOwnPropertyNames,sm=Object.getOwnPropertySymbols,Dy=Object.getPrototypeOf,lm=Object.prototype.hasOwnProperty,Ey=Object.prototype.propertyIsEnumerable;var am=(e,n,t)=>n in e?Mc(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ae=(e,n)=>{for(var t in n||={})lm.call(n,t)&&am(e,t,n[t]);if(sm)for(var t of sm(n))Ey.call(n,t)&&am(e,t,n[t]);return e},gt=(e,n)=>yy(e,Cy(n));var cm=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(n,t)=>(typeof require<"u"?require:n)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var xy=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var My=(e,n,t,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of wy(n))!lm.call(e,r)&&r!==t&&Mc(e,r,{get:()=>n[r],enumerable:!(i=_y(n,r))||i.enumerable});return e};var Iy=(e,n,t)=>(t=e!=null?vy(Dy(e)):{},My(n||!e||!e.__esModule?Mc(t,"default",{value:e,enumerable:!0}):t,e));var qt=(e,n,t)=>new Promise((i,r)=>{var o=d=>{try{c(t.next(d))}catch(f){r(f)}},a=d=>{try{c(t.throw(d))}catch(f){r(f)}},c=d=>d.done?i(d.value):Promise.resolve(d.value).then(o,a);c((t=t.apply(e,n)).next())});var b2=xy((pf,Gr)=>{"use strict";(function(e,n){typeof pf=="object"&&typeof Gr<"u"?Gr.exports=n():typeof define=="function"&&define.amd?define(n):e.moment=n()})(pf,function(){"use strict";var e;function n(){return e.apply(null,arguments)}function t(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 Ff(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 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 Y=n.momentProperties=[],Me=!1;function ce(s,l){var u,p,m,b=Y.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=Y[u],m=l[p],c(m)||(s[p]=m);return s}function ke(s){ce(this,s),this._d=new Date(s._d!=null?s._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Me===!1&&(Me=!0,n.updateOffset(this),Me=!1)}function O(s){return s instanceof ke||s!=null&&s._isAMomentObject!=null}function se(s){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+s)}function te(s,l){var u=!0;return g(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,s),u){var p=[],m,b,C,N=arguments.length;for(b=0;b<N;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)}se(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:
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};
4
+ `+new Error().stack),u=!1}return l.apply(this,arguments)},l)}var kn={};function mf(s,l){n.deprecationHandler!=null&&n.deprecationHandler(s,l),kn[s]||(se(l),kn[s]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function Wt(s){return typeof Function<"u"&&s instanceof Function||Object.prototype.toString.call(s)==="[object Function]"}function _2(s){var l,u;for(u in s)o(s,u)&&(l=s[u],Wt(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 Xl(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 Jl(s){s!=null&&this.set(s)}var ec;Object.keys?ec=Object.keys:ec=function(s){var l,u=[];for(l in s)o(s,l)&&u.push(l);return u};var C2={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function w2(s,l,u){var p=this._calendar[s]||this._calendar.sameElse;return Wt(p)?p.call(l,u):p}function Gt(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 tc=/(\[[^\[]*\])|(\\)?([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,ls=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nc={},Zi={};function P(s,l,u,p){var m=p;typeof p=="string"&&(m=function(){return this[p]()}),s&&(Zi[s]=m),l&&(Zi[l[0]]=function(){return Gt(m.apply(this,arguments),l[1],l[2])}),u&&(Zi[u]=function(){return this.localeData().ordinal(m.apply(this,arguments),s)})}function D2(s){return s.match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"")}function E2(s){var l=s.match(tc),u,p;for(u=0,p=l.length;u<p;u++)Zi[l[u]]?l[u]=Zi[l[u]]:l[u]=D2(l[u]);return function(m){var b="",C;for(C=0;C<p;C++)b+=Wt(l[C])?l[C].call(m,s):l[C];return b}}function cs(s,l){return s.isValid()?(l=hf(l,s.localeData()),nc[l]=nc[l]||E2(l),nc[l](s)):s.localeData().invalidDate()}function hf(s,l){var u=5;function p(m){return l.longDateFormat(m)||m}for(ls.lastIndex=0;u>=0&&ls.test(s);)s=s.replace(ls,p),ls.lastIndex=0,u-=1;return s}var x2={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 M2(s){var l=this._longDateFormat[s],u=this._longDateFormat[s.toUpperCase()];return l||!u?l:(this._longDateFormat[s]=u.match(tc).map(function(p){return p==="MMMM"||p==="MM"||p==="DD"||p==="dddd"?p.slice(1):p}).join(""),this._longDateFormat[s])}var I2="Invalid date";function S2(){return this._invalidDate}var T2="%d",k2=/\d{1,2}/;function A2(s){return this._ordinal.replace("%d",s)}var N2={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 L2(s,l,u,p){var m=this._relativeTime[u];return Wt(m)?m(s,l,u,p):m.replace(/%d/i,s)}function O2(s,l){var u=this._relativeTime[s>0?"future":"past"];return Wt(u)?u(l):u.replace(/%s/i,l)}var gf={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 Et(s){return typeof s=="string"?gf[s]||gf[s.toLowerCase()]:void 0}function ic(s){var l={},u,p;for(p in s)o(s,p)&&(u=Et(p),u&&(l[u]=s[p]));return l}var R2={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 P2(s){var l=[],u;for(u in s)o(s,u)&&l.push({unit:u,priority:R2[u]});return l.sort(function(p,m){return p.priority-m.priority}),l}var bf=/\d/,Ct=/\d\d/,vf=/\d{3}/,rc=/\d{4}/,us=/[+-]?\d{6}/,_e=/\d\d?/,yf=/\d\d\d\d?/,_f=/\d\d\d\d\d\d?/,ds=/\d{1,3}/,oc=/\d{1,4}/,ps=/[+-]?\d{1,6}/,Wi=/\d+/,fs=/[+-]?\d+/,F2=/Z|[+-]\d\d:?\d\d/gi,ms=/Z|[+-]\d\d(?::?\d\d)?/gi,V2=/[+-]?\d+(\.\d{1,3})?/,Yr=/[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,Gi=/^[1-9]\d?/,sc=/^([1-9]\d|\d)/,hs;hs={};function R(s,l,u){hs[s]=Wt(l)?l:function(p,m){return p&&u?u:l}}function j2(s,l){return o(hs,s)?hs[s](l._strict,l._locale):new RegExp(H2(s))}function H2(s){return on(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(l,u,p,m,b){return u||p||m||b}))}function on(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function xt(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=xt(l)),u}var ac={};function de(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++)ac[s[u]]=p}function qr(s,l){de(s,function(u,p,m,b){m._w=m._w||{},l(u,m._w,m,b)})}function B2(s,l,u){l!=null&&o(ac,s)&&ac[s](l,u._a,u,s)}function gs(s){return s%4===0&&s%100!==0||s%400===0}var et=0,sn=1,Yt=2,We=3,Rt=4,an=5,li=6,U2=7,z2=8;P("Y",0,0,function(){var s=this.year();return s<=9999?Gt(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"),R("Y",fs),R("YY",_e,Ct),R("YYYY",oc,rc),R("YYYYY",ps,us),R("YYYYYY",ps,us),de(["YYYYY","YYYYYY"],et),de("YYYY",function(s,l){l[et]=s.length===2?n.parseTwoDigitYear(s):J(s)}),de("YY",function(s,l){l[et]=n.parseTwoDigitYear(s)}),de("Y",function(s,l){l[et]=parseInt(s,10)});function Qr(s){return gs(s)?366:365}n.parseTwoDigitYear=function(s){return J(s)+(J(s)>68?1900:2e3)};var Cf=Yi("FullYear",!0);function $2(){return gs(this.year())}function Yi(s,l){return function(u){return u!=null?(wf(this,s,u),n.updateOffset(this,l),this):Kr(this,s)}}function Kr(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 wf(s,l,u){var p,m,b,C,N;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(),N=s.date(),N=N===29&&C===1&&!gs(b)?28:N,m?p.setUTCFullYear(b,C,N):p.setFullYear(b,C,N)}}function Z2(s){return s=Et(s),Wt(this[s])?this[s]():this}function W2(s,l){if(typeof s=="object"){s=ic(s);var u=P2(s),p,m=u.length;for(p=0;p<m;p++)this[u[p].unit](s[u[p].unit])}else if(s=Et(s),Wt(this[s]))return this[s](l);return this}function G2(s,l){return(s%l+l)%l}var Pe;Array.prototype.indexOf?Pe=Array.prototype.indexOf:Pe=function(s){var l;for(l=0;l<this.length;++l)if(this[l]===s)return l;return-1};function lc(s,l){if(isNaN(s)||isNaN(l))return NaN;var u=G2(l,12);return s+=(l-u)/12,u===1?gs(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)}),R("M",_e,Gi),R("MM",_e,Ct),R("MMM",function(s,l){return l.monthsShortRegex(s)}),R("MMMM",function(s,l){return l.monthsRegex(s)}),de(["M","MM"],function(s,l){l[sn]=J(s)-1}),de(["MMM","MMMM"],function(s,l,u,p){var m=u._locale.monthsParse(s,p,u._strict);m!=null?l[sn]=m:_(u).invalidMonth=s});var Y2="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Df="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ef=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,q2=Yr,Q2=Yr;function K2(s,l){return s?i(this._months)?this._months[s.month()]:this._months[(this._months.isFormat||Ef).test(l)?"format":"standalone"][s.month()]:i(this._months)?this._months:this._months.standalone}function X2(s,l){return s?i(this._monthsShort)?this._monthsShort[s.month()]:this._monthsShort[Ef.test(l)?"format":"standalone"][s.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function J2(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=Pe.call(this._shortMonthsParse,C),m!==-1?m:null):(m=Pe.call(this._longMonthsParse,C),m!==-1?m:null):l==="MMM"?(m=Pe.call(this._shortMonthsParse,C),m!==-1?m:(m=Pe.call(this._longMonthsParse,C),m!==-1?m:null)):(m=Pe.call(this._longMonthsParse,C),m!==-1?m:(m=Pe.call(this._shortMonthsParse,C),m!==-1?m:null))}function eb(s,l,u){var p,m,b;if(this._monthsParseExact)return J2.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 xf(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,lc(s.year(),u)),s._isUTC?s._d.setUTCMonth(u,p):s._d.setMonth(u,p),s}function Mf(s){return s!=null?(xf(this,s),n.updateOffset(this,!0),this):Kr(this,"Month")}function tb(){return lc(this.year(),this.month())}function nb(s){return this._monthsParseExact?(o(this,"_monthsRegex")||If.call(this),s?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=q2),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}function ib(s){return this._monthsParseExact?(o(this,"_monthsRegex")||If.call(this),s?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Q2),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}function If(){function s(z,ee){return ee.length-z.length}var l=[],u=[],p=[],m,b,C,N;for(m=0;m<12;m++)b=y([2e3,m]),C=on(this.monthsShort(b,"")),N=on(this.months(b,"")),l.push(C),u.push(N),p.push(N),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 rb(s,l,u,p,m,b,C){var N;return s<100&&s>=0?(N=new Date(s+400,l,u,p,m,b,C),isFinite(N.getFullYear())&&N.setFullYear(s)):N=new Date(s,l,u,p,m,b,C),N}function Xr(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 bs(s,l,u){var p=7+l-u,m=(7+Xr(s,0,p).getUTCDay()-l)%7;return-m+p-1}function Sf(s,l,u,p,m){var b=(7+u-p)%7,C=bs(s,p,m),N=1+7*(l-1)+b+C,z,ee;return N<=0?(z=s-1,ee=Qr(z)+N):N>Qr(s)?(z=s+1,ee=N-Qr(s)):(z=s,ee=N),{year:z,dayOfYear:ee}}function Jr(s,l,u){var p=bs(s.year(),l,u),m=Math.floor((s.dayOfYear()-p-1)/7)+1,b,C;return m<1?(C=s.year()-1,b=m+ln(C,l,u)):m>ln(s.year(),l,u)?(b=m-ln(s.year(),l,u),C=s.year()+1):(C=s.year(),b=m),{week:b,year:C}}function ln(s,l,u){var p=bs(s,l,u),m=bs(s+1,l,u);return(Qr(s)-p+m)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),R("w",_e,Gi),R("ww",_e,Ct),R("W",_e,Gi),R("WW",_e,Ct),qr(["w","ww","W","WW"],function(s,l,u,p){l[p.substr(0,1)]=J(s)});function ob(s){return Jr(s,this._week.dow,this._week.doy).week}var sb={dow:0,doy:6};function ab(){return this._week.dow}function lb(){return this._week.doy}function cb(s){var l=this.localeData().week(this);return s==null?l:this.add((s-l)*7,"d")}function ub(s){var l=Jr(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"),R("d",_e),R("e",_e),R("E",_e),R("dd",function(s,l){return l.weekdaysMinRegex(s)}),R("ddd",function(s,l){return l.weekdaysShortRegex(s)}),R("dddd",function(s,l){return l.weekdaysRegex(s)}),qr(["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}),qr(["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 pb(s,l){return typeof s=="string"?l.weekdaysParse(s)%7||7:isNaN(s)?null:s}function cc(s,l){return s.slice(l,7).concat(s.slice(0,l))}var fb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Tf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),mb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),hb=Yr,gb=Yr,bb=Yr;function vb(s,l){var u=i(this._weekdays)?this._weekdays:this._weekdays[s&&s!==!0&&this._weekdays.isFormat.test(l)?"format":"standalone"];return s===!0?cc(u,this._week.dow):s?u[s.day()]:u}function yb(s){return s===!0?cc(this._weekdaysShort,this._week.dow):s?this._weekdaysShort[s.day()]:this._weekdaysShort}function _b(s){return s===!0?cc(this._weekdaysMin,this._week.dow):s?this._weekdaysMin[s.day()]:this._weekdaysMin}function Cb(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=Pe.call(this._weekdaysParse,C),m!==-1?m:null):l==="ddd"?(m=Pe.call(this._shortWeekdaysParse,C),m!==-1?m:null):(m=Pe.call(this._minWeekdaysParse,C),m!==-1?m:null):l==="dddd"?(m=Pe.call(this._weekdaysParse,C),m!==-1||(m=Pe.call(this._shortWeekdaysParse,C),m!==-1)?m:(m=Pe.call(this._minWeekdaysParse,C),m!==-1?m:null)):l==="ddd"?(m=Pe.call(this._shortWeekdaysParse,C),m!==-1||(m=Pe.call(this._weekdaysParse,C),m!==-1)?m:(m=Pe.call(this._minWeekdaysParse,C),m!==-1?m:null)):(m=Pe.call(this._minWeekdaysParse,C),m!==-1||(m=Pe.call(this._weekdaysParse,C),m!==-1)?m:(m=Pe.call(this._shortWeekdaysParse,C),m!==-1?m:null))}function wb(s,l,u){var p,m,b;if(this._weekdaysParseExact)return Cb.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 Db(s){if(!this.isValid())return s!=null?this:NaN;var l=Kr(this,"Day");return s!=null?(s=db(s,this.localeData()),this.add(s-l,"d")):l}function Eb(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 xb(s){if(!this.isValid())return s!=null?this:NaN;if(s!=null){var l=pb(s,this.localeData());return this.day(this.day()%7?l:l-7)}else return this.day()||7}function Mb(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||uc.call(this),s?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=hb),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ib(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||uc.call(this),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gb),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Sb(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||uc.call(this),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bb),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function uc(){function s(it,fn){return fn.length-it.length}var l=[],u=[],p=[],m=[],b,C,N,z,ee;for(b=0;b<7;b++)C=y([2e3,1]).day(b),N=on(this.weekdaysMin(C,"")),z=on(this.weekdaysShort(C,"")),ee=on(this.weekdays(C,"")),l.push(N),u.push(z),p.push(ee),m.push(N),m.push(z),m.push(ee);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 dc(){return this.hours()%12||12}function Tb(){return this.hours()||24}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,dc),P("k",["kk",2],0,Tb),P("hmm",0,0,function(){return""+dc.apply(this)+Gt(this.minutes(),2)}),P("hmmss",0,0,function(){return""+dc.apply(this)+Gt(this.minutes(),2)+Gt(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)+Gt(this.seconds(),2)});function kf(s,l){P(s,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),l)})}kf("a",!0),kf("A",!1);function Af(s,l){return l._meridiemParse}R("a",Af),R("A",Af),R("H",_e,sc),R("h",_e,Gi),R("k",_e,Gi),R("HH",_e,Ct),R("hh",_e,Ct),R("kk",_e,Ct),R("hmm",yf),R("hmmss",_f),R("Hmm",yf),R("Hmmss",_f),de(["H","HH"],We),de(["k","kk"],function(s,l,u){var p=J(s);l[We]=p===24?0:p}),de(["a","A"],function(s,l,u){u._isPm=u._locale.isPM(s),u._meridiem=s}),de(["h","hh"],function(s,l,u){l[We]=J(s),_(u).bigHour=!0}),de("hmm",function(s,l,u){var p=s.length-2;l[We]=J(s.substr(0,p)),l[Rt]=J(s.substr(p)),_(u).bigHour=!0}),de("hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=J(s.substr(0,p)),l[Rt]=J(s.substr(p,2)),l[an]=J(s.substr(m)),_(u).bigHour=!0}),de("Hmm",function(s,l,u){var p=s.length-2;l[We]=J(s.substr(0,p)),l[Rt]=J(s.substr(p))}),de("Hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=J(s.substr(0,p)),l[Rt]=J(s.substr(p,2)),l[an]=J(s.substr(m))});function kb(s){return(s+"").toLowerCase().charAt(0)==="p"}var Ab=/[ap]\.?m?\.?/i,Nb=Yi("Hours",!0);function Lb(s,l,u){return s>11?u?"pm":"PM":u?"am":"AM"}var Nf={calendar:C2,longDateFormat:x2,invalidDate:I2,ordinal:T2,dayOfMonthOrdinalParse:k2,relativeTime:N2,months:Y2,monthsShort:Df,week:sb,weekdays:fb,weekdaysMin:mb,weekdaysShort:Tf,meridiemParse:Ab},Ie={},eo={},to;function Ob(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 Lf(s){return s&&s.toLowerCase().replace("_","-")}function Rb(s){for(var l=0,u,p,m,b;l<s.length;){for(b=Lf(s[l]).split("-"),u=b.length,p=Lf(s[l+1]),p=p?p.split("-"):null;u>0;){if(m=vs(b.slice(0,u).join("-")),m)return m;if(p&&p.length>=u&&Ob(b,p)>=u-1)break;u--}l++}return to}function Pb(s){return!!(s&&s.match("^[^/\\\\]*$"))}function vs(s){var l=null,u;if(Ie[s]===void 0&&typeof Gr<"u"&&Gr&&Gr.exports&&Pb(s))try{l=to._abbr,u=cm,u("./locale/"+s),An(l)}catch{Ie[s]=null}return Ie[s]}function An(s,l){var u;return s&&(c(l)?u=cn(s):u=pc(s,l),u?to=u:typeof console<"u"&&console.warn&&console.warn("Locale "+s+" not found. Did you forget to load it?")),to._abbr}function pc(s,l){if(l!==null){var u,p=Nf;if(l.abbr=s,Ie[s]!=null)mf("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=Ie[s]._config;else if(l.parentLocale!=null)if(Ie[l.parentLocale]!=null)p=Ie[l.parentLocale]._config;else if(u=vs(l.parentLocale),u!=null)p=u._config;else return eo[l.parentLocale]||(eo[l.parentLocale]=[]),eo[l.parentLocale].push({name:s,config:l}),null;return Ie[s]=new Jl(Xl(p,l)),eo[s]&&eo[s].forEach(function(m){pc(m.name,m.config)}),An(s),Ie[s]}else return delete Ie[s],null}function Fb(s,l){if(l!=null){var u,p,m=Nf;Ie[s]!=null&&Ie[s].parentLocale!=null?Ie[s].set(Xl(Ie[s]._config,l)):(p=vs(s),p!=null&&(m=p._config),l=Xl(m,l),p==null&&(l.abbr=s),u=new Jl(l),u.parentLocale=Ie[s],Ie[s]=u),An(s)}else Ie[s]!=null&&(Ie[s].parentLocale!=null?(Ie[s]=Ie[s].parentLocale,s===An()&&An(s)):Ie[s]!=null&&delete Ie[s]);return Ie[s]}function cn(s){var l;if(s&&s._locale&&s._locale._abbr&&(s=s._locale._abbr),!s)return to;if(!i(s)){if(l=vs(s),l)return l;s=[s]}return Rb(s)}function Vb(){return ec(Ie)}function fc(s){var l,u=s._a;return u&&_(s).overflow===-2&&(l=u[sn]<0||u[sn]>11?sn:u[Yt]<1||u[Yt]>lc(u[et],u[sn])?Yt:u[We]<0||u[We]>24||u[We]===24&&(u[Rt]!==0||u[an]!==0||u[li]!==0)?We:u[Rt]<0||u[Rt]>59?Rt:u[an]<0||u[an]>59?an:u[li]<0||u[li]>999?li:-1,_(s)._overflowDayOfYear&&(l<et||l>Yt)&&(l=Yt),_(s)._overflowWeeks&&l===-1&&(l=U2),_(s)._overflowWeekday&&l===-1&&(l=z2),_(s).overflow=l),s}var jb=/^\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)?)?$/,Hb=/^\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)?)?$/,Bb=/Z|[+-]\d\d(?::?\d\d)?/,ys=[["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]],mc=[["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/]],Ub=/^\/?Date\((-?\d+)/i,zb=/^(?:(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}))$/,$b={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Of(s){var l,u,p=s._i,m=jb.exec(p)||Hb.exec(p),b,C,N,z,ee=ys.length,it=mc.length;if(m){for(_(s).iso=!0,l=0,u=ee;l<u;l++)if(ys[l][1].exec(m[1])){C=ys[l][0],b=ys[l][2]!==!1;break}if(C==null){s._isValid=!1;return}if(m[3]){for(l=0,u=it;l<u;l++)if(mc[l][1].exec(m[3])){N=(m[2]||" ")+mc[l][0];break}if(N==null){s._isValid=!1;return}}if(!b&&N!=null){s._isValid=!1;return}if(m[4])if(Bb.exec(m[4]))z="Z";else{s._isValid=!1;return}s._f=C+(N||"")+(z||""),gc(s)}else s._isValid=!1}function Zb(s,l,u,p,m,b){var C=[Wb(s),Df.indexOf(l),parseInt(u,10),parseInt(p,10),parseInt(m,10)];return b&&C.push(parseInt(b,10)),C}function Wb(s){var l=parseInt(s,10);return l<=49?2e3+l:l<=999?1900+l:l}function Gb(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Yb(s,l,u){if(s){var p=Tf.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 qb(s,l,u){if(s)return $b[s];if(l)return 0;var p=parseInt(u,10),m=p%100,b=(p-m)/100;return b*60+m}function Rf(s){var l=zb.exec(Gb(s._i)),u;if(l){if(u=Zb(l[4],l[3],l[2],l[5],l[6],l[7]),!Yb(l[1],u,s))return;s._a=u,s._tzm=qb(l[8],l[9],l[10]),s._d=Xr.apply(null,s._a),s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),_(s).rfc2822=!0}else s._isValid=!1}function Qb(s){var l=Ub.exec(s._i);if(l!==null){s._d=new Date(+l[1]);return}if(Of(s),s._isValid===!1)delete s._isValid;else return;if(Rf(s),s._isValid===!1)delete s._isValid;else return;s._strict?s._isValid=!1:n.createFromInputFallback(s)}n.createFromInputFallback=te("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 qi(s,l,u){return s??l??u}function Kb(s){var l=new Date(n.now());return s._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()]}function hc(s){var l,u,p=[],m,b,C;if(!s._d){for(m=Kb(s),s._w&&s._a[Yt]==null&&s._a[sn]==null&&Xb(s),s._dayOfYear!=null&&(C=qi(s._a[et],m[et]),(s._dayOfYear>Qr(C)||s._dayOfYear===0)&&(_(s)._overflowDayOfYear=!0),u=Xr(C,0,s._dayOfYear),s._a[sn]=u.getUTCMonth(),s._a[Yt]=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[Rt]===0&&s._a[an]===0&&s._a[li]===0&&(s._nextDay=!0,s._a[We]=0),s._d=(s._useUTC?Xr:rb).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[We]=24),s._w&&typeof s._w.d<"u"&&s._w.d!==b&&(_(s).weekdayMismatch=!0)}}function Xb(s){var l,u,p,m,b,C,N,z,ee;l=s._w,l.GG!=null||l.W!=null||l.E!=null?(b=1,C=4,u=qi(l.GG,s._a[et],Jr(Ce(),1,4).year),p=qi(l.W,1),m=qi(l.E,1),(m<1||m>7)&&(z=!0)):(b=s._locale._week.dow,C=s._locale._week.doy,ee=Jr(Ce(),b,C),u=qi(l.gg,s._a[et],ee.year),p=qi(l.w,ee.week),l.d!=null?(m=l.d,(m<0||m>6)&&(z=!0)):l.e!=null?(m=l.e+b,(l.e<0||l.e>6)&&(z=!0)):m=b),p<1||p>ln(u,b,C)?_(s)._overflowWeeks=!0:z!=null?_(s)._overflowWeekday=!0:(N=Sf(u,p,m,b,C),s._a[et]=N.year,s._dayOfYear=N.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function gc(s){if(s._f===n.ISO_8601){Of(s);return}if(s._f===n.RFC_2822){Rf(s);return}s._a=[],_(s).empty=!0;var l=""+s._i,u,p,m,b,C,N=l.length,z=0,ee,it;for(m=hf(s._f,s._locale).match(tc)||[],it=m.length,u=0;u<it;u++)b=m[u],p=(l.match(j2(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),z+=p.length),Zi[b]?(p?_(s).empty=!1:_(s).unusedTokens.push(b),B2(b,p,s)):s._strict&&!p&&_(s).unusedTokens.push(b);_(s).charsLeftOver=N-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]=Jb(s._locale,s._a[We],s._meridiem),ee=_(s).era,ee!==null&&(s._a[et]=s._locale.erasConvertYear(ee,s._a[et])),hc(s),fc(s)}function Jb(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 ev(s){var l,u,p,m,b,C,N=!1,z=s._f.length;if(z===0){_(s).invalidFormat=!0,s._d=new Date(NaN);return}for(m=0;m<z;m++)b=0,C=!1,l=ce({},s),s._useUTC!=null&&(l._useUTC=s._useUTC),l._f=s._f[m],gc(l),k(l)&&(C=!0),b+=_(l).charsLeftOver,b+=_(l).unusedTokens.length*10,_(l).score=b,N?b<p&&(p=b,u=l):(p==null||b<p||C)&&(p=b,u=l,C&&(N=!0));g(s,u||l)}function tv(s){if(!s._d){var l=ic(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)}),hc(s)}}function nv(s){var l=new ke(fc(Pf(s)));return l._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Pf(s){var l=s._i,u=s._f;return s._locale=s._locale||cn(s._l),l===null||u===void 0&&l===""?I({nullInput:!0}):(typeof l=="string"&&(s._i=l=s._locale.preparse(l)),O(l)?new ke(fc(l)):(f(l)?s._d=l:i(u)?ev(s):u?gc(s):iv(s),k(s)||(s._d=null),s))}function iv(s){var l=s._i;c(l)?s._d=new Date(n.now()):f(l)?s._d=new Date(l.valueOf()):typeof l=="string"?Qb(s):i(l)?(s._a=h(l.slice(0),function(u){return parseInt(u,10)}),hc(s)):r(l)?tv(s):d(l)?s._d=new Date(l):n.createFromInputFallback(s)}function Ff(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,nv(b)}function Ce(s,l,u,p){return Ff(s,l,u,p,!1)}var rv=te("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=Ce.apply(null,arguments);return this.isValid()&&s.isValid()?s<this?this:s:I()}),ov=te("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=Ce.apply(null,arguments);return this.isValid()&&s.isValid()?s>this?this:s:I()});function Vf(s,l){var u,p;if(l.length===1&&i(l[0])&&(l=l[0]),!l.length)return Ce();for(u=l[0],p=1;p<l.length;++p)(!l[p].isValid()||l[p][s](u))&&(u=l[p]);return u}function sv(){var s=[].slice.call(arguments,0);return Vf("isBefore",s)}function av(){var s=[].slice.call(arguments,0);return Vf("isAfter",s)}var lv=function(){return Date.now?Date.now():+new Date},no=["year","quarter","month","week","day","hour","minute","second","millisecond"];function cv(s){var l,u=!1,p,m=no.length;for(l in s)if(o(s,l)&&!(Pe.call(no,l)!==-1&&(s[l]==null||!isNaN(s[l]))))return!1;for(p=0;p<m;++p)if(s[no[p]]){if(u)return!1;parseFloat(s[no[p]])!==J(s[no[p]])&&(u=!0)}return!0}function uv(){return this._isValid}function dv(){return Pt(NaN)}function _s(s){var l=ic(s),u=l.year||0,p=l.quarter||0,m=l.month||0,b=l.week||l.isoWeek||0,C=l.day||0,N=l.hour||0,z=l.minute||0,ee=l.second||0,it=l.millisecond||0;this._isValid=cv(l),this._milliseconds=+it+ee*1e3+z*6e4+N*1e3*60*60,this._days=+C+b*7,this._months=+m+p*3+u*12,this._data={},this._locale=cn(),this._bubble()}function Cs(s){return s instanceof _s}function bc(s){return s<0?Math.round(-1*s)*-1:Math.round(s)}function pv(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 jf(s,l){P(s,0,0,function(){var u=this.utcOffset(),p="+";return u<0&&(u=-u,p="-"),p+Gt(~~(u/60),2)+l+Gt(~~u%60,2)})}jf("Z",":"),jf("ZZ",""),R("Z",ms),R("ZZ",ms),de(["Z","ZZ"],function(s,l,u){u._useUTC=!0,u._tzm=vc(ms,s)});var fv=/([\+\-]|\d\d)/gi;function vc(s,l){var u=(l||"").match(s),p,m,b;return u===null?null:(p=u[u.length-1]||[],m=(p+"").match(fv)||["-",0,0],b=+(m[1]*60)+J(m[2]),b===0?0:m[0]==="+"?b:-b)}function yc(s,l){var u,p;return l._isUTC?(u=l.clone(),p=(O(s)||f(s)?s.valueOf():Ce(s).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+p),n.updateOffset(u,!1),u):Ce(s).local()}function _c(s){return-Math.round(s._d.getTimezoneOffset())}n.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=vc(ms,s),s===null)return this}else Math.abs(s)<16&&!u&&(s=s*60);return!this._isUTC&&l&&(m=_c(this)),this._offset=s,this._isUTC=!0,m!=null&&this.add(m,"m"),p!==s&&(!l||this._changeInProgress?zf(this,Pt(s-p,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?p:_c(this)}function hv(s,l){return s!=null?(typeof s!="string"&&(s=-s),this.utcOffset(s,l),this):-this.utcOffset()}function gv(s){return this.utcOffset(0,s)}function bv(s){return this._isUTC&&(this.utcOffset(0,s),this._isUTC=!1,s&&this.subtract(_c(this),"m")),this}function vv(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var s=vc(F2,this._i);s!=null?this.utcOffset(s):this.utcOffset(0,!0)}return this}function yv(s){return this.isValid()?(s=s?Ce(s).utcOffset():0,(this.utcOffset()-s)%60===0):!1}function _v(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Cv(){if(!c(this._isDSTShifted))return this._isDSTShifted;var s={},l;return ce(s,this),s=Pf(s),s._a?(l=s._isUTC?y(s._a):Ce(s._a),this._isDSTShifted=this.isValid()&&pv(s._a,l.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wv(){return this.isValid()?!this._isUTC:!1}function Dv(){return this.isValid()?this._isUTC:!1}function Hf(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ev=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pt(s,l){var u=s,p=null,m,b,C;return Cs(s)?u={ms:s._milliseconds,d:s._days,M:s._months}:d(s)||!isNaN(+s)?(u={},l?u[l]=+s:u.milliseconds=+s):(p=Ev.exec(s))?(m=p[1]==="-"?-1:1,u={y:0,d:J(p[Yt])*m,h:J(p[We])*m,m:J(p[Rt])*m,s:J(p[an])*m,ms:J(bc(p[li]*1e3))*m}):(p=xv.exec(s))?(m=p[1]==="-"?-1:1,u={y:ci(p[2],m),M:ci(p[3],m),w:ci(p[4],m),d:ci(p[5],m),h:ci(p[6],m),m:ci(p[7],m),s:ci(p[8],m)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(C=Mv(Ce(u.from),Ce(u.to)),u={},u.ms=C.milliseconds,u.M=C.months),b=new _s(u),Cs(s)&&o(s,"_locale")&&(b._locale=s._locale),Cs(s)&&o(s,"_isValid")&&(b._isValid=s._isValid),b}Pt.fn=_s.prototype,Pt.invalid=dv;function ci(s,l){var u=s&&parseFloat(s.replace(",","."));return(isNaN(u)?0:u)*l}function Bf(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 Mv(s,l){var u;return s.isValid()&&l.isValid()?(l=yc(l,s),s.isBefore(l)?u=Bf(s,l):(u=Bf(l,s),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function Uf(s,l){return function(u,p){var m,b;return p!==null&&!isNaN(+p)&&(mf(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=Pt(u,p),zf(this,m,s),this}}function zf(s,l,u,p){var m=l._milliseconds,b=bc(l._days),C=bc(l._months);s.isValid()&&(p=p??!0,C&&xf(s,Kr(s,"Month")+C*u),b&&wf(s,"Date",Kr(s,"Date")+b*u),m&&s._d.setTime(s._d.valueOf()+m*u),p&&n.updateOffset(s,b||C))}var Iv=Uf(1,"add"),Sv=Uf(-1,"subtract");function $f(s){return typeof s=="string"||s instanceof String}function Tv(s){return O(s)||f(s)||$f(s)||d(s)||Av(s)||kv(s)||s===null||s===void 0}function kv(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 Av(s){var l=i(s),u=!1;return l&&(u=s.filter(function(p){return!d(p)&&$f(s)}).length===0),l&&u}function Nv(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 Lv(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 Ov(s,l){arguments.length===1&&(arguments[0]?Tv(arguments[0])?(s=arguments[0],l=void 0):Nv(arguments[0])&&(l=arguments[0],s=void 0):(s=void 0,l=void 0));var u=s||Ce(),p=yc(u,this).startOf("day"),m=n.calendarFormat(this,p)||"sameElse",b=l&&(Wt(l[m])?l[m].call(this,u):l[m]);return this.format(b||this.localeData().calendar(m,this,Ce(u)))}function Rv(){return new ke(this)}function Pv(s,l){var u=O(s)?s:Ce(s);return this.isValid()&&u.isValid()?(l=Et(l)||"millisecond",l==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(l).valueOf()):!1}function Fv(s,l){var u=O(s)?s:Ce(s);return this.isValid()&&u.isValid()?(l=Et(l)||"millisecond",l==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(l).valueOf()<u.valueOf()):!1}function Vv(s,l,u,p){var m=O(s)?s:Ce(s),b=O(l)?l:Ce(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 jv(s,l){var u=O(s)?s:Ce(s),p;return this.isValid()&&u.isValid()?(l=Et(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 Hv(s,l){return this.isSame(s,l)||this.isAfter(s,l)}function Bv(s,l){return this.isSame(s,l)||this.isBefore(s,l)}function Uv(s,l,u){var p,m,b;if(!this.isValid())return NaN;if(p=yc(s,this),!p.isValid())return NaN;switch(m=(p.utcOffset()-this.utcOffset())*6e4,l=Et(l),l){case"year":b=ws(this,p)/12;break;case"month":b=ws(this,p);break;case"quarter":b=ws(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:xt(b)}function ws(s,l){if(s.date()<l.date())return-ws(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}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function zv(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function $v(s){if(!this.isValid())return null;var l=s!==!0,u=l?this.clone().utc():this;return u.year()<0||u.year()>9999?cs(u,l?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Wt(Date.prototype.toISOString)?l?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",cs(u,"Z")):cs(u,l?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Zv(){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 Wv(s){s||(s=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var l=cs(this,s);return this.localeData().postformat(l)}function Gv(s,l){return this.isValid()&&(O(s)&&s.isValid()||Ce(s).isValid())?Pt({to:this,from:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function Yv(s){return this.from(Ce(),s)}function qv(s,l){return this.isValid()&&(O(s)&&s.isValid()||Ce(s).isValid())?Pt({from:this,to:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function Qv(s){return this.to(Ce(),s)}function Zf(s){var l;return s===void 0?this._locale._abbr:(l=cn(s),l!=null&&(this._locale=l),this)}var Wf=te("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 Gf(){return this._locale}var Ds=1e3,Qi=60*Ds,Es=60*Qi,Yf=(365*400+97)*24*Es;function Ki(s,l){return(s%l+l)%l}function qf(s,l,u){return s<100&&s>=0?new Date(s+400,l,u)-Yf:new Date(s,l,u).valueOf()}function Qf(s,l,u){return s<100&&s>=0?Date.UTC(s+400,l,u)-Yf:Date.UTC(s,l,u)}function Kv(s){var l,u;if(s=Et(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?Qf:qf,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-=Ki(l+(this._isUTC?0:this.utcOffset()*Qi),Es);break;case"minute":l=this._d.valueOf(),l-=Ki(l,Qi);break;case"second":l=this._d.valueOf(),l-=Ki(l,Ds);break}return this._d.setTime(l),n.updateOffset(this,!0),this}function Xv(s){var l,u;if(s=Et(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?Qf:qf,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+=Es-Ki(l+(this._isUTC?0:this.utcOffset()*Qi),Es)-1;break;case"minute":l=this._d.valueOf(),l+=Qi-Ki(l,Qi)-1;break;case"second":l=this._d.valueOf(),l+=Ds-Ki(l,Ds)-1;break}return this._d.setTime(l),n.updateOffset(this,!0),this}function Jv(){return this._d.valueOf()-(this._offset||0)*6e4}function e3(){return Math.floor(this.valueOf()/1e3)}function t3(){return new Date(this.valueOf())}function n3(){var s=this;return[s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond()]}function i3(){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 r3(){return this.isValid()?this.toISOString():null}function o3(){return k(this)}function s3(){return g({},_(this))}function a3(){return _(this).overflow}function l3(){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"),R("N",Cc),R("NN",Cc),R("NNN",Cc),R("NNNN",y3),R("NNNNN",_3),de(["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}),R("y",Wi),R("yy",Wi),R("yyy",Wi),R("yyyy",Wi),R("yo",C3),de(["y","yy","yyy","yyyy"],et),de(["yo"],function(s,l,u,p){var m;u._locale._eraYearOrdinalRegex&&(m=s.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?l[et]=u._locale.eraYearOrdinalParse(s,m):l[et]=parseInt(s,10)});function c3(s,l){var u,p,m,b=this._eras||cn("en")._eras;for(u=0,p=b.length;u<p;++u){switch(typeof b[u].since){case"string":m=n(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=n(b[u].until).startOf("day").valueOf(),b[u].until=m.valueOf();break}}return b}function u3(s,l,u){var p,m,b=this.eras(),C,N,z;for(s=s.toUpperCase(),p=0,m=b.length;p<m;++p)if(C=b[p].name.toUpperCase(),N=b[p].abbr.toUpperCase(),z=b[p].narrow.toUpperCase(),u)switch(l){case"N":case"NN":case"NNN":if(N===s)return b[p];break;case"NNNN":if(C===s)return b[p];break;case"NNNNN":if(z===s)return b[p];break}else if([C,N,z].indexOf(s)>=0)return b[p]}function d3(s,l){var u=s.since<=s.until?1:-1;return l===void 0?n(s.since).year():n(s.since).year()+(l-s.offset)*u}function p3(){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 f3(){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 h3(){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()-n(m[s].since).year())*u+m[s].offset;return this.year()}function g3(s){return o(this,"_erasNameRegex")||wc.call(this),s?this._erasNameRegex:this._erasRegex}function b3(s){return o(this,"_erasAbbrRegex")||wc.call(this),s?this._erasAbbrRegex:this._erasRegex}function v3(s){return o(this,"_erasNarrowRegex")||wc.call(this),s?this._erasNarrowRegex:this._erasRegex}function Cc(s,l){return l.erasAbbrRegex(s)}function y3(s,l){return l.erasNameRegex(s)}function _3(s,l){return l.erasNarrowRegex(s)}function C3(s,l){return l._eraYearOrdinalRegex||Wi}function wc(){var s=[],l=[],u=[],p=[],m,b,C,N,z,ee=this.eras();for(m=0,b=ee.length;m<b;++m)C=on(ee[m].name),N=on(ee[m].abbr),z=on(ee[m].narrow),l.push(C),s.push(N),u.push(z),p.push(C),p.push(N),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 xs(s,l){P(0,[s,s.length],0,l)}xs("gggg","weekYear"),xs("ggggg","weekYear"),xs("GGGG","isoWeekYear"),xs("GGGGG","isoWeekYear"),R("G",fs),R("g",fs),R("GG",_e,Ct),R("gg",_e,Ct),R("GGGG",oc,rc),R("gggg",oc,rc),R("GGGGG",ps,us),R("ggggg",ps,us),qr(["gggg","ggggg","GGGG","GGGGG"],function(s,l,u,p){l[p.substr(0,2)]=J(s)}),qr(["gg","GG"],function(s,l,u,p){l[p]=n.parseTwoDigitYear(s)});function w3(s){return Kf.call(this,s,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function D3(s){return Kf.call(this,s,this.isoWeek(),this.isoWeekday(),1,4)}function E3(){return ln(this.year(),1,4)}function x3(){return ln(this.isoWeekYear(),1,4)}function M3(){var s=this.localeData()._week;return ln(this.year(),s.dow,s.doy)}function I3(){var s=this.localeData()._week;return ln(this.weekYear(),s.dow,s.doy)}function Kf(s,l,u,p,m){var b;return s==null?Jr(this,p,m).year:(b=ln(s,p,m),l>b&&(l=b),S3.call(this,s,l,u,p,m))}function S3(s,l,u,p,m){var b=Sf(s,l,u,p,m),C=Xr(b.year,0,b.dayOfYear);return this.year(C.getUTCFullYear()),this.month(C.getUTCMonth()),this.date(C.getUTCDate()),this}P("Q",0,"Qo","quarter"),R("Q",bf),de("Q",function(s,l){l[sn]=(J(s)-1)*3});function T3(s){return s==null?Math.ceil((this.month()+1)/3):this.month((s-1)*3+this.month()%3)}P("D",["DD",2],"Do","date"),R("D",_e,Gi),R("DD",_e,Ct),R("Do",function(s,l){return s?l._dayOfMonthOrdinalParse||l._ordinalParse:l._dayOfMonthOrdinalParseLenient}),de(["D","DD"],Yt),de("Do",function(s,l){l[Yt]=J(s.match(_e)[0])});var Xf=Yi("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),R("DDD",ds),R("DDDD",vf),de(["DDD","DDDD"],function(s,l,u){u._dayOfYear=J(s)});function k3(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"),R("m",_e,sc),R("mm",_e,Ct),de(["m","mm"],Rt);var A3=Yi("Minutes",!1);P("s",["ss",2],0,"second"),R("s",_e,sc),R("ss",_e,Ct),de(["s","ss"],an);var N3=Yi("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}),R("S",ds,bf),R("SS",ds,Ct),R("SSS",ds,vf);var Nn,Jf;for(Nn="SSSS";Nn.length<=9;Nn+="S")R(Nn,Wi);function L3(s,l){l[li]=J(("0."+s)*1e3)}for(Nn="S";Nn.length<=9;Nn+="S")de(Nn,L3);Jf=Yi("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");function O3(){return this._isUTC?"UTC":""}function R3(){return this._isUTC?"Coordinated Universal Time":""}var S=ke.prototype;S.add=Iv,S.calendar=Ov,S.clone=Rv,S.diff=Uv,S.endOf=Xv,S.format=Wv,S.from=Gv,S.fromNow=Yv,S.to=qv,S.toNow=Qv,S.get=Z2,S.invalidAt=a3,S.isAfter=Pv,S.isBefore=Fv,S.isBetween=Vv,S.isSame=jv,S.isSameOrAfter=Hv,S.isSameOrBefore=Bv,S.isValid=o3,S.lang=Wf,S.locale=Zf,S.localeData=Gf,S.max=ov,S.min=rv,S.parsingFlags=s3,S.set=W2,S.startOf=Kv,S.subtract=Sv,S.toArray=n3,S.toObject=i3,S.toDate=t3,S.toISOString=$v,S.inspect=Zv,typeof Symbol<"u"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=r3,S.toString=zv,S.unix=e3,S.valueOf=Jv,S.creationData=l3,S.eraName=p3,S.eraNarrow=f3,S.eraAbbr=m3,S.eraYear=h3,S.year=Cf,S.isLeapYear=$2,S.weekYear=w3,S.isoWeekYear=D3,S.quarter=S.quarters=T3,S.month=Mf,S.daysInMonth=tb,S.week=S.weeks=cb,S.isoWeek=S.isoWeeks=ub,S.weeksInYear=M3,S.weeksInWeekYear=I3,S.isoWeeksInYear=E3,S.isoWeeksInISOWeekYear=x3,S.date=Xf,S.day=S.days=Db,S.weekday=Eb,S.isoWeekday=xb,S.dayOfYear=k3,S.hour=S.hours=Nb,S.minute=S.minutes=A3,S.second=S.seconds=N3,S.millisecond=S.milliseconds=Jf,S.utcOffset=mv,S.utc=gv,S.local=bv,S.parseZone=vv,S.hasAlignedHourOffset=yv,S.isDST=_v,S.isLocal=wv,S.isUtcOffset=Dv,S.isUtc=Hf,S.isUTC=Hf,S.zoneAbbr=O3,S.zoneName=R3,S.dates=te("dates accessor is deprecated. Use date instead.",Xf),S.months=te("months accessor is deprecated. Use month instead",Mf),S.years=te("years accessor is deprecated. Use year instead",Cf),S.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hv),S.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Cv);function P3(s){return Ce(s*1e3)}function F3(){return Ce.apply(null,arguments).parseZone()}function em(s){return s}var ae=Jl.prototype;ae.calendar=w2,ae.longDateFormat=M2,ae.invalidDate=S2,ae.ordinal=A2,ae.preparse=em,ae.postformat=em,ae.relativeTime=L2,ae.pastFuture=O2,ae.set=_2,ae.eras=c3,ae.erasParse=u3,ae.erasConvertYear=d3,ae.erasAbbrRegex=b3,ae.erasNameRegex=g3,ae.erasNarrowRegex=v3,ae.months=K2,ae.monthsShort=X2,ae.monthsParse=eb,ae.monthsRegex=ib,ae.monthsShortRegex=nb,ae.week=ob,ae.firstDayOfYear=lb,ae.firstDayOfWeek=ab,ae.weekdays=vb,ae.weekdaysMin=_b,ae.weekdaysShort=yb,ae.weekdaysParse=wb,ae.weekdaysRegex=Mb,ae.weekdaysShortRegex=Ib,ae.weekdaysMinRegex=Sb,ae.isPM=kb,ae.meridiem=Lb;function Ms(s,l,u,p){var m=cn(),b=y().set(p,l);return m[u](b,s)}function tm(s,l,u){if(d(s)&&(l=s,s=void 0),s=s||"",l!=null)return Ms(s,l,u,"month");var p,m=[];for(p=0;p<12;p++)m[p]=Ms(s,p,u,"month");return m}function Dc(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=cn(),b=s?m._week.dow:0,C,N=[];if(u!=null)return Ms(l,(u+b)%7,p,"day");for(C=0;C<7;C++)N[C]=Ms(l,(C+b)%7,p,"day");return N}function V3(s,l){return tm(s,l,"months")}function j3(s,l){return tm(s,l,"monthsShort")}function H3(s,l,u){return Dc(s,l,u,"weekdays")}function B3(s,l,u){return Dc(s,l,u,"weekdaysShort")}function U3(s,l,u){return Dc(s,l,u,"weekdaysMin")}An("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}}),n.lang=te("moment.lang is deprecated. Use moment.locale instead.",An),n.langData=te("moment.langData is deprecated. Use moment.localeData instead.",cn);var un=Math.abs;function z3(){var s=this._data;return this._milliseconds=un(this._milliseconds),this._days=un(this._days),this._months=un(this._months),s.milliseconds=un(s.milliseconds),s.seconds=un(s.seconds),s.minutes=un(s.minutes),s.hours=un(s.hours),s.months=un(s.months),s.years=un(s.years),this}function nm(s,l,u,p){var m=Pt(l,u);return s._milliseconds+=p*m._milliseconds,s._days+=p*m._days,s._months+=p*m._months,s._bubble()}function $3(s,l){return nm(this,s,l,1)}function Z3(s,l){return nm(this,s,l,-1)}function im(s){return s<0?Math.floor(s):Math.ceil(s)}function W3(){var s=this._milliseconds,l=this._days,u=this._months,p=this._data,m,b,C,N,z;return s>=0&&l>=0&&u>=0||s<=0&&l<=0&&u<=0||(s+=im(Ec(u)+l)*864e5,l=0,u=0),p.milliseconds=s%1e3,m=xt(s/1e3),p.seconds=m%60,b=xt(m/60),p.minutes=b%60,C=xt(b/60),p.hours=C%24,l+=xt(C/24),z=xt(rm(l)),u+=z,l-=im(Ec(z)),N=xt(u/12),u%=12,p.days=l,p.months=u,p.years=N,this}function rm(s){return s*4800/146097}function Ec(s){return s*146097/4800}function G3(s){if(!this.isValid())return NaN;var l,u,p=this._milliseconds;if(s=Et(s),s==="month"||s==="quarter"||s==="year")switch(l=this._days+p/864e5,u=this._months+rm(l),s){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(l=this._days+Math.round(Ec(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 dn(s){return function(){return this.as(s)}}var om=dn("ms"),Y3=dn("s"),q3=dn("m"),Q3=dn("h"),K3=dn("d"),X3=dn("w"),J3=dn("M"),ey=dn("Q"),ty=dn("y"),ny=om;function iy(){return Pt(this)}function ry(s){return s=Et(s),this.isValid()?this[s+"s"]():NaN}function ui(s){return function(){return this.isValid()?this._data[s]:NaN}}var oy=ui("milliseconds"),sy=ui("seconds"),ay=ui("minutes"),ly=ui("hours"),cy=ui("days"),uy=ui("months"),dy=ui("years");function py(){return xt(this.days()/7)}var pn=Math.round,Xi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function fy(s,l,u,p,m){return m.relativeTime(l||1,!!u,s,p)}function my(s,l,u,p){var m=Pt(s).abs(),b=pn(m.as("s")),C=pn(m.as("m")),N=pn(m.as("h")),z=pn(m.as("d")),ee=pn(m.as("M")),it=pn(m.as("w")),fn=pn(m.as("y")),Ln=b<=u.ss&&["s",b]||b<u.s&&["ss",b]||C<=1&&["m"]||C<u.m&&["mm",C]||N<=1&&["h"]||N<u.h&&["hh",N]||z<=1&&["d"]||z<u.d&&["dd",z];return u.w!=null&&(Ln=Ln||it<=1&&["w"]||it<u.w&&["ww",it]),Ln=Ln||ee<=1&&["M"]||ee<u.M&&["MM",ee]||fn<=1&&["y"]||["yy",fn],Ln[2]=l,Ln[3]=+s>0,Ln[4]=p,fy.apply(null,Ln)}function hy(s){return s===void 0?pn:typeof s=="function"?(pn=s,!0):!1}function gy(s,l){return Xi[s]===void 0?!1:l===void 0?Xi[s]:(Xi[s]=l,s==="s"&&(Xi.ss=l-1),!0)}function by(s,l){if(!this.isValid())return this.localeData().invalidDate();var u=!1,p=Xi,m,b;return typeof s=="object"&&(l=s,s=!1),typeof s=="boolean"&&(u=s),typeof l=="object"&&(p=Object.assign({},Xi,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 xc=Math.abs;function Ji(s){return(s>0)-(s<0)||+s}function Is(){if(!this.isValid())return this.localeData().invalidDate();var s=xc(this._milliseconds)/1e3,l=xc(this._days),u=xc(this._months),p,m,b,C,N=this.asSeconds(),z,ee,it,fn;return N?(p=xt(s/60),m=xt(p/60),s%=60,p%=60,b=xt(u/12),u%=12,C=s?s.toFixed(3).replace(/\.?0+$/,""):"",z=N<0?"-":"",ee=Ji(this._months)!==Ji(N)?"-":"",it=Ji(this._days)!==Ji(N)?"-":"",fn=Ji(this._milliseconds)!==Ji(N)?"-":"",z+"P"+(b?ee+b+"Y":"")+(u?ee+u+"M":"")+(l?it+l+"D":"")+(m||p||s?"T":"")+(m?fn+m+"H":"")+(p?fn+p+"M":"")+(s?fn+C+"S":"")):"P0D"}var ne=_s.prototype;ne.isValid=uv,ne.abs=z3,ne.add=$3,ne.subtract=Z3,ne.as=G3,ne.asMilliseconds=om,ne.asSeconds=Y3,ne.asMinutes=q3,ne.asHours=Q3,ne.asDays=K3,ne.asWeeks=X3,ne.asMonths=J3,ne.asQuarters=ey,ne.asYears=ty,ne.valueOf=ny,ne._bubble=W3,ne.clone=iy,ne.get=ry,ne.milliseconds=oy,ne.seconds=sy,ne.minutes=ay,ne.hours=ly,ne.days=cy,ne.weeks=py,ne.months=uy,ne.years=dy,ne.humanize=by,ne.toISOString=Is,ne.toString=Is,ne.toJSON=Is,ne.locale=Zf,ne.localeData=Gf,ne.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Is),ne.lang=Wf,P("X",0,0,"unix"),P("x",0,0,"valueOf"),R("x",fs),R("X",V2),de("X",function(s,l,u){u._d=new Date(parseFloat(s)*1e3)}),de("x",function(s,l,u){u._d=new Date(J(s))});return n.version="2.30.1",t(Ce),n.fn=S,n.min=sv,n.max=av,n.now=lv,n.utc=y,n.unix=P3,n.months=V3,n.isDate=f,n.locale=An,n.invalid=I,n.duration=Pt,n.isMoment=O,n.weekdays=H3,n.parseZone=F3,n.localeData=cn,n.isDuration=Cs,n.monthsShort=j3,n.weekdaysMin=U3,n.defineLocale=pc,n.updateLocale=Fb,n.locales=Vb,n.weekdaysShort=B3,n.normalizeUnits=Et,n.relativeTimeRounding=hy,n.relativeTimeThreshold=gy,n.calendarFormat=Lv,n.prototype=S,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});var tt=null,Ss=!1,kc=1,Sy=null,rt=Symbol("SIGNAL");function B(e){let n=tt;return tt=e,n}function ks(){return tt}var io={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 ro(e){if(Ss)throw new Error("");if(tt===null)return;tt.consumerOnSignalRead(e);let n=tt.producersTail;if(n!==void 0&&n.producer===e)return;let t,i=tt.recomputing;if(i&&(t=n!==void 0?n.nextProducer:tt.producers,t!==void 0&&t.producer===e)){tt.producersTail=t,t.lastReadVersion=e.version;return}let r=e.consumersTail;if(r!==void 0&&r.consumer===tt&&(!i||ky(r,tt)))return;let o=er(tt),a={producer:e,consumer:tt,nextProducer:t,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};tt.producersTail=a,n!==void 0?n.nextProducer=a:tt.producers=a,o&&fm(e,a)}function um(){kc++}function Ac(e){if(!(er(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===kc)){if(!e.producerMustRecompute(e)&&!Ns(e)){Tc(e);return}e.producerRecomputeValue(e),Tc(e)}}function Nc(e){if(e.consumers===void 0)return;let n=Ss;Ss=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let i=t.consumer;i.dirty||Ty(i)}}finally{Ss=n}}function Lc(){return tt?.consumerAllowSignalWrites!==!1}function Ty(e){e.dirty=!0,Nc(e),e.consumerMarkedDirty?.(e)}function Tc(e){e.dirty=!1,e.lastCleanEpoch=kc}function oo(e){return e&&dm(e),B(e)}function dm(e){e.producersTail=void 0,e.recomputing=!0}function As(e,n){B(n),e&&pm(e)}function pm(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(er(e))do t=Oc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Ns(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,i=n.lastReadVersion;if(i!==t.version||(Ac(t),i!==t.version))return!0}return!1}function so(e){if(er(e)){let n=e.producers;for(;n!==void 0;)n=Oc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function fm(e,n){let t=e.consumersTail,i=er(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!i)for(let r=e.producers;r!==void 0;r=r.nextProducer)fm(r.producer,r)}function Oc(e){let n=e.producer,t=e.nextProducer,i=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!er(n)){let o=n.producers;for(;o!==void 0;)o=Oc(o)}return t}function er(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Rc(e){Sy?.(e)}function ky(e,n){let t=n.producersTail;if(t!==void 0){let i=n.producers;do{if(i===e)return!0;if(i===t)break;i=i.nextProducer}while(i!==void 0)}return!1}function Pc(e,n){return Object.is(e,n)}function Ls(e,n){let t=Object.create(Ay);t.computation=e,n!==void 0&&(t.equal=n);let i=()=>{if(Ac(t),ro(t),t.value===Ts)throw t.error;return t.value};return i[rt]=t,Rc(t),i}var Ic=Symbol("UNSET"),Sc=Symbol("COMPUTING"),Ts=Symbol("ERRORED"),Ay=gt(Ae({},io),{value:Ic,dirty:!0,error:null,equal:Pc,kind:"computed",producerMustRecompute(e){return e.value===Ic||e.value===Sc},producerRecomputeValue(e){if(e.value===Sc)throw new Error("");let n=e.value;e.value=Sc;let t=oo(e),i,r=!1;try{i=e.computation(),B(null),r=n!==Ic&&n!==Ts&&i!==Ts&&e.equal(n,i)}catch(o){i=Ts,e.error=o}finally{As(e,t)}if(r){e.value=n;return}e.value=i,e.version++}});function Ny(){throw new Error}var mm=Ny;function hm(e){mm(e)}function Fc(e){mm=e}var Ly=null;function Vc(e,n){let t=Object.create(Os);t.value=e,n!==void 0&&(t.equal=n);let i=()=>gm(t);return i[rt]=t,Rc(t),[i,a=>ao(t,a),a=>bm(t,a)]}function gm(e){return ro(e),e.value}function ao(e,n){Lc()||hm(e),e.equal(e.value,n)||(e.value=n,Oy(e))}function bm(e,n){Lc()||hm(e),ao(e,n(e.value))}var Os=gt(Ae({},io),{equal:Pc,value:void 0,kind:"signal"});function Oy(e){e.version++,um(),Nc(e),Ly?.(e)}function q(e){return typeof e=="function"}function Rs(e){let t=e(i=>{Error.call(i),i.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ps=Rs(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
5
+ ${t.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
6
+ `)}`:"",this.name="UnsubscriptionError",this.errors=t});function lo(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var ot=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let o of t)o.remove(this);else t.remove(this);let{initialTeardown:i}=this;if(q(i))try{i()}catch(o){n=o instanceof Ps?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{vm(o)}catch(a){n=n??[],a instanceof Ps?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Ps(n)}}add(n){var t;if(n&&n!==this)if(this.closed)vm(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&lo(t,n)}remove(n){let{_finalizers:t}=this;t&&lo(t,n),n instanceof e&&n._removeParent(this)}};ot.EMPTY=(()=>{let e=new ot;return e.closed=!0,e})();var jc=ot.EMPTY;function Fs(e){return e instanceof ot||e&&"closed"in e&&q(e.remove)&&q(e.add)&&q(e.unsubscribe)}function vm(e){q(e)?e():e.unsubscribe()}var Ft={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var tr={setTimeout(e,n,...t){let{delegate:i}=tr;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=tr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Vs(e){tr.setTimeout(()=>{let{onUnhandledError:n}=Ft;if(n)n(e);else throw e})}function co(){}var ym=Hc("C",void 0,void 0);function _m(e){return Hc("E",void 0,e)}function Cm(e){return Hc("N",e,void 0)}function Hc(e,n,t){return{kind:e,value:n,error:t}}var di=null;function nr(e){if(Ft.useDeprecatedSynchronousErrorHandling){let n=!di;if(n&&(di={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:i}=di;if(di=null,t)throw i}}else e()}function wm(e){Ft.useDeprecatedSynchronousErrorHandling&&di&&(di.errorThrown=!0,di.error=e)}var pi=class extends ot{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Fs(n)&&n.add(this)):this.destination=Fy}static create(n,t,i){return new mn(n,t,i)}next(n){this.isStopped?Uc(Cm(n),this):this._next(n)}error(n){this.isStopped?Uc(_m(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Uc(ym,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ry=Function.prototype.bind;function Bc(e,n){return Ry.call(e,n)}var zc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){js(i)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){js(i)}else js(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){js(t)}}},mn=class extends pi{constructor(n,t,i){super();let r;if(q(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ft.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Bc(n.next,o),error:n.error&&Bc(n.error,o),complete:n.complete&&Bc(n.complete,o)}):r=n}this.destination=new zc(r)}};function js(e){Ft.useDeprecatedSynchronousErrorHandling?wm(e):Vs(e)}function Py(e){throw e}function Uc(e,n){let{onStoppedNotification:t}=Ft;t&&tr.setTimeout(()=>t(e,n))}var Fy={closed:!0,next:co,error:Py,complete:co};var ir=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Hs(e){return e}function Dm(e){return e.length===0?Hs:e.length===1?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}var re=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){let o=jy(t)?t:new mn(t,i,r);return nr(()=>{let{operator:a,source:c}=this;o.add(a?a.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return i=Em(i),new i((r,o)=>{let a=new mn({next:c=>{try{t(c)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)}[ir](){return this}pipe(...t){return Dm(t)(this)}toPromise(t){return t=Em(t),new t((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return e.create=n=>new e(n),e})();function Em(e){var n;return(n=e??Ft.Promise)!==null&&n!==void 0?n:Promise}function Vy(e){return e&&q(e.next)&&q(e.error)&&q(e.complete)}function jy(e){return e&&e instanceof pi||Vy(e)&&Fs(e)}function Hy(e){return q(e?.lift)}function ze(e){return n=>{if(Hy(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ge(e,n,t,i,r){return new $c(e,n,t,i,r)}var $c=class extends pi{constructor(n,t,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=t?function(c){try{t(c)}catch(d){n.error(d)}}:super._next,this._error=r?function(c){try{r(c)}catch(d){n.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var xm=Rs(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var nt=(()=>{class e extends re{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let i=new Bs(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new xm}next(t){nr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(t)}})}error(t){nr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){nr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:i,isStopped:r,observers:o}=this;return i||r?jc:(this.currentObservers=null,o.push(t),new ot(()=>{this.currentObservers=null,lo(o,t)}))}_checkFinalizedStatuses(t){let{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){let t=new re;return t.source=this,t}}return e.create=(n,t)=>new Bs(n,t),e})(),Bs=class extends nt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.next)===null||i===void 0||i.call(t,n)}error(n){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.error)===null||i===void 0||i.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,i;return(i=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&i!==void 0?i:jc}};var On=class extends nt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var Zc={now(){return(Zc.delegate||Date).now()},delegate:void 0};var Rn=class extends nt{constructor(n=1/0,t=1/0,i=Zc){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;t||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=t.now(),c=0;for(let d=1;d<i.length&&i[d]<=a;d+=2)c=d;c&&i.splice(0,c+1)}}};var Us=new re(e=>e.complete());function Mm(e){return e&&q(e.schedule)}function Wc(e){return e[e.length-1]}function Im(e){return q(Wc(e))?e.pop():void 0}function rr(e){return Mm(Wc(e))?e.pop():void 0}function Sm(e,n){return typeof Wc(e)=="number"?e.pop():n}function km(e,n,t,i){function r(o){return o instanceof t?o:new t(function(a){a(o)})}return new(t||(t=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,n||[])).next())})}function Tm(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function fi(e){return this instanceof fi?(this.v=e,this):new fi(e)}function Am(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t.apply(e,n||[]),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(A){return new Promise(function(k,I){o.push([v,A,k,I])>1||d(v,A)})},_&&(r[v]=_(r[v])))}function d(v,_){try{f(i[v](_))}catch(A){y(o[0][3],A)}}function f(v){v.value instanceof fi?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 Nm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof Tm=="function"?Tm(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[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 zs=e=>e&&typeof e.length=="number"&&typeof e!="function";function $s(e){return q(e?.then)}function Zs(e){return q(e[ir])}function Ws(e){return Symbol.asyncIterator&&q(e?.[Symbol.asyncIterator])}function Gs(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 By(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ys=By();function qs(e){return q(e?.[Ys])}function Qs(e){return Am(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:i,done:r}=yield fi(t.read());if(r)return yield fi(void 0);yield yield fi(i)}}finally{t.releaseLock()}})}function Ks(e){return q(e?.getReader)}function Ne(e){if(e instanceof re)return e;if(e!=null){if(Zs(e))return Uy(e);if(zs(e))return zy(e);if($s(e))return $y(e);if(Ws(e))return Lm(e);if(qs(e))return Zy(e);if(Ks(e))return Wy(e)}throw Gs(e)}function Uy(e){return new re(n=>{let t=e[ir]();if(q(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function zy(e){return new re(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function $y(e){return new re(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Vs)})}function Zy(e){return new re(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Lm(e){return new re(n=>{Gy(e,n).catch(t=>n.error(t))})}function Wy(e){return Lm(Qs(e))}function Gy(e,n){var t,i,r,o;return km(this,void 0,void 0,function*(){try{for(t=Nm(e);i=yield t.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})}function Mt(e,n,t,i=0,r=!1){let o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Xs(e,n=0){return ze((t,i)=>{t.subscribe(Ge(i,r=>Mt(i,e,()=>i.next(r),n),()=>Mt(i,e,()=>i.complete(),n),r=>Mt(i,e,()=>i.error(r),n)))})}function Js(e,n=0){return ze((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Om(e,n){return Ne(e).pipe(Js(n),Xs(n))}function Rm(e,n){return Ne(e).pipe(Js(n),Xs(n))}function Pm(e,n){return new re(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}function Fm(e,n){return new re(t=>{let i;return Mt(t,n,()=>{i=e[Ys](),Mt(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){t.error(a);return}o?t.complete():t.next(r)},0,!0)}),()=>q(i?.return)&&i.return()})}function ea(e,n){if(!e)throw new Error("Iterable cannot be null");return new re(t=>{Mt(t,n,()=>{let i=e[Symbol.asyncIterator]();Mt(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function Vm(e,n){return ea(Qs(e),n)}function jm(e,n){if(e!=null){if(Zs(e))return Om(e,n);if(zs(e))return Pm(e,n);if($s(e))return Rm(e,n);if(Ws(e))return ea(e,n);if(qs(e))return Fm(e,n);if(Ks(e))return Vm(e,n)}throw Gs(e)}function or(e,n){return n?jm(e,n):Ne(e)}function hn(...e){let n=rr(e);return or(e,n)}function Pn(e){return!!e&&(e instanceof re||q(e.lift)&&q(e.subscribe))}function st(e,n){return ze((t,i)=>{let r=0;t.subscribe(Ge(i,o=>{i.next(e.call(n,o,r++))}))})}var{isArray:Yy}=Array;function qy(e,n){return Yy(n)?e(...n):e(n)}function Hm(e){return st(n=>qy(e,n))}var{isArray:Qy}=Array,{getPrototypeOf:Ky,prototype:Xy,keys:Jy}=Object;function Bm(e){if(e.length===1){let n=e[0];if(Qy(n))return{args:n,keys:null};if(e4(n)){let t=Jy(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}function e4(e){return e&&typeof e=="object"&&Ky(e)===Xy}function Um(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function zm(e,n,t,i,r,o,a,c){let d=[],f=0,h=0,g=!1,y=()=>{g&&!d.length&&!f&&n.complete()},v=A=>f<i?_(A):d.push(A),_=A=>{o&&n.next(A),f++;let k=!1;Ne(t(A,h++)).subscribe(Ge(n,I=>{r?.(I),o?v(I):n.next(I)},()=>{k=!0},void 0,()=>{if(k)try{for(f--;d.length&&f<i;){let I=d.shift();a?Mt(n,a,()=>_(I)):_(I)}y()}catch(I){n.error(I)}}))};return e.subscribe(Ge(n,v,()=>{g=!0,y()})),()=>{c?.()}}function sr(e,n,t=1/0){return q(n)?sr((i,r)=>st((o,a)=>n(i,o,r,a))(Ne(e(i,r))),t):(typeof n=="number"&&(t=n),ze((i,r)=>zm(i,r,e,t)))}function ta(e=1/0){return sr(Hs,e)}function $m(){return ta(1)}function na(...e){return $m()(or(e,rr(e)))}function ia(e){return new re(n=>{Ne(e()).subscribe(n)})}function Gc(...e){let n=Im(e),{args:t,keys:i}=Bm(e),r=new re(o=>{let{length:a}=t;if(!a){o.complete();return}let c=new Array(a),d=a,f=a;for(let h=0;h<a;h++){let g=!1;Ne(t[h]).subscribe(Ge(o,y=>{g||(g=!0,f--),c[h]=y},()=>d--,void 0,()=>{(!d||!g)&&(f||o.next(i?Um(i,c):c),o.complete())}))}});return n?r.pipe(Hm(n)):r}function Yc(...e){let n=rr(e),t=Sm(e,1/0),i=e;return i.length?i.length===1?Ne(i[0]):ta(t)(or(i,n)):Us}function qc(e,n){return ze((t,i)=>{let r=0;t.subscribe(Ge(i,o=>e.call(n,o,r++)&&i.next(o)))})}function uo(e,n){return q(n)?sr(e,n,1):sr(e,1)}function ar(e){return e<=0?()=>Us:ze((n,t)=>{let i=0;n.subscribe(Ge(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function Qc(e){return ze((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Zm(e={}){let{connector:n=()=>new nt,resetOnError:t=!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 A=a;v(),A?.unsubscribe()};return ze((A,k)=>{f++,!g&&!h&&y();let I=d=d??n();k.add(()=>{f--,f===0&&!g&&!h&&(c=Kc(_,r))}),I.subscribe(k),!a&&f>0&&(a=new mn({next:Y=>I.next(Y),error:Y=>{g=!0,y(),c=Kc(v,t,Y),I.error(Y)},complete:()=>{h=!0,y(),c=Kc(v,i),I.complete()}}),Ne(A).subscribe(a))})(o)}}function Kc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let i=new mn({next:()=>{i.unsubscribe(),e()}});return Ne(n(...t)).subscribe(i)}function ra(e,n,t){let i,r=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e:i=e??1/0,Zm({connector:()=>new Rn(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Fn(e,n){return ze((t,i)=>{let r=null,o=0,a=!1,c=()=>a&&!r&&i.complete();t.subscribe(Ge(i,d=>{r?.unsubscribe();let f=0,h=o++;Ne(e(d,h)).subscribe(r=Ge(i,g=>i.next(n?n(d,g,h,f++):g),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function Xc(e){return ze((n,t)=>{Ne(e).subscribe(Ge(t,()=>t.complete(),co)),!t.closed&&n.subscribe(t)})}var Jc;function oa(){return Jc}function Qt(e){let n=Jc;return Jc=e,n}var Wm=Symbol("NotFound");function lr(e){return e===Wm||e?.name==="\u0275NotFound"}var ua="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",U=class extends Error{code;constructor(n,t){super(bo(n,t)),this.code=n}};function r4(e){return`NG0${Math.abs(e)}`}function bo(e,n){return`${r4(e)}${n?": "+n:""}`}function pe(e){for(let n in e)if(e[n]===pe)return n;throw Error("")}function Km(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Vn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Vn).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let i=t.indexOf(`
7
+ `);return i>=0?t.slice(0,i):t}function da(e,n){return e?n?`${e} ${n}`:e:n||""}var o4=pe({__forward_ref__:pe});function pa(e){return e.__forward_ref__=pa,e.toString=function(){return Vn(this())},e}function Xe(e){return mu(e)?e():e}function mu(e){return typeof e=="function"&&e.hasOwnProperty(o4)&&e.__forward_ref__===pa}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Bn(e){return{providers:e.providers||[],imports:e.imports||[]}}function fa(e){return s4(e,ma)}function s4(e,n){return e.hasOwnProperty(n)&&e[n]||null}function a4(e){let n=e?.[ma]??null;return n||null}function tu(e){return e&&e.hasOwnProperty(aa)?e[aa]:null}var ma=pe({\u0275prov:pe}),aa=pe({\u0275inj:pe}),Z=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=$({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function hu(e){return e&&!!e.\u0275providers}var gu=pe({\u0275cmp:pe}),bu=pe({\u0275dir:pe}),vu=pe({\u0275pipe:pe});var fo=pe({\u0275fac:pe}),vi=pe({__NG_ELEMENT_ID__:pe}),Gm=pe({__NG_ENV_ID__:pe});function yi(e){return _u(e,"@Component"),e[gu]||null}function yu(e){return _u(e,"@Directive"),e[bu]||null}function Xm(e){return _u(e,"@Pipe"),e[vu]||null}function _u(e,n){if(e==null)throw new U(-919,!1)}function ur(e){return typeof e=="string"?e:e==null?"":String(e)}function Jm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ur(e)}var e1=pe({ngErrorCode:pe}),l4=pe({ngErrorMessage:pe}),c4=pe({ngTokenPath:pe});function Cu(e,n){return t1("",-200,n)}function ha(e,n){throw new U(-201,!1)}function t1(e,n,t){let i=new U(n,e);return i[e1]=n,i[l4]=e,t&&(i[c4]=t),i}function u4(e){return e[e1]}var nu;function n1(){return nu}function at(e){let n=nu;return nu=e,n}function wu(e,n,t){let i=fa(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(t&8)return null;if(n!==void 0)return n;ha(e,"")}var d4={},mi=d4,p4="__NG_DI_FLAG__",iu=class{injector;constructor(n){this.injector=n}retrieve(n,t){let i=hi(t)||0;try{return this.injector.get(n,i&8?null:mi,i)}catch(r){if(lr(r))return r;throw r}}};function f4(e,n=0){let t=oa();if(t===void 0)throw new U(-203,!1);if(t===null)return wu(e,void 0,n);{let i=m4(n),r=t.retrieve(e,i);if(lr(r)){if(i.optional)return null;throw r}return r}}function X(e,n=0){return(n1()||f4)(Xe(e),n)}function L(e,n){return X(e,hi(n))}function hi(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function m4(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ru(e){let n=[];for(let t=0;t<e.length;t++){let i=Xe(e[t]);if(Array.isArray(i)){if(i.length===0)throw new U(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let c=i[a],d=h4(c);typeof d=="number"?d===-1?r=c.token:o|=d:r=c}n.push(X(r,o))}else n.push(X(i))}return n}function h4(e){return e[p4]}function jn(e,n){let t=e.hasOwnProperty(fo);return t?e[fo]:null}function ga(e,n){e.forEach(t=>Array.isArray(t)?ga(t,n):n(t))}function Du(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function vo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function i1(e,n){let t=[];for(let i=0;i<e;i++)t.push(n);return t}function r1(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(r===1)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;){let o=r-2;e[r]=e[o],r--}e[n]=t,e[n+1]=i}}function ba(e,n,t){let i=dr(e,n);return i>=0?e[i|1]=t:(i=~i,r1(e,i,n,t)),i}function va(e,n){let t=dr(e,n);if(t>=0)return e[t|1]}function dr(e,n){return g4(e,n,1)}function g4(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){let o=i+(r-i>>1),a=e[o<<t];if(n===a)return o<<t;a>n?r=o:i=o+1}return~(r<<t)}var Un={},lt=[],yo=new Z(""),Eu=new Z("",-1),xu=new Z(""),mo=class{get(n,t=mi){if(t===mi){let r=t1("",-201);throw r.name="\u0275NotFound",r}return t}};function ya(e){return{\u0275providers:e}}function _a(...e){return{\u0275providers:Mu(!0,e),\u0275fromNgModule:!0}}function Mu(e,...n){let t=[],i=new Set,r,o=a=>{t.push(a)};return ga(n,a=>{let c=a;la(c,o,[],i)&&(r||=[],r.push(c))}),r!==void 0&&o1(r,o),t}function o1(e,n){for(let t=0;t<e.length;t++){let{ngModule:i,providers:r}=e[t];Iu(r,o=>{n(o,i)})}}function la(e,n,t,i){if(e=Xe(e),!e)return!1;let r=null,o=tu(e),a=!o&&yi(e);if(!o&&!a){let d=e.ngModule;if(o=tu(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)la(f,n,t,i)}}else if(o){if(o.imports!=null&&!c){i.add(r);let f;try{ga(o.imports,h=>{la(h,n,t,i)&&(f||=[],f.push(h))})}finally{}f!==void 0&&o1(f,n)}if(!c){let f=jn(r)||(()=>new r);n({provide:r,useFactory:f,deps:lt},r),n({provide:xu,useValue:r,multi:!0},r),n({provide:yo,useValue:()=>X(r),multi:!0},r)}let d=o.providers;if(d!=null&&!c){let f=e;Iu(d,h=>{n(h,f)})}}else return!1;return r!==e&&e.providers!==void 0}function Iu(e,n){for(let t of e)hu(t)&&(t=t.\u0275providers),Array.isArray(t)?Iu(t,n):n(t)}var b4=pe({provide:String,useValue:pe});function s1(e){return e!==null&&typeof e=="object"&&b4 in e}function v4(e){return!!(e&&e.useExisting)}function y4(e){return!!(e&&e.useFactory)}function gi(e){return typeof e=="function"}function a1(e){return!!e.useClass}var _o=new Z(""),sa={},Ym={},eu;function Co(){return eu===void 0&&(eu=new mo),eu}var ct=class{},bi=class extends ct{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,su(n,a=>this.processProvider(a)),this.records.set(Eu,cr(void 0,this)),r.has("environment")&&this.records.set(ct,cr(void 0,this));let o=this.records.get(_o);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(xu,lt,{self:!0}))}retrieve(n,t){let i=hi(t)||0;try{return this.get(n,mi,i)}catch(r){if(lr(r))return r;throw r}}destroy(){po(this),this._destroyed=!0;let n=B(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),B(n)}}onDestroy(n){return po(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){po(this);let t=Qt(this),i=at(void 0),r;try{return n()}finally{Qt(t),at(i)}}get(n,t=mi,i){if(po(this),n.hasOwnProperty(Gm))return n[Gm](this);let r=hi(i),o,a=Qt(this),c=at(void 0);try{if(!(r&4)){let f=this.records.get(n);if(f===void 0){let h=E4(n)&&fa(n);h&&this.injectableDefInScope(h)?f=cr(ou(n),sa):f=null,this.records.set(n,f)}if(f!=null)return this.hydrate(n,f,r)}let d=r&2?Co():this.parent;return t=r&8&&t===mi?null:t,d.get(n,t)}catch(d){let f=u4(d);throw f===-200||f===-201?new U(f,null):d}finally{at(c),Qt(a)}}resolveInjectorInitializers(){let n=B(null),t=Qt(this),i=at(void 0),r;try{let o=this.get(yo,lt,{self:!0});for(let a of o)a()}finally{Qt(t),at(i),B(n)}}toString(){let n=[],t=this.records;for(let i of t.keys())n.push(Vn(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Xe(n);let t=gi(n)?n:Xe(n&&n.provide),i=C4(n);if(!gi(n)&&n.multi===!0){let r=this.records.get(t);r||(r=cr(void 0,sa,!0),r.factory=()=>ru(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t,i){let r=B(null);try{if(t.value===Ym)throw Cu(Vn(n));return t.value===sa&&(t.value=Ym,t.value=t.factory(void 0,i)),typeof t.value=="object"&&t.value&&D4(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{B(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=Xe(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function ou(e){let n=fa(e),t=n!==null?n.factory:jn(e);if(t!==null)return t;if(e instanceof Z)throw new U(204,!1);if(e instanceof Function)return _4(e);throw new U(204,!1)}function _4(e){if(e.length>0)throw new U(204,!1);let t=a4(e);return t!==null?()=>t.factory(e):()=>new e}function C4(e){if(s1(e))return cr(void 0,e.useValue);{let n=Su(e);return cr(n,sa)}}function Su(e,n,t){let i;if(gi(e)){let r=Xe(e);return jn(r)||ou(r)}else if(s1(e))i=()=>Xe(e.useValue);else if(y4(e))i=()=>e.useFactory(...ru(e.deps||[]));else if(v4(e))i=(r,o)=>X(Xe(e.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Xe(e&&(e.useClass||e.provide));if(w4(e))i=()=>new r(...ru(e.deps));else return jn(r)||ou(r)}return i}function po(e){if(e.destroyed)throw new U(205,!1)}function cr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function w4(e){return!!e.deps}function D4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function E4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function su(e,n){for(let t of e)Array.isArray(t)?su(t,n):t&&hu(t)?su(t.\u0275providers,n):n(t)}function pr(e,n){let t;e instanceof bi?(po(e),t=e):t=new iu(e);let i,r=Qt(t),o=at(void 0);try{return n()}finally{Qt(r),at(o)}}function l1(){return n1()!==void 0||oa()!=null}var Vt=0,V=1,W=2,Ye=3,It=4,dt=5,_i=6,fr=7,Fe=8,yn=9,Xt=10,be=11,mr=12,Tu=13,Ci=14,pt=15,wi=16,Di=17,Ei=18,_n=19,ku=20,gn=21,Ca=22,wo=23,wt=24,wa=25,xi=26,Se=27,c1=1,Au=6,zn=7,Do=8,Eo=9,Ve=10;function Jt(e){return Array.isArray(e)&&typeof e[c1]=="object"}function jt(e){return Array.isArray(e)&&e[c1]===!0}function Nu(e){return(e.flags&4)!==0}function $n(e){return e.componentOffset>-1}function hr(e){return(e.flags&1)===1}function en(e){return!!e.template}function gr(e){return(e[W]&512)!==0}function Mi(e){return(e[W]&256)===256}var u1="svg",d1="math";function St(e){for(;Array.isArray(e);)e=e[Vt];return e}function Lu(e,n){return St(n[e])}function Ht(e,n){return St(n[e.index])}function xo(e,n){return e.data[n]}function Ou(e,n){return e[n]}function Ru(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}function Tt(e,n){let t=n[e];return Jt(t)?t:t[Vt]}function Da(e){return(e[W]&128)===128}function p1(e){return jt(e[Ye])}function kt(e,n){return n==null?null:e[n]}function Pu(e){e[Di]=0}function Ea(e){e[W]&1024||(e[W]|=1024,Da(e)&&Mo(e))}function f1(e,n){for(;e>0;)n=n[Ci],e--;return n}function br(e){return!!(e[W]&9216||e[wt]?.dirty)}function xa(e){e[Xt].changeDetectionScheduler?.notify(8),e[W]&64&&(e[W]|=1024),br(e)&&Mo(e)}function Mo(e){e[Xt].changeDetectionScheduler?.notify(0);let n=Hn(e);for(;n!==null&&!(n[W]&8192||(n[W]|=8192,!Da(n)));)n=Hn(n)}function Fu(e,n){if(Mi(e))throw new U(911,!1);e[gn]===null&&(e[gn]=[]),e[gn].push(n)}function m1(e,n){if(e[gn]===null)return;let t=e[gn].indexOf(n);t!==-1&&e[gn].splice(t,1)}function Hn(e){let n=e[Ye];return jt(n)?n[Ye]:n}function h1(e){return e[fr]??=[]}function g1(e){return e.cleanup??=[]}var K={lFrame:I1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var au=!1;function b1(){return K.lFrame.elementDepthCount}function v1(){K.lFrame.elementDepthCount++}function Vu(){K.lFrame.elementDepthCount--}function Ma(){return K.bindingsEnabled}function ju(){return K.skipHydrationRootTNode!==null}function Hu(e){return K.skipHydrationRootTNode===e}function Bu(){K.skipHydrationRootTNode=null}function G(){return K.lFrame.lView}function $e(){return K.lFrame.tView}function j(e){return K.lFrame.contextLView=e,e[Fe]}function H(e){return K.lFrame.contextLView=null,e}function ft(){let e=Uu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Uu(){return K.lFrame.currentTNode}function y1(){let e=K.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function vr(e,n){let t=K.lFrame;t.currentTNode=e,t.isParent=n}function zu(){return K.lFrame.isParent}function $u(){K.lFrame.isParent=!1}function _1(){return K.lFrame.contextLView}function Zu(){return au}function Wu(e){let n=au;return au=e,n}function yr(){let e=K.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function C1(e){return K.lFrame.bindingIndex=e}function Zn(){return K.lFrame.bindingIndex++}function Gu(e){let n=K.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function w1(){return K.lFrame.inI18n}function D1(e,n){let t=K.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ia(n)}function E1(){return K.lFrame.currentDirectiveIndex}function Ia(e){K.lFrame.currentDirectiveIndex=e}function x1(e){let n=K.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Yu(e){K.lFrame.currentQueryIndex=e}function x4(e){let n=e[V];return n.type===2?n.declTNode:n.type===1?e[dt]:null}function qu(e,n,t){if(t&4){let r=n,o=e;for(;r=r.parent,r===null&&!(t&1);)if(r=x4(o),r===null||(o=o[Ci],r.type&10))break;if(r===null)return!1;n=r,e=o}let i=K.lFrame=M1();return i.currentTNode=n,i.lView=e,!0}function Sa(e){let n=M1(),t=e[V];K.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function M1(){let e=K.lFrame,n=e===null?null:e.child;return n===null?I1(e):n}function I1(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function S1(){let e=K.lFrame;return K.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qu=S1;function Ta(){let e=S1();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 T1(e){return(K.lFrame.contextLView=f1(e,K.lFrame.contextLView))[Fe]}function Cn(){return K.lFrame.selectedIndex}function Wn(e){K.lFrame.selectedIndex=e}function ka(){let e=K.lFrame;return xo(e.tView,e.selectedIndex)}function k1(){return K.lFrame.currentNamespace}var A1=!0;function Aa(){return A1}function Io(e){A1=e}function lu(e,n=null,t=null,i){let r=N1(e,n,t,i);return r.resolveInjectorInitializers(),r}function N1(e,n=null,t=null,i,r=new Set){let o=[t||lt,_a(e)];return i=i||(typeof e=="object"?void 0:Vn(e)),new bi(o,n||Co(),i||null,r)}var Kt=class e{static THROW_IF_NOT_FOUND=mi;static NULL=new mo;static create(n,t){if(Array.isArray(n))return lu({name:""},t,n,"");{let i=n.name??"";return lu({name:i},n.parent,n.providers,i)}}static \u0275prov=$({token:e,providedIn:"any",factory:()=>X(Eu)});static __NG_ELEMENT_ID__=-1},mt=new Z(""),Ii=(()=>{class e{static __NG_ELEMENT_ID__=M4;static __NG_ENV_ID__=t=>t}return e})(),cu=class extends Ii{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Mi(this._lView)}onDestroy(n){let t=this._lView;return Fu(t,n),()=>m1(t,n)}};function M4(){return new cu(G())}var L1=!1,Si=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new On(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new re(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),uu=class extends nt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,l1()&&(this.destroyRef=L(Ii,{optional:!0})??void 0,this.pendingTasks=L(Si,{optional:!0})??void 0)}emit(n){let t=B(null);try{super.next(n)}finally{B(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),a=i;if(n&&typeof n=="object"){let d=n;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 n instanceof ot&&n.add(c),c}wrapInTimeout(n){return t=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},oe=uu;function ca(...e){}function Ku(e){let n,t;function i(){e=ca;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Xu(e){return queueMicrotask(()=>e()),()=>{e=ca}}var Ju="isAngularZone",ho=Ju+"_ID",I4=0,ut=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new oe(!1);onMicrotaskEmpty=new oe(!1);onStable=new oe(!1);onError=new oe(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=L1}=n;if(typeof Zone>"u")throw new U(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,k4(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ju)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new U(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,S4,ca,ca);try{return o.runTask(a,t,i)}finally{o.cancelTask(a)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}},S4={};function ed(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 T4(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Ku(()=>{e.callbackScheduled=!1,du(e),e.isCheckStableRunning=!0,ed(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),du(e)}function k4(e){let n=()=>{T4(e)},t=I4++;e._inner=e._inner.fork({name:"angular",properties:{[Ju]:!0,[ho]:t,[ho+t]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if(A4(d))return i.invokeTask(o,a,c,d);try{return qm(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Qm(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return qm(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!N4(d)&&n(),Qm(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,du(e),ed(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 du(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qm(e){e._nesting--,ed(e)}var go=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new oe;onMicrotaskEmpty=new oe;onStable=new oe;onError=new oe;run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}};function A4(e){return O1(e,"__ignore_ng_zone__")}function N4(e){return O1(e,"__scheduler_tick__")}function O1(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var bn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Gn=new Z("",{factory:()=>{let e=L(ut),n=L(ct),t;return i=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw i}):(t??=n.get(bn),t.handleError(i))})}}}),R1={provide:yo,useValue:()=>{let e=L(bn,{optional:!0})},multi:!0};function Yn(e,n){let[t,i,r]=Vc(e,n?.equal),o=t,a=o[rt];return o.set=i,o.update=r,o.asReadonly=P1.bind(o),o}function P1(){let e=this[rt];if(e.readonlyFn===void 0){let n=()=>this();n[rt]=e,e.readonlyFn=n}return e.readonlyFn}var vn=class{},So=new Z("",{factory:()=>!0});var td=new Z(""),To=(()=>{class e{internalPendingTasks=L(Si);scheduler=L(vn);errorHandler=L(Gn);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let i=this.add();t().catch(this.errorHandler).finally(i)}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),nd=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:()=>new pu})}return e})(),pu=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,i=this.queues.get(t);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,i]of this.queues)t===null?n||=this.flushQueue(i):n||=t.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,t=!0,i.run());return t}},fu=class{[rt];constructor(n){this[rt]=n}destroy(){this[rt].destroy()}};function jo(e){return{toString:e}.toString()}function z4(e){return typeof e=="function"}function ch(e,n,t,i){n!==null?n.applyValueToInputSignal(n,i):e[t]=i}var Fa=class{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}},Zt=(()=>{let e=()=>uh;return e.ngInherit=!0,e})();function uh(e){return e.type.prototype.ngOnChanges&&(e.setInput=Z4),$4}function $4(){let e=ph(this),n=e?.current;if(n){let t=e.previous;if(t===Un)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function Z4(e,n,t,i,r){let o=this.declaredInputs[i],a=ph(e)||W4(e,{previous:Un,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new Fa(f&&f.currentValue,t,d===Un),ch(e,n,r,t)}var dh="__ngSimpleChanges__";function ph(e){return e[dh]||null}function W4(e,n){return e[dh]=n}var F1=[];var fe=function(e,n=null,t){for(let i=0;i<F1.length;i++){let r=F1[i];r(e,n,t)}},le=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(le||{});function G4(e,n,t){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=uh(n);(t.preOrderHooks??=[]).push(e,a),(t.preOrderCheckHooks??=[]).push(e,a)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}function fh(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){let o=e.data[t].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:d,ngAfterViewChecked:f,ngOnDestroy:h}=o;a&&(e.contentHooks??=[]).push(-t,a),c&&((e.contentHooks??=[]).push(t,c),(e.contentCheckHooks??=[]).push(t,c)),d&&(e.viewHooks??=[]).push(-t,d),f&&((e.viewHooks??=[]).push(t,f),(e.viewCheckHooks??=[]).push(t,f)),h!=null&&(e.destroyHooks??=[]).push(t,h)}}function La(e,n,t){mh(e,n,3,t)}function Oa(e,n,t,i){(e[W]&3)===t&&mh(e,n,t,i)}function id(e,n){let t=e[W];(t&3)===n&&(t&=16383,t+=1,e[W]=t)}function mh(e,n,t,i){let r=i!==void 0?e[Di]&65535:0,o=i??-1,a=n.length-1,c=0;for(let d=r;d<a;d++)if(typeof n[d+1]=="number"){if(c=n[d],i!=null&&c>=i)break}else n[d]<0&&(e[Di]+=65536),(c<o||o==-1)&&(Y4(e,t,n,d),e[Di]=(e[Di]&4294901760)+d+2),d++}function V1(e,n){fe(le.LifecycleHookStart,e,n);let t=B(null);try{n.call(e)}finally{B(t),fe(le.LifecycleHookEnd,e,n)}}function Y4(e,n,t,i){let r=t[i]<0,o=t[i+1],a=r?-t[i]:t[i],c=e[a];r?e[W]>>14<e[Di]>>16&&(e[W]&3)===n&&(e[W]+=16384,V1(c,o)):V1(c,o)}var Cr=-1,ki=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=t,this.injectImpl=i}};function q4(e){return(e.flags&8)!==0}function Q4(e){return(e.flags&16)!==0}function K4(e,n,t){let i=0;for(;i<t.length;){let r=t[i];if(typeof r=="number"){if(r!==0)break;i++;let o=t[i++],a=t[i++],c=t[i++];e.setAttribute(n,a,c,o)}else{let o=r,a=t[++i];J4(o)?e.setProperty(n,o,a):e.setAttribute(n,o,a),i++}}return i}function X4(e){return e===3||e===4||e===6}function J4(e){return e.charCodeAt(0)===64}function wr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?t=r:t===0||(t===-1||t===2?j1(e,t,r,null,n[++i]):j1(e,t,r,null,null))}}return e}function j1(e,n,t,i,r){let o=0,a=e.length;if(n===-1)a=-1;else for(;o<e.length;){let c=e[o++];if(typeof c=="number"){if(c===n){a=-1;break}else if(c>n){a=o-1;break}}}for(;o<e.length;){let c=e[o];if(typeof c=="number")break;if(c===t){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(e.splice(a,0,n),o=a+1),e.splice(o++,0,t),r!==null&&e.splice(o++,0,r)}function hh(e){return e!==Cr}function Va(e){return e&32767}function e5(e){return e>>16}function ja(e,n){let t=e5(e),i=n;for(;t>0;)i=i[Ci],t--;return i}var fd=!0;function Ha(e){let n=fd;return fd=e,n}var t5=256,gh=t5-1,bh=5,n5=0,tn={};function i5(e,n,t){let i;typeof t=="string"?i=t.charCodeAt(0)||0:t.hasOwnProperty(vi)&&(i=t[vi]),i==null&&(i=t[vi]=n5++);let r=i&gh,o=1<<r;n.data[e+(r>>bh)]|=o}function Ba(e,n){let t=vh(e,n);if(t!==-1)return t;let i=n[V];i.firstCreatePass&&(e.injectorIndex=n.length,rd(i.data,e),rd(n,null),rd(i.blueprint,null));let r=Pd(e,n),o=e.injectorIndex;if(hh(r)){let a=Va(r),c=ja(r,n),d=c[V].data;for(let f=0;f<8;f++)n[o+f]=c[a+f]|d[a+f]}return n[o+8]=r,o}function rd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function vh(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Pd(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;r!==null;){if(i=Dh(r),i===null)return Cr;if(t++,r=r[Ci],i.injectorIndex!==-1)return i.injectorIndex|t<<16}return Cr}function md(e,n,t){i5(e,n,t)}function yh(e,n,t){if(t&8||e!==void 0)return e;ha(n,"NodeInjector")}function _h(e,n,t,i){if(t&8&&i===void 0&&(i=null),(t&3)===0){let r=e[yn],o=at(void 0);try{return r?r.get(n,i,t&8):wu(n,i,t&8)}finally{at(o)}}return yh(i,n,t)}function Ch(e,n,t,i=0,r){if(e!==null){if(n[W]&2048&&!(i&2)){let a=l5(e,n,t,i,tn);if(a!==tn)return a}let o=wh(e,n,t,i,tn);if(o!==tn)return o}return _h(n,t,i,r)}function wh(e,n,t,i,r){let o=s5(t);if(typeof o=="function"){if(!qu(n,e,i))return i&1?yh(r,t,i):_h(n,t,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ha(t);else return a}finally{Qu()}}else if(typeof o=="number"){let a=null,c=vh(e,n),d=Cr,f=i&1?n[pt][dt]:null;for((c===-1||i&4)&&(d=c===-1?Pd(e,n):n[c+8],d===Cr||!B1(i,!1)?c=-1:(a=n[V],c=Va(d),n=ja(d,n)));c!==-1;){let h=n[V];if(H1(o,c,h.data)){let g=r5(c,n,t,a,i,f);if(g!==tn)return g}d=n[c+8],d!==Cr&&B1(i,n[V].data[c+8]===f)&&H1(o,c,n)?(a=h,c=Va(d),n=ja(d,n)):c=-1}}return r}function r5(e,n,t,i,r,o){let a=n[V],c=a.data[e+8],d=i==null?$n(c)&&fd:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=o5(c,a,t,d,f);return h!==null?Ua(n,a,h,c,r):tn}function o5(e,n,t,i,r){let o=e.providerIndexes,a=n.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&&t===_||v>=d&&_.type===t)return v}if(r){let v=a[d];if(v&&en(v)&&v.type===t)return d}return null}function Ua(e,n,t,i,r){let o=e[t],a=n.data;if(o instanceof ki){let c=o;if(c.resolving){let v=Jm(a[t]);throw Cu(v)}let d=Ha(c.canSeeViewProviders);c.resolving=!0;let f=a[t].type||a[t],h,g=c.injectImpl?at(c.injectImpl):null,y=qu(e,i,0);try{o=e[t]=c.factory(void 0,r,a,e,i),n.firstCreatePass&&t>=i.directiveStart&&G4(t,a[t],n)}finally{g!==null&&at(g),Ha(d),c.resolving=!1,Qu()}}return o}function s5(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(vi)?e[vi]:void 0;return typeof n=="number"?n>=0?n&gh:a5:n}function H1(e,n,t){let i=1<<e;return!!(t[n+(e>>bh)]&i)}function B1(e,n){return!(e&2)&&!(e&1&&n)}var Ti=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return Ch(this._tNode,this._lView,n,hi(i),t)}};function a5(){return new Ti(ft(),G())}function Oi(e){return jo(()=>{let n=e.prototype.constructor,t=n[fo]||hd(n),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[fo]||hd(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function hd(e){return mu(e)?()=>{let n=hd(Xe(e));return n&&n()}:jn(e)}function l5(e,n,t,i,r){let o=e,a=n;for(;o!==null&&a!==null&&a[W]&2048&&!gr(a);){let c=wh(o,a,t,i|2,tn);if(c!==tn)return c;let d=o.parent;if(!d){let f=a[ku];if(f){let h=f.get(t,tn,i);if(h!==tn)return h}d=Dh(a),a=a[Ci]}o=d}return r}function Dh(e){let n=e[V],t=n.type;return t===2?n.declTNode:t===1?e[dt]:null}function c5(){return Xa(ft(),G())}function Xa(e,n){return new Qn(Ht(e,n))}var Qn=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=c5}return e})();function Eh(e){return(e.flags&128)===128}var Fd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Fd||{}),xh=new Map,u5=0;function d5(){return u5++}function p5(e){xh.set(e[_n],e)}function gd(e){xh.delete(e[_n])}var U1="__ngContext__";function Dr(e,n){Jt(n)?(e[U1]=n[_n],p5(n)):e[U1]=n}function Mh(e){return Sh(e[mr])}function Ih(e){return Sh(e[It])}function Sh(e){for(;e!==null&&!jt(e);)e=e[It];return e}var f5;function Vd(e){f5=e}var Ja=new Z("",{factory:()=>m5}),m5="ng";var el=new Z(""),Ho=new Z("",{providedIn:"platform",factory:()=>"unknown"});var tl=new Z("",{factory:()=>L(mt).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Th="r";var kh="di";var Ah=!1,Nh=new Z("",{factory:()=>Ah});var h5=(e,n,t,i)=>{};function g5(e,n,t,i){h5(e,n,t,i)}function nl(e){return(e.flags&32)===32}var b5=()=>null;function Lh(e,n,t=!1){return b5(e,n,t)}function Oh(e,n){let t=e.contentQueries;if(t!==null){let i=B(null);try{for(let r=0;r<t.length;r+=2){let o=t[r],a=t[r+1];if(a!==-1){let c=e.data[a];Yu(o),c.contentQueries(2,n[a],a)}}}finally{B(i)}}}function bd(e,n,t){Yu(0);let i=B(null);try{n(e,t)}finally{B(i)}}function jd(e,n,t){if(Nu(n)){let i=B(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let a=r;a<o;a++){let c=e.data[a];if(c.contentQueries){let d=t[a];c.contentQueries(1,d,a)}}}finally{B(i)}}}var zt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(zt||{});var za=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ua})`}};function il(e){return e instanceof za?e.changingThisBreaksApplicationSecurity:e}function Rh(e,n){let t=Ph(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ua})`)}return t===n}function Ph(e){return e instanceof za&&e.getTypeName()||null}var v5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fh(e){return e=String(e),e.match(v5)?e:"unsafe:"+e}var y5=/^>|^->|<!--|-->|--!>|<!-$/g,_5=/(<|>)/g,C5="\u200B$1\u200B";function w5(e){return e.replace(y5,n=>n.replace(_5,C5))}function D5(e,n){return e.createText(n)}function E5(e,n,t){e.setValue(n,t)}function x5(e,n){return e.createComment(w5(n))}function Vh(e,n,t){return e.createElement(n,t)}function $a(e,n,t,i,r){e.insertBefore(n,t,i,r)}function jh(e,n,t){e.appendChild(n,t)}function z1(e,n,t,i,r){i!==null?$a(e,n,t,i,r):jh(e,n,t)}function Hh(e,n,t,i){e.removeChild(null,n,t,i)}function M5(e,n,t){e.setAttribute(n,"style",t)}function I5(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Bh(e,n,t){let{mergedAttrs:i,classes:r,styles:o}=t;i!==null&&K4(e,n,i),r!==null&&I5(e,n,r),o!==null&&M5(e,n,o)}var Hd=(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})(Hd||{});function Mr(e){let n=S5();return n?n.sanitize(Hd.URL,e)||"":Rh(e,"URL")?il(e):Fh(ur(e))}function S5(){let e=G();return e&&e[Xt].sanitizer}function T5(e,n,t){let i=e.length;for(;;){let r=e.indexOf(n,t);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}var Uh="ng-template";function k5(e,n,t,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&T5(n[r+1].toLowerCase(),t,0)!==-1)return!0}else if(Bd(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===t)return!0}return!1}function Bd(e){return e.type===4&&e.value!==Uh}function A5(e,n,t){let i=e.type===4&&!t?Uh:e.value;return n===i}function N5(e,n,t){let i=4,r=e.attrs,o=r!==null?R5(r):0,a=!1;for(let c=0;c<n.length;c++){let d=n[c];if(typeof d=="number"){if(!a&&!Bt(i)&&!Bt(d))return!1;if(a&&Bt(d))continue;a=!1,i=d|i&1;continue}if(!a)if(i&4){if(i=2|i&1,d!==""&&!A5(e,d,t)||d===""&&n.length===1){if(Bt(i))return!1;a=!0}}else if(i&8){if(r===null||!k5(e,r,d,t)){if(Bt(i))return!1;a=!0}}else{let f=n[++c],h=L5(d,r,Bd(e),t);if(h===-1){if(Bt(i))return!1;a=!0;continue}if(f!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&f!==g){if(Bt(i))return!1;a=!0}}}}return Bt(i)||a}function Bt(e){return(e&1)===0}function L5(e,n,t,i){if(n===null)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){let a=n[r];if(a===e)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let c=n[++r];for(;typeof c=="string";)c=n[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return P5(n,e)}function zh(e,n,t=!1){for(let i=0;i<n.length;i++)if(N5(e,n[i],t))return!0;return!1}function O5(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function R5(e){for(let n=0;n<e.length;n++){let t=e[n];if(X4(t))return n}return e.length}function P5(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let i=e[t];if(typeof i=="number")return-1;if(i===n)return t;t++}return-1}function F5(e,n){e:for(let t=0;t<n.length;t++){let i=n[t];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 $1(e,n){return e?":not("+n.trim()+")":n}function V5(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let a=e[t];if(typeof a=="string")if(i&2){let c=e[++t];r+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Bt(a)&&(n+=$1(o,r),r=""),i=a,o=o||!Bt(i);t++}return r!==""&&(n+=$1(o,r)),n}function j5(e){return e.map(V5).join(",")}function H5(e){let n=[],t=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&n.push(o,e[++i]):r===8&&t.push(o);else{if(!Bt(r))break;r=o}i++}return t.length&&n.push(1,...t),n}var Dt={};function Ud(e,n,t,i,r,o,a,c,d,f,h){let g=Se+i,y=g+r,v=B5(g,y),_=typeof f=="function"?f():f;return v[V]={type:e,blueprint:v,template:t,queries:null,viewQuery:c,declTNode:n,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 B5(e,n){let t=[];for(let i=0;i<n;i++)t.push(i<e?null:Dt);return t}function U5(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Ud(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function zd(e,n,t,i,r,o,a,c,d,f,h){let g=n.blueprint.slice();return g[Vt]=r,g[W]=i|4|128|8|64|1024,(f!==null||e&&e[W]&2048)&&(g[W]|=2048),Pu(g),g[Ye]=g[Ci]=e,g[Fe]=t,g[Xt]=a||e&&e[Xt],g[be]=c||e&&e[be],g[yn]=d||e&&e[yn]||null,g[dt]=o,g[_n]=d5(),g[_i]=h,g[ku]=f,g[pt]=n.type==2?e[pt]:g,g}function z5(e,n,t){let i=Ht(n,e),r=U5(t),o=e[Xt].rendererFactory,a=$d(e,zd(e,r,null,$h(t),i,n,null,o.createRenderer(i,t),null,null,null));return e[n.index]=a}function $h(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Zh(e,n,t,i){if(t===0)return-1;let r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function $d(e,n){return e[mr]?e[Tu][It]=n:e[mr]=n,e[Tu]=n,n}function w(e=1){Wh($e(),G(),Cn()+e,!1)}function Wh(e,n,t,i){if(!i)if((n[W]&3)===3){let o=e.preOrderCheckHooks;o!==null&&La(n,o,t)}else{let o=e.preOrderHooks;o!==null&&Oa(n,o,0,t)}Wn(t)}var rl=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(rl||{});function vd(e,n,t,i){let r=B(null);try{let[o,a,c]=e.inputs[t],d=null;(a&rl.SignalBased)!==0&&(d=n[o][rt]),d!==null&&d.transformFn!==void 0?i=d.transformFn(i):c!==null&&(i=c.call(n,i)),e.setInput!==null?e.setInput(n,d,i,t,o):ch(n,d,o,i)}finally{B(r)}}var $t=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})($t||{}),$5;function Zd(e,n){return $5(e,n)}var Ai=new Set,Wd=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Wd||{}),Ri=new Z(""),Z1=new Set;function Ir(e){Z1.has(e)||(Z1.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Gh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})();var Yh=new Z("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:L(ct)})});function qh(e,n,t){let i=e.get(Yh);if(Array.isArray(n))for(let r of n)i.queue.add(r),t?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(e)}function Z5(e,n){let t=e.get(Yh);if(n.detachedLeaveAnimationFns){for(let i of n.detachedLeaveAnimationFns)t.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}function W5(e,n){for(let[t,i]of n)qh(e,i.animateFns)}function W1(e,n,t,i){let r=e?.[xi]?.enter;n!==null&&r&&r.has(t.index)&&W5(i,r)}function _r(e,n,t,i,r,o,a,c){if(r!=null){let d,f=!1;jt(r)?d=r:Jt(r)&&(f=!0,r=r[Vt]);let h=St(r);e===0&&i!==null?(W1(c,i,o,t),a==null?jh(n,i,h):$a(n,i,h,a||null,!0)):e===1&&i!==null?(W1(c,i,o,t),$a(n,i,h,a||null,!0)):e===2?G1(c,o,t,g=>{Hh(n,h,f,g)}):e===3&&G1(c,o,t,()=>{n.destroyNode(h)}),d!=null&&i8(n,e,t,d,o,i,a)}}function G5(e,n){Qh(e,n),n[Vt]=null,n[dt]=null}function Y5(e,n,t,i,r,o){i[Vt]=r,i[dt]=n,sl(e,i,t,1,r,o)}function Qh(e,n){n[Xt].changeDetectionScheduler?.notify(9),sl(e,n,n[be],2,null,null)}function q5(e){let n=e[mr];if(!n)return od(e[V],e);for(;n;){let t=null;if(Jt(n))t=n[mr];else{let i=n[Ve];i&&(t=i)}if(!t){for(;n&&!n[It]&&n!==e;)Jt(n)&&od(n[V],n),n=n[Ye];n===null&&(n=e),Jt(n)&&od(n[V],n),t=n&&n[It]}n=t}}function Gd(e,n){let t=e[Eo],i=t.indexOf(n);t.splice(i,1)}function ol(e,n){if(Mi(n))return;let t=n[be];t.destroyNode&&sl(e,n,t,3,null,null),q5(n)}function od(e,n){if(Mi(n))return;let t=B(null);try{n[W]&=-129,n[W]|=256,n[wt]&&so(n[wt]),X5(e,n),K5(e,n),n[V].type===1&&n[be].destroy();let i=n[wi];if(i!==null&&jt(n[Ye])){i!==n[Ye]&&Gd(i,n);let r=n[Ei];r!==null&&r.detachView(e)}gd(n)}finally{B(t)}}function G1(e,n,t,i){let r=e?.[xi];if(r==null||r.leave==null||!r.leave.has(n.index))return i(!1);e&&Ai.add(e[_n]),qh(t,()=>{if(r.leave&&r.leave.has(n.index)){let a=r.leave.get(n.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),Q5(e,i)}else e&&Ai.delete(e[_n]),i(!1)},r)}function Q5(e,n){let t=e[xi]?.running;if(t){t.then(()=>{e[xi].running=void 0,Ai.delete(e[_n]),n(!0)});return}n(!1)}function K5(e,n){let t=e.cleanup,i=n[fr];if(t!==null)for(let a=0;a<t.length-1;a+=2)if(typeof t[a]=="string"){let c=t[a+3];c>=0?i[c]():i[-c].unsubscribe(),a+=2}else{let c=i[t[a+1]];t[a].call(c)}i!==null&&(n[fr]=null);let r=n[gn];if(r!==null){n[gn]=null;for(let a=0;a<r.length;a++){let c=r[a];c()}}let o=n[wo];if(o!==null){n[wo]=null;for(let a of o)a.destroy()}}function X5(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let i=0;i<t.length;i+=2){let r=n[t[i]];if(!(r instanceof ki)){let o=t[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let c=r[o[a]],d=o[a+1];fe(le.LifecycleHookStart,c,d);try{d.call(c)}finally{fe(le.LifecycleHookEnd,c,d)}}else{fe(le.LifecycleHookStart,r,o);try{o.call(r)}finally{fe(le.LifecycleHookEnd,r,o)}}}}}function Kh(e,n,t){return J5(e,n.parent,t)}function J5(e,n,t){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return t[Vt];if($n(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===zt.None||r===zt.Emulated)return null}return Ht(i,t)}function Xh(e,n,t){return t8(e,n,t)}function e8(e,n,t){return e.type&40?Ht(e,t):null}var t8=e8,Y1;function Yd(e,n,t,i){let r=Kh(e,i,n),o=n[be],a=i.parent||n[dt],c=Xh(a,i,n);if(r!=null)if(Array.isArray(t))for(let d=0;d<t.length;d++)z1(o,r,t[d],c,!1);else z1(o,r,t,c,!1);Y1!==void 0&&Y1(o,i,n,t,r)}function ko(e,n){if(n!==null){let t=n.type;if(t&3)return Ht(n,e);if(t&4)return yd(-1,e[n.index]);if(t&8){let i=n.child;if(i!==null)return ko(e,i);{let r=e[n.index];return jt(r)?yd(-1,r):St(r)}}else{if(t&128)return ko(e,n.next);if(t&32)return Zd(n,e)()||St(e[n.index]);{let i=Jh(e,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Hn(e[pt]);return ko(r,i)}else return ko(e,n.next)}}}return null}function Jh(e,n){if(n!==null){let i=e[pt][dt],r=n.projection;return i.projection[r]}return null}function yd(e,n){let t=Ve+e+1;if(t<n.length){let i=n[t],r=i[V].firstChild;if(r!==null)return ko(i,r)}return n[zn]}function qd(e,n,t,i,r,o,a){for(;t!=null;){let c=i[yn];if(t.type===128){t=t.next;continue}let d=i[t.index],f=t.type;if(a&&n===0&&(d&&Dr(St(d),i),t.flags|=2),!nl(t))if(f&8)qd(e,n,t.child,i,r,o,!1),_r(n,e,c,r,d,t,o,i);else if(f&32){let h=Zd(t,i),g;for(;g=h();)_r(n,e,c,r,g,t,o,i);_r(n,e,c,r,d,t,o,i)}else f&16?e0(e,n,i,t,r,o):_r(n,e,c,r,d,t,o,i);t=a?t.projectionNext:t.next}}function sl(e,n,t,i,r,o){qd(t,i,e.firstChild,n,r,o,!1)}function n8(e,n,t){let i=n[be],r=Kh(e,t,n),o=t.parent||n[dt],a=Xh(o,t,n);e0(i,0,n,t,r,a)}function e0(e,n,t,i,r,o){let a=t[pt],d=a[dt].projection[i.projection];if(Array.isArray(d))for(let f=0;f<d.length;f++){let h=d[f];_r(n,e,t[yn],r,h,i,o,t)}else{let f=d,h=a[Ye];Eh(i)&&(f.flags|=128),qd(e,n,f,h,r,o,!0)}}function i8(e,n,t,i,r,o,a){let c=i[zn],d=St(i);c!==d&&_r(n,e,t,o,c,r,a);for(let f=Ve;f<i.length;f++){let h=i[f];sl(h[V],h,e,n,o,c)}}function r8(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=i.indexOf("-")===-1?void 0:$t.DashCase;r==null?e.removeStyle(t,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=$t.Important),e.setStyle(t,i,r,o))}}function t0(e,n,t,i,r){let o=Cn(),a=i&2;try{Wn(-1),a&&n.length>Se&&Wh(e,n,Se,!1);let c=a?le.TemplateUpdateStart:le.TemplateCreateStart;fe(c,r,t),t(i,r)}finally{Wn(o);let c=a?le.TemplateUpdateEnd:le.TemplateCreateEnd;fe(c,r,t)}}function al(e,n,t){d8(e,n,t),(t.flags&64)===64&&p8(e,n,t)}function Bo(e,n,t=Ht){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],c=a===-1?t(n,e):e[a];e[r++]=c}}}function o8(e,n,t,i){let o=i.get(Nh,Ah)||t===zt.ShadowDom||t===zt.ExperimentalIsolatedShadowDom,a=e.selectRootElement(n,o);return s8(a),a}function s8(e){a8(e)}var a8=()=>null;function l8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function c8(e,n,t,i,r,o){let a=n[V];if(Jd(e,a,n,t,i)){$n(e)&&u8(n,e.index);return}e.type&3&&(t=l8(t)),n0(e,n,t,i,r,o)}function n0(e,n,t,i,r,o){if(e.type&3){let a=Ht(e,n);i=o!=null?o(i,e.value||"",t):i,r.setProperty(a,t,i)}else e.type&12}function u8(e,n){let t=Tt(n,e);t[W]&16||(t[W]|=64)}function d8(e,n,t){let i=t.directiveStart,r=t.directiveEnd;$n(t)&&z5(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||Ba(t,n);let o=t.initialInputs;for(let a=i;a<r;a++){let c=e.data[a],d=Ua(n,e,a,t);if(Dr(d,n),o!==null&&g8(n,a-i,d,c,t,o),en(c)){let f=Tt(t.index,n);f[Fe]=Ua(n,e,a,t)}}}function p8(e,n,t){let i=t.directiveStart,r=t.directiveEnd,o=t.index,a=E1();try{Wn(o);for(let c=i;c<r;c++){let d=e.data[c],f=n[c];Ia(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&f8(d,f)}}finally{Wn(-1),Ia(a)}}function f8(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Qd(e,n){let t=e.directiveRegistry,i=null;if(t)for(let r=0;r<t.length;r++){let o=t[r];zh(n,o.selectors,!1)&&(i??=[],en(o)?i.unshift(o):i.push(o))}return i}function m8(e,n,t,i,r,o){let a=Ht(e,n);h8(n[be],a,o,e.value,t,i,r)}function h8(e,n,t,i,r,o,a){if(o==null)e.removeAttribute(n,r,t);else{let c=a==null?ur(o):a(o,i||"",r);e.setAttribute(n,r,c,t)}}function g8(e,n,t,i,r,o){let a=o[n];if(a!==null)for(let c=0;c<a.length;c+=2){let d=a[c],f=a[c+1];vd(i,t,d,f)}}function Kd(e,n,t,i,r){let o=Se+t,a=n[V],c=r(a,n,e,i,t);n[o]=c,vr(e,!0);let d=e.type===2;return d?(Bh(n[be],c,e),(b1()===0||hr(e))&&Dr(c,n),v1()):Dr(c,n),Aa()&&(!d||!nl(e))&&Yd(a,n,c,e),e}function Xd(e){let n=e;return zu()?$u():(n=n.parent,vr(n,!1)),n}function b8(e,n){let t=e[yn];if(!t)return;let i;try{i=t.get(Gn,null)}catch{i=null}i?.(n)}function Jd(e,n,t,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=n.data[f];vd(g,t[f],h,r),c=!0}if(o)for(let d of o){let f=t[d],h=n.data[d];vd(h,f,i,r),c=!0}return c}function v8(e,n){let t=Tt(n,e),i=t[V];y8(i,t);let r=t[Vt];r!==null&&t[_i]===null&&(t[_i]=Lh(r,t[yn])),fe(le.ComponentStart);try{ep(i,t,t[Fe])}finally{fe(le.ComponentEnd,t[Fe])}}function y8(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function ep(e,n,t){Sa(n);try{let i=e.viewQuery;i!==null&&bd(1,i,t);let r=e.template;r!==null&&t0(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Ei]?.finishViewCreation(e),e.staticContentQueries&&Oh(e,n),e.staticViewQueries&&bd(2,e.viewQuery,t);let o=e.components;o!==null&&_8(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[W]&=-5,Ta()}}function _8(e,n){for(let t=0;t<n.length;t++)v8(e,n[t])}function Uo(e,n,t,i){let r=B(null);try{let o=n.tView,c=e[W]&4096?4096:16,d=zd(e,o,t,c,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),f=e[n.index];d[wi]=f;let h=e[Ei];return h!==null&&(d[Ei]=h.createEmbeddedView(o)),ep(o,d,t),d}finally{B(r)}}function Er(e,n){return!n||n.firstChild===null||Eh(e)}function No(e,n,t,i,r=!1){for(;t!==null;){if(t.type===128){t=r?t.projectionNext:t.next;continue}let o=n[t.index];o!==null&&i.push(St(o)),jt(o)&&i0(o,i);let a=t.type;if(a&8)No(e,n,t.child,i);else if(a&32){let c=Zd(t,n),d;for(;d=c();)i.push(d)}else if(a&16){let c=Jh(n,t);if(Array.isArray(c))i.push(...c);else{let d=Hn(n[pt]);No(d[V],d,c,i,!0)}}t=r?t.projectionNext:t.next}return i}function i0(e,n){for(let t=Ve;t<e.length;t++){let i=e[t],r=i[V].firstChild;r!==null&&No(i[V],i,r,n)}e[zn]!==e[Vt]&&n.push(e[zn])}function r0(e){if(e[wa]!==null){for(let n of e[wa])n.impl.addSequence(n);e[wa].length=0}}var o0=[];function C8(e){return e[wt]??w8(e)}function w8(e){let n=o0.pop()??Object.create(E8);return n.lView=e,n}function D8(e){e.lView[wt]!==e&&(e.lView=null,o0.push(e))}var E8=gt(Ae({},io),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Mo(e.lView)},consumerOnSignalRead(){this.lView[wt]=this}});function x8(e){let n=e[wt]??Object.create(M8);return n.lView=e,n}var M8=gt(Ae({},io),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Hn(e.lView);for(;n&&!s0(n[V]);)n=Hn(n);n&&Ea(n)},consumerOnSignalRead(){this.lView[wt]=this}});function s0(e){return e.type!==2}function a0(e){if(e[wo]===null)return;let n=!0;for(;n;){let t=!1;for(let i of e[wo])i.dirty&&(t=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=t&&!!(e[W]&8192)}}var I8=100;function l0(e,n=0){let i=e[Xt].rendererFactory,r=!1;r||i.begin?.();try{S8(e,n)}finally{r||i.end?.()}}function S8(e,n){let t=Zu();try{Wu(!0),_d(e,n);let i=0;for(;br(e);){if(i===I8)throw new U(103,!1);i++,_d(e,1)}}finally{Wu(t)}}function T8(e,n,t,i){if(Mi(n))return;let r=n[W],o=!1,a=!1;Sa(n);let c=!0,d=null,f=null;o||(s0(e)?(f=C8(n),d=oo(f)):ks()===null?(c=!1,f=x8(n),d=oo(f)):n[wt]&&(so(n[wt]),n[wt]=null));try{Pu(n),C1(e.bindingStartIndex),t!==null&&t0(e,n,t,2,i);let h=(r&3)===3;if(!o)if(h){let v=e.preOrderCheckHooks;v!==null&&La(n,v,null)}else{let v=e.preOrderHooks;v!==null&&Oa(n,v,0,null),id(n,0)}if(a||k8(n),a0(n),c0(n,0),e.contentQueries!==null&&Oh(e,n),!o)if(h){let v=e.contentCheckHooks;v!==null&&La(n,v)}else{let v=e.contentHooks;v!==null&&Oa(n,v,1),id(n,1)}N8(e,n);let g=e.components;g!==null&&d0(n,g,0);let y=e.viewQuery;if(y!==null&&bd(2,y,i),!o)if(h){let v=e.viewCheckHooks;v!==null&&La(n,v)}else{let v=e.viewHooks;v!==null&&Oa(n,v,2),id(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Ca]){for(let v of n[Ca])v();n[Ca]=null}o||(r0(n),n[W]&=-73)}catch(h){throw o||Mo(n),h}finally{f!==null&&(As(f,d),c&&D8(f)),Ta()}}function c0(e,n){for(let t=Mh(e);t!==null;t=Ih(t))for(let i=Ve;i<t.length;i++){let r=t[i];u0(r,n)}}function k8(e){for(let n=Mh(e);n!==null;n=Ih(n)){if(!(n[W]&2))continue;let t=n[Eo];for(let i=0;i<t.length;i++){let r=t[i];Ea(r)}}}function A8(e,n,t){fe(le.ComponentStart);let i=Tt(n,e);try{u0(i,t)}finally{fe(le.ComponentEnd,i[Fe])}}function u0(e,n){Da(e)&&_d(e,n)}function _d(e,n){let i=e[V],r=e[W],o=e[wt],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&Ns(o)),a||=!1,o&&(o.dirty=!1),e[W]&=-9217,a)T8(i,e,i.template,e[Fe]);else if(r&8192){let c=B(null);try{a0(e),c0(e,1);let d=i.components;d!==null&&d0(e,d,1),r0(e)}finally{B(c)}}}function d0(e,n,t){for(let i=0;i<n.length;i++)A8(e,n[i],t)}function N8(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let i=0;i<t.length;i++){let r=t[i];if(r<0)Wn(~r);else{let o=r,a=t[++i],c=t[++i];D1(a,o);let d=n[o];fe(le.HostBindingsUpdateStart,d);try{c(2,d)}finally{fe(le.HostBindingsUpdateEnd,d)}}}}finally{Wn(-1)}}function tp(e,n){let t=Zu()?64:1088;for(e[Xt].changeDetectionScheduler?.notify(n);e;){e[W]|=t;let i=Hn(e);if(gr(e)&&!i)return e;e=i}return null}function p0(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function f0(e,n){let t=Ve+n;if(t<e.length)return e[t]}function zo(e,n,t,i=!0){let r=n[V];if(L8(r,n,e,t),i){let a=yd(t,e),c=n[be],d=c.parentNode(e[zn]);d!==null&&Y5(r,e[dt],c,n,d,a)}let o=n[_i];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function m0(e,n){let t=Lo(e,n);return t!==void 0&&ol(t[V],t),t}function Lo(e,n){if(e.length<=Ve)return;let t=Ve+n,i=e[t];if(i){let r=i[wi];r!==null&&r!==e&&Gd(r,i),n>0&&(e[t-1][It]=i[It]);let o=vo(e,Ve+n);G5(i[V],i);let a=o[Ei];a!==null&&a.detachView(o[V]),i[Ye]=null,i[It]=null,i[W]&=-129}return i}function L8(e,n,t,i){let r=Ve+i,o=t.length;i>0&&(t[r-1][It]=n),i<o-Ve?(n[It]=t[r],Du(t,Ve+i,n)):(t.push(n),n[It]=null),n[Ye]=t;let a=n[wi];a!==null&&t!==a&&h0(a,n);let c=n[Ei];c!==null&&c.insertView(e),xa(n),n[W]|=128}function h0(e,n){let t=e[Eo],i=n[Ye];if(Jt(i))e[W]|=2;else{let r=i[Ye][pt];n[pt]!==r&&(e[W]|=2)}t===null?e[Eo]=[n]:t.push(n)}var qn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[V];return No(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[Fe]}set context(n){this._lView[Fe]=n}get destroyed(){return Mi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Ye];if(jt(n)){let t=n[Do],i=t?t.indexOf(this):-1;i>-1&&(Lo(n,i),vo(t,i))}this._attachedToViewContainer=!1}ol(this._lView[V],this._lView)}onDestroy(n){Fu(this._lView,n)}markForCheck(){tp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[W]&=-129}reattach(){xa(this._lView),this._lView[W]|=128}detectChanges(){this._lView[W]|=1024,l0(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=gr(this._lView),t=this._lView[wi];t!==null&&!n&&Gd(t,this._lView),Qh(this._lView[V],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=n;let t=gr(this._lView),i=this._lView[wi];i!==null&&!t&&h0(i,this._lView),xa(this._lView)}};function np(e){return br(e._lView)||!!(e._lView[W]&64)}function ip(e){Ea(e._lView)}var rp=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=O8;constructor(t,i,r){this._declarationLView=t,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,r){let o=Uo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:r});return new qn(o)}}return e})();function O8(){return g0(ft(),G())}function g0(e,n){return e.type&4?new rp(n,e,Xa(e,n)):null}function Sr(e,n,t,i,r){let o=e.data[n];if(o===null)o=R8(e,n,t,i,r),w1()&&(o.flags|=32);else if(o.type&64){o.type=t,o.value=i,o.attrs=r;let a=y1();o.injectorIndex=a===null?-1:a.injectorIndex}return vr(o,!0),o}function R8(e,n,t,i,r){let o=Uu(),a=zu(),c=a?o:o&&o.parent,d=e.data[n]=F8(e,c,t,n,i,r);return P8(e,d,o,a),d}function P8(e,n,t,i){e.firstChild===null&&(e.firstChild=n),t!==null&&(i?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function F8(e,n,t,i,r,o){let a=n?n.injectorIndex:-1,c=0;return ju()&&(c|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function V8(e){let n=e[Au]??[],i=e[Ye][be],r=[];for(let o of n)o.data[kh]!==void 0?r.push(o):j8(o,i);e[Au]=r}function j8(e,n){let t=0,i=e.firstChild;if(i){let r=e.data[Th];for(;t<r;){let o=i.nextSibling;Hh(n,i,!1),i=o,t++}}}var H8=()=>null,B8=()=>null;function Za(e,n){return H8(e,n)}function b0(e,n,t){return B8(e,n,t)}var v0=class{},ll=class{},Cd=class{resolveComponentFactory(n){throw new U(917,!1)}},Pi=class{static NULL=new Cd},Ni=class{},cl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>U8()}return e})();function U8(){let e=G(),n=ft(),t=Tt(n.index,e);return(Jt(t)?t:e)[be]}var y0=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:()=>null})}return e})();var Ra={},wd=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){let r=this.injector.get(n,Ra,i);return r!==Ra||t===Ra?r:this.parentInjector.get(n,t,i)}};function Wa(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(n!==null)for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number")o=c;else if(o==1)r=da(r,c);else if(o==2){let d=c,f=n[++a];i=da(i,d+": "+f+";")}}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}function At(e,n=0){let t=G();if(t===null)return X(e,n);let i=ft();return Ch(i,t,Xe(e),n)}function _0(e,n,t,i,r){let o=i===null?null:{"":-1},a=r(e,t);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}Z8(e,n,t,c,o,d,f)}o!==null&&i!==null&&z8(t,i,o)}function z8(e,n,t){let i=e.localNames=[];for(let r=0;r<n.length;r+=2){let o=t[n[r+1]];if(o==null)throw new U(-301,!1);i.push(n[r],o)}}function $8(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function Z8(e,n,t,i,r,o,a){let c=i.length,d=null;for(let y=0;y<c;y++){let v=i[y];d===null&&en(v)&&(d=v,$8(e,t,y)),md(Ba(t,n),e,v.type)}K8(t,e.data.length,c),d?.viewProvidersResolver&&d.viewProvidersResolver(d);for(let y=0;y<c;y++){let v=i[y];v.providersResolver&&v.providersResolver(v)}let f=!1,h=!1,g=Zh(e,n,c,null);c>0&&(t.directiveToIndex=new Map);for(let y=0;y<c;y++){let v=i[y];if(t.mergedAttrs=wr(t.mergedAttrs,v.hostAttrs),G8(e,t,n,g,v),Q8(g,v,r),a!==null&&a.has(v)){let[A,k]=a.get(v);t.directiveToIndex.set(v.type,[g,A+t.directiveStart,k+t.directiveStart])}else(o===null||!o.has(v))&&t.directiveToIndex.set(v.type,g);v.contentQueries!==null&&(t.flags|=4),(v.hostBindings!==null||v.hostAttrs!==null||v.hostVars!==0)&&(t.flags|=64);let _=v.type.prototype;!f&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),f=!0),!h&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),h=!0),g++}W8(e,t,o)}function W8(e,n,t){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=e.data[i];if(t===null||!t.has(r))q1(0,n,r,i),q1(1,n,r,i),K1(n,i,!1);else{let o=t.get(r);Q1(0,n,o,i),Q1(1,n,o,i),K1(n,i,!0)}}}function q1(e,n,t,i){let r=e===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;e===0?a=n.inputs??={}:a=n.outputs??={},a[o]??=[],a[o].push(i),C0(n,o)}}function Q1(e,n,t,i){let r=e===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],c;e===0?c=n.hostDirectiveInputs??={}:c=n.hostDirectiveOutputs??={},c[a]??=[],c[a].push(i,o),C0(n,a)}}function C0(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function K1(e,n,t){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!t&&r===null||t&&o===null||Bd(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(!t&&r.hasOwnProperty(d)){let f=r[d];for(let h of f)if(h===n){a??=[],a.push(d,i[c+1]);break}}else if(t&&o.hasOwnProperty(d)){let f=o[d];for(let h=0;h<f.length;h+=2)if(f[h]===n){a??=[],a.push(f[h+1],i[c+1]);break}}c+=2}e.initialInputs??=[],e.initialInputs.push(a)}function G8(e,n,t,i,r){e.data[i]=r;let o=r.factory||(r.factory=jn(r.type,!0)),a=new ki(o,en(r),At,null);e.blueprint[i]=a,t[i]=a,Y8(e,n,i,Zh(e,t,r.hostVars,Dt),r)}function Y8(e,n,t,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~n.index;q8(a)!=c&&a.push(c),a.push(t,i,o)}}function q8(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function Q8(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;en(n)&&(t[""]=e)}}function K8(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function op(e,n,t,i,r,o,a,c){let d=n[V],f=d.consts,h=kt(f,a),g=Sr(d,e,t,i,h);return o&&_0(d,n,g,kt(f,c),r),g.mergedAttrs=wr(g.mergedAttrs,g.attrs),g.attrs!==null&&Wa(g,g.attrs,!1),g.mergedAttrs!==null&&Wa(g,g.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,g),g}function sp(e,n){fh(e,n),Nu(n)&&e.queries.elementEnd(n)}function X8(e,n,t,i,r,o){let a=n.consts,c=kt(a,r),d=Sr(n,e,t,i,c);if(d.mergedAttrs=wr(d.mergedAttrs,d.attrs),o!=null){let f=kt(a,o);d.localNames=[];for(let h=0;h<f.length;h+=2)d.localNames.push(f[h],-1)}return d.attrs!==null&&Wa(d,d.attrs,!1),d.mergedAttrs!==null&&Wa(d,d.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,d),d}function ap(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ul(e,n,t){return e[n]=t}function J8(e,n){return e[n]}function bt(e,n,t){if(t===Dt)return!1;let i=e[n];return Object.is(i,t)?!1:(e[n]=t,!0)}function Ga(e,n,t,i){let r=bt(e,n,t);return bt(e,n+1,i)||r}function e_(e,n,t,i,r){let o=Ga(e,n,t,i);return bt(e,n+2,r)||o}function t_(e,n,t,i,r,o){let a=Ga(e,n,t,i);return Ga(e,n+2,r,o)||a}function Pa(e,n,t){return function i(r){let o=$n(e)?Tt(e.index,n):n;tp(o,5);let a=n[Fe],c=X1(n,a,t,r),d=i.__ngNextListenerFn__;for(;d;)c=X1(n,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function X1(e,n,t,i){let r=B(null);try{return fe(le.OutputStart,n,t),t(i)!==!1}catch(o){return b8(e,o),!1}finally{fe(le.OutputEnd,n,t),B(r)}}function w0(e,n,t,i,r,o,a,c){let d=hr(e),f=!1,h=null;if(!i&&d&&(h=i_(n,t,o,e.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,f=!0}else{let g=Ht(e,t),y=i?i(g):g;g5(t,y,o,c);let v=r.listen(y,o,c);if(!n_(o)){let _=i?A=>i(St(A[e.index])):e.index;D0(_,n,t,o,c,v,!1)}}return f}function n_(e){return e.startsWith("animation")||e.startsWith("transition")}function i_(e,n,t,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===t&&r[o+1]===i){let c=n[fr],d=r[o+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(o+=2)}return null}function D0(e,n,t,i,r,o,a){let c=n.firstCreatePass?g1(n):null,d=h1(t),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function J1(e,n,t,i,r,o){let a=n[t],c=n[V],f=c.data[t].outputs[i],g=a[f].subscribe(o);D0(e.index,c,n,r,o,g,!0)}var Dd=Symbol("BINDING");var Ed=class extends Pi{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=yi(n);return new Oo(t,this.ngModule)}};function r_(e){return Object.keys(e).map(n=>{let[t,i,r]=e[n],o={propName:t,templateName:n,isSignal:(i&rl.SignalBased)!==0};return r&&(o.transform=r),o})}function o_(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function s_(e,n,t){let i=n instanceof ct?n:n?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new wd(t,i):t}function a_(e){let n=e.get(Ni,null);if(n===null)throw new U(407,!1);let t=e.get(y0,null),i=e.get(vn,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:i,ngReflect:!1}}function l_(e,n){let t=E0(e);return Vh(n,t,t==="svg"?u1:t==="math"?d1:null)}function E0(e){return(e.selectors[0][0]||"div").toLowerCase()}var Oo=class extends ll{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=r_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=o_(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=j5(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,i,r,o,a){fe(le.DynamicComponentStart);let c=B(null);try{let d=this.componentDef,f=c_(i,d,a,o),h=s_(d,r||this.ngModule,n),g=a_(h),y=g.rendererFactory.createRenderer(null,d),v=i?o8(y,i,d.encapsulation,h):l_(d,y),_=a?.some(eh)||o?.some(I=>typeof I!="function"&&I.bindings.some(eh)),A=zd(null,f,null,512|$h(d),null,null,g,y,h,null,Lh(v,h,!0));A[Se]=v,Sa(A);let k=null;try{let I=op(Se,A,2,"#host",()=>f.directiveRegistry,!0,0);Bh(y,v,I),Dr(v,A),al(f,A,I),jd(f,I,A),sp(f,I),t!==void 0&&d_(I,this.ngContentSelectors,t),k=Tt(I.index,A),A[Fe]=k[Fe],ep(f,A,null)}catch(I){throw k!==null&&gd(k),gd(A),I}finally{fe(le.DynamicComponentEnd),Ta()}return new Ya(this.componentType,A,!!_)}finally{B(c)}}};function c_(e,n,t,i){let r=e?["ng-version","21.0.8"]:H5(n.selectors[0]),o=null,a=null,c=0;if(t)for(let h of t)c+=h[Dd].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[Dd].requiredVars;let v=h+1;y.create&&(y.targetIdx=v,(o??=[]).push(y)),y.update&&(y.targetIdx=v,(a??=[]).push(y))}}let d=[n];if(i)for(let h of i){let g=typeof h=="function"?h:h.type,y=yu(g);d.push(y)}return Ud(0,null,u_(o,a),1,c,d,null,null,null,[r],null)}function u_(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let i of e)i.create();if(t&2&&n)for(let i of n)i.update()}}function eh(e){let n=e[Dd].kind;return n==="input"||n==="twoWay"}var Ya=class extends v0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,i){super(),this._rootLView=t,this._hasInputBindings=i,this._tNode=xo(t[V],Se),this.location=Xa(this._tNode,t),this.instance=Tt(this._tNode.index,t)[Fe],this.hostView=this.changeDetectorRef=new qn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let r=this._rootLView,o=Jd(i,r[V],r,n,t);this.previousInputValues.set(n,t);let a=Tt(i.index,r);tp(a,1)}get injector(){return new Ti(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function d_(e,n,t){let i=e.projection=[];for(let r=0;r<n.length;r++){let o=t[r];i.push(o!=null&&o.length?Array.from(o):null)}}var dl=(()=>{class e{static __NG_ELEMENT_ID__=p_}return e})();function p_(){let e=ft();return m_(e,G())}var f_=dl,x0=class extends f_{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Xa(this._hostTNode,this._hostLView)}get injector(){return new Ti(this._hostTNode,this._hostLView)}get parentInjector(){let n=Pd(this._hostTNode,this._hostLView);if(hh(n)){let t=ja(n,this._hostLView),i=Va(n),r=t[V].data[i+8];return new Ti(r,t)}else return new Ti(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=th(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(n,t,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Za(this._lContainer,n.ssrId),c=n.createEmbeddedViewImpl(t||{},o,a);return this.insertImpl(c,r,Er(this._hostTNode,a)),c}createComponent(n,t,i,r,o,a,c){let d=n&&!z4(n),f;if(d)f=t;else{let k=t||{};f=k.index,i=k.injector,r=k.projectableNodes,o=k.environmentInjector||k.ngModuleRef,a=k.directives,c=k.bindings}let h=d?n:new Oo(yi(n)),g=i||this.parentInjector;if(!o&&h.ngModule==null){let I=(d?g:this.parentInjector).get(ct,null);I&&(o=I)}let y=yi(h.componentType??{}),v=Za(this._lContainer,y?.id??null),_=v?.firstChild??null,A=h.create(g,r,_,o,a,c);return this.insertImpl(A.hostView,f,Er(this._hostTNode,v)),A}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){let r=n._lView;if(p1(r)){let c=this.indexOf(n);if(c!==-1)this.detach(c);else{let d=r[Ye],f=new x0(d,d[dt],d[Ye]);f.detach(f.indexOf(n))}}let o=this._adjustIndex(t),a=this._lContainer;return zo(a,r,o,i),n.attachToViewContainerRef(),Du(sd(a),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=th(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),i=Lo(this._lContainer,t);i&&(vo(sd(this._lContainer),t),ol(i[V],i))}detach(n){let t=this._adjustIndex(n,-1),i=Lo(this._lContainer,t);return i&&vo(sd(this._lContainer),t)!=null?new qn(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function th(e){return e[Do]}function sd(e){return e[Do]||(e[Do]=[])}function m_(e,n){let t,i=n[e.index];return jt(i)?t=i:(t=p0(i,n,null,e),n[e.index]=t,$d(n,t)),g_(t,n,e,i),new x0(t,e,n)}function h_(e,n){let t=e[be],i=t.createComment(""),r=Ht(n,e),o=t.parentNode(r);return $a(t,o,i,t.nextSibling(r),!1),i}var g_=y_,b_=()=>!1;function v_(e,n,t){return b_(e,n,t)}function y_(e,n,t,i){if(e[zn])return;let r;t.type&8?r=St(i):r=h_(n,t),e[zn]=r}var Ro=class{};var Po=class extends Ro{injector;componentFactoryResolver=new Ed(this);instance=null;constructor(n){super();let t=new bi([...n.providers,{provide:Ro,useValue:this},{provide:Pi,useValue:this.componentFactoryResolver}],n.parent||Co(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function M0(e,n,t=null){return new Po({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var __=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let i=Mu(!1,t.type),r=i.length>0?M0([i],this._injector,""):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=$({token:e,providedIn:"environment",factory:()=>new e(X(ct))})}return e})();function ue(e){return jo(()=>{let n=I0(e),t=gt(Ae({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(__).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||zt.Emulated,styles:e.styles||lt,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Ir("NgStandalone"),S0(t);let i=e.dependencies;return t.directiveDefs=nh(i,C_),t.pipeDefs=nh(i,Xm),t.id=E_(t),t})}function C_(e){return yi(e)||yu(e)}function Fi(e){return jo(()=>({type:e.type,bootstrap:e.bootstrap||lt,declarations:e.declarations||lt,imports:e.imports||lt,exports:e.exports||lt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function w_(e,n){if(e==null)return Un;let t={};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=rl.None,d=null),t[o]=[i,c,d],n[o]=a}return t}function D_(e){if(e==null)return Un;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Tr(e){return jo(()=>{let n=I0(e);return S0(n),n})}function pl(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 I0(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Un,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||lt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:w_(e.inputs,n),outputs:D_(e.outputs),debugInfo:null}}function S0(e){e.features?.forEach(n=>n(e))}function nh(e,n){return e?()=>{let t=typeof e=="function"?e():e,i=[];for(let r of t){let o=n(r);o!==null&&i.push(o)}return i}:null}function E_(e){let n=0,t=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function x_(e){return Object.getPrototypeOf(e.prototype).constructor}function Ze(e){let n=x_(e.type),t=!0,i=[e];for(;n;){let r;if(en(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new U(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);let a=e;a.inputs=ad(e.inputs),a.declaredInputs=ad(e.declaredInputs),a.outputs=ad(e.outputs);let c=r.hostBindings;c&&k_(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&S_(e,d),f&&T_(e,f),M_(e,r),Km(e.outputs,r.outputs),en(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&&(t=!1)}}n=Object.getPrototypeOf(n)}I_(i)}function M_(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let i=n.inputs[t];i!==void 0&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t])}}function I_(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=wr(r.hostAttrs,t=wr(t,r.hostAttrs))}}function ad(e){return e===Un?{}:e===lt?[]:e}function S_(e,n){let t=e.viewQuery;t?e.viewQuery=(i,r)=>{n(i,r),t(i,r)}:e.viewQuery=n}function T_(e,n){let t=e.contentQueries;t?e.contentQueries=(i,r,o)=>{n(i,r,o),t(i,r,o)}:e.contentQueries=n}function k_(e,n){let t=e.hostBindings;t?e.hostBindings=(i,r)=>{n(i,r),t(i,r)}:e.hostBindings=n}function T0(e,n,t,i,r,o,a,c){if(t.firstCreatePass){e.mergedAttrs=wr(e.mergedAttrs,e.attrs);let h=e.tView=Ud(2,e,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),h.queries=t.queries.embeddedTView(e))}c&&(e.flags|=c),vr(e,!1);let d=N_(t,n,e,i);Aa()&&Yd(t,n,d,e),Dr(d,n);let f=p0(d,n,d,e);n[i+Se]=f,$d(n,f),v_(f,e,n)}function A_(e,n,t,i,r,o,a,c,d,f,h){let g=t+Se,y;return n.firstCreatePass?(y=Sr(n,g,4,a||null,c||null),Ma()&&_0(n,e,y,kt(n.consts,f),Qd),fh(n,y)):y=n.data[g],T0(y,e,n,t,i,r,o,d),hr(y)&&al(n,e,y),f!=null&&Bo(e,y,h),y}function Fo(e,n,t,i,r,o,a,c,d,f,h){let g=t+Se,y;if(n.firstCreatePass){if(y=Sr(n,g,4,a||null,c||null),f!=null){let v=kt(n.consts,f);y.localNames=[];for(let _=0;_<v.length;_+=2)y.localNames.push(v[_],-1)}}else y=n.data[g];return T0(y,e,n,t,i,r,o,d),f!=null&&Bo(e,y,h),y}function Nt(e,n,t,i,r,o,a,c){let d=G(),f=$e(),h=kt(f.consts,o);return A_(d,f,e,n,t,i,r,h,void 0,a,c),Nt}var N_=L_;function L_(e,n,t,i){return Io(!0),n[be].createComment("")}function lp(e){return typeof e=="function"&&e[rt]!==void 0}var cp=new Z("");function fl(e){return!!e&&typeof e.then=="function"}function up(e){return!!e&&typeof e.subscribe=="function"}var k0=new Z("");var dp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=L(k0,{optional:!0})??[];injector=L(Kt);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let r of this.appInits){let o=pr(this.injector,r);if(fl(o))t.push(o);else if(up(o)){let a=new Promise((c,d)=>{o.subscribe({complete:c,error:d})});t.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),t.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),A0=new Z("");function N0(){Fc(()=>{let e="";throw new U(600,e)})}function L0(e){return e.isBoundToModule}var O_=10;var kr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=L(Gn);afterRenderManager=L(Gh);zonelessEnabled=L(So);rootEffectScheduler=L(nd);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new nt;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=L(Si);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(st(t=>!t))}constructor(){L(Ri,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=L(ct);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,i){return this.bootstrapImpl(t,i)}bootstrapImpl(t,i,r=Kt.NULL){return this._injector.get(ut).run(()=>{fe(le.BootstrapComponentStart);let a=t instanceof ll;if(!this._injector.get(dp).done){let _="";throw new U(405,_)}let d;a?d=t:d=this._injector.get(Pi).resolveComponentFactory(t),this.componentTypes.push(d.componentType);let f=L0(d)?void 0:this._injector.get(Ro),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),Ao(this.components,g),v?.unregisterApplication(y)}),this._loadComponent(g),fe(le.BootstrapComponentEnd,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){fe(le.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Wd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw fe(le.ChangeDetectionEnd),new U(101,!1);let t=B(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,B(t),this.afterTick.next(),fe(le.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ni,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<O_;){fe(le.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{fe(le.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!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&&!br(r))continue;let o=i&&!this.zonelessEnabled?0:1;l0(r,o),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>br(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){let i=t;Ao(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(t),this._injector.get(A0,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ao(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new U(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ao(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function wn(e,n,t,i){let r=G(),o=Zn();if(bt(r,o,n)){let a=$e(),c=ka();m8(c,r,e,n,t,i)}return wn}var PS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var xd=class{destroy(n){}updateValue(n,t){}swap(n,t){let i=Math.min(n,t),r=Math.max(n,t),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,t){this.attach(t,this.detach(n))}};function ld(e,n,t,i,r){return e===t&&Object.is(n,i)?1:Object.is(r(e,n),r(t,i))?-1:0}function R_(e,n,t,i){let r,o,a=0,c=e.length-1,d=void 0;if(Array.isArray(n)){B(i);let f=n.length-1;for(B(null);a<=c&&a<=f;){let h=e.at(a),g=n[a],y=ld(a,h,a,g,t);if(y!==0){y<0&&e.updateValue(a,g),a++;continue}let v=e.at(c),_=n[f],A=ld(c,v,f,_,t);if(A!==0){A<0&&e.updateValue(c,_),c--,f--;continue}let k=t(a,h),I=t(c,v),Y=t(a,g);if(Object.is(Y,I)){let Me=t(f,_);Object.is(Me,k)?(e.swap(a,c),e.updateValue(c,_),f--,c--):e.move(c,a),e.updateValue(a,g),a++;continue}if(r??=new qa,o??=rh(e,a,c,t),Md(e,r,a,Y))e.updateValue(a,g),a++,c++;else if(o.has(Y))r.set(k,e.detach(a)),c--;else{let Me=e.create(a,n[a]);e.attach(a,Me),a++,c++}}for(;a<=f;)ih(e,r,t,a,n[a]),a++}else if(n!=null){B(i);let f=n[Symbol.iterator]();B(null);let h=f.next();for(;!h.done&&a<=c;){let g=e.at(a),y=h.value,v=ld(a,g,a,y,t);if(v!==0)v<0&&e.updateValue(a,y),a++,h=f.next();else{r??=new qa,o??=rh(e,a,c,t);let _=t(a,y);if(Md(e,r,a,_))e.updateValue(a,y),a++,c++,h=f.next();else if(!o.has(_))e.attach(a,e.create(a,y)),a++,c++,h=f.next();else{let A=t(a,g);r.set(A,e.detach(a)),c--}}}for(;!h.done;)ih(e,r,t,e.length,h.value),h=f.next()}for(;a<=c;)e.destroy(e.detach(c--));r?.forEach(f=>{e.destroy(f)})}function Md(e,n,t,i){return n!==void 0&&n.has(i)?(e.attach(t,n.get(i)),n.delete(i),!0):!1}function ih(e,n,t,i,r){if(Md(e,n,i,t(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function rh(e,n,t,i){let r=new Set;for(let o=n;o<=t;o++)r.add(i(o,e.at(o)));return r}var qa=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,i]of this.kvMap)if(n(i,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,t)}}};function we(e,n,t,i,r,o,a,c){Ir("NgControlFlow");let d=G(),f=$e(),h=kt(f.consts,o);return Fo(d,f,e,n,t,i,r,h,256,a,c),pp}function pp(e,n,t,i,r,o,a,c){Ir("NgControlFlow");let d=G(),f=$e(),h=kt(f.consts,o);return Fo(d,f,e,n,t,i,r,h,512,a,c),pp}function De(e,n){Ir("NgControlFlow");let t=G(),i=Zn(),r=t[i]!==Dt?t[i]:-1,o=r!==-1?Qa(t,Se+r):void 0,a=0;if(bt(t,i,e)){let c=B(null);try{if(o!==void 0&&m0(o,a),e!==-1){let d=Se+e,f=Qa(t,d),h=kd(t[V],d),g=b0(f,h,t),y=Uo(t,h,n,{dehydratedView:g});zo(f,y,a,Er(h,g))}}finally{B(c)}}else if(o!==void 0){let c=f0(o,a);c!==void 0&&(c[Fe]=n)}}var Id=class{lContainer;$implicit;$index;constructor(n,t,i){this.lContainer=n,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-Ve}};function qe(e,n){return n}var Sd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,i){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=i}};function je(e,n,t,i,r,o,a,c,d,f,h,g,y){Ir("NgControlFlow");let v=G(),_=$e(),A=d!==void 0,k=G(),I=c?a.bind(k[pt][Fe]):a,Y=new Sd(A,I);k[Se+e]=Y,Fo(v,_,e+1,n,t,i,r,kt(_.consts,o),256),A&&Fo(v,_,e+2,d,f,h,g,kt(_.consts,y),512)}var Td=class extends xd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,i){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=i}get length(){return this.lContainer.length-Ve}at(n){return this.getLView(n)[Fe].$implicit}attach(n,t){let i=t[_i];this.needsIndexUpdate||=n!==this.length,zo(this.lContainer,t,n,Er(this.templateTNode,i)),P_(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,F_(this.lContainer,n),V_(this.lContainer,n)}create(n,t){let i=Za(this.lContainer,this.templateTNode.tView.ssrId);return Uo(this.hostLView,this.templateTNode,new Id(this.lContainer,t,n),{dehydratedView:i})}destroy(n){ol(n[V],n)}updateValue(n,t){this.getLView(n)[Fe].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Fe].$index=n}getLView(n){return j_(this.lContainer,n)}};function He(e){let n=B(null),t=Cn();try{let i=G(),r=i[V],o=i[t],a=t+1,c=Qa(i,a);if(o.liveCollection===void 0){let f=kd(r,a);o.liveCollection=new Td(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(R_(d,e,o.trackByFn,n),d.updateIndexes(),o.hasEmptyBlock){let f=Zn(),h=d.length===0;if(bt(i,f,h)){let g=t+2,y=Qa(i,g);if(h){let v=kd(r,g),_=b0(y,v,i),A=Uo(i,v,void 0,{dehydratedView:_});zo(y,A,0,Er(v,_))}else r.firstUpdatePass&&V8(y),m0(y,0)}}}finally{B(n)}}function Qa(e,n){return e[n]}function P_(e,n){if(e.length<=Ve)return;let t=Ve+n,i=e[t],r=i?i[xi]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[yn];Z5(o,r),Ai.delete(i[_n]),r.detachedLeaveAnimationFns=void 0}}function F_(e,n){if(e.length<=Ve)return;let t=Ve+n,i=e[t],r=i?i[xi]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function V_(e,n){return Lo(e,n)}function j_(e,n){return f0(e,n)}function kd(e,n){return xo(e,n)}function M(e,n,t){let i=G(),r=Zn();if(bt(i,r,n)){let o=$e(),a=ka();c8(a,i,e,n,i[be],t)}return M}function Ad(e,n,t,i,r){Jd(n,e,t,r?"class":"style",i)}function D(e,n,t,i){let r=G(),o=r[V],a=e+Se,c=o.firstCreatePass?op(a,r,2,n,Qd,Ma(),t,i):o.data[a];if(Kd(c,r,e,n,O0),hr(c)){let d=r[V];al(d,r,c),jd(d,c,r)}return i!=null&&Bo(r,c),D}function T(){let e=$e(),n=ft(),t=Xd(n);return e.firstCreatePass&&sp(e,t),Hu(t)&&Bu(),Vu(),t.classesWithoutHost!=null&&q4(t)&&Ad(e,t,G(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Q4(t)&&Ad(e,t,G(),t.stylesWithoutHost,!1),T}function ie(e,n,t,i){return D(e,n,t,i),T(),ie}function Dn(e,n,t,i){let r=G(),o=r[V],a=e+Se,c=o.firstCreatePass?X8(a,o,2,n,t,i):o.data[a];return Kd(c,r,e,n,O0),i!=null&&Bo(r,c),Dn}function En(){let e=ft(),n=Xd(e);return Hu(n)&&Bu(),Vu(),En}function ml(e,n,t,i){return Dn(e,n,t,i),En(),ml}var O0=(e,n,t,i,r)=>(Io(!0),Vh(n[be],i,k1()));function fp(e,n,t){let i=G(),r=i[V],o=e+Se,a=r.firstCreatePass?op(o,i,8,"ng-container",Qd,Ma(),n,t):r.data[o];if(Kd(a,i,e,"ng-container",H_),hr(a)){let c=i[V];al(c,i,a),jd(c,a,i)}return t!=null&&Bo(i,a),fp}function mp(){let e=$e(),n=ft(),t=Xd(n);return e.firstCreatePass&&sp(e,t),mp}function nn(e,n,t){return fp(e,n,t),mp(),nn}var H_=(e,n,t,i,r)=>(Io(!0),x5(n[be],""));function Ee(){return G()}function hl(e,n,t){let i=G(),r=Zn();if(bt(i,r,n)){let o=$e(),a=ka();n0(a,i,e,n,i[be],t)}return hl}var $o="en-US";var B_=$o;function R0(e){typeof e=="string"&&(B_=e.toLowerCase().replace(/_/g,"-"))}function F(e,n,t){let i=G(),r=$e(),o=ft();return U_(r,i,i[be],o,e,n,t),F}function gl(e,n,t){let i=G(),r=$e(),o=ft();return(o.type&3||t)&&w0(o,r,i,t,i[be],e,n,Pa(o,i,n)),gl}function U_(e,n,t,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=Pa(i,n,o),w0(i,e,n,a,t,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??=Pa(i,n,o),J1(i,n,y,v,r,d)}if(f&&f.length)for(let g of f)d??=Pa(i,n,o),J1(i,n,g,r,r,d)}}function E(e=1){return T1(e)}function z_(e,n){let t=null,i=O5(e);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){t=r;continue}if(i===null?zh(e,o,!0):F5(i,o))return r}return t}function hp(e){let n=G()[pt][dt];if(!n.projection){let t=e?e.length:1,i=n.projection=i1(t,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=e?z_(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function gp(e,n=0,t,i,r,o){let a=G(),c=$e(),d=i?e+1:null;d!==null&&Fo(a,c,d,i,r,o,null,t);let f=Sr(c,Se+e,16,null,t||null);f.projection===null&&(f.projection=n),$u();let g=!a[_i]||ju();a[pt][dt].projection[f.projection]===null&&d!==null?$_(a,c,d):g&&!nl(f)&&n8(c,a,f)}function $_(e,n,t){let i=Se+t,r=n.data[i],o=e[i],a=Za(o,r.tView.ssrId),c=Uo(e,r,void 0,{dehydratedView:a});zo(o,c,0,Er(r,a))}function xn(e){let n=_1();return Ou(n,Se+e)}function Na(e,n){return e<<17|n<<2}function Li(e){return e>>17&32767}function Z_(e){return(e&2)==2}function W_(e,n){return e&131071|n<<17}function Nd(e){return e|2}function xr(e){return(e&131068)>>2}function cd(e,n){return e&-131069|n<<2}function G_(e){return(e&1)===1}function Ld(e){return e|1}function Y_(e,n,t,i,r,o){let a=o?n.classBindings:n.styleBindings,c=Li(a),d=xr(a);e[i]=t;let f=!1,h;if(Array.isArray(t)){let g=t;h=g[1],(h===null||dr(g,h)>0)&&(f=!0)}else h=t;if(r)if(d!==0){let y=Li(e[c+1]);e[i+1]=Na(y,c),y!==0&&(e[y+1]=cd(e[y+1],i)),e[c+1]=W_(e[c+1],i)}else e[i+1]=Na(c,0),c!==0&&(e[c+1]=cd(e[c+1],i)),c=i;else e[i+1]=Na(d,0),c===0?c=i:e[d+1]=cd(e[d+1],i),d=i;f&&(e[i+1]=Nd(e[i+1])),oh(e,h,i,!0),oh(e,h,i,!1),q_(n,h,e,i,o),a=Na(c,d),o?n.classBindings=a:n.styleBindings=a}function q_(e,n,t,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof n=="string"&&dr(o,n)>=0&&(t[i+1]=Ld(t[i+1]))}function oh(e,n,t,i){let r=e[t+1],o=n===null,a=i?Li(r):xr(r),c=!1;for(;a!==0&&(c===!1||o);){let d=e[a],f=e[a+1];Q_(d,n)&&(c=!0,e[a+1]=i?Ld(f):Nd(f)),a=i?Li(f):xr(f)}c&&(e[t+1]=i?Nd(r):Ld(r))}function Q_(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?dr(e,n)>=0:!1}var Ut={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function K_(e){return e.substring(Ut.key,Ut.keyEnd)}function X_(e){return J_(e),P0(e,F0(e,0,Ut.textEnd))}function P0(e,n){let t=Ut.textEnd;return t===n?-1:(n=Ut.keyEnd=eC(e,Ut.key=n,t),F0(e,n,t))}function J_(e){Ut.key=0,Ut.keyEnd=0,Ut.value=0,Ut.valueEnd=0,Ut.textEnd=e.length}function F0(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function eC(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function Kn(e,n,t){return V0(e,n,t,!1),Kn}function bl(e,n){return V0(e,n,null,!0),bl}function bp(e){nC(lC,tC,e,!0)}function tC(e,n){for(let t=X_(n);t>=0;t=P0(n,t))ba(e,K_(n),!0)}function V0(e,n,t,i){let r=G(),o=$e(),a=Gu(2);if(o.firstUpdatePass&&H0(o,e,a,i),n!==Dt&&bt(r,a,n)){let c=o.data[Cn()];B0(o,c,r,r[be],e,r[a+1]=uC(n,t),i,a)}}function nC(e,n,t,i){let r=$e(),o=Gu(2);r.firstUpdatePass&&H0(r,null,o,i);let a=G();if(t!==Dt&&bt(a,o,t)){let c=r.data[Cn()];if(U0(c,i)&&!j0(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(t=da(d,t||"")),Ad(r,c,a,t,i)}else cC(r,c,a,a[be],a[o+1],a[o+1]=aC(e,n,t),i,o)}}function j0(e,n){return n>=e.expandoStartIndex}function H0(e,n,t,i){let r=e.data;if(r[t+1]===null){let o=r[Cn()],a=j0(e,t);U0(o,i)&&n===null&&!a&&(n=!1),n=iC(r,o,n,i),Y_(r,o,n,t,a,i)}}function iC(e,n,t,i){let r=x1(e),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(t=ud(null,e,n,t,i),t=Vo(t,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||e[a]!==r)if(t=ud(r,e,n,t,i),o===null){let d=rC(e,n,i);d!==void 0&&Array.isArray(d)&&(d=ud(null,e,n,d[1],i),d=Vo(d,n.attrs,i),oC(e,n,i,d))}else o=sC(e,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),t}function rC(e,n,t){let i=t?n.classBindings:n.styleBindings;if(xr(i)!==0)return e[Li(i)]}function oC(e,n,t,i){let r=t?n.classBindings:n.styleBindings;e[Li(r)]=i}function sC(e,n,t){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=e[o].hostAttrs;i=Vo(i,a,t)}return Vo(i,n.attrs,t)}function ud(e,n,t,i,r){let o=null,a=t.directiveEnd,c=t.directiveStylingLast;for(c===-1?c=t.directiveStart:c++;c<a&&(o=n[c],i=Vo(i,o.hostAttrs,r),o!==e);)c++;return e!==null&&(t.directiveStylingLast=c),i}function Vo(e,n,t){let i=t?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let a=n[o];typeof a=="number"?r=a:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ba(e,a,t?!0:n[++o]))}return e===void 0?null:e}function aC(e,n,t){if(t==null||t==="")return lt;let i=[],r=il(t);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"&&n(i,r);return i}function lC(e,n,t){let i=String(n);i!==""&&!i.includes(" ")&&ba(e,i,t)}function cC(e,n,t,i,r,o,a,c){r===Dt&&(r=lt);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,A;h===g?(d+=2,f+=2,y!==v&&(_=g,A=v)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,A=v),_!==null&&B0(e,n,t,i,_,A,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function B0(e,n,t,i,r,o,a,c){if(!(n.type&3))return;let d=e.data,f=d[c+1],h=G_(f)?sh(d,n,t,r,xr(f),a):void 0;if(!Ka(h)){Ka(o)||Z_(f)&&(o=sh(d,null,t,r,c,a));let g=Lu(Cn(),t);r8(i,a,g,r,o)}}function sh(e,n,t,i,r,o){let a=n===null,c;for(;r>0;){let d=e[r],f=Array.isArray(d),h=f?d[1]:d,g=h===null,y=t[r+1];y===Dt&&(y=g?lt:void 0);let v=g?va(y,i):h===i?y:void 0;if(f&&!Ka(v)&&(v=va(d,i)),Ka(v)&&(c=v,a))return c;let _=e[r+1];r=a?Li(_):xr(_)}if(n!==null){let d=o?n.residualClasses:n.residualStyles;d!=null&&(c=va(d,i))}return c}function Ka(e){return e!==void 0}function uC(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Vn(il(e)))),e}function U0(e,n){return(e.flags&(n?8:16))!==0}function Q(e,n=""){let t=G(),i=$e(),r=e+Se,o=i.firstCreatePass?Sr(i,r,1,n,null):i.data[r],a=dC(i,t,o,n,e);t[r]=a,Aa()&&Yd(i,t,a,o),vr(o,!1)}var dC=(e,n,t,i,r)=>(Io(!0),D5(n[be],i));function pC(e,n,t,i=""){return bt(e,Zn(),t)?n+ur(t)+i:Dt}function Je(e){return xe("",e),Je}function xe(e,n,t){let i=G(),r=pC(i,e,n,t);return r!==Dt&&fC(i,Cn(),r),xe}function fC(e,n,t){let i=Lu(n,e);E5(e[be],i,t)}function me(e){return bt(G(),Zn(),e)?ur(e):Dt}function ah(e,n,t){let i=$e();i.firstCreatePass&&z0(n,i.data,i.blueprint,en(e),t)}function z0(e,n,t,i,r){if(e=Xe(e),Array.isArray(e))for(let o=0;o<e.length;o++)z0(e[o],n,t,i,r);else{let o=$e(),a=G(),c=ft(),d=gi(e)?e:Xe(e.provide),f=Su(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(gi(e)||!e.multi){let v=new ki(f,r,At,null),_=pd(d,n,r?h:h+y,g);_===-1?(md(Ba(c,a),o,d),dd(o,e,n.length),n.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(v),a.push(v)):(t[_]=v,a[_]=v)}else{let v=pd(d,n,h+y,g),_=pd(d,n,h,h+y),A=v>=0&&t[v],k=_>=0&&t[_];if(r&&!k||!r&&!A){md(Ba(c,a),o,d);let I=gC(r?hC:mC,t.length,r,i,f,e);!r&&k&&(t[_].providerFactory=I),dd(o,e,n.length,0),n.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(I),a.push(I)}else{let I=$0(t[r?_:v],f,!r&&i);dd(o,e,v>-1?v:_,I)}!r&&i&&k&&t[_].componentProviders++}}}function dd(e,n,t,i){let r=gi(n),o=a1(n);if(r||o){let d=(o?Xe(n.useClass):n).prototype.ngOnDestroy;if(d){let f=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){let h=f.indexOf(t);h===-1?f.push(t,[i,d]):f[h+1].push(i,d)}else f.push(t,d)}}}function $0(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function pd(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function mC(e,n,t,i,r){return Od(this.multi,[])}function hC(e,n,t,i,r){let o=this.multi,a;if(this.providerFactory){let c=this.providerFactory.componentProviders,d=Ua(i,i[V],this.providerFactory.index,r);a=d.slice(0,c),Od(o,a);for(let f=c;f<d.length;f++)a.push(d[f])}else a=[],Od(o,a);return a}function Od(e,n){for(let t=0;t<e.length;t++){let i=e[t];n.push(i())}return n}function gC(e,n,t,i,r,o){let a=new ki(e,t,At,null);return a.multi=[],a.index=n,a.componentProviders=0,$0(a,r,i&&!t),a}function Be(e,n){return t=>{t.providersResolver=(i,r)=>ah(i,r?r(e):e,!1),n&&(t.viewProvidersResolver=(i,r)=>ah(i,r?r(n):n,!0))}}function ht(e,n,t){return Z0(G(),yr(),e,n,t)}function Vi(e,n,t,i){return bC(G(),yr(),e,n,t,i)}function Mn(e,n,t,i,r){return vC(G(),yr(),e,n,t,i,r)}function vp(e,n,t,i,r,o,a){let c=yr()+e,d=G(),f=t_(d,c,t,i,r,o);return bt(d,c+4,a)||f?ul(d,c+5,n(t,i,r,o,a)):J8(d,c+5)}function yp(e,n){let t=e[n];return t===Dt?void 0:t}function Z0(e,n,t,i,r,o){let a=n+t;return bt(e,a,r)?ul(e,a+1,o?i.call(o,r):i(r)):yp(e,a+1)}function bC(e,n,t,i,r,o,a){let c=n+t;return Ga(e,c,r,o)?ul(e,c+2,a?i.call(a,r,o):i(r,o)):yp(e,c+2)}function vC(e,n,t,i,r,o,a,c){let d=n+t;return e_(e,d,r,o,a)?ul(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):yp(e,d+3)}function ve(e,n){let t=$e(),i,r=e+Se;t.firstCreatePass?(i=yC(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];let o=i.factory||(i.factory=jn(i.type,!0)),a,c=at(At);try{let d=Ha(!1),f=o();return Ha(d),Ru(t,G(),r,f),f}finally{at(c)}}function yC(e,n){if(n)for(let t=n.length-1;t>=0;t--){let i=n[t];if(e===i.name)return i}}function ye(e,n,t){let i=e+Se,r=G(),o=Ou(r,i);return _C(r,i)?Z0(r,yr(),n,o.transform,t,o):o.transform(t)}function _C(e,n){return e[V].data[n].pure}function Ar(e,n){return g0(e,n)}var W0=(()=>{class e{applicationErrorHandler=L(Gn);appRef=L(kr);taskService=L(Si);ngZone=L(ut);zonelessEnabled=L(So);tracing=L(Ri,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ot;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ho):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(L(td,{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()}))}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;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())return;let i=this.useMicrotaskScheduler?Xu:Ku;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ho+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(t),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Xu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function G0(){return[{provide:vn,useExisting:W0},{provide:ut,useClass:go},{provide:So,useValue:!0}]}function CC(){return typeof $localize<"u"&&$localize.locale||$o}var vl=new Z("",{factory:()=>L(vl,{optional:!0,skipSelf:!0})||CC()});function yl(e,n){return Ls(e,n?.equal)}var Q0=Symbol("InputSignalNode#UNSET"),RC=gt(Ae({},Os),{transformFn:void 0,applyValueToInputSignal(e,n){ao(e,n)}});function K0(e,n){let t=Object.create(RC);t.value=e,t.transformFn=n?.transform;function i(){if(ro(t),t.value===Q0){let r=null;throw new U(-950,r)}return t.value}return i[rt]=t,i}function Y0(e,n){return K0(e,n)}function PC(e){return K0(Q0,e)}var Wo=(Y0.required=PC,Y0);var _p=new Z(""),FC=new Z("");function Zo(e){return!e.moduleRef}function VC(e){let n=Zo(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ut);return t.run(()=>{Zo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=n.get(Gn),r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:i})}),Zo(e)){let o=()=>n.destroy(),a=e.platformInjector.get(_p);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(_p);a.add(o),e.moduleRef.onDestroy(()=>{Ao(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return HC(i,t,()=>{let o=n.get(Si),a=o.add(),c=n.get(dp);return c.runInitializers(),c.donePromise.then(()=>{let d=n.get(vl,$o);if(R0(d||$o),!n.get(FC,!0))return Zo(e)?n.get(kr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Zo(e)){let h=n.get(kr);return e.rootComponent!==void 0&&h.bootstrap(e.rootComponent),h}else return jC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void o.remove(a))})})}var jC;function HC(e,n,t){try{let i=t();return fl(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e(i)),i}}var _l=null;function BC(e=[],n){return Kt.create({name:n,providers:[{provide:_o,useValue:"platform"},{provide:_p,useValue:new Set([()=>_l=null])},...e]})}function UC(e=[]){if(_l)return _l;let n=BC(e);return _l=n,N0(),zC(n),n}function zC(e){let n=e.get(el,null);pr(e,()=>{n?.forEach(t=>t())})}var Ep=(()=>{class e{static __NG_ELEMENT_ID__=$C}return e})();function $C(e){return ZC(ft(),G(),(e&16)===16)}function ZC(e,n,t){if($n(e)&&!t){let i=Tt(e.index,n);return new qn(i,i)}else if(e.type&175){let i=n[pt];return new qn(i,n)}return null}var Cp=class{constructor(){}supports(n){return n instanceof Map||ap(n)}create(){return new wp}},wp=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||ap(n)))throw new U(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let r=this._records.get(n);this._maybeAddToChanges(r,t);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 Dp(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}},Dp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function q0(){return new xp([new Cp])}var xp=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:q0});factories;constructor(t){this.factories=t}static create(t,i){if(i){let r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let i=L(e,{optional:!0,skipSelf:!0});return e.create(t,i||q0())}}}find(t){let i=this.factories.find(r=>r.supports(t));if(i)return i;throw new U(901,!1)}}return e})();function X0(e){let{rootComponent:n,appProviders:t,platformProviders:i,platformRef:r}=e;fe(le.BootstrapApplicationStart);try{let o=r?.injector??UC(i),a=[G0(),R1,...t||[]],c=new Po({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return VC({r3Injector:c.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{fe(le.BootstrapApplicationEnd)}}function x(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var WC={schedule(e,n){let t=setTimeout(e,n);return()=>clearTimeout(t)}};function GC(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function YC(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Mp;function qC(e,n){if(!Mp){let t=Element.prototype;Mp=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Mp.call(e,n):!1}function QC(e){let n={};return e.forEach(({propName:t,templateName:i,transform:r})=>{n[GC(i)]=[t,r]}),n}function KC(e,n){return n.get(Pi).resolveComponentFactory(e).inputs}function XC(e,n){let t=e.childNodes,i=n.map(()=>[]),r=-1;n.some((o,a)=>o==="*"?(r=a,!0):!1);for(let o=0,a=t.length;o<a;++o){let c=t[o],d=JC(c,n,r);d!==-1&&i[d].push(c)}return i}function JC(e,n,t){let i=t;return YC(e)&&n.some((r,o)=>r!=="*"&&qC(e,r)?(i=o,!0):!1),i}var e9=10,Ip=class{componentFactory;inputMap=new Map;constructor(n,t){this.componentFactory=t.get(Pi).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new Sp(this.componentFactory,n,this.inputMap)}},Sp=class{componentFactory;injector;inputMap;eventEmitters=new Rn(1);events=this.eventEmitters.pipe(Fn(n=>Yc(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,t,i){this.componentFactory=n,this.injector=t,this.inputMap=i,this.ngZone=this.injector.get(ut),this.appRef=this.injector.get(kr),this.cdScheduler=t.get(vn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=WC.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},e9))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t){if(this.componentRef===null){this.initialInputValues.set(n,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,t),np(this.componentRef.hostView)&&(ip(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let t=Kt.create({providers:[],parent:this.injector}),i=XC(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[n,t]of this.initialInputValues)this.setInputValue(n,t);this.initialInputValues.clear()}initializeOutputs(n){let t=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=n.instance[i];return new re(a=>{let c=o.subscribe(d=>a.next({name:r,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(t)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Tp=class extends HTMLElement{ngElementEventsSubscription=null};function vt(e,n){let t=KC(e,n.injector),i=n.strategyFactory||new Ip(e,n.injector),r=QC(t);class o extends Tp{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||n.injector);t.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 t.forEach(({propName:a,transform:c,isSignal:d})=>{Object.defineProperty(o.prototype,a,{get(){let f=this.ngElementStrategy.getInputValue(a);return d&&lp(f)?f():f},set(f){this.ngElementStrategy.setInputValue(a,f,c)},configurable:!0,enumerable:!0})}),o}var J0=null;function Xn(){return J0}function kp(e){J0??=e}var Go=class{},Cl=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:()=>L(eg),providedIn:"platform"})}return e})();var eg=(()=>{class e extends Cl{_location;_history;_doc=L(mt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xn().getBaseHref(this._doc)}onPopState(t){let i=Xn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){let i=Xn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:()=>new e,providedIn:"platform"})}return e})();var Ap=/\s+/,tg=[],Ue=(()=>{class e{_ngEl;_renderer;initialClasses=tg;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=t!=null?t.trim().split(Ap):tg}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ap):t}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let i of t)this._updateState(i,!0);else if(t!=null)for(let i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let i=t[0],r=t[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(t,i){t=t.trim(),t.length>0&&t.split(Ap).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)(At(Qn),At(cl))};static \u0275dir=Tr({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Np=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){let[r,o]=t.split("."),a=r.indexOf("-")===-1?void 0:$t.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)(At(Qn),At(xp),At(cl))};static \u0275dir=Tr({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Yo=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){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(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)(At(dl))};static \u0275dir=Tr({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Zt]})}return e})();var Oe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Fi({type:e});static \u0275inj=Bn({})}return e})();function qo(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let i=t.indexOf("="),[r,o]=i==-1?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var ji=class{};var ng="browser";var Qo=class{_doc;constructor(n){this._doc=n}manager},wl=(()=>{class e extends Qo{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r,o){return t.addEventListener(i,r,o),()=>this.removeEventListener(t,i,r,o)}removeEventListener(t,i,r,o){return t.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(X(mt))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),xl=new Z(""),Pp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,i){this._zone=i,t.forEach(a=>{a.manager=this});let r=t.filter(a=>!(a instanceof wl));this._plugins=r.slice().reverse();let o=t.find(a=>a instanceof wl);o&&this._plugins.push(o)}addEventListener(t,i,r,o){return this._findPluginFor(i).addEventListener(t,i,r,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new U(5101,!1);return this._eventNameToPlugin.set(t,i),i}static \u0275fac=function(i){return new(i||e)(X(xl),X(ut))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Lp="ng-app-id";function ig(e){for(let n of e)n.remove()}function rg(e,n){let t=n.createElement("style");return t.textContent=e,t}function n9(e,n,t,i){let r=e.head?.querySelectorAll(`style[${Lp}="${n}"],link[${Lp}="${n}"]`);if(r)for(let o of r)o.removeAttribute(Lp),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}function Rp(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Fp=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,n9(t,i,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,i){for(let r of t)this.addUsage(r,this.inline,rg);i?.forEach(r=>this.addUsage(r,this.external,Rp))}removeStyles(t,i){for(let r of t)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,i,r){let o=i.get(t);o?o.usage++:i.set(t,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(t,this.doc)))})}removeUsage(t,i){let r=i.get(t);r&&(r.usage--,r.usage<=0&&(ig(r.elements),i.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])ig(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(t,rg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(t,Rp(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(X(mt),X(Ja),X(tl,8),X(Ho))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Op={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"},Vp=/%COMP%/g;var sg="%COMP%",i9=`_nghost-${sg}`,r9=`_ngcontent-${sg}`,o9=!0,s9=new Z("",{factory:()=>o9});function a9(e){return r9.replace(Vp,e)}function l9(e){return i9.replace(Vp,e)}function ag(e,n){return n.map(t=>t.replace(Vp,e))}var jp=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,i,r,o,a,c,d=null,f=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=c,this.nonce=d,this.tracingService=f,this.defaultRenderer=new Ko(t,a,c,this.tracingService)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(t,i);return r instanceof El?r.applyToHost(t):r instanceof Xo&&r.applyStyles(),r}getOrCreateRenderer(t,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.tracingService;switch(i.encapsulation){case zt.Emulated:o=new El(d,f,i,this.appId,h,a,c,g);break;case zt.ShadowDom:return new Dl(d,t,i,a,c,this.nonce,g,f);case zt.ExperimentalIsolatedShadowDom:return new Dl(d,t,i,a,c,this.nonce,g);default:o=new Xo(d,f,i,h,a,c,g);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(i){return new(i||e)(X(Pp),X(Fp),X(Ja),X(s9),X(mt),X(ut),X(tl),X(Ri,8))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Ko=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Op[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(og(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(og(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new U(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;let o=Op[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){let r=Op[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&($t.DashCase|$t.Important)?n.style.setProperty(t,i,r&$t.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&$t.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){n!=null&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i,r){if(typeof n=="string"&&(n=Xn().getGlobalEventTarget(this.doc,n),!n))throw new U(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,t,o)),this.eventManager.addEventListener(n,t,o,r)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function og(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Dl=class extends Ko{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,i,r,o,a,c,d){super(n,r,o,c),this.hostEl=t,this.sharedStylesHost=d,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let f=i.styles;f=ag(i.id,f);for(let g of f){let y=document.createElement("style");a&&y.setAttribute("nonce",a),y.textContent=g,this.shadowRoot.appendChild(y)}let h=i.getExternalStyles?.();if(h)for(let g of h){let y=Rp(g,r);a&&y.setAttribute("nonce",a),this.shadowRoot.appendChild(y)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Xo=class extends Ko{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,i,r,o,a,c,d){super(n,o,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let f=i.styles;this.styles=d?ag(d,f):f,this.styleUrls=i.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ai.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},El=class extends Xo{contentAttr;hostAttr;constructor(n,t,i,r,o,a,c,d){let f=r+"-"+i.id;super(n,t,i,o,a,c,d,f),this.contentAttr=a9(f),this.hostAttr=l9(f)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}};var Ml=class e extends Go{supportsDOMEvents=!0;static makeCurrent(){kp(new e)}onAndCancel(n,t,i,r){return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=c9();return t==null?null:u9(t)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return qo(document.cookie,n)}},Jo=null;function c9(){return Jo=Jo||document.head.querySelector("base"),Jo?Jo.getAttribute("href"):null}function u9(e){return new URL(e,document.baseURI).pathname}var d9=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),lg=["alt","control","meta","shift"],p9={"\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"},f9={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},cg=(()=>{class e extends Qo{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,i,r,o){let a=e.parseEventName(i),c=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xn().onAndCancel(t,a.domEventName,c,o))}static parseEventName(t){let i=t.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."),lg.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(t,i){let r=p9[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),lg.forEach(a=>{if(a!==r){let c=f9[a];c(t)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(i){return new(i||e)(X(mt))};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function Hp(e){return X0(m9(e))}function m9(e){return{appProviders:[...y9,...e?.providers??[]],platformProviders:v9}}function h9(){Ml.makeCurrent()}function g9(){return new bn}function b9(){return Vd(document),document}var v9=[{provide:Ho,useValue:ng},{provide:el,useValue:h9,multi:!0},{provide:mt,useFactory:b9}];var y9=[{provide:_o,useValue:"root"},{provide:bn,useFactory:g9},{provide:xl,useClass:wl,multi:!0},{provide:xl,useClass:cg,multi:!0},jp,Fp,Pp,{provide:Ni,useExisting:jp},{provide:ji,useClass:d9},[]];var Jn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
+ `).forEach(t=>{let i=t.indexOf(":");if(i>0){let r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,t);let r=(n.op==="a"?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":let o=n.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let a=this.headers.get(t);if(!a)return;a=a.filter(c=>o.indexOf(c)===-1),a.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}break}}addHeaderEntry(n,t){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(n,t){let i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Sl=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},Tl=class{encodeKey(n){return ug(n)}encodeValue(n){return ug(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function _9(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,c]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],d=t.get(a)||[];d.push(c),t.set(a,d)}),t}var C9=/%(\d[a-f0-9])/gi,w9={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ug(e){return encodeURIComponent(e).replace(C9,(n,t)=>w9[t]??n)}function Il(e){return`${e}`}var In=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Tl,n.fromString){if(n.fromObject)throw new U(2805,!1);this.map=_9(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let i=n.fromObject[t],r=Array.isArray(i)?i.map(Il):[Il(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Il(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Il(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function D9(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function dg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function pg(e){return typeof Blob<"u"&&e instanceof Blob}function fg(e){return typeof FormData<"u"&&e instanceof FormData}function E9(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var mg="Content-Type",hg="Accept",gg="text/plain",bg="application/json",x9=`${bg}, ${gg}, */*`,Nr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,i,r){this.url=t,this.method=n.toUpperCase();let o;if(D9(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 U(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),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Jn,this.context??=new Sl,!this.params)this.params=new In,this.urlWithParams=t;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=t;else{let c=t.indexOf("?"),d=c===-1?"?":c<t.length-1?"&":"";this.urlWithParams=t+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||dg(this.body)||pg(this.body)||fg(this.body)||E9(this.body)?this.body:this.body instanceof In?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||fg(this.body)?null:pg(this.body)?this.body.type||null:dg(this.body)?null:typeof this.body=="string"?gg:this.body instanceof In?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?bg:null}clone(n={}){let t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,a=n.priority||this.priority,c=n.cache||this.cache,d=n.mode||this.mode,f=n.redirect||this.redirect,h=n.credentials||this.credentials,g=n.referrer||this.referrer,y=n.integrity||this.integrity,v=n.referrerPolicy||this.referrerPolicy,_=n.transferCache??this.transferCache,A=n.timeout??this.timeout,k=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,Y=n.reportProgress??this.reportProgress,Me=n.headers||this.headers,ce=n.params||this.params,ke=n.context??this.context;return n.setHeaders!==void 0&&(Me=Object.keys(n.setHeaders).reduce((O,se)=>O.set(se,n.setHeaders[se]),Me)),n.setParams&&(ce=Object.keys(n.setParams).reduce((O,se)=>O.set(se,n.setParams[se]),ce)),new e(t,i,k,{params:ce,headers:Me,context:ke,reportProgress:Y,responseType:r,withCredentials:I,transferCache:_,keepalive:o,cache:c,priority:a,timeout:A,mode:d,redirect:f,credentials:h,referrer:g,integrity:y,referrerPolicy:v})}},Hi=(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})(Hi||{}),Or=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,i="OK"){this.headers=n.headers||new Jn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},kl=class e extends Or{constructor(n={}){super(n)}type=Hi.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},es=class e extends Or{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Hi.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Lr=class extends Or{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},M9=200,I9=204;var S9=new Z("");var T9=/^\)\]\}',?\n/;var Up=(()=>{class e{xhrFactory;tracingService=L(Ri,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new U(-2800,!1);let i=this.xhrFactory;return hn(null).pipe(Fn(()=>new re(o=>{let a=i.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((k,I)=>a.setRequestHeader(k,I.join(","))),t.headers.has(hg)||a.setRequestHeader(hg,x9),!t.headers.has(mg)){let k=t.detectContentTypeHeader();k!==null&&a.setRequestHeader(mg,k)}if(t.timeout&&(a.timeout=t.timeout),t.responseType){let k=t.responseType.toLowerCase();a.responseType=k!=="json"?k:"text"}let c=t.serializeBody(),d=null,f=()=>{if(d!==null)return d;let k=a.statusText||"OK",I=new Jn(a.getAllResponseHeaders()),Y=a.responseURL||t.url;return d=new kl({headers:I,status:a.status,statusText:k,url:Y}),d},h=this.maybePropagateTrace(()=>{let{headers:k,status:I,statusText:Y,url:Me}=f(),ce=null;I!==I9&&(ce=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=ce?M9:0);let ke=I>=200&&I<300;if(t.responseType==="json"&&typeof ce=="string"){let O=ce;ce=ce.replace(T9,"");try{ce=ce!==""?JSON.parse(ce):null}catch(se){ce=O,ke&&(ke=!1,ce={error:se,text:ce})}}ke?(o.next(new es({body:ce,headers:k,status:I,statusText:Y,url:Me||void 0})),o.complete()):o.error(new Lr({error:ce,headers:k,status:I,statusText:Y,url:Me||void 0}))}),g=this.maybePropagateTrace(k=>{let{url:I}=f(),Y=new Lr({error:k,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});o.error(Y)}),y=g;t.timeout&&(y=this.maybePropagateTrace(k=>{let{url:I}=f(),Y=new Lr({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:I||void 0});o.error(Y)}));let v=!1,_=this.maybePropagateTrace(k=>{v||(o.next(f()),v=!0);let I={type:Hi.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(I.total=k.total),t.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),o.next(I)}),A=this.maybePropagateTrace(k=>{let I={type:Hi.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),t.reportProgress&&(a.addEventListener("progress",_),c!==null&&a.upload&&a.upload.addEventListener("progress",A)),a.send(c),o.next({type:Hi.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",y),t.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)(X(ji))};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function k9(e,n){return n(e)}function A9(e,n,t){return(i,r)=>pr(t,()=>n(i,o=>e(o,r)))}var vg=new Z("",{factory:()=>[]}),yg=new Z(""),_g=new Z("",{factory:()=>!0});var Rr=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=X(Up),r},providedIn:"root"})}return e})();var Al=(()=>{class e{backend;injector;chain=null;pendingTasks=L(To);contributeToStability=L(_g);constructor(t,i){this.backend=t,this.injector=i}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(vg),...this.injector.get(yg,[])]));this.chain=i.reduceRight((r,o)=>A9(r,o,this.injector),k9)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(Qc(i))}else return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(X(Rr),X(ct))};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zp=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=X(Al),r},providedIn:"root"})}return e})();function Bp(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Pr=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof Nr)o=t;else{let d;r.headers instanceof Jn?d=r.headers:d=new Jn(r.headers);let f;r.params&&(r.params instanceof In?f=r.params:f=new In({fromObject:r.params})),o=new Nr(t,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,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=hn(o).pipe(uo(d=>this.handler.handle(d)));if(t instanceof Nr||r.observe==="events")return a;let c=a.pipe(qc(d=>d instanceof es));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(st(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new U(2806,!1);return d.body}));case"blob":return c.pipe(st(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new U(2807,!1);return d.body}));case"text":return c.pipe(st(d=>{if(d.body!==null&&typeof d.body!="string")throw new U(2808,!1);return d.body}));case"json":default:return c.pipe(st(d=>d.body))}case"response":return c;default:throw new U(2809,!1)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:new In().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,Bp(r,i))}post(t,i,r={}){return this.request("POST",t,Bp(r,i))}put(t,i,r={}){return this.request("PUT",t,Bp(r,i))}static \u0275fac=function(i){return new(i||e)(X(zp))};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var N9=new Z("",{factory:()=>!0}),L9="XSRF-TOKEN",O9=new Z("",{factory:()=>L9}),R9="X-XSRF-TOKEN",P9=new Z("",{providedIn:"root",factory:()=>R9}),F9=(()=>{class e{cookieName=L(O9);doc=L(mt);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=qo(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Cg=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:function(i){let r=null;return i?r=new(i||e):r=X(F9),r},providedIn:"root"})}return e})();function V9(e,n){if(!L(N9)||e.method==="GET"||e.method==="HEAD")return n(e);try{let r=L(Cl).href,{origin:o}=new URL(r),{origin:a}=new URL(e.url,o);if(o!==a)return n(e)}catch{return n(e)}let t=L(Cg).getToken(),i=L(P9);return t!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,t)})),n(e)}function $p(...e){let n=[Pr,Al,{provide:zp,useExisting:Al},{provide:Rr,useFactory:()=>L(S9,{optional:!0})??L(Up)},{provide:vg,useValue:V9,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return ya(n)}var Ui=class{},j9=(()=>{class e{handle(t){return t.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Fr=class{},H9=(()=>{class e extends Fr{compile(t,i){return t}compileTranslations(t,i){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Oi(e)))(r||e)}})();static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),ti=class{},B9=(()=>{class e extends ti{getTranslation(t){return hn({})}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Oi(e)))(r||e)}})();static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function Nl(e,n){if(e===n)return!0;if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,i=typeof n,r;if(t==i&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((r=e.length)==n.length){for(let o=0;o<r;o++)if(!Nl(e[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(Sn(e)&&Sn(n)){let o=Object.create(null);for(let a in e){if(!Nl(e[a],n[a]))return!1;o[a]=!0}for(let a in n)if(!(a in o)&&typeof n[a]<"u")return!1;return!0}}return!1}function ei(e){return typeof e<"u"&&e!==null}function wg(e){return e!==void 0}function Sn(e){return ns(e)&&!Bi(e)&&e!==null}function ns(e){return typeof e=="object"&&e!==null}function Bi(e){return Array.isArray(e)}function Ll(e){return typeof e=="string"}function U9(e){return typeof e=="function"}function Ol(e){if(Bi(e))return e.map(n=>Ol(n));if(Sn(e)){let n={};return Object.keys(e).forEach(t=>{n[t]=Ol(e[t])}),n}else return e}function Gp(e,n){if(!ns(e))return Ol(n);let t=Ol(e);return ns(t)&&ns(n)&&Object.keys(n).forEach(i=>{Sn(n[i])?i in e?t[i]=Gp(e[i],n[i]):Object.assign(t,{[i]:n[i]}):Object.assign(t,{[i]:n[i]})}),t}function Eg(e,n){let t=n.split(".");n="";do{n+=t.shift();let i=!t.length;if(ei(e)){if(Sn(e)&&wg(e[n])&&(Sn(e[n])||Bi(e[n])||i)){e=e[n],n="";continue}if(Bi(e)){let r=parseInt(n,10);if(wg(e[r])&&(Sn(e[r])||Bi(e[r])||i)){e=e[r],n="";continue}}}if(i){e=void 0;continue}n+="."}while(t.length);return e}function z9(e,n,t){return Gp(e,$9(n,t))}function $9(e,n){return e.split(".").reduceRight((t,i)=>({[i]:t}),n)}var Vr=class{},Z9=(()=>{class e extends Vr{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(t,i){if(Ll(t))return this.interpolateString(t,i);if(U9(t))return this.interpolateFunction(t,i)}interpolateFunction(t,i){return t(i)}interpolateString(t,i){return i?t.replace(this.templateMatcher,(r,o)=>{let a=this.getInterpolationReplacement(i,o);return a!==void 0?a:r}):t}getInterpolationReplacement(t,i){return this.formatValue(Eg(t,i))}formatValue(t){if(Ll(t))return t;if(typeof t=="number"||typeof t=="boolean")return t.toString();if(t===null)return"null";if(Bi(t))return t.join(", ");if(ns(t))return typeof t.toString=="function"&&t.toString!==Object.prototype.toString?t.toString():JSON.stringify(t)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Oi(e)))(r||e)}})();static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Zp=(()=>{class e{_onTranslationChange=new nt;_onLangChange=new nt;_onFallbackLangChange=new nt;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(t){return this.translations[t]}setTranslations(t,i,r){this.translations[t]=r&&this.hasTranslationFor(t)?Gp(this.translations[t],i):i,this.addLanguages([t]),this._onTranslationChange.next({lang:t,translations:this.getTranslations(t)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(t,i=!0){this.fallbackLang=t,i&&this._onFallbackLangChange.next({lang:t,translations:this.translations[t]})}setCurrentLang(t,i=!0){this.currentLang=t,i&&this._onLangChange.next({lang:t,translations:this.translations[t]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(t){this.languages=Array.from(new Set([...this.languages,...t]))}hasTranslationFor(t){return typeof this.translations[t]<"u"}deleteTranslations(t){delete this.translations[t]}getTranslation(t){let i=this.getValue(this.currentLang,t);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,t)),i}getValue(t,i){return Eg(this.getTranslations(t),i)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),Wp=new Z("TRANSLATE_CONFIG"),ts=e=>Pn(e)?e:hn(e);var Te=(()=>{class e{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=L(ti);compiler=L(Fr);parser=L(Vr);missingTranslationHandler=L(Ui);store=L(Zp);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let t=Ae({extend:!1,fallbackLang:null},L(Wp,{optional:!0}));t.lang&&this.use(t.lang),t.fallbackLang&&this.setFallbackLang(t.fallbackLang),t.extend&&(this.extend=!0)}setFallbackLang(t){this.getFallbackLang()||this.store.setFallbackLang(t,!1);let i=this.loadOrExtendLanguage(t);return Pn(i)?(i.pipe(ar(1)).subscribe({next:()=>{this.store.setFallbackLang(t)},error:()=>{}}),i):(this.store.setFallbackLang(t),hn(this.store.getTranslations(t)))}use(t){this.lastUseLanguage=t,this.getCurrentLang()||this.store.setCurrentLang(t,!1);let i=this.loadOrExtendLanguage(t);return Pn(i)?(i.pipe(ar(1)).subscribe({next:()=>{this.changeLang(t)},error:()=>{}}),i):(this.changeLang(t),hn(this.store.getTranslations(t)))}loadOrExtendLanguage(t){if(!this.store.hasTranslationFor(t)||this.extend)return this._translationRequests[t]=this._translationRequests[t]||this.loadAndCompileTranslations(t),this._translationRequests[t]}changeLang(t){t===this.lastUseLanguage&&this.store.setCurrentLang(t)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(t){this.pending=!0;let i=this.currentLoader.getTranslation(t).pipe(ra(1),ar(1));return this.loadingTranslations=i.pipe(st(r=>this.compiler.compileTranslations(r,t)),ra(1),ar(1)),this.loadingTranslations.subscribe({next:r=>{this.store.setTranslations(t,r,this.extend),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(t,i,r=!1){let o=this.compiler.compileTranslations(i,t);this.store.setTranslations(t,o,r||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(t){this.store.addLanguages(t)}getParsedResultForKey(t,i){let r=this.getTextToInterpolate(t);if(ei(r))return this.runInterpolation(r,i);let o=this.missingTranslationHandler.handle(Ae({key:t,translateService:this},i!==void 0&&{interpolateParams:i}));return o!==void 0?o:t}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(t){return this.store.getTranslation(t)}runInterpolation(t,i){if(ei(t))return Bi(t)?this.runInterpolationOnArray(t,i):Sn(t)?this.runInterpolationOnDict(t,i):this.parser.interpolate(t,i)}runInterpolationOnArray(t,i){return t.map(r=>this.runInterpolation(r,i))}runInterpolationOnDict(t,i){let r={};for(let o in t){let a=this.runInterpolation(t[o],i);a!==void 0&&(r[o]=a)}return r}getParsedResult(t,i){return t instanceof Array?this.getParsedResultForArray(t,i):this.getParsedResultForKey(t,i)}getParsedResultForArray(t,i){let r={},o=!1;for(let c of t)r[c]=this.getParsedResultForKey(c,i),o=o||Pn(r[c]);if(!o)return r;let a=t.map(c=>ts(r[c]));return Gc(a).pipe(st(c=>{let d={};return c.forEach((f,h)=>{d[t[h]]=f}),d}))}get(t,i){if(!ei(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(uo(()=>ts(this.getParsedResult(t,i)))):ts(this.getParsedResult(t,i))}getStreamOnTranslationChange(t,i){if(!ei(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return na(ia(()=>this.get(t,i)),this.onTranslationChange.pipe(Fn(()=>{let r=this.getParsedResult(t,i);return ts(r)})))}stream(t,i){if(!ei(t)||!t.length)throw new Error('Parameter "key" required');return na(ia(()=>this.get(t,i)),this.onLangChange.pipe(Fn(()=>{let r=this.getParsedResult(t,i);return ts(r)})))}instant(t,i){if(!ei(t)||t.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(t,i);return Pn(r)?Array.isArray(t)?t.reduce((o,a)=>(o[a]=a,o),{}):t:r}set(t,i,r=this.getCurrentLang()){this.store.setTranslations(r,z9(this.store.getTranslations(r),t,Ll(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),!1)}reloadLang(t){return this.resetLang(t),this.loadAndCompileTranslations(t)}resetLang(t){delete this._translationRequests[t],this.store.deleteTranslations(t)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let t=this.getBrowserCultureLang();return t?t.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return e.getBrowserLang()}getBrowserCultureLang(){return e.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(t){return this.setFallbackLang(t)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();var Qe=(()=>{class e{translate=L(Te);_ref=L(Ep);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(t,i,r){let o=a=>{this.value=a!==void 0?a:t,this.lastKey=t,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(t,i);Pn(a)?a.subscribe(o):o(a)}this.translate.get(t,i).subscribe(o)}transform(t,...i){if(!t||!t.length)return t;if(Nl(t,this.lastKey)&&Nl(i,this.lastParams))return this.value;let r;if(ei(i[0])&&i.length)if(Ll(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 Sn(i[0])&&(r=i[0]);return this.lastKey=t,this.lastParams=i,this.updateValue(t,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{(this.lastKey&&o.lang===this.translate.getCurrentLang()||o.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,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.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=pl({name:"translate",type:e,pure:!1});static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function W9(e){return{provide:ti,useClass:e}}function G9(e){return{provide:Fr,useClass:e}}function Y9(e){return{provide:Vr,useClass:e}}function q9(e){return{provide:Ui,useClass:e}}function Dg(e={},n){let t=[];e.loader&&t.push(e.loader),e.compiler&&t.push(e.compiler),e.parser&&t.push(e.parser),e.missingTranslationHandler&&t.push(e.missingTranslationHandler),n&&t.push(Zp),(e.useDefaultLang||e.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),e.useDefaultLang===!0&&e.defaultLanguage&&(e.fallbackLang=e.defaultLanguage));let i={fallbackLang:e.fallbackLang??null,lang:e.lang,extend:e.extend??!1};return t.push({provide:Wp,useValue:i}),t.push({provide:Te,useClass:Te,deps:[Zp,ti,Fr,Vr,Ui,Wp]}),t}var Re=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[...Dg(Ae({compiler:G9(H9),parser:Y9(Z9),loader:W9(B9),missingTranslationHandler:q9(j9)},t),!0)]}}static forChild(t={}){return{ngModule:e,providers:[...Dg(t,t.isolate??!1)]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Fi({type:e});static \u0275inj=Bn({})}return e})();var Ke=(()=>{class e{constructor(){this.translateService=L(Te),this._selectedLanguage=Yn("en"),this._localizedStrings=Yn({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(t){this._selectedLanguage.set(t),this.translateService.use(t);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(i){console.error(i)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(t){this._localizedStrings.set(t),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,t)}catch(i){console.error(i)}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[Be([Te])],decls:2,vars:0,template:function(i,r){i&1&&(Dn(0,"p"),Q(1," localized widget works! "),En())},dependencies:[Re],encapsulation:3})}}return e})();function he(e,n,t=null){if(!n){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[n]=="function"&&i[n]({detail:t});let r=e;n in r&&r[n].emit(t)}var Rl=(()=>{class e extends Ke{constructor(){super(),this.bimplusContactClicked=new oe}_contactClicked(){he(this,"bimplusContactClicked","contact")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[Be([Te]),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(i,r){i&1&&(Dn(0,"a",0),ve(1,"translate"),gl("click",function(){return r._contactClicked()}),ml(2,"div",1),En()),i&2&&hl("title",ye(1,1,"_BimplusContactTitle"))},dependencies:[Re,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})}}return e})();var Q9=(e,n)=>({open:e,"expand-up":n});function K9(e,n){if(e&1){let t=Ee();D(0,"li",7),F("click",function(){let r=j(t).$implicit,o=E();return H(o._switchLanguage(r.symbol))})("keypress",function(){let r=j(t).$implicit,o=E();return H(o._switchLanguage(r.symbol))}),D(1,"span"),Q(2),T()()}if(e&2){let t=n.$implicit,i=E();M("ngClass",i.selectedLanguage===t.symbol?"selected":""),wn("data-test","langmenu_item_"+t.text),w(2),Je(t.text)}}var Pl=(()=>{class e{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new oe}_switchLanguage(t){he(this,"bimplusLanguageSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",x],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",x]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},decls:8,vars:7,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(i,r){i&1&&(D(0,"div",0),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),T(),D(1,"div",1),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),D(2,"div",2),ie(3,"div",3)(4,"span",4),T(),D(5,"ul",5),je(6,K9,3,3,"li",6,qe),T()()),i&2&&(M("ngClass",r._menuOpened?"open":""),w(),M("ngClass",r._menuOpened?"open":"")("ngClass",r.isTouch?"is-touch":""),w(4),M("ngClass",Vi(4,Q9,r._menuOpened,r.expandUp)),w(),He(r._languagesList))},dependencies:[Oe,Ue],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--language-menu-dropdown-open-text-color-enabled);background-color:var(--language-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--language-menu-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--language-menu-dropdown-menu-background-color-enabled);border:thin solid var(--language-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--language-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--language-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}
10
+ `],encapsulation:3})}}return e})();var X9=(e,n,t)=>({collapsed:e,"mini-mode":n,"is-touch":t}),xg=(e,n)=>n.id;function J9(e,n){if(e&1){let t=Ee();D(0,"div",4),ve(1,"translate"),F("dblclick",function(r){j(t);let o=E(3);return H(o._menuItemIgnoreAction(r))})("click",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"normal",r))})("keypress",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"normal",r))}),ie(2,"div",5),D(3,"div",6),F("click",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"info",r))})("keypress",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let t=E().$implicit,i=E(2);M("ngClass",i._getPrjItemClassAttributes(t,i.isTouch))("title",ye(1,3,i._isDisabled(t)&&t.textIdDisabled?t.textIdDisabled:t.textId)),w(2),M("ngClass",i._getPrjIconClassAttributes(t))}}function e6(e,n){if(e&1&&we(0,J9,4,5,"div",3),e&2){let t=n.$implicit,i=E(2);De(i._isHidden(t)?-1:0)}}function t6(e,n){if(e&1&&je(0,e6,1,1,null,null,xg),e&2){let t=E();He(t.menuItems)}}function n6(e,n){if(e&1){let t=Ee();D(0,"div",4),ve(1,"translate"),F("dblclick",function(r){j(t);let o=E(3);return H(o._menuItemIgnoreAction(r))})("click",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"normal",r))})("keypress",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"normal",r))}),ie(2,"div",5),D(3,"div",6),F("click",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"info",r))})("keypress",function(r){j(t);let o=E().$implicit,a=E(2);return H(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let t=E().$implicit,i=E(2);M("ngClass",i._getPrjItemClassAttributes(t,i.isTouch))("title",ye(1,3,i._isDisabled(t)&&t.textIdDisabled?t.textIdDisabled:t.textId)),w(2),M("ngClass",i._getPrjIconClassAttributes(t))}}function i6(e,n){if(e&1&&we(0,n6,4,5,"div",3),e&2){let t=n.$implicit,i=E(2);De(!i._isHidden(t)&&(i.isCollapsed||t.action!=="processes")?0:-1)}}function r6(e,n){if(e&1&&je(0,i6,1,1,null,null,xg),e&2){let t=E();He(t.menuItems)}}function o6(e,n){e&1&&nn(0)}function s6(e,n){if(e&1&&Nt(0,o6,1,0,"ng-container",13),e&2){E(2);let t=xn(1);M("ngTemplateOutlet",t)}}function a6(e,n){if(e&1&&(D(0,"div",7)(1,"div",8),ie(2,"div",9),T(),D(3,"div",10),Q(4),T()(),D(5,"div",11)(6,"div",12),we(7,s6,1,1,"ng-container"),T()()),e&2){let t=E();w(),M("ngStyle",t.prjImageOverlayStyle),w(),M("ngStyle",t.prjImageStyle),w(2),xe(" ",t.projectName," "),w(),M("ngClass",t.showHorizontalMenuIcons?"":"hidden"),w(2),De(t.showHorizontalMenuIcons?7:-1)}}function l6(e,n){e&1&&nn(0)}function c6(e,n){if(e&1&&Nt(0,l6,1,0,"ng-container",13),e&2){E(2);let t=xn(3);M("ngTemplateOutlet",t)}}function u6(e,n){e&1&&nn(0)}function d6(e,n){if(e&1&&Nt(0,u6,1,0,"ng-container",13),e&2){E(2);let t=xn(1);M("ngTemplateOutlet",t)}}function p6(e,n){if(e&1){let t=Ee();D(0,"a",14),ve(1,"translate"),F("dblclick",function(){j(t);let r=E();return H(r._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){j(t);let r=E();return H(r._projectMenuItemClicked("prjimageclick","normal"))}),D(2,"div",15),ie(3,"div",16),D(4,"div",17),we(5,c6,1,1,"ng-container"),T(),D(6,"div",18),Q(7),T()()(),D(8,"div",11)(9,"div",12),we(10,d6,1,1,"ng-container"),T()()}if(e&2){let t=E();M("href",me(t.projectExplorerUrl),Mr)("ngStyle",t.prjImageOverlayStyle)("title",ye(1,11,"_ModelThumbnailTooltip")),w(2),M("ngStyle",t.prjImageStyle),w(),M("ngClass",t.hideMenuIcons||t.showHorizontalMenuIcons?"hidden":""),w(),M("ngClass",t.hideMenuIcons||t.showHorizontalMenuIcons?"hidden":""),w(),De(!t.hideMenuIcons&&!t.showHorizontalMenuIcons?5:-1),w(2),xe(" ",t.projectName," "),w(),M("ngClass",t.showHorizontalMenuIcons?"":"hidden"),w(2),De(t.showHorizontalMenuIcons?10:-1)}}var Fl=(()=>{class e extends Ke{constructor(){super(),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((t,i)=>this.menuItemsOrder.indexOf(t.id)-this.menuItemsOrder.indexOf(i.id))}_isHidden(t){if(t){let i=`${t.action?t.action:t.id}Visible`;return!this[i]}return!1}_isDisabled(t){if(t){let i=`${t.action?t.action:t.id}Disabled`;return!!this[i]}return!1}_projectMenuItemClicked(t,i){console.log(t,i)}_menuItemClicked(t,i,r){if(r&&(r.stopPropagation(),r.preventDefault()),console.log(t,i,r),i!="info"&&this._isDisabled(t))return;let o=t.action;he(this,"bimplusProjectMenuClicked",{action:o,type:i})}_menuItemIgnoreAction(t){t&&(t.stopPropagation(),t.preventDefault())}_getPrjItemClassAttributes(t,i){return`${this._isDisabled(t)?"disabled":""} ${i?"":"hover-show-info"}`}_getPrjIconClassAttributes(t){return`${t.class} ${t.action===this.projectActiveItem?"active":""} ${this._isDisabled(t)?"disabled":""}`}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",x],modelsDisabled:[2,"modelsDisabled","modelsDisabled",x],documentsDisabled:[2,"documentsDisabled","documentsDisabled",x],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",x],processesDisabled:[2,"processesDisabled","processesDisabled",x],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",x],modelsVisible:[2,"modelsVisible","modelsVisible",x],documentsVisible:[2,"documentsVisible","documentsVisible",x],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",x],processesVisible:[2,"processesVisible","processesVisible",x],isCollapsed:[2,"isCollapsed","isCollapsed",x],isMiniMode:[2,"isMiniMode","isMiniMode",x],isTouch:[2,"isTouch","isTouch",x],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",x],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",x],menuItemsOrder:"menuItemsOrder"},features:[Be([Te]),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(i,r){i&1&&(Nt(0,t6,2,0,"ng-template",null,0,Ar)(2,r6,2,0,"ng-template",null,1,Ar),D(4,"div",2),we(5,a6,8,5)(6,p6,11,13),T()),i&2&&(w(4),M("ngClass",Mn(2,X9,r.isCollapsed,r.isMiniMode,r.isTouch)),w(),De(r.isMiniMode&&!r.isCollapsed?5:6))},dependencies:[Oe,Ue,Yo,Np,Re,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})}}return e})();var Yp=e=>({$implicit:e});function f6(e,n){if(e&1&&ie(0,"div",9),e&2){let t=E().$implicit;bp(t.item.class),M("id",t.item.id)}}function m6(e,n){if(e&1){let t=Ee();D(0,"div",13),F("click",function(r){j(t);let o=E(2).$implicit,a=E();return H(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){j(t);let o=E(2).$implicit,a=E();return H(a._mainMenuItemClicked(o.item,"info",r))}),T()}}function h6(e,n){if(e&1){let t=Ee();D(0,"div",8),ve(1,"translate"),D(2,"div",10),F("click",function(r){j(t);let o=E().$implicit,a=E();return H(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){j(t);let o=E().$implicit,a=E();return H(a._mainMenuItemClicked(o.item,"normal",r))}),ie(3,"div",11),D(4,"span"),Q(5),ve(6,"translate"),T()(),we(7,m6,1,0,"div",12),T()}if(e&2){let t=E().$implicit,i=E();M("id",t.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(t.active?"active ":" ")+(t.disabled?"disabled ":" ")+(t.clickable?" ":"not-clickable ")+(t.selected?"selected ":" "))("title",t.disabled?ye(1,7,t.item.disabledTitle):""),w(2),M("ngClass",t.clickable?"":"not-clickable"),w(),M("ngClass",t.item.class+(t.active?" active":"")+(t.disabled?" disabled ":"")),w(2),Je(ye(6,9,t.isDisabled&&t.item.textIdDisabled!==""?t.item.textIdDisabled:t.item.textId)),w(2),De(t.showInfoIcon?7:-1)}}function g6(e,n){if(e&1&&we(0,f6,1,3,"div",7)(1,h6,8,11,"div",8),e&2){let t=n.$implicit;De(t.item.type==="divider"?0:1)}}function b6(e,n){e&1&&nn(0)}function v6(e,n){if(e&1&&Nt(0,b6,1,0,"ng-container",14),e&2){let t=E(),i=xn(1);M("ngTemplateOutlet",i)("ngTemplateOutletContext",ht(2,Yp,t._getContextData(t._openPrjBtn,t.projectActiveItem==="projectlist",t._isDisabled(t._openPrjBtn),!0,t.projectActiveItem==="projectlist")))}}function y6(e,n){if(e&1&&ie(0,"lib-bimplus-project-menu",3),e&2){let t=E();M("projectName",me(t.projectName))("projectImageUrl",me(t.projectImageUrl))("projectExplorerUrl",me(t.projectExplorerUrl))("projectActiveItem",me(t.projectActiveItem))("projectmembersDisabled",me(t.projectmembersDisabled))("modelsDisabled",me(t.modelsDisabled))("documentsDisabled",me(t.documentsDisabled))("projectsettingsDisabled",me(t.projectsettingsDisabled))("processesDisabled",me(t.processesDisabled))("projectmembersVisible",me(t.projectmembersVisible))("modelsVisible",me(t.modelsVisible))("documentsVisible",me(t.documentsVisible))("projectsettingsVisible",me(t.projectsettingsVisible))("processesVisible",me(t.processesVisible))("isCollapsed",me(t.isCollapsed))("isMiniMode",me(t.isTouch))("isTouch",me(t.isTouch))("hideMenuIcons",me(t.hideProjectMenuIcons))("showHorizontalMenuIcons",me(t.showHorizontalMenuIcons))("menuItemsOrder",t.menuItemsOrder)}}function _6(e,n){e&1&&nn(0)}function C6(e,n){if(e&1&&(D(0,"div"),Nt(1,_6,1,0,"ng-container",14),T()),e&2){let t=n.$implicit,i=E(),r=xn(1);w(),M("ngTemplateOutlet",r)("ngTemplateOutletContext",ht(2,Yp,i._getContextData(t,!i._isSubscribed(t),i._isDisabled(t),i._isClickable(t),i.menuActiveItem===t.action)))}}function w6(e,n){e&1&&nn(0)}function D6(e,n){if(e&1&&(D(0,"div"),Nt(1,w6,1,0,"ng-container",14),T()),e&2){let t=n.$implicit,i=E(),r=xn(1);w(),M("ngTemplateOutlet",r)("ngTemplateOutletContext",ht(2,Yp,i._getContextData(t,i.footerActiveItem===t.action,i._isDisabled(t),!0,!1)))}}var ge={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"},Vl=(()=>{class e extends Ke{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 oe,this.bimplusMainMenuOverlayClicked=new oe,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:ge.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:ge.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:ge.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:ge.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:ge.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:ge.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:ge.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:ge.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:ge.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:ge.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:ge.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:ge.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:ge.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:ge.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:ge.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:ge.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:ge.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:ge.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(t){t.localizedStrings&&this._localizedStrings.set(t.localizedStrings.currentValue)}get apps(){let t=this.appsList.slice().sort((i,r)=>this.appsOrder.indexOf(i.id)-this.appsOrder.indexOf(r.id));return this.connexisVisible||(t=t.filter(({id:i})=>i!==ge.PORTAL_CONNEXIS_BTN)),this.cloudviewerVisible||(t=t.filter(({id:i})=>i!==ge.PORTAL_CLOUD_VIEWER_BTN)),this.autoconverterVisible||(t=t.filter(({id:i})=>i!==ge.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(t=t.filter(({id:i})=>i!==ge.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(t=t.filter(({id:i})=>i!==ge.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(t=t.filter(({id:i})=>i!==ge.PORTAL_PROPERTY_MANAGER_BTN&&i!==ge.PORTAL_BIM_PROCESSES)),t}get footerList(){let t=this._menuFooterList.filter(i=>this._isSubscribed(i)&&!this._isHidden(i));return(this.teammembersDisabled||!this.isTouch)&&(t=t.filter(({id:i})=>i!==ge.DIVIDERAPPS)),this.getYourTeamVisible?t.filter(({id:i})=>i!==ge.DIVIDERAPPS):t.filter(({id:i})=>i!==ge.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(t){if(t.checkSubscription){let i=`${t.action}Subscribed`;return!!this[i]}return!0}_isClickable(t){return t.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(t){if(t){let i=`${t.action?t.action:t.id}Visible`;return!this[i]}return!1}_isDisabled(t){let i=`${t.action}Disabled`;return!!this[i]}_getContextData(t,i,r,o,a){return{item:t,active:i,disabled:r,clickable:o,selected:a,showInfoIcon:this.appsWithInfo.includes(t.id)}}_overlayClicked(){he(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(t,i,r){if(r&&(r.stopPropagation(),r.preventDefault()),i!="info"&&this._isDisabled(t))return;let o=t.action;he(this,"bimplusMainMenuClicked",{action:o,type:i})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",x],isTouch:[2,"isTouch","isTouch",x],isIpadApp:[2,"isIpadApp","isIpadApp",x],isDev:[2,"isDev","isDev",x],isStage:[2,"isStage","isStage",x],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",x],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",x],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",x],modelsDisabled:[2,"modelsDisabled","modelsDisabled",x],documentsDisabled:[2,"documentsDisabled","documentsDisabled",x],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",x],processesDisabled:[2,"processesDisabled","processesDisabled",x],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",x],showOverlay:[2,"showOverlay","showOverlay",x],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",x],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",x],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",x],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",x],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",x],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",x],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",x],connexisDisabled:[2,"connexisDisabled","connexisDisabled",x],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",x],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",x],shopDisabled:[2,"shopDisabled","shopDisabled",x],addinsDisabled:[2,"addinsDisabled","addinsDisabled",x],openProjectVisible:[2,"openProjectVisible","openProjectVisible",x],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",x],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",x],modelsVisible:[2,"modelsVisible","modelsVisible",x],documentsVisible:[2,"documentsVisible","documentsVisible",x],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",x],processesVisible:[2,"processesVisible","processesVisible",x],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",x],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",x],connexisVisible:[2,"connexisVisible","connexisVisible",x],teammembersVisible:[2,"teammembersVisible","teammembersVisible",x],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",x],shopVisible:[2,"shopVisible","shopVisible",x],addinsVisible:[2,"addinsVisible","addinsVisible",x],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",x],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",x],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",x],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",x],cloudviewerVisible:[2,"cloudviewerVisible","cloudviewerVisible",x],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[Be([Te]),Ze,Zt],decls:13,vars:4,consts:[["appNavigationItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,r){if(i&1){let o=Ee();Nt(0,g6,2,1,"ng-template",null,0,Ar),D(2,"div",1),F("click",function(){return j(o),H(r._overlayClicked())})("keypress",function(){return j(o),H(r._overlayClicked())}),D(3,"div",2),we(4,v6,1,4,"ng-container"),we(5,y6,1,39,"lib-bimplus-project-menu",3),D(6,"div",4)(7,"div",5),je(8,C6,2,4,"div",null,qe),T(),D(10,"div",6),je(11,D6,2,4,"div",null,qe),T()()()()}i&2&&(w(2),M("ngClass",r.showOverlay?"bim-mm-overlay":""),w(2),De(r._isHidden(r._openPrjBtn)?-1:4),w(),De(r.bimplusProjectMenuVisible?5:-1),w(),M("ngClass",r.apps.length||r.footerList.length?"bim-mm-apps-container":""),w(2),He(r.apps),w(3),He(r.footerList))},dependencies:[Oe,Ue,Yo,Re,Fl,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})}}return e})();var is=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(is||{});var E6=(e,n,t,i,r)=>({"model-viewer":e,"model-viewer-black":n,"connexis-viewer":t,"connexis-viewer-black":i,"burger-menu-not-visible":r}),x6=(e,n,t)=>({active:e,hidden:n,disabled:t}),M6=e=>({hidden:e});function I6(e,n){e&1&&(D(0,"span"),Q(1,"\xA0\xA0 -\xA0\xA0"),T())}var jl=(()=>{class e extends Ke{constructor(){super(...arguments),this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this.logoState=Wo(is.BimplusViewer),this.isModelViewerActive=Wo(!1,{transform:x}),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.bimplusNavbarClicked=new oe,this.LogoState=is,this.logoTooltipSignal=yl(()=>this.isModelViewerActive()?"_Open_new_file":this.isDashboardTooltipEnabled?"_dashboard_tooltip":""),this.logoStateSignal=yl(()=>this.isModelViewerActive()?is.ModelViewerBlack:this.logoState())}_menuClicked(){this.isNavbarMenuEnabled&&he(this,"bimplusNavbarClicked","menu")}_logoClicked(){he(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&he(this,"bimplusNavbarClicked","project")}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Oi(e)))(r||e)}})()}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",x],isStage:[2,"isStage","isStage",x],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",x],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",x],logoState:[1,"logoState"],isModelViewerActive:[1,"isModelViewerActive"],isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",x],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",x],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",x],isTouch:[2,"isTouch","isTouch",x],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",x]},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"],[1,"project",3,"click","keypress","ngClass"],[1,"bimplus-navbar-slot"]],template:function(i,r){i&1&&(D(0,"div",0)(1,"div",1)(2,"div",2),ve(3,"translate"),F("click",function(){return r._logoClicked()})("keypress",function(){return r._logoClicked()}),T(),D(4,"div",3),F("click",function(){return r._menuClicked()})("keypress",function(){return r._menuClicked()}),T()(),D(5,"div",4)(6,"div",5)(7,"span",6),Q(8),T(),we(9,I6,2,0,"span"),D(10,"span",7),F("click",function(){return r._projectInfoClicked()})("keypress",function(){return r._projectInfoClicked()}),Q(11),T()(),D(12,"div",8),ie(13,"slot"),T()()()),i&2&&(M("ngClass",r.isTouch?"is-touch":""),w(2),M("ngClass",vp(13,E6,r.logoStateSignal()===r.LogoState.ModelViewer,r.logoStateSignal()===r.LogoState.ModelViewerBlack,r.logoStateSignal()===r.LogoState.ConnexisViewer,r.logoStateSignal()===r.LogoState.ConnexisViewerBlack,!r.isNavbarMenuVisible))("title",ye(3,11,r.logoTooltipSignal())),w(2),M("ngClass",Mn(19,x6,r.isNavbarMenuActive,!r.isNavbarMenuVisible,!r.isNavbarMenuEnabled)),w(2),Kn("margin-left",r.teamInfoOffset),M("ngClass",ht(23,M6,!r.isNavbarInfoVisible)),w(2),Je(r.teamInfo),w(),De(r.projectInfo&&!r.isTouch?9:-1),w(),M("ngClass",r.isDev?"clickable":""),w(),xe(" ",r.projectInfo," "))},dependencies:[Oe,Ue,Re,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})}}return e})();function S6(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var zi=S6;var T6=typeof global=="object"&&global&&global.Object===Object&&global,Mg=T6;var k6=typeof self=="object"&&self&&self.Object===Object&&self,A6=Mg||k6||Function("return this")(),Hl=A6;var N6=function(){return Hl.Date.now()},Bl=N6;var L6=/\s/;function O6(e){for(var n=e.length;n--&&L6.test(e.charAt(n)););return n}var Ig=O6;var R6=/^\s+/;function P6(e){return e&&e.slice(0,Ig(e)+1).replace(R6,"")}var Sg=P6;var F6=Hl.Symbol,jr=F6;var Tg=Object.prototype,V6=Tg.hasOwnProperty,j6=Tg.toString,rs=jr?jr.toStringTag:void 0;function H6(e){var n=V6.call(e,rs),t=e[rs];try{e[rs]=void 0;var i=!0}catch{}var r=j6.call(e);return i&&(n?e[rs]=t:delete e[rs]),r}var kg=H6;var B6=Object.prototype,U6=B6.toString;function z6(e){return U6.call(e)}var Ag=z6;var $6="[object Null]",Z6="[object Undefined]",Ng=jr?jr.toStringTag:void 0;function W6(e){return e==null?e===void 0?Z6:$6:Ng&&Ng in Object(e)?kg(e):Ag(e)}var Lg=W6;function G6(e){return e!=null&&typeof e=="object"}var Og=G6;var Y6="[object Symbol]";function q6(e){return typeof e=="symbol"||Og(e)&&Lg(e)==Y6}var Rg=q6;var Pg=NaN,Q6=/^[-+]0x[0-9a-f]+$/i,K6=/^0b[01]+$/i,X6=/^0o[0-7]+$/i,J6=parseInt;function e7(e){if(typeof e=="number")return e;if(Rg(e))return Pg;if(zi(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=zi(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=Sg(e);var t=K6.test(e);return t||X6.test(e)?J6(e.slice(2),t?2:8):Q6.test(e)?Pg:+e}var qp=e7;var t7="Expected a function",n7=Math.max,i7=Math.min;function r7(e,n,t){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(t7);n=qp(n)||0,zi(t)&&(h=!!t.leading,g="maxWait"in t,o=g?n7(qp(t.maxWait)||0,n):o,y="trailing"in t?!!t.trailing:y);function v(O){var se=i,te=r;return i=r=void 0,f=O,a=e.apply(te,se),a}function _(O){return f=O,c=setTimeout(I,n),h?v(O):a}function A(O){var se=O-d,te=O-f,kn=n-se;return g?i7(kn,o-te):kn}function k(O){var se=O-d,te=O-f;return d===void 0||se>=n||se<0||g&&te>=o}function I(){var O=Bl();if(k(O))return Y(O);c=setTimeout(I,A(O))}function Y(O){return c=void 0,y&&i?v(O):(i=r=void 0,a)}function Me(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ce(){return c===void 0?a:Y(Bl())}function ke(){var O=Bl(),se=k(O);if(i=arguments,r=this,d=O,se){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,n),v(d)}return c===void 0&&(c=setTimeout(I,n)),a}return ke.cancel=Me,ke.flush=ce,ke}var Hr=r7;var o7="Expected a function";function s7(e,n,t){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(o7);return zi(t)&&(i="leading"in t?!!t.leading:i,r="trailing"in t?!!t.trailing:r),Hr(e,n,{leading:i,maxWait:n,trailing:r})}var Fg=s7;var Ur=function(){return Ur=Object.assign||function(n){for(var t,i=1,r=arguments.length;i<r;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},Ur.apply(this,arguments)};function Hg(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Bg(e){return!e||!e.ownerDocument?document:e.ownerDocument}var Ug=function(e){var n={},t=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},n);return t};function zg(e,n){var t;e&&(t=e.classList).add.apply(t,n.split(" "))}function $g(e,n){e&&n.split(" ").forEach(function(t){e.classList.remove(t)})}function Zg(e){return".".concat(e.split(" ").join("."))}var Kp=!!(typeof window<"u"&&window.document&&window.document.createElement),a7=Object.freeze({__proto__:null,addClasses:zg,canUseDOM:Kp,classNamesToQuery:Zg,getElementDocument:Bg,getElementWindow:Hg,getOptions:Ug,removeClasses:$g}),Br=null,Vg=null;Kp&&window.addEventListener("resize",function(){Vg!==window.devicePixelRatio&&(Vg=window.devicePixelRatio,Br=null)});function jg(){if(Br===null){if(typeof document>"u")return Br=0,Br;var e=document.body,n=document.createElement("div");n.classList.add("simplebar-hide-scrollbar"),e.appendChild(n);var t=n.getBoundingClientRect().right;e.removeChild(n),Br=t}return Br}var ni=Hg,Qp=Bg,l7=Ug,ii=zg,ri=$g,yt=Zg,os=(function(){function e(n,t){t===void 0&&(t={});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=ni(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,ii(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(){ri(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(ii(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ri(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,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Y=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,Me=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,ke=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 O=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;O=i.draggedAxis==="x"&&i.isRtl?((_=(v=I.rect)===null||v===void 0?void 0:v[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-Me.size-O:O;var se=O/(Y-Me.size),te=se*(ce-ke);i.draggedAxis==="x"&&i.isRtl&&(te=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-te:te),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=te}},this.onEndDrag=function(r){i.isDragging=!1;var o=Qp(i.el),a=ni(i.el);r.preventDefault(),r.stopPropagation(),ri(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=n,this.options=Ur(Ur({},e.defaultOptions),t),this.classNames=Ur(Ur({},e.defaultOptions.classNames),t.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Fg(this._onMouseMove,64),this.onWindowResize=Hr(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Hr(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Hr(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var n=document.createElement("div");n.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var t=n.firstElementChild,i=t?.firstElementChild;if(!i)return null;document.body.appendChild(t),t.scrollLeft=0;var r=e.getOffset(t),o=e.getOffset(i);t.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(t),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:jg()}catch{return jg()}},e.getOffset=function(n){var t=n.getBoundingClientRect(),i=Qp(n),r=ni(n);return{top:t.top+(r.pageYOffset||i.documentElement.scrollTop),left:t.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){Kp&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var n,t;this.wrapperEl=this.el.querySelector(yt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(yt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(yt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(yt(this.classNames.offset)),this.maskEl=this.el.querySelector(yt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,yt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(yt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(yt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(yt(this.classNames.track)).concat(yt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(yt(this.classNames.track)).concat(yt(this.classNames.vertical))),this.axis.x.scrollbar.el=((n=this.axis.x.track.el)===null||n===void 0?void 0:n.querySelector(yt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((t=this.axis.y.track.el)===null||t===void 0?void 0:t.querySelector(yt(this.classNames.scrollbar)))||null,this.options.autoHide||(ii(this.axis.x.scrollbar.el,this.classNames.visible),ii(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var n=this,t,i=ni(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(t=this.contentWrapperEl)===null||t===void 0||t.addEventListener("scroll",this.onScroll),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(){n.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(){n.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var n=ni(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var t=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>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(t||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=t!==0&&f>t,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,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(n){var t,i;if(n===void 0&&(n="y"),!this.axis[n].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[n].scrollSizeAttr],o=(i=(t=this.axis[n].track.el)===null||t===void 0?void 0:t[this.axis[n].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(n){var t,i,r;n===void 0&&(n="y");var o=this.axis[n].scrollbar;if(!(!this.axis[n].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[n].scrollSizeAttr],c=((t=this.axis[n].track.el)===null||t===void 0?void 0:t[this.axis[n].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[n].sizeAttr],10),f=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];f=n==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,n==="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=n==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=n==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(n){n===void 0&&(n="y");var t=this.axis[n].track.el,i=this.axis[n].scrollbar.el;!t||!i||!this.contentWrapperEl||(this.axis[n].isOverflowing||this.axis[n].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(n))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(n))),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(n){n===void 0&&(n="y"),this.axis[n].isOverflowing&&!this.axis[n].scrollbar.isVisible&&(ii(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(n){n===void 0&&(n="y"),!this.isDragging&&this.axis[n].isOverflowing&&this.axis[n].scrollbar.isVisible&&(ri(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(n){n===void 0&&(n="y");var t=this.axis[n];!t.track.el||!t.scrollbar.el||(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(n),ii(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?ii(t.scrollbar.el,this.classNames.hover):ri(t.scrollbar.el,this.classNames.hover)):(ri(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)))},e.prototype.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),ri(this.axis[n].track.el,this.classNames.hover),ri(this.axis[n].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)},e.prototype.onDragStart=function(n,t){var i;t===void 0&&(t="y"),this.isDragging=!0;var r=Qp(this.el),o=ni(this.el),a=this.axis[t].scrollbar,c=t==="y"?n.pageY:n.pageX;this.axis[t].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[t].offsetAttr])||0),this.draggedAxis=t,ii(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(n,t){var i=this,r,o,a,c;t===void 0&&(t="y");var d=this.axis[t];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){n.preventDefault();var f=ni(this.el);this.axis[t].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[t].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[t].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[t].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],_=t==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?v-y:v+y,I=40,Y=function(){i.contentWrapperEl&&(A===-1?v>k&&(v-=I,i.contentWrapperEl[i.axis[t].scrollOffsetAttr]=v,f.requestAnimationFrame(Y)):v<k&&(v+=I,i.contentWrapperEl[i.axis[t].scrollOffsetAttr]=v,f.requestAnimationFrame(Y)))};Y()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var n=ni(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),n.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},e.prototype.findChild=function(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(r){return i.call(r,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=l7,e.helpers=a7,e})();var Jp=function(e,n){return Jp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])},Jp(e,n)};function c7(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Jp(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var ef=os.helpers,Xp=ef.getOptions,Lt=ef.addClasses,u7=ef.canUseDOM,tf=(function(e){c7(n,e);function n(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var r=e.apply(this,t)||this;return n.instances.set(t[0],r),r}return n.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.getAttribute("data-simplebar")!=="init"&&!n.instances.has(t)&&new n(t,Xp(t.attributes))})},n.removeObserver=function(){var t;(t=n.globalObserver)===null||t===void 0||t.disconnect()},n.prototype.initDOM=function(){var t=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(t.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Lt(this.wrapperEl,this.classNames.wrapper),Lt(this.contentWrapperEl,this.classNames.contentWrapper),Lt(this.offsetEl,this.classNames.offset),Lt(this.maskEl,this.classNames.mask),Lt(this.contentEl,this.classNames.contentEl),Lt(this.placeholderEl,this.classNames.placeholder),Lt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Lt(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");Lt(a,this.classNames.track),Lt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),Lt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),Lt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}os.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},n.prototype.unMount=function(){os.prototype.unMount.call(this),n.instances.delete(this.el)},n.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(n.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},n.handleMutations=function(t){t.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!n.instances.has(r)&&document.documentElement.contains(r)&&new n(r,Xp(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!n.instances.has(o)&&document.documentElement.contains(o)&&new n(o,Xp(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=n.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=n.instances.get(a))===null||c===void 0||c.unMount())}))})})},n.instances=new WeakMap,n})(os);u7&&tf.initHtmlApi();var d7=["*"],Ul=(()=>{class e{constructor(){this.elementRef=L(Qn),this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let t=this._element?.querySelector(this._scrollableContainerClassName);if(!t){console.error("No scrollable container found in the element.");return}this._simpleBar=new tf(t)}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){if(!(!this._element||!this._element?.querySelector(this._scrollableContainerClassName))){if(!this._simpleBar){console.error("No scrollable container found in the element.");return}this._simpleBar.recalculate()}}ngAfterViewChecked(){this._recalculateScrollbar()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-scrollable-container"]],ngContentSelectors:d7,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(i,r){i&1&&(hp(),Dn(0,"div",0),gp(1),En())},styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.scrollable-container{height:100%;max-height:100%;padding-right:var(--scrollable-container-paddin-right, .8rem)}
14
+ `],encapsulation:2})}}return e})();var Wg=e=>({capitalize:e}),Gg=e=>[e];function p7(e,n){if(e&1){let t=Ee();D(0,"div",20),F("click",function(){let r=j(t).$index,o=E(2).$implicit,a=E(2);return H(a._messageAction(o,r))})("keypress",function(){let r=j(t).$index,o=E(2).$implicit,a=E(2);return H(a._messageAction(o,r))}),Q(1),T()}if(e&2){let t=n.$implicit,i=n.$index,r=E(2).$implicit,o=E(2);M("title",o._getItemLinkTitle(r,i)),w(),Je(t)}}function f7(e,n){if(e&1&&je(0,p7,2,2,"div",19,qe),e&2){let t=E().$implicit,i=E(2);He(t.linkText.constructor===i.Array?t.linkText:ht(0,Gg,t.linkText))}}function m7(e,n){if(e&1){let t=Ee();D(0,"div",13)(1,"div",14),ie(2,"div",15),D(3,"div",16),Q(4),T(),D(5,"div",17),F("click",function(r){let o=j(t).$implicit,a=E(2);return H(a._closeMessage(o,!1,r))})("keypress",function(r){let o=j(t).$implicit,a=E(2);return H(a._closeMessage(o,!1,r))}),T()(),D(6,"div",18),Q(7),T(),we(8,f7,2,2),T()}if(e&2){let t=n.$implicit;w(2),M("ngClass","message-item-icon-"+t.type),w(),M("ngClass",ht(5,Wg,t.capitalizedTitle)),w(),xe(" ",t.title," "),w(3),Je(t.text),w(),De(t.linkText?8:-1)}}function h7(e,n){if(e&1&&(D(0,"lib-bimplus-scrollable-container"),je(1,m7,9,7,"div",13,qe),T()),e&2){let t=E();w(),He(t._messagesList)}}function g7(e,n){e&1&&(D(0,"div",9),ie(1,"div",21),D(2,"div",22),Q(3),ve(4,"translate"),T()()),e&2&&(w(3),Je(ye(4,1,"_Notify_No_Messages")))}function b7(e,n){if(e&1){let t=Ee();D(0,"div",20),F("click",function(){let r=j(t).$index,o=E(2).$implicit,a=E();return H(a._messageAction(o,r))})("keypress",function(){let r=j(t).$index,o=E(2).$implicit,a=E();return H(a._messageAction(o,r))}),Q(1),T()}if(e&2){let t=n.$implicit,i=n.$index,r=E(2).$implicit,o=E();M("title",o._getItemLinkTitle(r,i)),w(),Je(t)}}function v7(e,n){if(e&1&&je(0,b7,2,2,"div",19,qe),e&2){let t=E().$implicit,i=E();He(t.linkText.constructor===i.Array?t.linkText:ht(0,Gg,t.linkText))}}function y7(e,n){if(e&1){let t=Ee();D(0,"div",13)(1,"div",14),ie(2,"div",15),D(3,"div",16),Q(4),T(),D(5,"div",17),F("click",function(r){let o=j(t).$implicit,a=E();return H(a._closeMessage(o,!0,r))})("keypress",function(r){let o=j(t).$implicit,a=E();return H(a._closeMessage(o,!0,r))}),T()(),D(6,"div",18),Q(7),T(),we(8,v7,2,2),T()}if(e&2){let t=n.$implicit;w(2),M("ngClass","message-item-icon-"+t.type),w(),M("ngClass",ht(5,Wg,t.capitalizedTitle)),w(),xe(" ",t.title," "),w(3),xe(" ",t.text," "),w(),De(t.linkText?8:-1)}}var zl="bimplus-notify-messages",$l=(()=>{class e extends Ke{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 oe,this.bimplusNotifyDeleteAllMessages=new oe,this.bimplusNotifyMessageAction=new oe}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(t){if(t.messages){let i=t.messages.currentValue;this.updateMessages(i)}}updateMessages(t){if(!(t&&typeof t=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let r=JSON.parse(t);this._messagesList=r.messages;let o=this._messagesList.filter(a=>this._oldMessagesList.findIndex(c=>c.id===a.id)<0);o=o.filter(a=>this._messageNotReadYet(a)),o.slice().reverse().forEach(a=>{this._previewMessagesList.findIndex(c=>a.id===c.id)<0&&(this._previewMessagesList.unshift(a),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(a.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}_closeMessage(t,i,r){if(i)return this._closePreviewMessage(t.id);r&&(r.stopPropagation(),r.preventDefault()),he(this,"bimplusNotifyDeleteMessage",JSON.stringify(t))}_closePreviewMessage(t,i=!0){t&&(this._previewMessagesList=this._previewMessagesList.filter(r=>r.id!==t),this.storeMessagesAsRead([t]),i&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){he(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(t,i){t.actionId=i,he(this,"bimplusNotifyMessageAction",JSON.stringify(t))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(t){if(!t?.id)return!0;let i=window.localStorage.getItem(zl);return i?!i.includes(t.id):!0}storeMessagesAsRead(t){if(!t||t.length<1)return;let i=window.localStorage.getItem(zl);i??="",t.forEach(r=>{i?.includes(r)||(i+=r+";")}),window.localStorage.setItem(zl,i)}clearAllLocalStorageMessages(){window.localStorage.removeItem(zl)}_getItemLinkTitle(t,i){let r=[];return t.linkText&&(t.links||t.link)&&(r=Array.isArray(t.links)?t.links:[t.link]),r[i]??""}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(i,r){i&2&&bl("new-messages",r.newMessages)("bim-notify",r.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",x],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},features:[Be([Te]),Ze,Zt],decls:20,vars:15,consts:[[1,"dropdown",3,"click","keypress","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click","keypress"],[1,"messages-container"],[1,"message-item-empty"],[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],[1,"message-item"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click","keypress"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],[1,"message-item-link",3,"click","keypress","title"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(i,r){i&1&&(D(0,"div",0),ve(1,"translate"),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),D(2,"div",1),ie(3,"div",2),T(),D(4,"div",3),ie(5,"div",4),D(6,"div",5)(7,"div",6),Q(8),T(),D(9,"div",7),F("click",function(){return r._deleteAllMessages()})("keypress",function(){return r._deleteAllMessages()}),Q(10),ve(11,"translate"),T()(),D(12,"div",8),we(13,h7,3,0,"lib-bimplus-scrollable-container")(14,g7,5,3,"div",9),T()()(),D(15,"div",10),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),T(),D(16,"div",11)(17,"div",12),je(18,y7,9,7,"div",13,qe),T()()),i&2&&(M("ngClass",r._menuOpened?"open":"")("title",ye(1,11,"_BimplusNotifyTitle")),w(3),M("ngClass","icon-notify"+(r._alertActive?"-alert notify":"")),w(),M("ngClass",r._menuOpened?"open":""),w(4),xe(" (",r._messagesList.length,") "),w(2),xe(" ",ye(11,13,"_Notify_Mark_All")," "),w(3),De(r._messagesList.length?13:14),w(2),M("ngClass",r._menuOpened?"open":""),w(),Kn("top",r.previewMessagesOffsetY),M("ngClass",r.showMessagePreview&&!r._menuOpened&&r._previewMessagesList.length>0?"visible":""),w(2),He(r._previewMessagesList))},dependencies:[Oe,Ue,Re,Ul,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})}}return e})();var _7=(e,n,t)=>({red:e,yellow:n,green:t}),Zl=(()=>{class e extends Ke{constructor(){super(),this.usedStorage=Wo(0),this.bimplusStorageInfoClicked=new oe}_infoClicked(t){he(this,"bimplusStorageInfoClicked",t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:[1,"usedStorage"]},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},features:[Be([Te]),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(i,r){i&1&&(D(0,"div",0),F("click",function(){return r._infoClicked("storageInfo")})("keypress",function(){return r._infoClicked("storageInfo")}),D(1,"span",1),Q(2),ve(3,"translate"),D(4,"span",2),Q(5),T()(),D(6,"div",3),ie(7,"div",4),T()()),i&2&&(w(2),xe(" ",ye(3,7,"_Common_Data_Environment_Quota")," "),w(3),xe(" ",r.usedStorage(),"% "),w(2),Kn("width",r.usedStorage()+"%")("max-width",r.usedStorage()+"%"),M("ngClass",Mn(9,_7,r.usedStorage()>=90,r.usedStorage()>=80&&r.usedStorage()<90,r.usedStorage()<80)))},dependencies:[Oe,Ue,Re,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})}}return e})();var Wl=(()=>{class e extends Ke{constructor(){super(),this.defaultShopUrl="https://www.bimplus.net/",this.shopUrl=this.defaultShopUrl,this.country="",this.isTouch=!1,this.bimplusUpgradeLinkClicked=new oe}_getLangParamValue(t){let r={en:"1",fr:"2",de:"3",cs:"1",es:"1",it:"1",ru:"1",ro:"1",tr:"1"}[t];return`&lang=${r||"1"}`}_getCountryIsoParam(t){let r={en:"gb",us:"us",fr:"fr",de:"de",cs:"cz",es:"es",it:"it",ru:"ru",ro:"ro",tr:"tr"}[t];return r?`&ap_country_iso=${r}`:""}_linkClicked(){let t=this.shopUrl||this.defaultShopUrl;console.debug("Opening upgrade to Bimplus link"),window.open(t,"_blank"),he(this,"bimplusUpgradeLinkClicked",t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-upgrade-link"]],inputs:{shopUrl:"shopUrl",country:"country",isTouch:[2,"isTouch","isTouch",x]},outputs:{bimplusUpgradeLinkClicked:"bimplusUpgradeLinkClicked"},features:[Be([Te]),Ze],decls:3,vars:4,consts:[[1,"bimplus-upgrade-link","secondary-button","body-text-mixin",3,"click","keypress","ngClass"]],template:function(i,r){i&1&&(D(0,"div",0),F("click",function(){return r._linkClicked()})("keypress",function(){return r._linkClicked()}),Q(1),ve(2,"translate"),T()),i&2&&(M("ngClass",r.isTouch?"is-touch":""),w(),xe(" ",ye(2,2,"_Upgrade_to_Bimplus")," "))},dependencies:[Oe,Ue,Re,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})}}return e})();var C7=(e,n)=>({open:e,"is-touch":n}),w7=e=>({open:e}),D7=e=>({selected:e});function E7(e,n){if(e&1){let t=Ee();D(0,"li",7),F("click",function(){let r=j(t).$implicit,o=E();return H(o._menuItemClicked(r.mode))})("keypress",function(){let r=j(t).$implicit,o=E();return H(o._menuItemClicked(r.mode))}),ie(1,"div",8),D(2,"span"),Q(3),ve(4,"translate"),T()()}if(e&2){let t=n.$implicit,i=E();M("ngClass",ht(5,D7,i.selectedMode===t.mode)),w(),M("ngClass",t.class),w(2),Je(ye(4,3,t.textId))}}var Gl=(()=>{class e extends Ke{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 oe}get _selectedItem(){return this._menuItemsList.find(t=>t.mode==this.selectedMode)}ngOnChanges(t){t.localizedStrings&&this._localizedStrings.set(t.localizedStrings.currentValue)}_menuItemClicked(t){he(this,"bimplusTouchModeSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",x],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},features:[Be([Te]),Ze,Zt],decls:8,vars:9,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"],[1,"icon",3,"ngClass"]],template:function(i,r){i&1&&(D(0,"div",0),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),T(),D(1,"div",1),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),D(2,"div",2),ie(3,"div",3)(4,"span",4),T(),D(5,"ul",5),je(6,E7,5,7,"li",6,qe),T()()),i&2&&(M("ngClass",r._menuOpened?"open":""),w(),M("ngClass",Vi(4,C7,r._menuOpened,r.isTouch)),w(2),M("ngClass",r._selectedItem!=null&&r._selectedItem.class?r._selectedItem==null?null:r._selectedItem.class:""),w(2),M("ngClass",ht(7,w7,r._menuOpened)),w(),He(r._menuItemsList))},dependencies:[Oe,Ue,Re,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})}}return e})();var x7=(e,n,t)=>({divider:e,languageMenuItem:n,"submenu-hidden":t});function M7(e,n){if(e&1&&Q(0),e&2){let t=E();xe(" ",t.userName," ")}}function I7(e,n){if(e&1){let t=Ee();D(0,"div",16),F("click",function(){let r=j(t).$implicit,o=E(4);return H(o._switchLanguage(r.symbol))})("keypress",function(){let r=j(t).$implicit,o=E(4);return H(o._switchLanguage(r.symbol))}),Q(1),T()}if(e&2){let t=n.$implicit,i=E(4);M("id",me(i._getLangId(t)))("ngClass",t.symbol===i.selectedLanguage?"selected":""),wn("key",i._getLangId(t)),w(),xe(" ",t.text," ")}}function S7(e,n){if(e&1&&(ie(0,"div",10)(1,"div",11),D(2,"span",12),Q(3),ve(4,"translate"),T(),D(5,"div",13)(6,"div",14),je(7,I7,2,5,"div",15,qe),T()()),e&2){let t=E(2).$implicit,i=E();w(),M("ngClass",t.class),w(),M("ngClass",t.textClass?t.textClass:""),w(),xe(" ",ye(4,4,t.textId)," "),w(2),M("ngClass",i._languagesMenuOpened?"open":""),w(2),He(i._languagesList)}}function T7(e,n){if(e&1&&(ie(0,"div",11),D(1,"span",12),Q(2),ve(3,"translate"),T()),e&2){let t=E(2).$implicit;M("ngClass",t.class),w(),M("ngClass",t.textClass?t.textClass:""),w(),xe(" ",ye(3,3,t.textId)," ")}}function k7(e,n){if(e&1&&(D(0,"a",9),ie(1,"div",11),D(2,"span",12),Q(3),ve(4,"translate"),T()()),e&2){let t=E(2).$implicit,i=E();M("href",me(i._buildUrl(t)),Mr),w(),M("ngClass",t.class),w(),M("ngClass",t.textClass?t.textClass:""),w(),xe(" ",ye(4,5,t.textId)," ")}}function A7(e,n){if(e&1){let t=Ee();D(0,"li",8),F("click",function(){j(t);let r=E(),o=r.$implicit,a=r.$index,c=E();return H(c._menuItemClicked(o,a))})("keypress",function(){j(t);let r=E(),o=r.$implicit,a=r.$index,c=E();return H(c._menuItemClicked(o,a))}),we(1,S7,9,6)(2,T7,4,5)(3,k7,5,7,"a",9),T()}if(e&2){let t=E().$implicit;M("ngClass",Mn(4,x7,t.type==="divider",t.action==="submenu",(!t.url||t.url.slice(0,2)==="#/")&&t.action!=="submenu")),wn("key",t.id)("role",t.type==="divider"?"separator":""),w(),De(t.action==="submenu"?1:!t.url||t.url.slice(0,2)==="#/"?2:!t.type||t.type!=="divider"?3:-1)}}function N7(e,n){if(e&1&&we(0,A7,4,8,"li",7),e&2){let t=n.$implicit;De(t?0:-1)}}var Yl=(()=>{class e extends Ke{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 oe,this.bimplusLanguageSelected=new oe,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"contactFormLink",action:"contactForm",class:"icon-contact-form",textId:"_Contact_form",get url(){return this._url?.()??""},_url:()=>this.contactFormLinkUrl,queryParams:"",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"releaseNotesLink",action:"releaseNotes",class:"icon-release-notes",textId:"_Release_notes",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(t){t.localizedStrings&&this._localizedStrings.set(t.localizedStrings.currentValue)}_menuItemClicked(t,i){!t||t.type==="divider"||(t.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,he(this,"bimplusUserMenuClicked",{index:i,action:t.action?t.action:""})))}_switchLanguage(t){this._languagesMenuOpened=!1,this._menuOpened=!1,he(this,"bimplusLanguageSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(t){return t?!this[`${t.action?t.action:t.id}Visible`]:!1}_buildUrl(t){let i=t?.url,o=this._languagesList.find(c=>c.symbol===this.selectedLanguage)?.lCode,a=i?.endsWith?.(".ct")&&o;return(t?.queryParams||a)&&(i=i+"?",a&&(i=i+"L="+o,t?.queryParams&&(i=i+"&")),t?.queryParams&&(i=i+t.queryParams)),i}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(i=>{if(!(this._isHidden(i)||i.checkState&&!this[i.checkState]))return i})}_getLangId(t){return"portalLanguage"+t?.symbol.charAt(0).toUpperCase()+t?.symbol.slice(1)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",x],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",x],userGuideVisible:[2,"userGuideVisible","userGuideVisible",x],contactFormVisible:[2,"contactFormVisible","contactFormVisible",x],forumVisible:[2,"forumVisible","forumVisible",x],releaseNotesVisible:[2,"releaseNotesVisible","releaseNotesVisible",x],submenuVisible:[2,"submenuVisible","submenuVisible",x],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",x],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",x],logoutVisible:[2,"logoutVisible","logoutVisible",x],isEmbedded:[2,"isEmbedded","isEmbedded",x],isTouch:[2,"isTouch","isTouch",x],allowRcaItem:[2,"allowRcaItem","allowRcaItem",x],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",contactFormLinkUrl:"contactFormLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},features:[Be([Te]),Ze,Zt],decls:10,vars:11,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[3,"ngClass"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],[1,"languageSubmenuItem",3,"id","ngClass"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(i,r){i&1&&(D(0,"div",0),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),T(),D(1,"div",1)(2,"div",2),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),ie(3,"img",3),D(4,"div",4),we(5,M7,1,1),T(),ie(6,"span",5),T(),D(7,"ul",6),je(8,N7,1,1,null,null,qe),T()()),i&2&&(M("ngClass",r._menuOpened?"open":""),wn("key","bimcompOverlay"),w(),M("ngClass",r._menuOpened?"open":""),wn("key","userMenu"),w(),M("title",r.buttonTitle?r.buttonTitle:""),w(),M("src",me(r.userPhotoUrl?r.userPhotoUrl:""),Mr)("alt",me(r.buttonTitle?r.buttonTitle:"")),w(2),De(r.isTouch?-1:5),w(2),M("ngClass",r._menuOpened?"open":""),w(),He(r._getMenuItems()))},dependencies:[Oe,Ue,Re,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})}}return e})();var L7=(e,n)=>({open:e,"is-touch":n});function O7(e,n){if(e&1){let t=Ee();D(0,"li",7),F("click",function(){let r=j(t).$implicit,o=E();return H(o._switchZoom(r.symbol))})("keypress",function(){let r=j(t).$implicit,o=E();return H(o._switchZoom(r.symbol))}),D(1,"span"),Q(2),T()()}if(e&2){let t=n.$implicit,i=E();M("ngClass",i._getZoomClassObject(t.symbol)),w(2),Je(t.text)}}var ql=(()=>{class e{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new oe}_switchZoom(t){he(this,"bimplusZoomSelected",t)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(t){return{selected:this.selectedZoom===t,["bimzoom-"+t]:!0}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",x],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},decls:8,vars:6,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-zoom"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"ngClass"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(i,r){i&1&&(D(0,"div",0),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),T(),D(1,"div",1),F("click",function(){return r._toggleOpened()})("keypress",function(){return r._toggleOpened()}),D(2,"div",2),ie(3,"div",3)(4,"span",4),T(),D(5,"ul",5),je(6,O7,3,2,"li",6,qe),T()()),i&2&&(M("ngClass",r._menuOpened?"open":""),w(),M("ngClass",Vi(3,L7,r._menuOpened,r.isTouch)),w(4),M("ngClass",r._menuOpened?"open":""),w(),He(r._zoomList))},dependencies:[Oe,Ue],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--zoom-dropdown-open-text-color-enabled);background-color:var(--zoom-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--zoom-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:6.5em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--zoom-dropdown-menu-background-color-enabled);border:thin solid var(--zoom-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--zoom-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.21em 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--zoom-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-zoom{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Zoom.svg")}
20
+ `],encapsulation:3})}}return e})();var nf=new Z("TRANSLATE_HTTP_LOADER_CONFIG"),R7=(()=>{class e{http;config;constructor(){this.config=Ae({prefix:"/assets/i18n/",suffix:".json",enforceLoading:!1,useHttpBackend:!1},L(nf)),this.http=this.config.useHttpBackend?new Pr(L(Rr)):L(Pr)}getTranslation(t){let i=this.config.enforceLoading?`?enforceLoading=${Date.now()}`:"";return this.http.get(`${this.config.prefix}${t}${this.config.suffix}${i}`)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function Yg(e={}){let n=e.useHttpBackend??!1;return[{provide:nf,useValue:e},{provide:ti,useClass:R7,deps:[n?Rr:Pr,nf]}]}var qg=(()=>{class e{constructor(){this.defaultLang="en",this.currentLanguage$=new On(this.defaultLang),this.currentLanguageStrings$=new On({}),this._languageFilesUri="/assets"}set languageFilesUri(t){this._languageFilesUri=t}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(t){this.currentLanguageStrings$.next(t)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(t){return qt(this,null,function*(){this.currentLanguage$.next(t),yield this.fetchLanguageStrings(t)})}extractLocalizedStrings(t){let i={};for(let[r,o]of Object.entries(this.currentLanguageStrings))typeof o=="string"&&t.find(a=>a===r)&&(i[r]=o);return i}fetchLanguageStrings(t){return qt(this,null,function*(){let i=yield fetch(`${this._languageFilesUri}/strings_${t}.json`);console.log(`Language strings loaded from: ${this._languageFilesUri}/strings_${t}.json`),console.log(i);let r=yield i.json();if(t!==this.defaultLang){let a=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),c=a&&Object.keys(a);if(c?.length)for(let d in c){let f=c[d];r[f]??=a[f]}}this.currentLanguageStrings$.next(r)})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function rf(e){e||(e=L(Ii));let n=new re(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(Xc(n))}function P7(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var $i=P7;var F7=typeof global=="object"&&global&&global.Object===Object&&global,Qg=F7;var V7=typeof self=="object"&&self&&self.Object===Object&&self,j7=Qg||V7||Function("return this")(),Ql=j7;var H7=function(){return Ql.Date.now()},Kl=H7;var B7=/\s/;function U7(e){for(var n=e.length;n--&&B7.test(e.charAt(n)););return n}var Kg=U7;var z7=/^\s+/;function $7(e){return e&&e.slice(0,Kg(e)+1).replace(z7,"")}var Xg=$7;var Z7=Ql.Symbol,zr=Z7;var Jg=Object.prototype,W7=Jg.hasOwnProperty,G7=Jg.toString,ss=zr?zr.toStringTag:void 0;function Y7(e){var n=W7.call(e,ss),t=e[ss];try{e[ss]=void 0;var i=!0}catch{}var r=G7.call(e);return i&&(n?e[ss]=t:delete e[ss]),r}var e2=Y7;var q7=Object.prototype,Q7=q7.toString;function K7(e){return Q7.call(e)}var t2=K7;var X7="[object Null]",J7="[object Undefined]",n2=zr?zr.toStringTag:void 0;function ew(e){return e==null?e===void 0?J7:X7:n2&&n2 in Object(e)?e2(e):t2(e)}var i2=ew;function tw(e){return e!=null&&typeof e=="object"}var r2=tw;var nw="[object Symbol]";function iw(e){return typeof e=="symbol"||r2(e)&&i2(e)==nw}var o2=iw;var s2=NaN,rw=/^[-+]0x[0-9a-f]+$/i,ow=/^0b[01]+$/i,sw=/^0o[0-7]+$/i,aw=parseInt;function lw(e){if(typeof e=="number")return e;if(o2(e))return s2;if($i(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=$i(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=Xg(e);var t=ow.test(e);return t||sw.test(e)?aw(e.slice(2),t?2:8):rw.test(e)?s2:+e}var of=lw;var cw="Expected a function",uw=Math.max,dw=Math.min;function pw(e,n,t){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(cw);n=of(n)||0,$i(t)&&(h=!!t.leading,g="maxWait"in t,o=g?uw(of(t.maxWait)||0,n):o,y="trailing"in t?!!t.trailing:y);function v(O){var se=i,te=r;return i=r=void 0,f=O,a=e.apply(te,se),a}function _(O){return f=O,c=setTimeout(I,n),h?v(O):a}function A(O){var se=O-d,te=O-f,kn=n-se;return g?dw(kn,o-te):kn}function k(O){var se=O-d,te=O-f;return d===void 0||se>=n||se<0||g&&te>=o}function I(){var O=Kl();if(k(O))return Y(O);c=setTimeout(I,A(O))}function Y(O){return c=void 0,y&&i?v(O):(i=r=void 0,a)}function Me(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ce(){return c===void 0?a:Y(Kl())}function ke(){var O=Kl(),se=k(O);if(i=arguments,r=this,d=O,se){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,n),v(d)}return c===void 0&&(c=setTimeout(I,n)),a}return ke.cancel=Me,ke.flush=ce,ke}var $r=pw;var fw="Expected a function";function mw(e,n,t){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(fw);return $i(t)&&(i="leading"in t?!!t.leading:i,r="trailing"in t?!!t.trailing:r),$r(e,n,{leading:i,maxWait:n,trailing:r})}var a2=mw;var Wr=function(){return Wr=Object.assign||function(n){for(var t,i=1,r=arguments.length;i<r;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},Wr.apply(this,arguments)};function u2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function d2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var p2=function(e){var n={},t=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},n);return t};function f2(e,n){var t;e&&(t=e.classList).add.apply(t,n.split(" "))}function m2(e,n){e&&n.split(" ").forEach(function(t){e.classList.remove(t)})}function h2(e){return".".concat(e.split(" ").join("."))}var af=!!(typeof window<"u"&&window.document&&window.document.createElement),hw=Object.freeze({__proto__:null,addClasses:f2,canUseDOM:af,classNamesToQuery:h2,getElementDocument:d2,getElementWindow:u2,getOptions:p2,removeClasses:m2}),Zr=null,l2=null;af&&window.addEventListener("resize",function(){l2!==window.devicePixelRatio&&(l2=window.devicePixelRatio,Zr=null)});function c2(){if(Zr===null){if(typeof document>"u")return Zr=0,Zr;var e=document.body,n=document.createElement("div");n.classList.add("simplebar-hide-scrollbar"),e.appendChild(n);var t=n.getBoundingClientRect().right;e.removeChild(n),Zr=t}return Zr}var oi=u2,sf=d2,gw=p2,si=f2,ai=m2,_t=h2,as=(function(){function e(n,t){t===void 0&&(t={});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=oi(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,si(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(){ai(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(si(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ai(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,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Y=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,Me=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,ke=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 O=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;O=i.draggedAxis==="x"&&i.isRtl?((_=(v=I.rect)===null||v===void 0?void 0:v[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-Me.size-O:O;var se=O/(Y-Me.size),te=se*(ce-ke);i.draggedAxis==="x"&&i.isRtl&&(te=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-te:te),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=te}},this.onEndDrag=function(r){i.isDragging=!1;var o=sf(i.el),a=oi(i.el);r.preventDefault(),r.stopPropagation(),ai(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=n,this.options=Wr(Wr({},e.defaultOptions),t),this.classNames=Wr(Wr({},e.defaultOptions.classNames),t.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=a2(this._onMouseMove,64),this.onWindowResize=$r(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=$r(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=$r(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var n=document.createElement("div");n.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var t=n.firstElementChild,i=t?.firstElementChild;if(!i)return null;document.body.appendChild(t),t.scrollLeft=0;var r=e.getOffset(t),o=e.getOffset(i);t.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(t),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(n){var t=n.getBoundingClientRect(),i=sf(n),r=oi(n);return{top:t.top+(r.pageYOffset||i.documentElement.scrollTop),left:t.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 n,t;this.wrapperEl=this.el.querySelector(_t(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(_t(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(_t(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(_t(this.classNames.offset)),this.maskEl=this.el.querySelector(_t(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,_t(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(_t(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(_t(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(_t(this.classNames.track)).concat(_t(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(_t(this.classNames.track)).concat(_t(this.classNames.vertical))),this.axis.x.scrollbar.el=((n=this.axis.x.track.el)===null||n===void 0?void 0:n.querySelector(_t(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((t=this.axis.y.track.el)===null||t===void 0?void 0:t.querySelector(_t(this.classNames.scrollbar)))||null,this.options.autoHide||(si(this.axis.x.scrollbar.el,this.classNames.visible),si(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var n=this,t,i=oi(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(t=this.contentWrapperEl)===null||t===void 0||t.addEventListener("scroll",this.onScroll),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(){n.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(){n.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var n=oi(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var t=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>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(t||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=t!==0&&f>t,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,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(n){var t,i;if(n===void 0&&(n="y"),!this.axis[n].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[n].scrollSizeAttr],o=(i=(t=this.axis[n].track.el)===null||t===void 0?void 0:t[this.axis[n].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(n){var t,i,r;n===void 0&&(n="y");var o=this.axis[n].scrollbar;if(!(!this.axis[n].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[n].scrollSizeAttr],c=((t=this.axis[n].track.el)===null||t===void 0?void 0:t[this.axis[n].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[n].sizeAttr],10),f=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];f=n==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,n==="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=n==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=n==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(n){n===void 0&&(n="y");var t=this.axis[n].track.el,i=this.axis[n].scrollbar.el;!t||!i||!this.contentWrapperEl||(this.axis[n].isOverflowing||this.axis[n].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(n))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(n))),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(n){n===void 0&&(n="y"),this.axis[n].isOverflowing&&!this.axis[n].scrollbar.isVisible&&(si(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(n){n===void 0&&(n="y"),!this.isDragging&&this.axis[n].isOverflowing&&this.axis[n].scrollbar.isVisible&&(ai(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(n){n===void 0&&(n="y");var t=this.axis[n];!t.track.el||!t.scrollbar.el||(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(n),si(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?si(t.scrollbar.el,this.classNames.hover):ai(t.scrollbar.el,this.classNames.hover)):(ai(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)))},e.prototype.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),ai(this.axis[n].track.el,this.classNames.hover),ai(this.axis[n].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)},e.prototype.onDragStart=function(n,t){var i;t===void 0&&(t="y"),this.isDragging=!0;var r=sf(this.el),o=oi(this.el),a=this.axis[t].scrollbar,c=t==="y"?n.pageY:n.pageX;this.axis[t].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[t].offsetAttr])||0),this.draggedAxis=t,si(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(n,t){var i=this,r,o,a,c;t===void 0&&(t="y");var d=this.axis[t];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){n.preventDefault();var f=oi(this.el);this.axis[t].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[t].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[t].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[t].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],_=t==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?v-y:v+y,I=40,Y=function(){i.contentWrapperEl&&(A===-1?v>k&&(v-=I,i.contentWrapperEl[i.axis[t].scrollOffsetAttr]=v,f.requestAnimationFrame(Y)):v<k&&(v+=I,i.contentWrapperEl[i.axis[t].scrollOffsetAttr]=v,f.requestAnimationFrame(Y)))};Y()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var n=oi(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),n.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},e.prototype.findChild=function(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(r){return i.call(r,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=gw,e.helpers=hw,e})();var cf=function(e,n){return cf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])},cf(e,n)};function bw(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");cf(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var uf=as.helpers,lf=uf.getOptions,Ot=uf.addClasses,vw=uf.canUseDOM,g2=(function(e){bw(n,e);function n(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var r=e.apply(this,t)||this;return n.instances.set(t[0],r),r}return n.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.getAttribute("data-simplebar")!=="init"&&!n.instances.has(t)&&new n(t,lf(t.attributes))})},n.removeObserver=function(){var t;(t=n.globalObserver)===null||t===void 0||t.disconnect()},n.prototype.initDOM=function(){var t=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(t.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Ot(this.wrapperEl,this.classNames.wrapper),Ot(this.contentWrapperEl,this.classNames.contentWrapper),Ot(this.offsetEl,this.classNames.offset),Ot(this.maskEl,this.classNames.mask),Ot(this.contentEl,this.classNames.contentEl),Ot(this.placeholderEl,this.classNames.placeholder),Ot(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Ot(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");Ot(a,this.classNames.track),Ot(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),Ot(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),Ot(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")},n.prototype.unMount=function(){as.prototype.unMount.call(this),n.instances.delete(this.el)},n.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(n.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},n.handleMutations=function(t){t.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!n.instances.has(r)&&document.documentElement.contains(r)&&new n(r,lf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!n.instances.has(o)&&document.documentElement.contains(o)&&new n(o,lf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=n.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=n.instances.get(a))===null||c===void 0||c.unMount())}))})})},n.instances=new WeakMap,n})(as);vw&&g2.initHtmlApi();var df=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(df||{});var v2=Iy(b2());function yw(e,n){if(e&1){let t=Ee();D(0,"lib-bimplus-main-menu",11),F("bimplusMainMenuClicked",function(r){j(t);let o=E();return H(o.bimplusMainMenuClicked(r))})("bimplusMainMenuOverlayClicked",function(){j(t);let r=E();return H(r.bimplusMainMenuOverlayClicked())}),T()}if(e&2){let t=E();M("selectedLanguage",t.languageStringsService.currentLanguage)("localizedStrings",t.languageStringsService.currentLanguageStrings)("isTouch",t.isTouch)("showHorizontalMenuIcons",t.isTouch)("appsWithInfo",t.appsWithInfo)("appsOrder",t.appsOrder)("menuItemsOrder",t.menuItemsOrder)}}var y2=(()=>{class e{constructor(){this.translateService=L(Te),this.languageStringsService=L(qg),this.logoState=df.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=Yn("object-properties"),this.languageStringsService.currentLanguage$.pipe(rf()).subscribe({next:t=>{this.translateService.use(t),v2.default.locale(t)}}),this.languageStringsService.currentLanguageStrings$.pipe(rf()).subscribe({next:t=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,t)}})}log(t,i,r,o){let a=typeof i?.detail=="object"?JSON.stringify(i?.detail):i?.detail,c=`EVENT : ${t}. `+(r?`INDEX: ${i?.detail?.index} ACTION: ${i?.detail?.action}`:`VALUE: ${a}`);(o?()=>window.alert(c):()=>console.log(c))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:t=>{this.log("Navbar clicked",t),t?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages()}bimplusLanguageSelected(t){this.log("bimplusLanguageSelected",{detail:t}),this._switchLanguage(t)}_switchLanguage(t){t&&this.languageStringsService.setCurrentLanguage(t)}bimplusUserMenuClicked(t){this.log("bimplusUserMenuClicked",t,!0)}bimplusTouchModeSelected(t){this.log("bimplusTouchModeSelected",{detail:t}),this.isTouch=t==="touch"}bimplusMainMenuClicked(t){this.log("bimplusMainMenuClicked",{detail:t},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(t){this.log("bimplusStorageInfoClicked",{detail:t},!1,!0)}bimplusUpgradeLinkClicked(t){this.log("bimplusUpgradeLinkClicked",{detail:t},!1,!0)}bimplusContactClicked(t){this.log("bimplusContactClicked",{detail:t},!1,!0)}bimplusZoomSelected(t){this.log("bimplusZoomSelected",{detail:t}),this.selectedZoom=t;let i=62.5*(Number(t)/100),r=document.querySelector("html");r&&(r.style.fontSize=i+"%")}bimplusNotifyDeleteMessage(t){let i=JSON.parse(t),r=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(o=>o.id!==i.id);this.messages=r&&JSON.stringify({messages:r})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(t){this.log("This is notify message action handler",{detail:t},!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."}]})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ue({type:e,selectors:[["app-root"]],features:[Be([])],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(i,r){i&1&&(D(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-notify",2),F("bimplusNotifyMessageAction",function(a){return r.bimplusNotifyMessageAction(a)})("bimplusNotifyDeleteMessage",function(a){return r.bimplusNotifyDeleteMessage(a)})("bimplusNotifyDeleteAllMessages",function(){return r.bimplusNotifyDeleteAllMessages()}),T(),D(3,"lib-bimplus-storage-info",3),F("bimplusStorageInfoClicked",function(a){return r.bimplusStorageInfoClicked(a)}),T(),D(4,"lib-bimplus-upgrade-link",4),F("bimplusUpgradeLinkClicked",function(a){return r.bimplusUpgradeLinkClicked(a)}),T(),D(5,"lib-bimplus-contact",5),F("bimplusContactClicked",function(a){return r.bimplusContactClicked(a)}),T(),D(6,"lib-bimplus-zoom",6),F("bimplusZoomSelected",function(a){return r.bimplusZoomSelected(a)}),T(),D(7,"lib-bimplus-touch-menu",7),F("bimplusTouchModeSelected",function(a){return r.bimplusTouchModeSelected(a)}),T(),D(8,"lib-bimplus-language-menu",8),F("bimplusLanguageSelected",function(a){return r.bimplusLanguageSelected(a)}),T(),D(9,"lib-bimplus-user-menu",9),F("bimplusLanguageSelected",function(a){return r.bimplusLanguageSelected(a)})("bimplusUserMenuClicked",function(a){return r.bimplusUserMenuClicked(a)}),T()()(),we(10,yw,1,7,"lib-bimplus-main-menu",10)),i&2&&(w(),M("logoState",r.logoState)("isNavbarMenuVisible",r.isBimplusMainMenuVisible)("isNavbarMenuActive",r.isNavbarMenuActive)("isTouch",r.isTouch),w(),M("selectedLanguage",r.languageStringsService.currentLanguage)("localizedStrings",r.languageStringsService.currentLanguageStrings)("messages",r.messages),w(),M("selectedLanguage",r.languageStringsService.currentLanguage)("localizedStrings",r.languageStringsService.currentLanguageStrings)("usedStorage",90),w(),M("selectedLanguage",r.languageStringsService.currentLanguage)("localizedStrings",r.languageStringsService.currentLanguageStrings)("isTouch",r.isTouch),w(2),M("selectedZoom",r.selectedZoom),w(),M("selectedMode",r.isTouch?"touch":"desktop")("selectedLanguage",r.languageStringsService.currentLanguage)("localizedStrings",r.languageStringsService.currentLanguageStrings),w(),M("selectedLanguage",r.languageStringsService.currentLanguage),w(),M("selectedLanguage",r.languageStringsService.currentLanguage)("localizedStrings",r.languageStringsService.currentLanguageStrings)("isTouch",r.isTouch),w(),De(r.isNavbarMenuActive?10:-1))},dependencies:[Rl,Pl,Vl,jl,$l,Zl,Wl,Yl,ql,Gl],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
21
+ `],encapsulation:2})}}return e})();var ff=class{handle(n){return console.warn("Missing translation string "+n.key),n.key}};qt(null,null,function*(){let e=yield Hp({providers:[$p(),Yg({prefix:"./assets/@bimplus/navigation/languages/strings_",suffix:".json"}),_a(Re.forRoot({missingTranslationHandler:{provide:Ui,useClass:ff},isolate:!0,defaultLanguage:"en"}))]}),n=vt(Rl,{injector:e.injector});customElements.define("bimplus-navigation-contact",n);let t=vt(Pl,{injector:e.injector});customElements.define("bimplus-navigation-language-menu",t);let i=vt(Vl,{injector:e.injector});customElements.define("bimplus-navigation-main-menu",i);let r=vt(jl,{injector:e.injector});customElements.define("bimplus-navigation-navbar",r);let o=vt($l,{injector:e.injector});customElements.define("bimplus-navigation-notify",o);let a=vt(Fl,{injector:e.injector});customElements.define("bimplus-navigation-project-menu",a);let c=vt(Zl,{injector:e.injector});customElements.define("bimplus-navigation-storage-info",c);let d=vt(Wl,{injector:e.injector});customElements.define("bimplus-navigation-upgrade-link",d);let f=vt(Gl,{injector:e.injector});customElements.define("bimplus-navigation-touch-menu",f);let h=vt(Yl,{injector:e.injector});customElements.define("bimplus-navigation-user-menu",h);let g=vt(ql,{injector:e.injector});customElements.define("bimplus-navigation-zoom",g);let y=vt(Ul,{injector:e.injector});customElements.define("bimplus-navigation-scrollable-container-element",y);let v=vt(y2,{injector:e.injector});customElements.define("bimplus-navigation-app-wrapper-internal-element",v)});export{ff as BimplusMissingTranslationHandler};