@bimplus/navigation-web 0.0.224-ang-v21-rollback-01 → 0.0.225
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var Ry=Object.create;var Ac=Object.defineProperty,Py=Object.defineProperties,Fy=Object.getOwnPropertyDescriptor,Vy=Object.getOwnPropertyDescriptors,jy=Object.getOwnPropertyNames,mm=Object.getOwnPropertySymbols,Hy=Object.getPrototypeOf,gm=Object.prototype.hasOwnProperty,By=Object.prototype.propertyIsEnumerable;var hm=(e,t,n)=>t in e?Ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oe=(e,t)=>{for(var n in t||={})gm.call(t,n)&&hm(e,n,t[n]);if(mm)for(var n of mm(t))By.call(t,n)&&hm(e,n,t[n]);return e},it=(e,t)=>Py(e,Vy(t));var vm=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Uy=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var zy=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of jy(t))!gm.call(e,r)&&r!==n&&Ac(e,r,{get:()=>t[r],enumerable:!(i=Fy(t,r))||i.enumerable});return e};var $y=(e,t,n)=>(n=e!=null?Ry(Hy(e)):{},zy(t||!e||!e.__esModule?Ac(n,"default",{value:e,enumerable:!0}):n,e));var Zt=(e,t,n)=>new Promise((i,r)=>{var o=d=>{try{c(n.next(d))}catch(f){r(f)}},a=d=>{try{c(n.throw(d))}catch(f){r(f)}},c=d=>d.done?i(d.value):Promise.resolve(d.value).then(o,a);c((n=n.apply(e,t)).next())});var O2=Uy((_f,Br)=>{"use strict";(function(e,t){typeof _f=="object"&&typeof Br<"u"?Br.exports=t():typeof define=="function"&&define.amd?define(t):e.moment=t()})(_f,function(){"use strict";var e;function t(){return e.apply(null,arguments)}function n(s){e=s}function i(s){return s instanceof Array||Object.prototype.toString.call(s)==="[object Array]"}function r(s){return s!=null&&Object.prototype.toString.call(s)==="[object Object]"}function o(s,l){return Object.prototype.hasOwnProperty.call(s,l)}function a(s){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(s).length===0;var l;for(l in s)if(o(s,l))return!1;return!0}function c(s){return s===void 0}function d(s){return typeof s=="number"||Object.prototype.toString.call(s)==="[object Number]"}function f(s){return s instanceof Date||Object.prototype.toString.call(s)==="[object Date]"}function h(s,l){var u=[],p,m=s.length;for(p=0;p<m;++p)u.push(l(s[p],p));return u}function g(s,l){for(var u in l)o(l,u)&&(s[u]=l[u]);return o(l,"toString")&&(s.toString=l.toString),o(l,"valueOf")&&(s.valueOf=l.valueOf),s}function y(s,l,u,p){return Zf(s,l,u,p,!0).utc()}function b(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(s){return s._pf==null&&(s._pf=b()),s._pf}var A;Array.prototype.some?A=Array.prototype.some:A=function(s){var l=Object(this),u=l.length>>>0,p;for(p=0;p<u;p++)if(p in l&&s.call(this,l[p],p,l))return!0;return!1};function k(s){var l=null,u=!1,p=s._d&&!isNaN(s._d.getTime());if(p&&(l=_(s),u=A.call(l.parsedDateParts,function(m){return m!=null}),p=l.overflow<0&&!l.empty&&!l.invalidEra&&!l.invalidMonth&&!l.invalidWeekday&&!l.weekdayMismatch&&!l.nullInput&&!l.invalidFormat&&!l.userInvalidated&&(!l.meridiem||l.meridiem&&u),s._strict&&(p=p&&l.charsLeftOver===0&&l.unusedTokens.length===0&&l.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(s))s._isValid=p;else return p;return s._isValid}function I(s){var l=y(NaN);return s!=null?g(_(l),s):_(l).userInvalidated=!0,l}var Z=t.momentProperties=[],He=!1;function
|
|
1
|
+
var Ry=Object.create;var Ac=Object.defineProperty,Py=Object.defineProperties,Fy=Object.getOwnPropertyDescriptor,Vy=Object.getOwnPropertyDescriptors,jy=Object.getOwnPropertyNames,mm=Object.getOwnPropertySymbols,Hy=Object.getPrototypeOf,gm=Object.prototype.hasOwnProperty,By=Object.prototype.propertyIsEnumerable;var hm=(e,t,n)=>t in e?Ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oe=(e,t)=>{for(var n in t||={})gm.call(t,n)&&hm(e,n,t[n]);if(mm)for(var n of mm(t))By.call(t,n)&&hm(e,n,t[n]);return e},it=(e,t)=>Py(e,Vy(t));var vm=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Uy=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var zy=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of jy(t))!gm.call(e,r)&&r!==n&&Ac(e,r,{get:()=>t[r],enumerable:!(i=Fy(t,r))||i.enumerable});return e};var $y=(e,t,n)=>(n=e!=null?Ry(Hy(e)):{},zy(t||!e||!e.__esModule?Ac(n,"default",{value:e,enumerable:!0}):n,e));var Zt=(e,t,n)=>new Promise((i,r)=>{var o=d=>{try{c(n.next(d))}catch(f){r(f)}},a=d=>{try{c(n.throw(d))}catch(f){r(f)}},c=d=>d.done?i(d.value):Promise.resolve(d.value).then(o,a);c((n=n.apply(e,t)).next())});var O2=Uy((_f,Br)=>{"use strict";(function(e,t){typeof _f=="object"&&typeof Br<"u"?Br.exports=t():typeof define=="function"&&define.amd?define(t):e.moment=t()})(_f,function(){"use strict";var e;function t(){return e.apply(null,arguments)}function n(s){e=s}function i(s){return s instanceof Array||Object.prototype.toString.call(s)==="[object Array]"}function r(s){return s!=null&&Object.prototype.toString.call(s)==="[object Object]"}function o(s,l){return Object.prototype.hasOwnProperty.call(s,l)}function a(s){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(s).length===0;var l;for(l in s)if(o(s,l))return!1;return!0}function c(s){return s===void 0}function d(s){return typeof s=="number"||Object.prototype.toString.call(s)==="[object Number]"}function f(s){return s instanceof Date||Object.prototype.toString.call(s)==="[object Date]"}function h(s,l){var u=[],p,m=s.length;for(p=0;p<m;++p)u.push(l(s[p],p));return u}function g(s,l){for(var u in l)o(l,u)&&(s[u]=l[u]);return o(l,"toString")&&(s.toString=l.toString),o(l,"valueOf")&&(s.valueOf=l.valueOf),s}function y(s,l,u,p){return Zf(s,l,u,p,!0).utc()}function b(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(s){return s._pf==null&&(s._pf=b()),s._pf}var A;Array.prototype.some?A=Array.prototype.some:A=function(s){var l=Object(this),u=l.length>>>0,p;for(p=0;p<u;p++)if(p in l&&s.call(this,l[p],p,l))return!0;return!1};function k(s){var l=null,u=!1,p=s._d&&!isNaN(s._d.getTime());if(p&&(l=_(s),u=A.call(l.parsedDateParts,function(m){return m!=null}),p=l.overflow<0&&!l.empty&&!l.invalidEra&&!l.invalidMonth&&!l.invalidWeekday&&!l.weekdayMismatch&&!l.nullInput&&!l.invalidFormat&&!l.userInvalidated&&(!l.meridiem||l.meridiem&&u),s._strict&&(p=p&&l.charsLeftOver===0&&l.unusedTokens.length===0&&l.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(s))s._isValid=p;else return p;return s._isValid}function I(s){var l=y(NaN);return s!=null?g(_(l),s):_(l).userInvalidated=!0,l}var Z=t.momentProperties=[],He=!1;function ue(s,l){var u,p,m,v=Z.length;if(c(l._isAMomentObject)||(s._isAMomentObject=l._isAMomentObject),c(l._i)||(s._i=l._i),c(l._f)||(s._f=l._f),c(l._l)||(s._l=l._l),c(l._strict)||(s._strict=l._strict),c(l._tzm)||(s._tzm=l._tzm),c(l._isUTC)||(s._isUTC=l._isUTC),c(l._offset)||(s._offset=l._offset),c(l._pf)||(s._pf=_(l)),c(l._locale)||(s._locale=l._locale),v>0)for(u=0;u<v;u++)p=Z[u],m=l[p],c(m)||(s[p]=m);return s}function Ce(s){ue(this,s),this._d=new Date(s._d!=null?s._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),He===!1&&(He=!0,t.updateOffset(this),He=!1)}function N(s){return s instanceof Ce||s!=null&&s._isAMomentObject!=null}function ve(s){t.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+s)}function ne(s,l){var u=!0;return g(function(){if(t.deprecationHandler!=null&&t.deprecationHandler(null,s),u){var p=[],m,v,C,L=arguments.length;for(v=0;v<L;v++){if(m="",typeof arguments[v]=="object"){m+=`
|
|
2
2
|
[`+v+"] ";for(C in arguments[0])o(arguments[0],C)&&(m+=C+": "+arguments[0][C]+", ");m=m.slice(0,-2)}else m=arguments[v];p.push(m)}ve(s+`
|
|
3
3
|
Arguments: `+Array.prototype.slice.call(p).join("")+`
|
|
4
|
-
`+new Error().stack),u=!1}return l.apply(this,arguments)},l)}var Mn={};function wf(s,l){t.deprecationHandler!=null&&t.deprecationHandler(s,l),Mn[s]||(ve(l),Mn[s]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function Ut(s){return typeof Function<"u"&&s instanceof Function||Object.prototype.toString.call(s)==="[object Function]"}function F2(s){var l,u;for(u in s)o(s,u)&&(l=s[u],Ut(l)?this[u]=l:this["_"+u]=l);this._config=s,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ic(s,l){var u=g({},s),p;for(p in l)o(l,p)&&(r(s[p])&&r(l[p])?(u[p]={},g(u[p],s[p]),g(u[p],l[p])):l[p]!=null?u[p]=l[p]:delete u[p]);for(p in s)o(s,p)&&!o(l,p)&&r(s[p])&&(u[p]=g({},u[p]));return u}function rc(s){s!=null&&this.set(s)}var oc;Object.keys?oc=Object.keys:oc=function(s){var l,u=[];for(l in s)o(s,l)&&u.push(l);return u};var V2={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j2(s,l,u){var p=this._calendar[s]||this._calendar.sameElse;return Ut(p)?p.call(l,u):p}function zt(s,l,u){var p=""+Math.abs(s),m=l-p.length,v=s>=0;return(v?u?"+":"":"-")+Math.pow(10,Math.max(0,m)).toString().substr(1)+p}var sc=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,us=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ac={},Hi={};function P(s,l,u,p){var m=p;typeof p=="string"&&(m=function(){return this[p]()}),s&&(Hi[s]=m),l&&(Hi[l[0]]=function(){return zt(m.apply(this,arguments),l[1],l[2])}),u&&(Hi[u]=function(){return this.localeData().ordinal(m.apply(this,arguments),s)})}function H2(s){return s.match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"")}function B2(s){var l=s.match(sc),u,p;for(u=0,p=l.length;u<p;u++)Hi[l[u]]?l[u]=Hi[l[u]]:l[u]=H2(l[u]);return function(m){var v="",C;for(C=0;C<p;C++)v+=Ut(l[C])?l[C].call(m,s):l[C];return v}}function ds(s,l){return s.isValid()?(l=Df(l,s.localeData()),ac[l]=ac[l]||B2(l),ac[l](s)):s.localeData().invalidDate()}function Df(s,l){var u=5;function p(m){return l.longDateFormat(m)||m}for(us.lastIndex=0;u>=0&&us.test(s);)s=s.replace(us,p),us.lastIndex=0,u-=1;return s}var U2={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function z2(s){var l=this._longDateFormat[s],u=this._longDateFormat[s.toUpperCase()];return l||!u?l:(this._longDateFormat[s]=u.match(sc).map(function(p){return p==="MMMM"||p==="MM"||p==="DD"||p==="dddd"?p.slice(1):p}).join(""),this._longDateFormat[s])}var $2="Invalid date";function Z2(){return this._invalidDate}var W2="%d",G2=/\d{1,2}/;function Y2(s){return this._ordinal.replace("%d",s)}var q2={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q2(s,l,u,p){var m=this._relativeTime[u];return Ut(m)?m(s,l,u,p):m.replace(/%d/i,s)}function X2(s,l){var u=this._relativeTime[s>0?"future":"past"];return Ut(u)?u(l):u.replace(/%s/i,l)}var Ef={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function wt(s){return typeof s=="string"?Ef[s]||Ef[s.toLowerCase()]:void 0}function lc(s){var l={},u,p;for(p in s)o(s,p)&&(u=wt(p),u&&(l[u]=s[p]));return l}var K2={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function J2(s){var l=[],u;for(u in s)o(s,u)&&l.push({unit:u,priority:K2[u]});return l.sort(function(p,m){return p.priority-m.priority}),l}var xf=/\d/,bt=/\d\d/,Mf=/\d{3}/,cc=/\d{4}/,ps=/[+-]?\d{6}/,we=/\d\d?/,If=/\d\d\d\d?/,Sf=/\d\d\d\d\d\d?/,fs=/\d{1,3}/,uc=/\d{1,4}/,ms=/[+-]?\d{1,6}/,Bi=/\d+/,hs=/[+-]?\d+/,ev=/Z|[+-]\d\d:?\d\d/gi,gs=/Z|[+-]\d\d(?::?\d\d)?/gi,tv=/[+-]?\d+(\.\d{1,3})?/,Ur=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ui=/^[1-9]\d?/,dc=/^([1-9]\d|\d)/,vs;vs={};function O(s,l,u){vs[s]=Ut(l)?l:function(p,m){return p&&u?u:l}}function nv(s,l){return o(vs,s)?vs[s](l._strict,l._locale):new RegExp(iv(s))}function iv(s){return rn(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(l,u,p,m,v){return u||p||m||v}))}function rn(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Dt(s){return s<0?Math.ceil(s)||0:Math.floor(s)}function ee(s){var l=+s,u=0;return l!==0&&isFinite(l)&&(u=Dt(l)),u}var pc={};function ue(s,l){var u,p=l,m;for(typeof s=="string"&&(s=[s]),d(l)&&(p=function(v,C){C[l]=ee(v)}),m=s.length,u=0;u<m;u++)pc[s[u]]=p}function zr(s,l){ue(s,function(u,p,m,v){m._w=m._w||{},l(u,m._w,m,v)})}function rv(s,l,u){l!=null&&o(pc,s)&&pc[s](l,u._a,u,s)}function bs(s){return s%4===0&&s%100!==0||s%400===0}var Je=0,on=1,$t=2,We=3,At=4,sn=5,ii=6,ov=7,sv=8;P("Y",0,0,function(){var s=this.year();return s<=9999?zt(s,4):"+"+s}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),O("Y",hs),O("YY",we,bt),O("YYYY",uc,cc),O("YYYYY",ms,ps),O("YYYYYY",ms,ps),ue(["YYYYY","YYYYYY"],Je),ue("YYYY",function(s,l){l[Je]=s.length===2?t.parseTwoDigitYear(s):ee(s)}),ue("YY",function(s,l){l[Je]=t.parseTwoDigitYear(s)}),ue("Y",function(s,l){l[Je]=parseInt(s,10)});function $r(s){return bs(s)?366:365}t.parseTwoDigitYear=function(s){return ee(s)+(ee(s)>68?1900:2e3)};var Tf=zi("FullYear",!0);function av(){return bs(this.year())}function zi(s,l){return function(u){return u!=null?(kf(this,s,u),t.updateOffset(this,l),this):Zr(this,s)}}function Zr(s,l){if(!s.isValid())return NaN;var u=s._d,p=s._isUTC;switch(l){case"Milliseconds":return p?u.getUTCMilliseconds():u.getMilliseconds();case"Seconds":return p?u.getUTCSeconds():u.getSeconds();case"Minutes":return p?u.getUTCMinutes():u.getMinutes();case"Hours":return p?u.getUTCHours():u.getHours();case"Date":return p?u.getUTCDate():u.getDate();case"Day":return p?u.getUTCDay():u.getDay();case"Month":return p?u.getUTCMonth():u.getMonth();case"FullYear":return p?u.getUTCFullYear():u.getFullYear();default:return NaN}}function kf(s,l,u){var p,m,v,C,L;if(!(!s.isValid()||isNaN(u))){switch(p=s._d,m=s._isUTC,l){case"Milliseconds":return void(m?p.setUTCMilliseconds(u):p.setMilliseconds(u));case"Seconds":return void(m?p.setUTCSeconds(u):p.setSeconds(u));case"Minutes":return void(m?p.setUTCMinutes(u):p.setMinutes(u));case"Hours":return void(m?p.setUTCHours(u):p.setHours(u));case"Date":return void(m?p.setUTCDate(u):p.setDate(u));case"FullYear":break;default:return}v=u,C=s.month(),L=s.date(),L=L===29&&C===1&&!bs(v)?28:L,m?p.setUTCFullYear(v,C,L):p.setFullYear(v,C,L)}}function lv(s){return s=wt(s),Ut(this[s])?this[s]():this}function cv(s,l){if(typeof s=="object"){s=lc(s);var u=J2(s),p,m=u.length;for(p=0;p<m;p++)this[u[p].unit](s[u[p].unit])}else if(s=wt(s),Ut(this[s]))return this[s](l);return this}function uv(s,l){return(s%l+l)%l}var Le;Array.prototype.indexOf?Le=Array.prototype.indexOf:Le=function(s){var l;for(l=0;l<this.length;++l)if(this[l]===s)return l;return-1};function fc(s,l){if(isNaN(s)||isNaN(l))return NaN;var u=uv(l,12);return s+=(l-u)/12,u===1?bs(s)?29:28:31-u%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(s){return this.localeData().monthsShort(this,s)}),P("MMMM",0,0,function(s){return this.localeData().months(this,s)}),O("M",we,Ui),O("MM",we,bt),O("MMM",function(s,l){return l.monthsShortRegex(s)}),O("MMMM",function(s,l){return l.monthsRegex(s)}),ue(["M","MM"],function(s,l){l[on]=ee(s)-1}),ue(["MMM","MMMM"],function(s,l,u,p){var m=u._locale.monthsParse(s,p,u._strict);m!=null?l[on]=m:_(u).invalidMonth=s});var dv="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Af="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Nf=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pv=Ur,fv=Ur;function mv(s,l){return s?i(this._months)?this._months[s.month()]:this._months[(this._months.isFormat||Nf).test(l)?"format":"standalone"][s.month()]:i(this._months)?this._months:this._months.standalone}function hv(s,l){return s?i(this._monthsShort)?this._monthsShort[s.month()]:this._monthsShort[Nf.test(l)?"format":"standalone"][s.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function gv(s,l,u){var p,m,v,C=s.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],p=0;p<12;++p)v=y([2e3,p]),this._shortMonthsParse[p]=this.monthsShort(v,"").toLocaleLowerCase(),this._longMonthsParse[p]=this.months(v,"").toLocaleLowerCase();return u?l==="MMM"?(m=Le.call(this._shortMonthsParse,C),m!==-1?m:null):(m=Le.call(this._longMonthsParse,C),m!==-1?m:null):l==="MMM"?(m=Le.call(this._shortMonthsParse,C),m!==-1?m:(m=Le.call(this._longMonthsParse,C),m!==-1?m:null)):(m=Le.call(this._longMonthsParse,C),m!==-1?m:(m=Le.call(this._shortMonthsParse,C),m!==-1?m:null))}function vv(s,l,u){var p,m,v;if(this._monthsParseExact)return gv.call(this,s,l,u);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),p=0;p<12;p++){if(m=y([2e3,p]),u&&!this._longMonthsParse[p]&&(this._longMonthsParse[p]=new RegExp("^"+this.months(m,"").replace(".","")+"$","i"),this._shortMonthsParse[p]=new RegExp("^"+this.monthsShort(m,"").replace(".","")+"$","i")),!u&&!this._monthsParse[p]&&(v="^"+this.months(m,"")+"|^"+this.monthsShort(m,""),this._monthsParse[p]=new RegExp(v.replace(".",""),"i")),u&&l==="MMMM"&&this._longMonthsParse[p].test(s))return p;if(u&&l==="MMM"&&this._shortMonthsParse[p].test(s))return p;if(!u&&this._monthsParse[p].test(s))return p}}function Lf(s,l){if(!s.isValid())return s;if(typeof l=="string"){if(/^\d+$/.test(l))l=ee(l);else if(l=s.localeData().monthsParse(l),!d(l))return s}var u=l,p=s.date();return p=p<29?p:Math.min(p,fc(s.year(),u)),s._isUTC?s._d.setUTCMonth(u,p):s._d.setMonth(u,p),s}function Of(s){return s!=null?(Lf(this,s),t.updateOffset(this,!0),this):Zr(this,"Month")}function bv(){return fc(this.year(),this.month())}function yv(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Rf.call(this),s?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=pv),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}function _v(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Rf.call(this),s?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=fv),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}function Rf(){function s(z,te){return te.length-z.length}var l=[],u=[],p=[],m,v,C,L;for(m=0;m<12;m++)v=y([2e3,m]),C=rn(this.monthsShort(v,"")),L=rn(this.months(v,"")),l.push(C),u.push(L),p.push(L),p.push(C);l.sort(s),u.sort(s),p.sort(s),this._monthsRegex=new RegExp("^("+p.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+l.join("|")+")","i")}function Cv(s,l,u,p,m,v,C){var L;return s<100&&s>=0?(L=new Date(s+400,l,u,p,m,v,C),isFinite(L.getFullYear())&&L.setFullYear(s)):L=new Date(s,l,u,p,m,v,C),L}function Wr(s){var l,u;return s<100&&s>=0?(u=Array.prototype.slice.call(arguments),u[0]=s+400,l=new Date(Date.UTC.apply(null,u)),isFinite(l.getUTCFullYear())&&l.setUTCFullYear(s)):l=new Date(Date.UTC.apply(null,arguments)),l}function ys(s,l,u){var p=7+l-u,m=(7+Wr(s,0,p).getUTCDay()-l)%7;return-m+p-1}function Pf(s,l,u,p,m){var v=(7+u-p)%7,C=ys(s,p,m),L=1+7*(l-1)+v+C,z,te;return L<=0?(z=s-1,te=$r(z)+L):L>$r(s)?(z=s+1,te=L-$r(s)):(z=s,te=L),{year:z,dayOfYear:te}}function Gr(s,l,u){var p=ys(s.year(),l,u),m=Math.floor((s.dayOfYear()-p-1)/7)+1,v,C;return m<1?(C=s.year()-1,v=m+an(C,l,u)):m>an(s.year(),l,u)?(v=m-an(s.year(),l,u),C=s.year()+1):(C=s.year(),v=m),{week:v,year:C}}function an(s,l,u){var p=ys(s,l,u),m=ys(s+1,l,u);return($r(s)-p+m)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),O("w",we,Ui),O("ww",we,bt),O("W",we,Ui),O("WW",we,bt),zr(["w","ww","W","WW"],function(s,l,u,p){l[p.substr(0,1)]=ee(s)});function wv(s){return Gr(s,this._week.dow,this._week.doy).week}var Dv={dow:0,doy:6};function Ev(){return this._week.dow}function xv(){return this._week.doy}function Mv(s){var l=this.localeData().week(this);return s==null?l:this.add((s-l)*7,"d")}function Iv(s){var l=Gr(this,1,4).week;return s==null?l:this.add((s-l)*7,"d")}P("d",0,"do","day"),P("dd",0,0,function(s){return this.localeData().weekdaysMin(this,s)}),P("ddd",0,0,function(s){return this.localeData().weekdaysShort(this,s)}),P("dddd",0,0,function(s){return this.localeData().weekdays(this,s)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),O("d",we),O("e",we),O("E",we),O("dd",function(s,l){return l.weekdaysMinRegex(s)}),O("ddd",function(s,l){return l.weekdaysShortRegex(s)}),O("dddd",function(s,l){return l.weekdaysRegex(s)}),zr(["dd","ddd","dddd"],function(s,l,u,p){var m=u._locale.weekdaysParse(s,p,u._strict);m!=null?l.d=m:_(u).invalidWeekday=s}),zr(["d","e","E"],function(s,l,u,p){l[p]=ee(s)});function Sv(s,l){return typeof s!="string"?s:isNaN(s)?(s=l.weekdaysParse(s),typeof s=="number"?s:null):parseInt(s,10)}function Tv(s,l){return typeof s=="string"?l.weekdaysParse(s)%7||7:isNaN(s)?null:s}function mc(s,l){return s.slice(l,7).concat(s.slice(0,l))}var kv="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ff="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Av="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nv=Ur,Lv=Ur,Ov=Ur;function Rv(s,l){var u=i(this._weekdays)?this._weekdays:this._weekdays[s&&s!==!0&&this._weekdays.isFormat.test(l)?"format":"standalone"];return s===!0?mc(u,this._week.dow):s?u[s.day()]:u}function Pv(s){return s===!0?mc(this._weekdaysShort,this._week.dow):s?this._weekdaysShort[s.day()]:this._weekdaysShort}function Fv(s){return s===!0?mc(this._weekdaysMin,this._week.dow):s?this._weekdaysMin[s.day()]:this._weekdaysMin}function Vv(s,l,u){var p,m,v,C=s.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],p=0;p<7;++p)v=y([2e3,1]).day(p),this._minWeekdaysParse[p]=this.weekdaysMin(v,"").toLocaleLowerCase(),this._shortWeekdaysParse[p]=this.weekdaysShort(v,"").toLocaleLowerCase(),this._weekdaysParse[p]=this.weekdays(v,"").toLocaleLowerCase();return u?l==="dddd"?(m=Le.call(this._weekdaysParse,C),m!==-1?m:null):l==="ddd"?(m=Le.call(this._shortWeekdaysParse,C),m!==-1?m:null):(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null):l==="dddd"?(m=Le.call(this._weekdaysParse,C),m!==-1||(m=Le.call(this._shortWeekdaysParse,C),m!==-1)?m:(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null)):l==="ddd"?(m=Le.call(this._shortWeekdaysParse,C),m!==-1||(m=Le.call(this._weekdaysParse,C),m!==-1)?m:(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null)):(m=Le.call(this._minWeekdaysParse,C),m!==-1||(m=Le.call(this._weekdaysParse,C),m!==-1)?m:(m=Le.call(this._shortWeekdaysParse,C),m!==-1?m:null))}function jv(s,l,u){var p,m,v;if(this._weekdaysParseExact)return Vv.call(this,s,l,u);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),p=0;p<7;p++){if(m=y([2e3,1]).day(p),u&&!this._fullWeekdaysParse[p]&&(this._fullWeekdaysParse[p]=new RegExp("^"+this.weekdays(m,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[p]=new RegExp("^"+this.weekdaysShort(m,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[p]=new RegExp("^"+this.weekdaysMin(m,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[p]||(v="^"+this.weekdays(m,"")+"|^"+this.weekdaysShort(m,"")+"|^"+this.weekdaysMin(m,""),this._weekdaysParse[p]=new RegExp(v.replace(".",""),"i")),u&&l==="dddd"&&this._fullWeekdaysParse[p].test(s))return p;if(u&&l==="ddd"&&this._shortWeekdaysParse[p].test(s))return p;if(u&&l==="dd"&&this._minWeekdaysParse[p].test(s))return p;if(!u&&this._weekdaysParse[p].test(s))return p}}function Hv(s){if(!this.isValid())return s!=null?this:NaN;var l=Zr(this,"Day");return s!=null?(s=Sv(s,this.localeData()),this.add(s-l,"d")):l}function Bv(s){if(!this.isValid())return s!=null?this:NaN;var l=(this.day()+7-this.localeData()._week.dow)%7;return s==null?l:this.add(s-l,"d")}function Uv(s){if(!this.isValid())return s!=null?this:NaN;if(s!=null){var l=Tv(s,this.localeData());return this.day(this.day()%7?l:l-7)}else return this.day()||7}function zv(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Nv),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}function $v(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lv),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zv(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ov),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function hc(){function s(nt,pn){return pn.length-nt.length}var l=[],u=[],p=[],m=[],v,C,L,z,te;for(v=0;v<7;v++)C=y([2e3,1]).day(v),L=rn(this.weekdaysMin(C,"")),z=rn(this.weekdaysShort(C,"")),te=rn(this.weekdays(C,"")),l.push(L),u.push(z),p.push(te),m.push(L),m.push(z),m.push(te);l.sort(s),u.sort(s),p.sort(s),m.sort(s),this._weekdaysRegex=new RegExp("^("+m.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+l.join("|")+")","i")}function gc(){return this.hours()%12||12}function Wv(){return this.hours()||24}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,gc),P("k",["kk",2],0,Wv),P("hmm",0,0,function(){return""+gc.apply(this)+zt(this.minutes(),2)}),P("hmmss",0,0,function(){return""+gc.apply(this)+zt(this.minutes(),2)+zt(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+zt(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+zt(this.minutes(),2)+zt(this.seconds(),2)});function Vf(s,l){P(s,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),l)})}Vf("a",!0),Vf("A",!1);function jf(s,l){return l._meridiemParse}O("a",jf),O("A",jf),O("H",we,dc),O("h",we,Ui),O("k",we,Ui),O("HH",we,bt),O("hh",we,bt),O("kk",we,bt),O("hmm",If),O("hmmss",Sf),O("Hmm",If),O("Hmmss",Sf),ue(["H","HH"],We),ue(["k","kk"],function(s,l,u){var p=ee(s);l[We]=p===24?0:p}),ue(["a","A"],function(s,l,u){u._isPm=u._locale.isPM(s),u._meridiem=s}),ue(["h","hh"],function(s,l,u){l[We]=ee(s),_(u).bigHour=!0}),ue("hmm",function(s,l,u){var p=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p)),_(u).bigHour=!0}),ue("hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p,2)),l[sn]=ee(s.substr(m)),_(u).bigHour=!0}),ue("Hmm",function(s,l,u){var p=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p))}),ue("Hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p,2)),l[sn]=ee(s.substr(m))});function Gv(s){return(s+"").toLowerCase().charAt(0)==="p"}var Yv=/[ap]\.?m?\.?/i,qv=zi("Hours",!0);function Qv(s,l,u){return s>11?u?"pm":"PM":u?"am":"AM"}var Hf={calendar:V2,longDateFormat:U2,invalidDate:$2,ordinal:W2,dayOfMonthOrdinalParse:G2,relativeTime:q2,months:dv,monthsShort:Af,week:Dv,weekdays:kv,weekdaysMin:Av,weekdaysShort:Ff,meridiemParse:Yv},Me={},Yr={},qr;function Xv(s,l){var u,p=Math.min(s.length,l.length);for(u=0;u<p;u+=1)if(s[u]!==l[u])return u;return p}function Bf(s){return s&&s.toLowerCase().replace("_","-")}function Kv(s){for(var l=0,u,p,m,v;l<s.length;){for(v=Bf(s[l]).split("-"),u=v.length,p=Bf(s[l+1]),p=p?p.split("-"):null;u>0;){if(m=_s(v.slice(0,u).join("-")),m)return m;if(p&&p.length>=u&&Xv(v,p)>=u-1)break;u--}l++}return qr}function Jv(s){return!!(s&&s.match("^[^/\\\\]*$"))}function _s(s){var l=null,u;if(Me[s]===void 0&&typeof Br<"u"&&Br&&Br.exports&&Jv(s))try{l=qr._abbr,u=vm,u("./locale/"+s),In(l)}catch{Me[s]=null}return Me[s]}function In(s,l){var u;return s&&(c(l)?u=ln(s):u=vc(s,l),u?qr=u:typeof console<"u"&&console.warn&&console.warn("Locale "+s+" not found. Did you forget to load it?")),qr._abbr}function vc(s,l){if(l!==null){var u,p=Hf;if(l.abbr=s,Me[s]!=null)wf("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),p=Me[s]._config;else if(l.parentLocale!=null)if(Me[l.parentLocale]!=null)p=Me[l.parentLocale]._config;else if(u=_s(l.parentLocale),u!=null)p=u._config;else return Yr[l.parentLocale]||(Yr[l.parentLocale]=[]),Yr[l.parentLocale].push({name:s,config:l}),null;return Me[s]=new rc(ic(p,l)),Yr[s]&&Yr[s].forEach(function(m){vc(m.name,m.config)}),In(s),Me[s]}else return delete Me[s],null}function eb(s,l){if(l!=null){var u,p,m=Hf;Me[s]!=null&&Me[s].parentLocale!=null?Me[s].set(ic(Me[s]._config,l)):(p=_s(s),p!=null&&(m=p._config),l=ic(m,l),p==null&&(l.abbr=s),u=new rc(l),u.parentLocale=Me[s],Me[s]=u),In(s)}else Me[s]!=null&&(Me[s].parentLocale!=null?(Me[s]=Me[s].parentLocale,s===In()&&In(s)):Me[s]!=null&&delete Me[s]);return Me[s]}function ln(s){var l;if(s&&s._locale&&s._locale._abbr&&(s=s._locale._abbr),!s)return qr;if(!i(s)){if(l=_s(s),l)return l;s=[s]}return Kv(s)}function tb(){return oc(Me)}function bc(s){var l,u=s._a;return u&&_(s).overflow===-2&&(l=u[on]<0||u[on]>11?on:u[$t]<1||u[$t]>fc(u[Je],u[on])?$t:u[We]<0||u[We]>24||u[We]===24&&(u[At]!==0||u[sn]!==0||u[ii]!==0)?We:u[At]<0||u[At]>59?At:u[sn]<0||u[sn]>59?sn:u[ii]<0||u[ii]>999?ii:-1,_(s)._overflowDayOfYear&&(l<Je||l>$t)&&(l=$t),_(s)._overflowWeeks&&l===-1&&(l=ov),_(s)._overflowWeekday&&l===-1&&(l=sv),_(s).overflow=l),s}var nb=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ib=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,rb=/Z|[+-]\d\d(?::?\d\d)?/,Cs=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yc=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ob=/^\/?Date\((-?\d+)/i,sb=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ab={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Uf(s){var l,u,p=s._i,m=nb.exec(p)||ib.exec(p),v,C,L,z,te=Cs.length,nt=yc.length;if(m){for(_(s).iso=!0,l=0,u=te;l<u;l++)if(Cs[l][1].exec(m[1])){C=Cs[l][0],v=Cs[l][2]!==!1;break}if(C==null){s._isValid=!1;return}if(m[3]){for(l=0,u=nt;l<u;l++)if(yc[l][1].exec(m[3])){L=(m[2]||" ")+yc[l][0];break}if(L==null){s._isValid=!1;return}}if(!v&&L!=null){s._isValid=!1;return}if(m[4])if(rb.exec(m[4]))z="Z";else{s._isValid=!1;return}s._f=C+(L||"")+(z||""),Cc(s)}else s._isValid=!1}function lb(s,l,u,p,m,v){var C=[cb(s),Af.indexOf(l),parseInt(u,10),parseInt(p,10),parseInt(m,10)];return v&&C.push(parseInt(v,10)),C}function cb(s){var l=parseInt(s,10);return l<=49?2e3+l:l<=999?1900+l:l}function ub(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function db(s,l,u){if(s){var p=Ff.indexOf(s),m=new Date(l[0],l[1],l[2]).getDay();if(p!==m)return _(u).weekdayMismatch=!0,u._isValid=!1,!1}return!0}function pb(s,l,u){if(s)return ab[s];if(l)return 0;var p=parseInt(u,10),m=p%100,v=(p-m)/100;return v*60+m}function zf(s){var l=sb.exec(ub(s._i)),u;if(l){if(u=lb(l[4],l[3],l[2],l[5],l[6],l[7]),!db(l[1],u,s))return;s._a=u,s._tzm=pb(l[8],l[9],l[10]),s._d=Wr.apply(null,s._a),s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),_(s).rfc2822=!0}else s._isValid=!1}function fb(s){var l=ob.exec(s._i);if(l!==null){s._d=new Date(+l[1]);return}if(Uf(s),s._isValid===!1)delete s._isValid;else return;if(zf(s),s._isValid===!1)delete s._isValid;else return;s._strict?s._isValid=!1:t.createFromInputFallback(s)}t.createFromInputFallback=ne("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(s){s._d=new Date(s._i+(s._useUTC?" UTC":""))});function $i(s,l,u){return s??l??u}function mb(s){var l=new Date(t.now());return s._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()]}function _c(s){var l,u,p=[],m,v,C;if(!s._d){for(m=mb(s),s._w&&s._a[$t]==null&&s._a[on]==null&&hb(s),s._dayOfYear!=null&&(C=$i(s._a[Je],m[Je]),(s._dayOfYear>$r(C)||s._dayOfYear===0)&&(_(s)._overflowDayOfYear=!0),u=Wr(C,0,s._dayOfYear),s._a[on]=u.getUTCMonth(),s._a[$t]=u.getUTCDate()),l=0;l<3&&s._a[l]==null;++l)s._a[l]=p[l]=m[l];for(;l<7;l++)s._a[l]=p[l]=s._a[l]==null?l===2?1:0:s._a[l];s._a[We]===24&&s._a[At]===0&&s._a[sn]===0&&s._a[ii]===0&&(s._nextDay=!0,s._a[We]=0),s._d=(s._useUTC?Wr:Cv).apply(null,p),v=s._useUTC?s._d.getUTCDay():s._d.getDay(),s._tzm!=null&&s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),s._nextDay&&(s._a[We]=24),s._w&&typeof s._w.d<"u"&&s._w.d!==v&&(_(s).weekdayMismatch=!0)}}function hb(s){var l,u,p,m,v,C,L,z,te;l=s._w,l.GG!=null||l.W!=null||l.E!=null?(v=1,C=4,u=$i(l.GG,s._a[Je],Gr(De(),1,4).year),p=$i(l.W,1),m=$i(l.E,1),(m<1||m>7)&&(z=!0)):(v=s._locale._week.dow,C=s._locale._week.doy,te=Gr(De(),v,C),u=$i(l.gg,s._a[Je],te.year),p=$i(l.w,te.week),l.d!=null?(m=l.d,(m<0||m>6)&&(z=!0)):l.e!=null?(m=l.e+v,(l.e<0||l.e>6)&&(z=!0)):m=v),p<1||p>an(u,v,C)?_(s)._overflowWeeks=!0:z!=null?_(s)._overflowWeekday=!0:(L=Pf(u,p,m,v,C),s._a[Je]=L.year,s._dayOfYear=L.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function Cc(s){if(s._f===t.ISO_8601){Uf(s);return}if(s._f===t.RFC_2822){zf(s);return}s._a=[],_(s).empty=!0;var l=""+s._i,u,p,m,v,C,L=l.length,z=0,te,nt;for(m=Df(s._f,s._locale).match(sc)||[],nt=m.length,u=0;u<nt;u++)v=m[u],p=(l.match(nv(v,s))||[])[0],p&&(C=l.substr(0,l.indexOf(p)),C.length>0&&_(s).unusedInput.push(C),l=l.slice(l.indexOf(p)+p.length),z+=p.length),Hi[v]?(p?_(s).empty=!1:_(s).unusedTokens.push(v),rv(v,p,s)):s._strict&&!p&&_(s).unusedTokens.push(v);_(s).charsLeftOver=L-z,l.length>0&&_(s).unusedInput.push(l),s._a[We]<=12&&_(s).bigHour===!0&&s._a[We]>0&&(_(s).bigHour=void 0),_(s).parsedDateParts=s._a.slice(0),_(s).meridiem=s._meridiem,s._a[We]=gb(s._locale,s._a[We],s._meridiem),te=_(s).era,te!==null&&(s._a[Je]=s._locale.erasConvertYear(te,s._a[Je])),_c(s),bc(s)}function gb(s,l,u){var p;return u==null?l:s.meridiemHour!=null?s.meridiemHour(l,u):(s.isPM!=null&&(p=s.isPM(u),p&&l<12&&(l+=12),!p&&l===12&&(l=0)),l)}function vb(s){var l,u,p,m,v,C,L=!1,z=s._f.length;if(z===0){_(s).invalidFormat=!0,s._d=new Date(NaN);return}for(m=0;m<z;m++)v=0,C=!1,l=ce({},s),s._useUTC!=null&&(l._useUTC=s._useUTC),l._f=s._f[m],Cc(l),k(l)&&(C=!0),v+=_(l).charsLeftOver,v+=_(l).unusedTokens.length*10,_(l).score=v,L?v<p&&(p=v,u=l):(p==null||v<p||C)&&(p=v,u=l,C&&(L=!0));g(s,u||l)}function bb(s){if(!s._d){var l=lc(s._i),u=l.day===void 0?l.date:l.day;s._a=h([l.year,l.month,u,l.hour,l.minute,l.second,l.millisecond],function(p){return p&&parseInt(p,10)}),_c(s)}}function yb(s){var l=new Ce(bc($f(s)));return l._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function $f(s){var l=s._i,u=s._f;return s._locale=s._locale||ln(s._l),l===null||u===void 0&&l===""?I({nullInput:!0}):(typeof l=="string"&&(s._i=l=s._locale.preparse(l)),N(l)?new Ce(bc(l)):(f(l)?s._d=l:i(u)?vb(s):u?Cc(s):_b(s),k(s)||(s._d=null),s))}function _b(s){var l=s._i;c(l)?s._d=new Date(t.now()):f(l)?s._d=new Date(l.valueOf()):typeof l=="string"?fb(s):i(l)?(s._a=h(l.slice(0),function(u){return parseInt(u,10)}),_c(s)):r(l)?bb(s):d(l)?s._d=new Date(l):t.createFromInputFallback(s)}function Zf(s,l,u,p,m){var v={};return(l===!0||l===!1)&&(p=l,l=void 0),(u===!0||u===!1)&&(p=u,u=void 0),(r(s)&&a(s)||i(s)&&s.length===0)&&(s=void 0),v._isAMomentObject=!0,v._useUTC=v._isUTC=m,v._l=u,v._i=s,v._f=l,v._strict=p,yb(v)}function De(s,l,u,p){return Zf(s,l,u,p,!1)}var Cb=ne("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=De.apply(null,arguments);return this.isValid()&&s.isValid()?s<this?this:s:I()}),wb=ne("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=De.apply(null,arguments);return this.isValid()&&s.isValid()?s>this?this:s:I()});function Wf(s,l){var u,p;if(l.length===1&&i(l[0])&&(l=l[0]),!l.length)return De();for(u=l[0],p=1;p<l.length;++p)(!l[p].isValid()||l[p][s](u))&&(u=l[p]);return u}function Db(){var s=[].slice.call(arguments,0);return Wf("isBefore",s)}function Eb(){var s=[].slice.call(arguments,0);return Wf("isAfter",s)}var xb=function(){return Date.now?Date.now():+new Date},Qr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Mb(s){var l,u=!1,p,m=Qr.length;for(l in s)if(o(s,l)&&!(Le.call(Qr,l)!==-1&&(s[l]==null||!isNaN(s[l]))))return!1;for(p=0;p<m;++p)if(s[Qr[p]]){if(u)return!1;parseFloat(s[Qr[p]])!==ee(s[Qr[p]])&&(u=!0)}return!0}function Ib(){return this._isValid}function Sb(){return Nt(NaN)}function ws(s){var l=lc(s),u=l.year||0,p=l.quarter||0,m=l.month||0,v=l.week||l.isoWeek||0,C=l.day||0,L=l.hour||0,z=l.minute||0,te=l.second||0,nt=l.millisecond||0;this._isValid=Mb(l),this._milliseconds=+nt+te*1e3+z*6e4+L*1e3*60*60,this._days=+C+v*7,this._months=+m+p*3+u*12,this._data={},this._locale=ln(),this._bubble()}function Ds(s){return s instanceof ws}function wc(s){return s<0?Math.round(-1*s)*-1:Math.round(s)}function Tb(s,l,u){var p=Math.min(s.length,l.length),m=Math.abs(s.length-l.length),v=0,C;for(C=0;C<p;C++)(u&&s[C]!==l[C]||!u&&ee(s[C])!==ee(l[C]))&&v++;return v+m}function Gf(s,l){P(s,0,0,function(){var u=this.utcOffset(),p="+";return u<0&&(u=-u,p="-"),p+zt(~~(u/60),2)+l+zt(~~u%60,2)})}Gf("Z",":"),Gf("ZZ",""),O("Z",gs),O("ZZ",gs),ue(["Z","ZZ"],function(s,l,u){u._useUTC=!0,u._tzm=Dc(gs,s)});var kb=/([\+\-]|\d\d)/gi;function Dc(s,l){var u=(l||"").match(s),p,m,v;return u===null?null:(p=u[u.length-1]||[],m=(p+"").match(kb)||["-",0,0],v=+(m[1]*60)+ee(m[2]),v===0?0:m[0]==="+"?v:-v)}function Ec(s,l){var u,p;return l._isUTC?(u=l.clone(),p=(N(s)||f(s)?s.valueOf():De(s).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+p),t.updateOffset(u,!1),u):De(s).local()}function xc(s){return-Math.round(s._d.getTimezoneOffset())}t.updateOffset=function(){};function Ab(s,l,u){var p=this._offset||0,m;if(!this.isValid())return s!=null?this:NaN;if(s!=null){if(typeof s=="string"){if(s=Dc(gs,s),s===null)return this}else Math.abs(s)<16&&!u&&(s=s*60);return!this._isUTC&&l&&(m=xc(this)),this._offset=s,this._isUTC=!0,m!=null&&this.add(m,"m"),p!==s&&(!l||this._changeInProgress?Xf(this,Nt(s-p,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?p:xc(this)}function Nb(s,l){return s!=null?(typeof s!="string"&&(s=-s),this.utcOffset(s,l),this):-this.utcOffset()}function Lb(s){return this.utcOffset(0,s)}function Ob(s){return this._isUTC&&(this.utcOffset(0,s),this._isUTC=!1,s&&this.subtract(xc(this),"m")),this}function Rb(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var s=Dc(ev,this._i);s!=null?this.utcOffset(s):this.utcOffset(0,!0)}return this}function Pb(s){return this.isValid()?(s=s?De(s).utcOffset():0,(this.utcOffset()-s)%60===0):!1}function Fb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Vb(){if(!c(this._isDSTShifted))return this._isDSTShifted;var s={},l;return ce(s,this),s=$f(s),s._a?(l=s._isUTC?y(s._a):De(s._a),this._isDSTShifted=this.isValid()&&Tb(s._a,l.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jb(){return this.isValid()?!this._isUTC:!1}function Hb(){return this.isValid()?this._isUTC:!1}function Yf(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bb=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ub=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nt(s,l){var u=s,p=null,m,v,C;return Ds(s)?u={ms:s._milliseconds,d:s._days,M:s._months}:d(s)||!isNaN(+s)?(u={},l?u[l]=+s:u.milliseconds=+s):(p=Bb.exec(s))?(m=p[1]==="-"?-1:1,u={y:0,d:ee(p[$t])*m,h:ee(p[We])*m,m:ee(p[At])*m,s:ee(p[sn])*m,ms:ee(wc(p[ii]*1e3))*m}):(p=Ub.exec(s))?(m=p[1]==="-"?-1:1,u={y:ri(p[2],m),M:ri(p[3],m),w:ri(p[4],m),d:ri(p[5],m),h:ri(p[6],m),m:ri(p[7],m),s:ri(p[8],m)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(C=zb(De(u.from),De(u.to)),u={},u.ms=C.milliseconds,u.M=C.months),v=new ws(u),Ds(s)&&o(s,"_locale")&&(v._locale=s._locale),Ds(s)&&o(s,"_isValid")&&(v._isValid=s._isValid),v}Nt.fn=ws.prototype,Nt.invalid=Sb;function ri(s,l){var u=s&&parseFloat(s.replace(",","."));return(isNaN(u)?0:u)*l}function qf(s,l){var u={};return u.months=l.month()-s.month()+(l.year()-s.year())*12,s.clone().add(u.months,"M").isAfter(l)&&--u.months,u.milliseconds=+l-+s.clone().add(u.months,"M"),u}function zb(s,l){var u;return s.isValid()&&l.isValid()?(l=Ec(l,s),s.isBefore(l)?u=qf(s,l):(u=qf(l,s),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function Qf(s,l){return function(u,p){var m,v;return p!==null&&!isNaN(+p)&&(wf(l,"moment()."+l+"(period, number) is deprecated. Please use moment()."+l+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),v=u,u=p,p=v),m=Nt(u,p),Xf(this,m,s),this}}function Xf(s,l,u,p){var m=l._milliseconds,v=wc(l._days),C=wc(l._months);s.isValid()&&(p=p??!0,C&&Lf(s,Zr(s,"Month")+C*u),v&&kf(s,"Date",Zr(s,"Date")+v*u),m&&s._d.setTime(s._d.valueOf()+m*u),p&&t.updateOffset(s,v||C))}var $b=Qf(1,"add"),Zb=Qf(-1,"subtract");function Kf(s){return typeof s=="string"||s instanceof String}function Wb(s){return N(s)||f(s)||Kf(s)||d(s)||Yb(s)||Gb(s)||s===null||s===void 0}function Gb(s){var l=r(s)&&!a(s),u=!1,p=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],m,v,C=p.length;for(m=0;m<C;m+=1)v=p[m],u=u||o(s,v);return l&&u}function Yb(s){var l=i(s),u=!1;return l&&(u=s.filter(function(p){return!d(p)&&Kf(s)}).length===0),l&&u}function qb(s){var l=r(s)&&!a(s),u=!1,p=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],m,v;for(m=0;m<p.length;m+=1)v=p[m],u=u||o(s,v);return l&&u}function Qb(s,l){var u=s.diff(l,"days",!0);return u<-6?"sameElse":u<-1?"lastWeek":u<0?"lastDay":u<1?"sameDay":u<2?"nextDay":u<7?"nextWeek":"sameElse"}function Xb(s,l){arguments.length===1&&(arguments[0]?Wb(arguments[0])?(s=arguments[0],l=void 0):qb(arguments[0])&&(l=arguments[0],s=void 0):(s=void 0,l=void 0));var u=s||De(),p=Ec(u,this).startOf("day"),m=t.calendarFormat(this,p)||"sameElse",v=l&&(Ut(l[m])?l[m].call(this,u):l[m]);return this.format(v||this.localeData().calendar(m,this,De(u)))}function Kb(){return new Ce(this)}function Jb(s,l){var u=N(s)?s:De(s);return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(l).valueOf()):!1}function e3(s,l){var u=N(s)?s:De(s);return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(l).valueOf()<u.valueOf()):!1}function t3(s,l,u,p){var m=N(s)?s:De(s),v=N(l)?l:De(l);return this.isValid()&&m.isValid()&&v.isValid()?(p=p||"()",(p[0]==="("?this.isAfter(m,u):!this.isBefore(m,u))&&(p[1]===")"?this.isBefore(v,u):!this.isAfter(v,u))):!1}function n3(s,l){var u=N(s)?s:De(s),p;return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()===u.valueOf():(p=u.valueOf(),this.clone().startOf(l).valueOf()<=p&&p<=this.clone().endOf(l).valueOf())):!1}function i3(s,l){return this.isSame(s,l)||this.isAfter(s,l)}function r3(s,l){return this.isSame(s,l)||this.isBefore(s,l)}function o3(s,l,u){var p,m,v;if(!this.isValid())return NaN;if(p=Ec(s,this),!p.isValid())return NaN;switch(m=(p.utcOffset()-this.utcOffset())*6e4,l=wt(l),l){case"year":v=Es(this,p)/12;break;case"month":v=Es(this,p);break;case"quarter":v=Es(this,p)/3;break;case"second":v=(this-p)/1e3;break;case"minute":v=(this-p)/6e4;break;case"hour":v=(this-p)/36e5;break;case"day":v=(this-p-m)/864e5;break;case"week":v=(this-p-m)/6048e5;break;default:v=this-p}return u?v:Dt(v)}function Es(s,l){if(s.date()<l.date())return-Es(l,s);var u=(l.year()-s.year())*12+(l.month()-s.month()),p=s.clone().add(u,"months"),m,v;return l-p<0?(m=s.clone().add(u-1,"months"),v=(l-p)/(p-m)):(m=s.clone().add(u+1,"months"),v=(l-p)/(m-p)),-(u+v)||0}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function s3(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function a3(s){if(!this.isValid())return null;var l=s!==!0,u=l?this.clone().utc():this;return u.year()<0||u.year()>9999?ds(u,l?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ut(Date.prototype.toISOString)?l?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ds(u,"Z")):ds(u,l?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function l3(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var s="moment",l="",u,p,m,v;return this.isLocal()||(s=this.utcOffset()===0?"moment.utc":"moment.parseZone",l="Z"),u="["+s+'("]',p=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",m="-MM-DD[T]HH:mm:ss.SSS",v=l+'[")]',this.format(u+p+m+v)}function c3(s){s||(s=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var l=ds(this,s);return this.localeData().postformat(l)}function u3(s,l){return this.isValid()&&(N(s)&&s.isValid()||De(s).isValid())?Nt({to:this,from:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function d3(s){return this.from(De(),s)}function p3(s,l){return this.isValid()&&(N(s)&&s.isValid()||De(s).isValid())?Nt({from:this,to:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function f3(s){return this.to(De(),s)}function Jf(s){var l;return s===void 0?this._locale._abbr:(l=ln(s),l!=null&&(this._locale=l),this)}var em=ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(s){return s===void 0?this.localeData():this.locale(s)});function tm(){return this._locale}var xs=1e3,Zi=60*xs,Ms=60*Zi,nm=(365*400+97)*24*Ms;function Wi(s,l){return(s%l+l)%l}function im(s,l,u){return s<100&&s>=0?new Date(s+400,l,u)-nm:new Date(s,l,u).valueOf()}function rm(s,l,u){return s<100&&s>=0?Date.UTC(s+400,l,u)-nm:Date.UTC(s,l,u)}function m3(s){var l,u;if(s=wt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?rm:im,s){case"year":l=u(this.year(),0,1);break;case"quarter":l=u(this.year(),this.month()-this.month()%3,1);break;case"month":l=u(this.year(),this.month(),1);break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":l=u(this.year(),this.month(),this.date());break;case"hour":l=this._d.valueOf(),l-=Wi(l+(this._isUTC?0:this.utcOffset()*Zi),Ms);break;case"minute":l=this._d.valueOf(),l-=Wi(l,Zi);break;case"second":l=this._d.valueOf(),l-=Wi(l,xs);break}return this._d.setTime(l),t.updateOffset(this,!0),this}function h3(s){var l,u;if(s=wt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?rm:im,s){case"year":l=u(this.year()+1,0,1)-1;break;case"quarter":l=u(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":l=u(this.year(),this.month()+1,1)-1;break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":l=u(this.year(),this.month(),this.date()+1)-1;break;case"hour":l=this._d.valueOf(),l+=Ms-Wi(l+(this._isUTC?0:this.utcOffset()*Zi),Ms)-1;break;case"minute":l=this._d.valueOf(),l+=Zi-Wi(l,Zi)-1;break;case"second":l=this._d.valueOf(),l+=xs-Wi(l,xs)-1;break}return this._d.setTime(l),t.updateOffset(this,!0),this}function g3(){return this._d.valueOf()-(this._offset||0)*6e4}function v3(){return Math.floor(this.valueOf()/1e3)}function b3(){return new Date(this.valueOf())}function y3(){var s=this;return[s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond()]}function _3(){var s=this;return{years:s.year(),months:s.month(),date:s.date(),hours:s.hours(),minutes:s.minutes(),seconds:s.seconds(),milliseconds:s.milliseconds()}}function C3(){return this.isValid()?this.toISOString():null}function w3(){return k(this)}function D3(){return g({},_(this))}function E3(){return _(this).overflow}function x3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),O("N",Mc),O("NN",Mc),O("NNN",Mc),O("NNNN",P3),O("NNNNN",F3),ue(["N","NN","NNN","NNNN","NNNNN"],function(s,l,u,p){var m=u._locale.erasParse(s,p,u._strict);m?_(u).era=m:_(u).invalidEra=s}),O("y",Bi),O("yy",Bi),O("yyy",Bi),O("yyyy",Bi),O("yo",V3),ue(["y","yy","yyy","yyyy"],Je),ue(["yo"],function(s,l,u,p){var m;u._locale._eraYearOrdinalRegex&&(m=s.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?l[Je]=u._locale.eraYearOrdinalParse(s,m):l[Je]=parseInt(s,10)});function M3(s,l){var u,p,m,v=this._eras||ln("en")._eras;for(u=0,p=v.length;u<p;++u){switch(typeof v[u].since){case"string":m=t(v[u].since).startOf("day"),v[u].since=m.valueOf();break}switch(typeof v[u].until){case"undefined":v[u].until=1/0;break;case"string":m=t(v[u].until).startOf("day").valueOf(),v[u].until=m.valueOf();break}}return v}function I3(s,l,u){var p,m,v=this.eras(),C,L,z;for(s=s.toUpperCase(),p=0,m=v.length;p<m;++p)if(C=v[p].name.toUpperCase(),L=v[p].abbr.toUpperCase(),z=v[p].narrow.toUpperCase(),u)switch(l){case"N":case"NN":case"NNN":if(L===s)return v[p];break;case"NNNN":if(C===s)return v[p];break;case"NNNNN":if(z===s)return v[p];break}else if([C,L,z].indexOf(s)>=0)return v[p]}function S3(s,l){var u=s.since<=s.until?1:-1;return l===void 0?t(s.since).year():t(s.since).year()+(l-s.offset)*u}function T3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].name;return""}function k3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].narrow;return""}function A3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].abbr;return""}function N3(){var s,l,u,p,m=this.localeData().eras();for(s=0,l=m.length;s<l;++s)if(u=m[s].since<=m[s].until?1:-1,p=this.clone().startOf("day").valueOf(),m[s].since<=p&&p<=m[s].until||m[s].until<=p&&p<=m[s].since)return(this.year()-t(m[s].since).year())*u+m[s].offset;return this.year()}function L3(s){return o(this,"_erasNameRegex")||Ic.call(this),s?this._erasNameRegex:this._erasRegex}function O3(s){return o(this,"_erasAbbrRegex")||Ic.call(this),s?this._erasAbbrRegex:this._erasRegex}function R3(s){return o(this,"_erasNarrowRegex")||Ic.call(this),s?this._erasNarrowRegex:this._erasRegex}function Mc(s,l){return l.erasAbbrRegex(s)}function P3(s,l){return l.erasNameRegex(s)}function F3(s,l){return l.erasNarrowRegex(s)}function V3(s,l){return l._eraYearOrdinalRegex||Bi}function Ic(){var s=[],l=[],u=[],p=[],m,v,C,L,z,te=this.eras();for(m=0,v=te.length;m<v;++m)C=rn(te[m].name),L=rn(te[m].abbr),z=rn(te[m].narrow),l.push(C),s.push(L),u.push(z),p.push(C),p.push(L),p.push(z);this._erasRegex=new RegExp("^("+p.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+l.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Is(s,l){P(0,[s,s.length],0,l)}Is("gggg","weekYear"),Is("ggggg","weekYear"),Is("GGGG","isoWeekYear"),Is("GGGGG","isoWeekYear"),O("G",hs),O("g",hs),O("GG",we,bt),O("gg",we,bt),O("GGGG",uc,cc),O("gggg",uc,cc),O("GGGGG",ms,ps),O("ggggg",ms,ps),zr(["gggg","ggggg","GGGG","GGGGG"],function(s,l,u,p){l[p.substr(0,2)]=ee(s)}),zr(["gg","GG"],function(s,l,u,p){l[p]=t.parseTwoDigitYear(s)});function j3(s){return om.call(this,s,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function H3(s){return om.call(this,s,this.isoWeek(),this.isoWeekday(),1,4)}function B3(){return an(this.year(),1,4)}function U3(){return an(this.isoWeekYear(),1,4)}function z3(){var s=this.localeData()._week;return an(this.year(),s.dow,s.doy)}function $3(){var s=this.localeData()._week;return an(this.weekYear(),s.dow,s.doy)}function om(s,l,u,p,m){var v;return s==null?Gr(this,p,m).year:(v=an(s,p,m),l>v&&(l=v),Z3.call(this,s,l,u,p,m))}function Z3(s,l,u,p,m){var v=Pf(s,l,u,p,m),C=Wr(v.year,0,v.dayOfYear);return this.year(C.getUTCFullYear()),this.month(C.getUTCMonth()),this.date(C.getUTCDate()),this}P("Q",0,"Qo","quarter"),O("Q",xf),ue("Q",function(s,l){l[on]=(ee(s)-1)*3});function W3(s){return s==null?Math.ceil((this.month()+1)/3):this.month((s-1)*3+this.month()%3)}P("D",["DD",2],"Do","date"),O("D",we,Ui),O("DD",we,bt),O("Do",function(s,l){return s?l._dayOfMonthOrdinalParse||l._ordinalParse:l._dayOfMonthOrdinalParseLenient}),ue(["D","DD"],$t),ue("Do",function(s,l){l[$t]=ee(s.match(we)[0])});var sm=zi("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),O("DDD",fs),O("DDDD",Mf),ue(["DDD","DDDD"],function(s,l,u){u._dayOfYear=ee(s)});function G3(s){var l=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return s==null?l:this.add(s-l,"d")}P("m",["mm",2],0,"minute"),O("m",we,dc),O("mm",we,bt),ue(["m","mm"],At);var Y3=zi("Minutes",!1);P("s",["ss",2],0,"second"),O("s",we,dc),O("ss",we,bt),ue(["s","ss"],sn);var q3=zi("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return this.millisecond()*10}),P(0,["SSSSS",5],0,function(){return this.millisecond()*100}),P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),O("S",fs,xf),O("SS",fs,bt),O("SSS",fs,Mf);var Sn,am;for(Sn="SSSS";Sn.length<=9;Sn+="S")O(Sn,Bi);function Q3(s,l){l[ii]=ee(("0."+s)*1e3)}for(Sn="S";Sn.length<=9;Sn+="S")ue(Sn,Q3);am=zi("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");function X3(){return this._isUTC?"UTC":""}function K3(){return this._isUTC?"Coordinated Universal Time":""}var S=Ce.prototype;S.add=$b,S.calendar=Xb,S.clone=Kb,S.diff=o3,S.endOf=h3,S.format=c3,S.from=u3,S.fromNow=d3,S.to=p3,S.toNow=f3,S.get=lv,S.invalidAt=E3,S.isAfter=Jb,S.isBefore=e3,S.isBetween=t3,S.isSame=n3,S.isSameOrAfter=i3,S.isSameOrBefore=r3,S.isValid=w3,S.lang=em,S.locale=Jf,S.localeData=tm,S.max=wb,S.min=Cb,S.parsingFlags=D3,S.set=cv,S.startOf=m3,S.subtract=Zb,S.toArray=y3,S.toObject=_3,S.toDate=b3,S.toISOString=a3,S.inspect=l3,typeof Symbol<"u"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=C3,S.toString=s3,S.unix=v3,S.valueOf=g3,S.creationData=x3,S.eraName=T3,S.eraNarrow=k3,S.eraAbbr=A3,S.eraYear=N3,S.year=Tf,S.isLeapYear=av,S.weekYear=j3,S.isoWeekYear=H3,S.quarter=S.quarters=W3,S.month=Of,S.daysInMonth=bv,S.week=S.weeks=Mv,S.isoWeek=S.isoWeeks=Iv,S.weeksInYear=z3,S.weeksInWeekYear=$3,S.isoWeeksInYear=B3,S.isoWeeksInISOWeekYear=U3,S.date=sm,S.day=S.days=Hv,S.weekday=Bv,S.isoWeekday=Uv,S.dayOfYear=G3,S.hour=S.hours=qv,S.minute=S.minutes=Y3,S.second=S.seconds=q3,S.millisecond=S.milliseconds=am,S.utcOffset=Ab,S.utc=Lb,S.local=Ob,S.parseZone=Rb,S.hasAlignedHourOffset=Pb,S.isDST=Fb,S.isLocal=jb,S.isUtcOffset=Hb,S.isUtc=Yf,S.isUTC=Yf,S.zoneAbbr=X3,S.zoneName=K3,S.dates=ne("dates accessor is deprecated. Use date instead.",sm),S.months=ne("months accessor is deprecated. Use month instead",Of),S.years=ne("years accessor is deprecated. Use year instead",Tf),S.zone=ne("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Nb),S.isDSTShifted=ne("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Vb);function J3(s){return De(s*1e3)}function ey(){return De.apply(null,arguments).parseZone()}function lm(s){return s}var se=rc.prototype;se.calendar=j2,se.longDateFormat=z2,se.invalidDate=Z2,se.ordinal=Y2,se.preparse=lm,se.postformat=lm,se.relativeTime=Q2,se.pastFuture=X2,se.set=F2,se.eras=M3,se.erasParse=I3,se.erasConvertYear=S3,se.erasAbbrRegex=O3,se.erasNameRegex=L3,se.erasNarrowRegex=R3,se.months=mv,se.monthsShort=hv,se.monthsParse=vv,se.monthsRegex=_v,se.monthsShortRegex=yv,se.week=wv,se.firstDayOfYear=xv,se.firstDayOfWeek=Ev,se.weekdays=Rv,se.weekdaysMin=Fv,se.weekdaysShort=Pv,se.weekdaysParse=jv,se.weekdaysRegex=zv,se.weekdaysShortRegex=$v,se.weekdaysMinRegex=Zv,se.isPM=Gv,se.meridiem=Qv;function Ss(s,l,u,p){var m=ln(),v=y().set(p,l);return m[u](v,s)}function cm(s,l,u){if(d(s)&&(l=s,s=void 0),s=s||"",l!=null)return Ss(s,l,u,"month");var p,m=[];for(p=0;p<12;p++)m[p]=Ss(s,p,u,"month");return m}function Sc(s,l,u,p){typeof s=="boolean"?(d(l)&&(u=l,l=void 0),l=l||""):(l=s,u=l,s=!1,d(l)&&(u=l,l=void 0),l=l||"");var m=ln(),v=s?m._week.dow:0,C,L=[];if(u!=null)return Ss(l,(u+v)%7,p,"day");for(C=0;C<7;C++)L[C]=Ss(l,(C+v)%7,p,"day");return L}function ty(s,l){return cm(s,l,"months")}function ny(s,l){return cm(s,l,"monthsShort")}function iy(s,l,u){return Sc(s,l,u,"weekdays")}function ry(s,l,u){return Sc(s,l,u,"weekdaysShort")}function oy(s,l,u){return Sc(s,l,u,"weekdaysMin")}In("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(s){var l=s%10,u=ee(s%100/10)===1?"th":l===1?"st":l===2?"nd":l===3?"rd":"th";return s+u}}),t.lang=ne("moment.lang is deprecated. Use moment.locale instead.",In),t.langData=ne("moment.langData is deprecated. Use moment.localeData instead.",ln);var cn=Math.abs;function sy(){var s=this._data;return this._milliseconds=cn(this._milliseconds),this._days=cn(this._days),this._months=cn(this._months),s.milliseconds=cn(s.milliseconds),s.seconds=cn(s.seconds),s.minutes=cn(s.minutes),s.hours=cn(s.hours),s.months=cn(s.months),s.years=cn(s.years),this}function um(s,l,u,p){var m=Nt(l,u);return s._milliseconds+=p*m._milliseconds,s._days+=p*m._days,s._months+=p*m._months,s._bubble()}function ay(s,l){return um(this,s,l,1)}function ly(s,l){return um(this,s,l,-1)}function dm(s){return s<0?Math.floor(s):Math.ceil(s)}function cy(){var s=this._milliseconds,l=this._days,u=this._months,p=this._data,m,v,C,L,z;return s>=0&&l>=0&&u>=0||s<=0&&l<=0&&u<=0||(s+=dm(Tc(u)+l)*864e5,l=0,u=0),p.milliseconds=s%1e3,m=Dt(s/1e3),p.seconds=m%60,v=Dt(m/60),p.minutes=v%60,C=Dt(v/60),p.hours=C%24,l+=Dt(C/24),z=Dt(pm(l)),u+=z,l-=dm(Tc(z)),L=Dt(u/12),u%=12,p.days=l,p.months=u,p.years=L,this}function pm(s){return s*4800/146097}function Tc(s){return s*146097/4800}function uy(s){if(!this.isValid())return NaN;var l,u,p=this._milliseconds;if(s=wt(s),s==="month"||s==="quarter"||s==="year")switch(l=this._days+p/864e5,u=this._months+pm(l),s){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(l=this._days+Math.round(Tc(this._months)),s){case"week":return l/7+p/6048e5;case"day":return l+p/864e5;case"hour":return l*24+p/36e5;case"minute":return l*1440+p/6e4;case"second":return l*86400+p/1e3;case"millisecond":return Math.floor(l*864e5)+p;default:throw new Error("Unknown unit "+s)}}function un(s){return function(){return this.as(s)}}var fm=un("ms"),dy=un("s"),py=un("m"),fy=un("h"),my=un("d"),hy=un("w"),gy=un("M"),vy=un("Q"),by=un("y"),yy=fm;function _y(){return Nt(this)}function Cy(s){return s=wt(s),this.isValid()?this[s+"s"]():NaN}function oi(s){return function(){return this.isValid()?this._data[s]:NaN}}var wy=oi("milliseconds"),Dy=oi("seconds"),Ey=oi("minutes"),xy=oi("hours"),My=oi("days"),Iy=oi("months"),Sy=oi("years");function Ty(){return Dt(this.days()/7)}var dn=Math.round,Gi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ky(s,l,u,p,m){return m.relativeTime(l||1,!!u,s,p)}function Ay(s,l,u,p){var m=Nt(s).abs(),v=dn(m.as("s")),C=dn(m.as("m")),L=dn(m.as("h")),z=dn(m.as("d")),te=dn(m.as("M")),nt=dn(m.as("w")),pn=dn(m.as("y")),Tn=v<=u.ss&&["s",v]||v<u.s&&["ss",v]||C<=1&&["m"]||C<u.m&&["mm",C]||L<=1&&["h"]||L<u.h&&["hh",L]||z<=1&&["d"]||z<u.d&&["dd",z];return u.w!=null&&(Tn=Tn||nt<=1&&["w"]||nt<u.w&&["ww",nt]),Tn=Tn||te<=1&&["M"]||te<u.M&&["MM",te]||pn<=1&&["y"]||["yy",pn],Tn[2]=l,Tn[3]=+s>0,Tn[4]=p,ky.apply(null,Tn)}function Ny(s){return s===void 0?dn:typeof s=="function"?(dn=s,!0):!1}function Ly(s,l){return Gi[s]===void 0?!1:l===void 0?Gi[s]:(Gi[s]=l,s==="s"&&(Gi.ss=l-1),!0)}function Oy(s,l){if(!this.isValid())return this.localeData().invalidDate();var u=!1,p=Gi,m,v;return typeof s=="object"&&(l=s,s=!1),typeof s=="boolean"&&(u=s),typeof l=="object"&&(p=Object.assign({},Gi,l),l.s!=null&&l.ss==null&&(p.ss=l.s-1)),m=this.localeData(),v=Ay(this,!u,p,m),u&&(v=m.pastFuture(+this,v)),m.postformat(v)}var kc=Math.abs;function Yi(s){return(s>0)-(s<0)||+s}function Ts(){if(!this.isValid())return this.localeData().invalidDate();var s=kc(this._milliseconds)/1e3,l=kc(this._days),u=kc(this._months),p,m,v,C,L=this.asSeconds(),z,te,nt,pn;return L?(p=Dt(s/60),m=Dt(p/60),s%=60,p%=60,v=Dt(u/12),u%=12,C=s?s.toFixed(3).replace(/\.?0+$/,""):"",z=L<0?"-":"",te=Yi(this._months)!==Yi(L)?"-":"",nt=Yi(this._days)!==Yi(L)?"-":"",pn=Yi(this._milliseconds)!==Yi(L)?"-":"",z+"P"+(v?te+v+"Y":"")+(u?te+u+"M":"")+(l?nt+l+"D":"")+(m||p||s?"T":"")+(m?pn+m+"H":"")+(p?pn+p+"M":"")+(s?pn+C+"S":"")):"P0D"}var ie=ws.prototype;ie.isValid=Ib,ie.abs=sy,ie.add=ay,ie.subtract=ly,ie.as=uy,ie.asMilliseconds=fm,ie.asSeconds=dy,ie.asMinutes=py,ie.asHours=fy,ie.asDays=my,ie.asWeeks=hy,ie.asMonths=gy,ie.asQuarters=vy,ie.asYears=by,ie.valueOf=yy,ie._bubble=cy,ie.clone=_y,ie.get=Cy,ie.milliseconds=wy,ie.seconds=Dy,ie.minutes=Ey,ie.hours=xy,ie.days=My,ie.weeks=Ty,ie.months=Iy,ie.years=Sy,ie.humanize=Oy,ie.toISOString=Ts,ie.toString=Ts,ie.toJSON=Ts,ie.locale=Jf,ie.localeData=tm,ie.toIsoString=ne("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ts),ie.lang=em,P("X",0,0,"unix"),P("x",0,0,"valueOf"),O("x",hs),O("X",tv),ue("X",function(s,l,u){u._d=new Date(parseFloat(s)*1e3)}),ue("x",function(s,l,u){u._d=new Date(ee(s))});return t.version="2.30.1",n(De),t.fn=S,t.min=Db,t.max=Eb,t.now=xb,t.utc=y,t.unix=J3,t.months=ty,t.isDate=f,t.locale=In,t.invalid=I,t.duration=Nt,t.isMoment=N,t.weekdays=iy,t.parseZone=ey,t.localeData=ln,t.isDuration=Ds,t.monthsShort=ny,t.weekdaysMin=oy,t.defineLocale=vc,t.updateLocale=eb,t.locales=tb,t.weekdaysShort=ry,t.normalizeUnits=wt,t.relativeTimeRounding=Ny,t.relativeTimeThreshold=Ly,t.calendarFormat=Qb,t.prototype=S,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})});var Nc;function ks(){return Nc}function Wt(e){let t=Nc;return Nc=e,t}var bm=Symbol("NotFound");function qi(e){return e===bm||e?.name==="\u0275NotFound"}var et=null,As=!1,Pc=1,Zy=null,dt=Symbol("SIGNAL");function Y(e){let t=et;return et=e,t}function Ls(){return et}var Xr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Kr(e){if(As)throw new Error("");if(et===null)return;et.consumerOnSignalRead(e);let t=et.producersTail;if(t!==void 0&&t.producer===e)return;let n,i=et.recomputing;if(i&&(n=t!==void 0?t.nextProducer:et.producers,n!==void 0&&n.producer===e)){et.producersTail=n,n.lastReadVersion=e.version;return}let r=e.consumersTail;if(r!==void 0&&r.consumer===et&&(!i||Gy(r,et)))return;let o=Qi(et),a={producer:e,consumer:et,nextProducer:n,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};et.producersTail=a,t!==void 0?t.nextProducer=a:et.producers=a,o&&wm(e,a)}function ym(){Pc++}function Fc(e){if(!(Qi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Pc)){if(!e.producerMustRecompute(e)&&!Rs(e)){Rc(e);return}e.producerRecomputeValue(e),Rc(e)}}function Vc(e){if(e.consumers===void 0)return;let t=As;As=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let i=n.consumer;i.dirty||Wy(i)}}finally{As=t}}function jc(){return et?.consumerAllowSignalWrites!==!1}function Wy(e){e.dirty=!0,Vc(e),e.consumerMarkedDirty?.(e)}function Rc(e){e.dirty=!1,e.lastCleanEpoch=Pc}function Jr(e){return e&&_m(e),Y(e)}function _m(e){e.producersTail=void 0,e.recomputing=!0}function Os(e,t){Y(t),e&&Cm(e)}function Cm(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Qi(e))do n=Hc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Rs(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,i=t.lastReadVersion;if(i!==n.version||(Fc(n),i!==n.version))return!0}return!1}function eo(e){if(Qi(e)){let t=e.producers;for(;t!==void 0;)t=Hc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function wm(e,t){let n=e.consumersTail,i=Qi(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!i)for(let r=e.producers;r!==void 0;r=r.nextProducer)wm(r.producer,r)}function Hc(e){let t=e.producer,n=e.nextProducer,i=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:t.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(t.consumers=i,!Qi(t)){let o=t.producers;for(;o!==void 0;)o=Hc(o)}return n}function Qi(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bc(e){Zy?.(e)}function Gy(e,t){let n=t.producersTail;if(n!==void 0){let i=t.producers;do{if(i===e)return!0;if(i===n)break;i=i.nextProducer}while(i!==void 0)}return!1}function Uc(e,t){return Object.is(e,t)}function Ps(e,t){let n=Object.create(Yy);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(Fc(n),Kr(n),n.value===Ns)throw n.error;return n.value};return i[dt]=n,Bc(n),i}var Lc=Symbol("UNSET"),Oc=Symbol("COMPUTING"),Ns=Symbol("ERRORED"),Yy=it(Oe({},Xr),{value:Lc,dirty:!0,error:null,equal:Uc,kind:"computed",producerMustRecompute(e){return e.value===Lc||e.value===Oc},producerRecomputeValue(e){if(e.value===Oc)throw new Error("");let t=e.value;e.value=Oc;let n=Jr(e),i,r=!1;try{i=e.computation(),Y(null),r=t!==Lc&&t!==Ns&&i!==Ns&&e.equal(t,i)}catch(o){i=Ns,e.error=o}finally{Os(e,n)}if(r){e.value=t;return}e.value=i,e.version++}});function qy(){throw new Error}var Dm=qy;function Em(e){Dm(e)}function zc(e){Dm=e}var Qy=null;function $c(e,t){let n=Object.create(Fs);n.value=e,t!==void 0&&(n.equal=t);let i=()=>xm(n);return i[dt]=n,Bc(n),[i,a=>to(n,a),a=>Mm(n,a)]}function xm(e){return Kr(e),e.value}function to(e,t){jc()||Em(e),e.equal(e.value,t)||(e.value=t,Xy(e))}function Mm(e,t){jc()||Em(e),to(e,t(e.value))}var Fs=it(Oe({},Xr),{equal:Uc,value:void 0,kind:"signal"});function Xy(e){e.version++,ym(),Vc(e),Qy?.(e)}function Q(e){return typeof e=="function"}function Vs(e){let n=e(i=>{Error.call(i),i.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var js=Vs(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
4
|
+
`+new Error().stack),u=!1}return l.apply(this,arguments)},l)}var Mn={};function wf(s,l){t.deprecationHandler!=null&&t.deprecationHandler(s,l),Mn[s]||(ve(l),Mn[s]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function Ut(s){return typeof Function<"u"&&s instanceof Function||Object.prototype.toString.call(s)==="[object Function]"}function F2(s){var l,u;for(u in s)o(s,u)&&(l=s[u],Ut(l)?this[u]=l:this["_"+u]=l);this._config=s,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ic(s,l){var u=g({},s),p;for(p in l)o(l,p)&&(r(s[p])&&r(l[p])?(u[p]={},g(u[p],s[p]),g(u[p],l[p])):l[p]!=null?u[p]=l[p]:delete u[p]);for(p in s)o(s,p)&&!o(l,p)&&r(s[p])&&(u[p]=g({},u[p]));return u}function rc(s){s!=null&&this.set(s)}var oc;Object.keys?oc=Object.keys:oc=function(s){var l,u=[];for(l in s)o(s,l)&&u.push(l);return u};var V2={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j2(s,l,u){var p=this._calendar[s]||this._calendar.sameElse;return Ut(p)?p.call(l,u):p}function zt(s,l,u){var p=""+Math.abs(s),m=l-p.length,v=s>=0;return(v?u?"+":"":"-")+Math.pow(10,Math.max(0,m)).toString().substr(1)+p}var sc=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,us=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ac={},Hi={};function P(s,l,u,p){var m=p;typeof p=="string"&&(m=function(){return this[p]()}),s&&(Hi[s]=m),l&&(Hi[l[0]]=function(){return zt(m.apply(this,arguments),l[1],l[2])}),u&&(Hi[u]=function(){return this.localeData().ordinal(m.apply(this,arguments),s)})}function H2(s){return s.match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"")}function B2(s){var l=s.match(sc),u,p;for(u=0,p=l.length;u<p;u++)Hi[l[u]]?l[u]=Hi[l[u]]:l[u]=H2(l[u]);return function(m){var v="",C;for(C=0;C<p;C++)v+=Ut(l[C])?l[C].call(m,s):l[C];return v}}function ds(s,l){return s.isValid()?(l=Df(l,s.localeData()),ac[l]=ac[l]||B2(l),ac[l](s)):s.localeData().invalidDate()}function Df(s,l){var u=5;function p(m){return l.longDateFormat(m)||m}for(us.lastIndex=0;u>=0&&us.test(s);)s=s.replace(us,p),us.lastIndex=0,u-=1;return s}var U2={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function z2(s){var l=this._longDateFormat[s],u=this._longDateFormat[s.toUpperCase()];return l||!u?l:(this._longDateFormat[s]=u.match(sc).map(function(p){return p==="MMMM"||p==="MM"||p==="DD"||p==="dddd"?p.slice(1):p}).join(""),this._longDateFormat[s])}var $2="Invalid date";function Z2(){return this._invalidDate}var W2="%d",G2=/\d{1,2}/;function Y2(s){return this._ordinal.replace("%d",s)}var q2={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q2(s,l,u,p){var m=this._relativeTime[u];return Ut(m)?m(s,l,u,p):m.replace(/%d/i,s)}function X2(s,l){var u=this._relativeTime[s>0?"future":"past"];return Ut(u)?u(l):u.replace(/%s/i,l)}var Ef={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function wt(s){return typeof s=="string"?Ef[s]||Ef[s.toLowerCase()]:void 0}function lc(s){var l={},u,p;for(p in s)o(s,p)&&(u=wt(p),u&&(l[u]=s[p]));return l}var K2={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function J2(s){var l=[],u;for(u in s)o(s,u)&&l.push({unit:u,priority:K2[u]});return l.sort(function(p,m){return p.priority-m.priority}),l}var xf=/\d/,bt=/\d\d/,Mf=/\d{3}/,cc=/\d{4}/,ps=/[+-]?\d{6}/,we=/\d\d?/,If=/\d\d\d\d?/,Sf=/\d\d\d\d\d\d?/,fs=/\d{1,3}/,uc=/\d{1,4}/,ms=/[+-]?\d{1,6}/,Bi=/\d+/,hs=/[+-]?\d+/,ev=/Z|[+-]\d\d:?\d\d/gi,gs=/Z|[+-]\d\d(?::?\d\d)?/gi,tv=/[+-]?\d+(\.\d{1,3})?/,Ur=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ui=/^[1-9]\d?/,dc=/^([1-9]\d|\d)/,vs;vs={};function O(s,l,u){vs[s]=Ut(l)?l:function(p,m){return p&&u?u:l}}function nv(s,l){return o(vs,s)?vs[s](l._strict,l._locale):new RegExp(iv(s))}function iv(s){return rn(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(l,u,p,m,v){return u||p||m||v}))}function rn(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Dt(s){return s<0?Math.ceil(s)||0:Math.floor(s)}function ee(s){var l=+s,u=0;return l!==0&&isFinite(l)&&(u=Dt(l)),u}var pc={};function de(s,l){var u,p=l,m;for(typeof s=="string"&&(s=[s]),d(l)&&(p=function(v,C){C[l]=ee(v)}),m=s.length,u=0;u<m;u++)pc[s[u]]=p}function zr(s,l){de(s,function(u,p,m,v){m._w=m._w||{},l(u,m._w,m,v)})}function rv(s,l,u){l!=null&&o(pc,s)&&pc[s](l,u._a,u,s)}function bs(s){return s%4===0&&s%100!==0||s%400===0}var Je=0,on=1,$t=2,We=3,At=4,sn=5,ii=6,ov=7,sv=8;P("Y",0,0,function(){var s=this.year();return s<=9999?zt(s,4):"+"+s}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),O("Y",hs),O("YY",we,bt),O("YYYY",uc,cc),O("YYYYY",ms,ps),O("YYYYYY",ms,ps),de(["YYYYY","YYYYYY"],Je),de("YYYY",function(s,l){l[Je]=s.length===2?t.parseTwoDigitYear(s):ee(s)}),de("YY",function(s,l){l[Je]=t.parseTwoDigitYear(s)}),de("Y",function(s,l){l[Je]=parseInt(s,10)});function $r(s){return bs(s)?366:365}t.parseTwoDigitYear=function(s){return ee(s)+(ee(s)>68?1900:2e3)};var Tf=zi("FullYear",!0);function av(){return bs(this.year())}function zi(s,l){return function(u){return u!=null?(kf(this,s,u),t.updateOffset(this,l),this):Zr(this,s)}}function Zr(s,l){if(!s.isValid())return NaN;var u=s._d,p=s._isUTC;switch(l){case"Milliseconds":return p?u.getUTCMilliseconds():u.getMilliseconds();case"Seconds":return p?u.getUTCSeconds():u.getSeconds();case"Minutes":return p?u.getUTCMinutes():u.getMinutes();case"Hours":return p?u.getUTCHours():u.getHours();case"Date":return p?u.getUTCDate():u.getDate();case"Day":return p?u.getUTCDay():u.getDay();case"Month":return p?u.getUTCMonth():u.getMonth();case"FullYear":return p?u.getUTCFullYear():u.getFullYear();default:return NaN}}function kf(s,l,u){var p,m,v,C,L;if(!(!s.isValid()||isNaN(u))){switch(p=s._d,m=s._isUTC,l){case"Milliseconds":return void(m?p.setUTCMilliseconds(u):p.setMilliseconds(u));case"Seconds":return void(m?p.setUTCSeconds(u):p.setSeconds(u));case"Minutes":return void(m?p.setUTCMinutes(u):p.setMinutes(u));case"Hours":return void(m?p.setUTCHours(u):p.setHours(u));case"Date":return void(m?p.setUTCDate(u):p.setDate(u));case"FullYear":break;default:return}v=u,C=s.month(),L=s.date(),L=L===29&&C===1&&!bs(v)?28:L,m?p.setUTCFullYear(v,C,L):p.setFullYear(v,C,L)}}function lv(s){return s=wt(s),Ut(this[s])?this[s]():this}function cv(s,l){if(typeof s=="object"){s=lc(s);var u=J2(s),p,m=u.length;for(p=0;p<m;p++)this[u[p].unit](s[u[p].unit])}else if(s=wt(s),Ut(this[s]))return this[s](l);return this}function uv(s,l){return(s%l+l)%l}var Le;Array.prototype.indexOf?Le=Array.prototype.indexOf:Le=function(s){var l;for(l=0;l<this.length;++l)if(this[l]===s)return l;return-1};function fc(s,l){if(isNaN(s)||isNaN(l))return NaN;var u=uv(l,12);return s+=(l-u)/12,u===1?bs(s)?29:28:31-u%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(s){return this.localeData().monthsShort(this,s)}),P("MMMM",0,0,function(s){return this.localeData().months(this,s)}),O("M",we,Ui),O("MM",we,bt),O("MMM",function(s,l){return l.monthsShortRegex(s)}),O("MMMM",function(s,l){return l.monthsRegex(s)}),de(["M","MM"],function(s,l){l[on]=ee(s)-1}),de(["MMM","MMMM"],function(s,l,u,p){var m=u._locale.monthsParse(s,p,u._strict);m!=null?l[on]=m:_(u).invalidMonth=s});var dv="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Af="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Nf=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pv=Ur,fv=Ur;function mv(s,l){return s?i(this._months)?this._months[s.month()]:this._months[(this._months.isFormat||Nf).test(l)?"format":"standalone"][s.month()]:i(this._months)?this._months:this._months.standalone}function hv(s,l){return s?i(this._monthsShort)?this._monthsShort[s.month()]:this._monthsShort[Nf.test(l)?"format":"standalone"][s.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function gv(s,l,u){var p,m,v,C=s.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],p=0;p<12;++p)v=y([2e3,p]),this._shortMonthsParse[p]=this.monthsShort(v,"").toLocaleLowerCase(),this._longMonthsParse[p]=this.months(v,"").toLocaleLowerCase();return u?l==="MMM"?(m=Le.call(this._shortMonthsParse,C),m!==-1?m:null):(m=Le.call(this._longMonthsParse,C),m!==-1?m:null):l==="MMM"?(m=Le.call(this._shortMonthsParse,C),m!==-1?m:(m=Le.call(this._longMonthsParse,C),m!==-1?m:null)):(m=Le.call(this._longMonthsParse,C),m!==-1?m:(m=Le.call(this._shortMonthsParse,C),m!==-1?m:null))}function vv(s,l,u){var p,m,v;if(this._monthsParseExact)return gv.call(this,s,l,u);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),p=0;p<12;p++){if(m=y([2e3,p]),u&&!this._longMonthsParse[p]&&(this._longMonthsParse[p]=new RegExp("^"+this.months(m,"").replace(".","")+"$","i"),this._shortMonthsParse[p]=new RegExp("^"+this.monthsShort(m,"").replace(".","")+"$","i")),!u&&!this._monthsParse[p]&&(v="^"+this.months(m,"")+"|^"+this.monthsShort(m,""),this._monthsParse[p]=new RegExp(v.replace(".",""),"i")),u&&l==="MMMM"&&this._longMonthsParse[p].test(s))return p;if(u&&l==="MMM"&&this._shortMonthsParse[p].test(s))return p;if(!u&&this._monthsParse[p].test(s))return p}}function Lf(s,l){if(!s.isValid())return s;if(typeof l=="string"){if(/^\d+$/.test(l))l=ee(l);else if(l=s.localeData().monthsParse(l),!d(l))return s}var u=l,p=s.date();return p=p<29?p:Math.min(p,fc(s.year(),u)),s._isUTC?s._d.setUTCMonth(u,p):s._d.setMonth(u,p),s}function Of(s){return s!=null?(Lf(this,s),t.updateOffset(this,!0),this):Zr(this,"Month")}function bv(){return fc(this.year(),this.month())}function yv(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Rf.call(this),s?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=pv),this._monthsShortStrictRegex&&s?this._monthsShortStrictRegex:this._monthsShortRegex)}function _v(s){return this._monthsParseExact?(o(this,"_monthsRegex")||Rf.call(this),s?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=fv),this._monthsStrictRegex&&s?this._monthsStrictRegex:this._monthsRegex)}function Rf(){function s(z,te){return te.length-z.length}var l=[],u=[],p=[],m,v,C,L;for(m=0;m<12;m++)v=y([2e3,m]),C=rn(this.monthsShort(v,"")),L=rn(this.months(v,"")),l.push(C),u.push(L),p.push(L),p.push(C);l.sort(s),u.sort(s),p.sort(s),this._monthsRegex=new RegExp("^("+p.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+l.join("|")+")","i")}function Cv(s,l,u,p,m,v,C){var L;return s<100&&s>=0?(L=new Date(s+400,l,u,p,m,v,C),isFinite(L.getFullYear())&&L.setFullYear(s)):L=new Date(s,l,u,p,m,v,C),L}function Wr(s){var l,u;return s<100&&s>=0?(u=Array.prototype.slice.call(arguments),u[0]=s+400,l=new Date(Date.UTC.apply(null,u)),isFinite(l.getUTCFullYear())&&l.setUTCFullYear(s)):l=new Date(Date.UTC.apply(null,arguments)),l}function ys(s,l,u){var p=7+l-u,m=(7+Wr(s,0,p).getUTCDay()-l)%7;return-m+p-1}function Pf(s,l,u,p,m){var v=(7+u-p)%7,C=ys(s,p,m),L=1+7*(l-1)+v+C,z,te;return L<=0?(z=s-1,te=$r(z)+L):L>$r(s)?(z=s+1,te=L-$r(s)):(z=s,te=L),{year:z,dayOfYear:te}}function Gr(s,l,u){var p=ys(s.year(),l,u),m=Math.floor((s.dayOfYear()-p-1)/7)+1,v,C;return m<1?(C=s.year()-1,v=m+an(C,l,u)):m>an(s.year(),l,u)?(v=m-an(s.year(),l,u),C=s.year()+1):(C=s.year(),v=m),{week:v,year:C}}function an(s,l,u){var p=ys(s,l,u),m=ys(s+1,l,u);return($r(s)-p+m)/7}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),O("w",we,Ui),O("ww",we,bt),O("W",we,Ui),O("WW",we,bt),zr(["w","ww","W","WW"],function(s,l,u,p){l[p.substr(0,1)]=ee(s)});function wv(s){return Gr(s,this._week.dow,this._week.doy).week}var Dv={dow:0,doy:6};function Ev(){return this._week.dow}function xv(){return this._week.doy}function Mv(s){var l=this.localeData().week(this);return s==null?l:this.add((s-l)*7,"d")}function Iv(s){var l=Gr(this,1,4).week;return s==null?l:this.add((s-l)*7,"d")}P("d",0,"do","day"),P("dd",0,0,function(s){return this.localeData().weekdaysMin(this,s)}),P("ddd",0,0,function(s){return this.localeData().weekdaysShort(this,s)}),P("dddd",0,0,function(s){return this.localeData().weekdays(this,s)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),O("d",we),O("e",we),O("E",we),O("dd",function(s,l){return l.weekdaysMinRegex(s)}),O("ddd",function(s,l){return l.weekdaysShortRegex(s)}),O("dddd",function(s,l){return l.weekdaysRegex(s)}),zr(["dd","ddd","dddd"],function(s,l,u,p){var m=u._locale.weekdaysParse(s,p,u._strict);m!=null?l.d=m:_(u).invalidWeekday=s}),zr(["d","e","E"],function(s,l,u,p){l[p]=ee(s)});function Sv(s,l){return typeof s!="string"?s:isNaN(s)?(s=l.weekdaysParse(s),typeof s=="number"?s:null):parseInt(s,10)}function Tv(s,l){return typeof s=="string"?l.weekdaysParse(s)%7||7:isNaN(s)?null:s}function mc(s,l){return s.slice(l,7).concat(s.slice(0,l))}var kv="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ff="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Av="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nv=Ur,Lv=Ur,Ov=Ur;function Rv(s,l){var u=i(this._weekdays)?this._weekdays:this._weekdays[s&&s!==!0&&this._weekdays.isFormat.test(l)?"format":"standalone"];return s===!0?mc(u,this._week.dow):s?u[s.day()]:u}function Pv(s){return s===!0?mc(this._weekdaysShort,this._week.dow):s?this._weekdaysShort[s.day()]:this._weekdaysShort}function Fv(s){return s===!0?mc(this._weekdaysMin,this._week.dow):s?this._weekdaysMin[s.day()]:this._weekdaysMin}function Vv(s,l,u){var p,m,v,C=s.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],p=0;p<7;++p)v=y([2e3,1]).day(p),this._minWeekdaysParse[p]=this.weekdaysMin(v,"").toLocaleLowerCase(),this._shortWeekdaysParse[p]=this.weekdaysShort(v,"").toLocaleLowerCase(),this._weekdaysParse[p]=this.weekdays(v,"").toLocaleLowerCase();return u?l==="dddd"?(m=Le.call(this._weekdaysParse,C),m!==-1?m:null):l==="ddd"?(m=Le.call(this._shortWeekdaysParse,C),m!==-1?m:null):(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null):l==="dddd"?(m=Le.call(this._weekdaysParse,C),m!==-1||(m=Le.call(this._shortWeekdaysParse,C),m!==-1)?m:(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null)):l==="ddd"?(m=Le.call(this._shortWeekdaysParse,C),m!==-1||(m=Le.call(this._weekdaysParse,C),m!==-1)?m:(m=Le.call(this._minWeekdaysParse,C),m!==-1?m:null)):(m=Le.call(this._minWeekdaysParse,C),m!==-1||(m=Le.call(this._weekdaysParse,C),m!==-1)?m:(m=Le.call(this._shortWeekdaysParse,C),m!==-1?m:null))}function jv(s,l,u){var p,m,v;if(this._weekdaysParseExact)return Vv.call(this,s,l,u);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),p=0;p<7;p++){if(m=y([2e3,1]).day(p),u&&!this._fullWeekdaysParse[p]&&(this._fullWeekdaysParse[p]=new RegExp("^"+this.weekdays(m,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[p]=new RegExp("^"+this.weekdaysShort(m,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[p]=new RegExp("^"+this.weekdaysMin(m,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[p]||(v="^"+this.weekdays(m,"")+"|^"+this.weekdaysShort(m,"")+"|^"+this.weekdaysMin(m,""),this._weekdaysParse[p]=new RegExp(v.replace(".",""),"i")),u&&l==="dddd"&&this._fullWeekdaysParse[p].test(s))return p;if(u&&l==="ddd"&&this._shortWeekdaysParse[p].test(s))return p;if(u&&l==="dd"&&this._minWeekdaysParse[p].test(s))return p;if(!u&&this._weekdaysParse[p].test(s))return p}}function Hv(s){if(!this.isValid())return s!=null?this:NaN;var l=Zr(this,"Day");return s!=null?(s=Sv(s,this.localeData()),this.add(s-l,"d")):l}function Bv(s){if(!this.isValid())return s!=null?this:NaN;var l=(this.day()+7-this.localeData()._week.dow)%7;return s==null?l:this.add(s-l,"d")}function Uv(s){if(!this.isValid())return s!=null?this:NaN;if(s!=null){var l=Tv(s,this.localeData());return this.day(this.day()%7?l:l-7)}else return this.day()||7}function zv(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Nv),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}function $v(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lv),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zv(s){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||hc.call(this),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ov),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function hc(){function s(nt,pn){return pn.length-nt.length}var l=[],u=[],p=[],m=[],v,C,L,z,te;for(v=0;v<7;v++)C=y([2e3,1]).day(v),L=rn(this.weekdaysMin(C,"")),z=rn(this.weekdaysShort(C,"")),te=rn(this.weekdays(C,"")),l.push(L),u.push(z),p.push(te),m.push(L),m.push(z),m.push(te);l.sort(s),u.sort(s),p.sort(s),m.sort(s),this._weekdaysRegex=new RegExp("^("+m.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+l.join("|")+")","i")}function gc(){return this.hours()%12||12}function Wv(){return this.hours()||24}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,gc),P("k",["kk",2],0,Wv),P("hmm",0,0,function(){return""+gc.apply(this)+zt(this.minutes(),2)}),P("hmmss",0,0,function(){return""+gc.apply(this)+zt(this.minutes(),2)+zt(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+zt(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+zt(this.minutes(),2)+zt(this.seconds(),2)});function Vf(s,l){P(s,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),l)})}Vf("a",!0),Vf("A",!1);function jf(s,l){return l._meridiemParse}O("a",jf),O("A",jf),O("H",we,dc),O("h",we,Ui),O("k",we,Ui),O("HH",we,bt),O("hh",we,bt),O("kk",we,bt),O("hmm",If),O("hmmss",Sf),O("Hmm",If),O("Hmmss",Sf),de(["H","HH"],We),de(["k","kk"],function(s,l,u){var p=ee(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]=ee(s),_(u).bigHour=!0}),de("hmm",function(s,l,u){var p=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p)),_(u).bigHour=!0}),de("hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p,2)),l[sn]=ee(s.substr(m)),_(u).bigHour=!0}),de("Hmm",function(s,l,u){var p=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p))}),de("Hmmss",function(s,l,u){var p=s.length-4,m=s.length-2;l[We]=ee(s.substr(0,p)),l[At]=ee(s.substr(p,2)),l[sn]=ee(s.substr(m))});function Gv(s){return(s+"").toLowerCase().charAt(0)==="p"}var Yv=/[ap]\.?m?\.?/i,qv=zi("Hours",!0);function Qv(s,l,u){return s>11?u?"pm":"PM":u?"am":"AM"}var Hf={calendar:V2,longDateFormat:U2,invalidDate:$2,ordinal:W2,dayOfMonthOrdinalParse:G2,relativeTime:q2,months:dv,monthsShort:Af,week:Dv,weekdays:kv,weekdaysMin:Av,weekdaysShort:Ff,meridiemParse:Yv},Me={},Yr={},qr;function Xv(s,l){var u,p=Math.min(s.length,l.length);for(u=0;u<p;u+=1)if(s[u]!==l[u])return u;return p}function Bf(s){return s&&s.toLowerCase().replace("_","-")}function Kv(s){for(var l=0,u,p,m,v;l<s.length;){for(v=Bf(s[l]).split("-"),u=v.length,p=Bf(s[l+1]),p=p?p.split("-"):null;u>0;){if(m=_s(v.slice(0,u).join("-")),m)return m;if(p&&p.length>=u&&Xv(v,p)>=u-1)break;u--}l++}return qr}function Jv(s){return!!(s&&s.match("^[^/\\\\]*$"))}function _s(s){var l=null,u;if(Me[s]===void 0&&typeof Br<"u"&&Br&&Br.exports&&Jv(s))try{l=qr._abbr,u=vm,u("./locale/"+s),In(l)}catch{Me[s]=null}return Me[s]}function In(s,l){var u;return s&&(c(l)?u=ln(s):u=vc(s,l),u?qr=u:typeof console<"u"&&console.warn&&console.warn("Locale "+s+" not found. Did you forget to load it?")),qr._abbr}function vc(s,l){if(l!==null){var u,p=Hf;if(l.abbr=s,Me[s]!=null)wf("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),p=Me[s]._config;else if(l.parentLocale!=null)if(Me[l.parentLocale]!=null)p=Me[l.parentLocale]._config;else if(u=_s(l.parentLocale),u!=null)p=u._config;else return Yr[l.parentLocale]||(Yr[l.parentLocale]=[]),Yr[l.parentLocale].push({name:s,config:l}),null;return Me[s]=new rc(ic(p,l)),Yr[s]&&Yr[s].forEach(function(m){vc(m.name,m.config)}),In(s),Me[s]}else return delete Me[s],null}function eb(s,l){if(l!=null){var u,p,m=Hf;Me[s]!=null&&Me[s].parentLocale!=null?Me[s].set(ic(Me[s]._config,l)):(p=_s(s),p!=null&&(m=p._config),l=ic(m,l),p==null&&(l.abbr=s),u=new rc(l),u.parentLocale=Me[s],Me[s]=u),In(s)}else Me[s]!=null&&(Me[s].parentLocale!=null?(Me[s]=Me[s].parentLocale,s===In()&&In(s)):Me[s]!=null&&delete Me[s]);return Me[s]}function ln(s){var l;if(s&&s._locale&&s._locale._abbr&&(s=s._locale._abbr),!s)return qr;if(!i(s)){if(l=_s(s),l)return l;s=[s]}return Kv(s)}function tb(){return oc(Me)}function bc(s){var l,u=s._a;return u&&_(s).overflow===-2&&(l=u[on]<0||u[on]>11?on:u[$t]<1||u[$t]>fc(u[Je],u[on])?$t:u[We]<0||u[We]>24||u[We]===24&&(u[At]!==0||u[sn]!==0||u[ii]!==0)?We:u[At]<0||u[At]>59?At:u[sn]<0||u[sn]>59?sn:u[ii]<0||u[ii]>999?ii:-1,_(s)._overflowDayOfYear&&(l<Je||l>$t)&&(l=$t),_(s)._overflowWeeks&&l===-1&&(l=ov),_(s)._overflowWeekday&&l===-1&&(l=sv),_(s).overflow=l),s}var nb=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ib=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,rb=/Z|[+-]\d\d(?::?\d\d)?/,Cs=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yc=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ob=/^\/?Date\((-?\d+)/i,sb=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ab={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Uf(s){var l,u,p=s._i,m=nb.exec(p)||ib.exec(p),v,C,L,z,te=Cs.length,nt=yc.length;if(m){for(_(s).iso=!0,l=0,u=te;l<u;l++)if(Cs[l][1].exec(m[1])){C=Cs[l][0],v=Cs[l][2]!==!1;break}if(C==null){s._isValid=!1;return}if(m[3]){for(l=0,u=nt;l<u;l++)if(yc[l][1].exec(m[3])){L=(m[2]||" ")+yc[l][0];break}if(L==null){s._isValid=!1;return}}if(!v&&L!=null){s._isValid=!1;return}if(m[4])if(rb.exec(m[4]))z="Z";else{s._isValid=!1;return}s._f=C+(L||"")+(z||""),Cc(s)}else s._isValid=!1}function lb(s,l,u,p,m,v){var C=[cb(s),Af.indexOf(l),parseInt(u,10),parseInt(p,10),parseInt(m,10)];return v&&C.push(parseInt(v,10)),C}function cb(s){var l=parseInt(s,10);return l<=49?2e3+l:l<=999?1900+l:l}function ub(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function db(s,l,u){if(s){var p=Ff.indexOf(s),m=new Date(l[0],l[1],l[2]).getDay();if(p!==m)return _(u).weekdayMismatch=!0,u._isValid=!1,!1}return!0}function pb(s,l,u){if(s)return ab[s];if(l)return 0;var p=parseInt(u,10),m=p%100,v=(p-m)/100;return v*60+m}function zf(s){var l=sb.exec(ub(s._i)),u;if(l){if(u=lb(l[4],l[3],l[2],l[5],l[6],l[7]),!db(l[1],u,s))return;s._a=u,s._tzm=pb(l[8],l[9],l[10]),s._d=Wr.apply(null,s._a),s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),_(s).rfc2822=!0}else s._isValid=!1}function fb(s){var l=ob.exec(s._i);if(l!==null){s._d=new Date(+l[1]);return}if(Uf(s),s._isValid===!1)delete s._isValid;else return;if(zf(s),s._isValid===!1)delete s._isValid;else return;s._strict?s._isValid=!1:t.createFromInputFallback(s)}t.createFromInputFallback=ne("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(s){s._d=new Date(s._i+(s._useUTC?" UTC":""))});function $i(s,l,u){return s??l??u}function mb(s){var l=new Date(t.now());return s._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()]}function _c(s){var l,u,p=[],m,v,C;if(!s._d){for(m=mb(s),s._w&&s._a[$t]==null&&s._a[on]==null&&hb(s),s._dayOfYear!=null&&(C=$i(s._a[Je],m[Je]),(s._dayOfYear>$r(C)||s._dayOfYear===0)&&(_(s)._overflowDayOfYear=!0),u=Wr(C,0,s._dayOfYear),s._a[on]=u.getUTCMonth(),s._a[$t]=u.getUTCDate()),l=0;l<3&&s._a[l]==null;++l)s._a[l]=p[l]=m[l];for(;l<7;l++)s._a[l]=p[l]=s._a[l]==null?l===2?1:0:s._a[l];s._a[We]===24&&s._a[At]===0&&s._a[sn]===0&&s._a[ii]===0&&(s._nextDay=!0,s._a[We]=0),s._d=(s._useUTC?Wr:Cv).apply(null,p),v=s._useUTC?s._d.getUTCDay():s._d.getDay(),s._tzm!=null&&s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),s._nextDay&&(s._a[We]=24),s._w&&typeof s._w.d<"u"&&s._w.d!==v&&(_(s).weekdayMismatch=!0)}}function hb(s){var l,u,p,m,v,C,L,z,te;l=s._w,l.GG!=null||l.W!=null||l.E!=null?(v=1,C=4,u=$i(l.GG,s._a[Je],Gr(De(),1,4).year),p=$i(l.W,1),m=$i(l.E,1),(m<1||m>7)&&(z=!0)):(v=s._locale._week.dow,C=s._locale._week.doy,te=Gr(De(),v,C),u=$i(l.gg,s._a[Je],te.year),p=$i(l.w,te.week),l.d!=null?(m=l.d,(m<0||m>6)&&(z=!0)):l.e!=null?(m=l.e+v,(l.e<0||l.e>6)&&(z=!0)):m=v),p<1||p>an(u,v,C)?_(s)._overflowWeeks=!0:z!=null?_(s)._overflowWeekday=!0:(L=Pf(u,p,m,v,C),s._a[Je]=L.year,s._dayOfYear=L.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function Cc(s){if(s._f===t.ISO_8601){Uf(s);return}if(s._f===t.RFC_2822){zf(s);return}s._a=[],_(s).empty=!0;var l=""+s._i,u,p,m,v,C,L=l.length,z=0,te,nt;for(m=Df(s._f,s._locale).match(sc)||[],nt=m.length,u=0;u<nt;u++)v=m[u],p=(l.match(nv(v,s))||[])[0],p&&(C=l.substr(0,l.indexOf(p)),C.length>0&&_(s).unusedInput.push(C),l=l.slice(l.indexOf(p)+p.length),z+=p.length),Hi[v]?(p?_(s).empty=!1:_(s).unusedTokens.push(v),rv(v,p,s)):s._strict&&!p&&_(s).unusedTokens.push(v);_(s).charsLeftOver=L-z,l.length>0&&_(s).unusedInput.push(l),s._a[We]<=12&&_(s).bigHour===!0&&s._a[We]>0&&(_(s).bigHour=void 0),_(s).parsedDateParts=s._a.slice(0),_(s).meridiem=s._meridiem,s._a[We]=gb(s._locale,s._a[We],s._meridiem),te=_(s).era,te!==null&&(s._a[Je]=s._locale.erasConvertYear(te,s._a[Je])),_c(s),bc(s)}function gb(s,l,u){var p;return u==null?l:s.meridiemHour!=null?s.meridiemHour(l,u):(s.isPM!=null&&(p=s.isPM(u),p&&l<12&&(l+=12),!p&&l===12&&(l=0)),l)}function vb(s){var l,u,p,m,v,C,L=!1,z=s._f.length;if(z===0){_(s).invalidFormat=!0,s._d=new Date(NaN);return}for(m=0;m<z;m++)v=0,C=!1,l=ue({},s),s._useUTC!=null&&(l._useUTC=s._useUTC),l._f=s._f[m],Cc(l),k(l)&&(C=!0),v+=_(l).charsLeftOver,v+=_(l).unusedTokens.length*10,_(l).score=v,L?v<p&&(p=v,u=l):(p==null||v<p||C)&&(p=v,u=l,C&&(L=!0));g(s,u||l)}function bb(s){if(!s._d){var l=lc(s._i),u=l.day===void 0?l.date:l.day;s._a=h([l.year,l.month,u,l.hour,l.minute,l.second,l.millisecond],function(p){return p&&parseInt(p,10)}),_c(s)}}function yb(s){var l=new Ce(bc($f(s)));return l._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function $f(s){var l=s._i,u=s._f;return s._locale=s._locale||ln(s._l),l===null||u===void 0&&l===""?I({nullInput:!0}):(typeof l=="string"&&(s._i=l=s._locale.preparse(l)),N(l)?new Ce(bc(l)):(f(l)?s._d=l:i(u)?vb(s):u?Cc(s):_b(s),k(s)||(s._d=null),s))}function _b(s){var l=s._i;c(l)?s._d=new Date(t.now()):f(l)?s._d=new Date(l.valueOf()):typeof l=="string"?fb(s):i(l)?(s._a=h(l.slice(0),function(u){return parseInt(u,10)}),_c(s)):r(l)?bb(s):d(l)?s._d=new Date(l):t.createFromInputFallback(s)}function Zf(s,l,u,p,m){var v={};return(l===!0||l===!1)&&(p=l,l=void 0),(u===!0||u===!1)&&(p=u,u=void 0),(r(s)&&a(s)||i(s)&&s.length===0)&&(s=void 0),v._isAMomentObject=!0,v._useUTC=v._isUTC=m,v._l=u,v._i=s,v._f=l,v._strict=p,yb(v)}function De(s,l,u,p){return Zf(s,l,u,p,!1)}var Cb=ne("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=De.apply(null,arguments);return this.isValid()&&s.isValid()?s<this?this:s:I()}),wb=ne("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var s=De.apply(null,arguments);return this.isValid()&&s.isValid()?s>this?this:s:I()});function Wf(s,l){var u,p;if(l.length===1&&i(l[0])&&(l=l[0]),!l.length)return De();for(u=l[0],p=1;p<l.length;++p)(!l[p].isValid()||l[p][s](u))&&(u=l[p]);return u}function Db(){var s=[].slice.call(arguments,0);return Wf("isBefore",s)}function Eb(){var s=[].slice.call(arguments,0);return Wf("isAfter",s)}var xb=function(){return Date.now?Date.now():+new Date},Qr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Mb(s){var l,u=!1,p,m=Qr.length;for(l in s)if(o(s,l)&&!(Le.call(Qr,l)!==-1&&(s[l]==null||!isNaN(s[l]))))return!1;for(p=0;p<m;++p)if(s[Qr[p]]){if(u)return!1;parseFloat(s[Qr[p]])!==ee(s[Qr[p]])&&(u=!0)}return!0}function Ib(){return this._isValid}function Sb(){return Nt(NaN)}function ws(s){var l=lc(s),u=l.year||0,p=l.quarter||0,m=l.month||0,v=l.week||l.isoWeek||0,C=l.day||0,L=l.hour||0,z=l.minute||0,te=l.second||0,nt=l.millisecond||0;this._isValid=Mb(l),this._milliseconds=+nt+te*1e3+z*6e4+L*1e3*60*60,this._days=+C+v*7,this._months=+m+p*3+u*12,this._data={},this._locale=ln(),this._bubble()}function Ds(s){return s instanceof ws}function wc(s){return s<0?Math.round(-1*s)*-1:Math.round(s)}function Tb(s,l,u){var p=Math.min(s.length,l.length),m=Math.abs(s.length-l.length),v=0,C;for(C=0;C<p;C++)(u&&s[C]!==l[C]||!u&&ee(s[C])!==ee(l[C]))&&v++;return v+m}function Gf(s,l){P(s,0,0,function(){var u=this.utcOffset(),p="+";return u<0&&(u=-u,p="-"),p+zt(~~(u/60),2)+l+zt(~~u%60,2)})}Gf("Z",":"),Gf("ZZ",""),O("Z",gs),O("ZZ",gs),de(["Z","ZZ"],function(s,l,u){u._useUTC=!0,u._tzm=Dc(gs,s)});var kb=/([\+\-]|\d\d)/gi;function Dc(s,l){var u=(l||"").match(s),p,m,v;return u===null?null:(p=u[u.length-1]||[],m=(p+"").match(kb)||["-",0,0],v=+(m[1]*60)+ee(m[2]),v===0?0:m[0]==="+"?v:-v)}function Ec(s,l){var u,p;return l._isUTC?(u=l.clone(),p=(N(s)||f(s)?s.valueOf():De(s).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+p),t.updateOffset(u,!1),u):De(s).local()}function xc(s){return-Math.round(s._d.getTimezoneOffset())}t.updateOffset=function(){};function Ab(s,l,u){var p=this._offset||0,m;if(!this.isValid())return s!=null?this:NaN;if(s!=null){if(typeof s=="string"){if(s=Dc(gs,s),s===null)return this}else Math.abs(s)<16&&!u&&(s=s*60);return!this._isUTC&&l&&(m=xc(this)),this._offset=s,this._isUTC=!0,m!=null&&this.add(m,"m"),p!==s&&(!l||this._changeInProgress?Xf(this,Nt(s-p,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?p:xc(this)}function Nb(s,l){return s!=null?(typeof s!="string"&&(s=-s),this.utcOffset(s,l),this):-this.utcOffset()}function Lb(s){return this.utcOffset(0,s)}function Ob(s){return this._isUTC&&(this.utcOffset(0,s),this._isUTC=!1,s&&this.subtract(xc(this),"m")),this}function Rb(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var s=Dc(ev,this._i);s!=null?this.utcOffset(s):this.utcOffset(0,!0)}return this}function Pb(s){return this.isValid()?(s=s?De(s).utcOffset():0,(this.utcOffset()-s)%60===0):!1}function Fb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Vb(){if(!c(this._isDSTShifted))return this._isDSTShifted;var s={},l;return ue(s,this),s=$f(s),s._a?(l=s._isUTC?y(s._a):De(s._a),this._isDSTShifted=this.isValid()&&Tb(s._a,l.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jb(){return this.isValid()?!this._isUTC:!1}function Hb(){return this.isValid()?this._isUTC:!1}function Yf(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bb=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ub=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nt(s,l){var u=s,p=null,m,v,C;return Ds(s)?u={ms:s._milliseconds,d:s._days,M:s._months}:d(s)||!isNaN(+s)?(u={},l?u[l]=+s:u.milliseconds=+s):(p=Bb.exec(s))?(m=p[1]==="-"?-1:1,u={y:0,d:ee(p[$t])*m,h:ee(p[We])*m,m:ee(p[At])*m,s:ee(p[sn])*m,ms:ee(wc(p[ii]*1e3))*m}):(p=Ub.exec(s))?(m=p[1]==="-"?-1:1,u={y:ri(p[2],m),M:ri(p[3],m),w:ri(p[4],m),d:ri(p[5],m),h:ri(p[6],m),m:ri(p[7],m),s:ri(p[8],m)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(C=zb(De(u.from),De(u.to)),u={},u.ms=C.milliseconds,u.M=C.months),v=new ws(u),Ds(s)&&o(s,"_locale")&&(v._locale=s._locale),Ds(s)&&o(s,"_isValid")&&(v._isValid=s._isValid),v}Nt.fn=ws.prototype,Nt.invalid=Sb;function ri(s,l){var u=s&&parseFloat(s.replace(",","."));return(isNaN(u)?0:u)*l}function qf(s,l){var u={};return u.months=l.month()-s.month()+(l.year()-s.year())*12,s.clone().add(u.months,"M").isAfter(l)&&--u.months,u.milliseconds=+l-+s.clone().add(u.months,"M"),u}function zb(s,l){var u;return s.isValid()&&l.isValid()?(l=Ec(l,s),s.isBefore(l)?u=qf(s,l):(u=qf(l,s),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function Qf(s,l){return function(u,p){var m,v;return p!==null&&!isNaN(+p)&&(wf(l,"moment()."+l+"(period, number) is deprecated. Please use moment()."+l+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),v=u,u=p,p=v),m=Nt(u,p),Xf(this,m,s),this}}function Xf(s,l,u,p){var m=l._milliseconds,v=wc(l._days),C=wc(l._months);s.isValid()&&(p=p??!0,C&&Lf(s,Zr(s,"Month")+C*u),v&&kf(s,"Date",Zr(s,"Date")+v*u),m&&s._d.setTime(s._d.valueOf()+m*u),p&&t.updateOffset(s,v||C))}var $b=Qf(1,"add"),Zb=Qf(-1,"subtract");function Kf(s){return typeof s=="string"||s instanceof String}function Wb(s){return N(s)||f(s)||Kf(s)||d(s)||Yb(s)||Gb(s)||s===null||s===void 0}function Gb(s){var l=r(s)&&!a(s),u=!1,p=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],m,v,C=p.length;for(m=0;m<C;m+=1)v=p[m],u=u||o(s,v);return l&&u}function Yb(s){var l=i(s),u=!1;return l&&(u=s.filter(function(p){return!d(p)&&Kf(s)}).length===0),l&&u}function qb(s){var l=r(s)&&!a(s),u=!1,p=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],m,v;for(m=0;m<p.length;m+=1)v=p[m],u=u||o(s,v);return l&&u}function Qb(s,l){var u=s.diff(l,"days",!0);return u<-6?"sameElse":u<-1?"lastWeek":u<0?"lastDay":u<1?"sameDay":u<2?"nextDay":u<7?"nextWeek":"sameElse"}function Xb(s,l){arguments.length===1&&(arguments[0]?Wb(arguments[0])?(s=arguments[0],l=void 0):qb(arguments[0])&&(l=arguments[0],s=void 0):(s=void 0,l=void 0));var u=s||De(),p=Ec(u,this).startOf("day"),m=t.calendarFormat(this,p)||"sameElse",v=l&&(Ut(l[m])?l[m].call(this,u):l[m]);return this.format(v||this.localeData().calendar(m,this,De(u)))}function Kb(){return new Ce(this)}function Jb(s,l){var u=N(s)?s:De(s);return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(l).valueOf()):!1}function e3(s,l){var u=N(s)?s:De(s);return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(l).valueOf()<u.valueOf()):!1}function t3(s,l,u,p){var m=N(s)?s:De(s),v=N(l)?l:De(l);return this.isValid()&&m.isValid()&&v.isValid()?(p=p||"()",(p[0]==="("?this.isAfter(m,u):!this.isBefore(m,u))&&(p[1]===")"?this.isBefore(v,u):!this.isAfter(v,u))):!1}function n3(s,l){var u=N(s)?s:De(s),p;return this.isValid()&&u.isValid()?(l=wt(l)||"millisecond",l==="millisecond"?this.valueOf()===u.valueOf():(p=u.valueOf(),this.clone().startOf(l).valueOf()<=p&&p<=this.clone().endOf(l).valueOf())):!1}function i3(s,l){return this.isSame(s,l)||this.isAfter(s,l)}function r3(s,l){return this.isSame(s,l)||this.isBefore(s,l)}function o3(s,l,u){var p,m,v;if(!this.isValid())return NaN;if(p=Ec(s,this),!p.isValid())return NaN;switch(m=(p.utcOffset()-this.utcOffset())*6e4,l=wt(l),l){case"year":v=Es(this,p)/12;break;case"month":v=Es(this,p);break;case"quarter":v=Es(this,p)/3;break;case"second":v=(this-p)/1e3;break;case"minute":v=(this-p)/6e4;break;case"hour":v=(this-p)/36e5;break;case"day":v=(this-p-m)/864e5;break;case"week":v=(this-p-m)/6048e5;break;default:v=this-p}return u?v:Dt(v)}function Es(s,l){if(s.date()<l.date())return-Es(l,s);var u=(l.year()-s.year())*12+(l.month()-s.month()),p=s.clone().add(u,"months"),m,v;return l-p<0?(m=s.clone().add(u-1,"months"),v=(l-p)/(p-m)):(m=s.clone().add(u+1,"months"),v=(l-p)/(m-p)),-(u+v)||0}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function s3(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function a3(s){if(!this.isValid())return null;var l=s!==!0,u=l?this.clone().utc():this;return u.year()<0||u.year()>9999?ds(u,l?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ut(Date.prototype.toISOString)?l?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ds(u,"Z")):ds(u,l?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function l3(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var s="moment",l="",u,p,m,v;return this.isLocal()||(s=this.utcOffset()===0?"moment.utc":"moment.parseZone",l="Z"),u="["+s+'("]',p=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",m="-MM-DD[T]HH:mm:ss.SSS",v=l+'[")]',this.format(u+p+m+v)}function c3(s){s||(s=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var l=ds(this,s);return this.localeData().postformat(l)}function u3(s,l){return this.isValid()&&(N(s)&&s.isValid()||De(s).isValid())?Nt({to:this,from:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function d3(s){return this.from(De(),s)}function p3(s,l){return this.isValid()&&(N(s)&&s.isValid()||De(s).isValid())?Nt({from:this,to:s}).locale(this.locale()).humanize(!l):this.localeData().invalidDate()}function f3(s){return this.to(De(),s)}function Jf(s){var l;return s===void 0?this._locale._abbr:(l=ln(s),l!=null&&(this._locale=l),this)}var em=ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(s){return s===void 0?this.localeData():this.locale(s)});function tm(){return this._locale}var xs=1e3,Zi=60*xs,Ms=60*Zi,nm=(365*400+97)*24*Ms;function Wi(s,l){return(s%l+l)%l}function im(s,l,u){return s<100&&s>=0?new Date(s+400,l,u)-nm:new Date(s,l,u).valueOf()}function rm(s,l,u){return s<100&&s>=0?Date.UTC(s+400,l,u)-nm:Date.UTC(s,l,u)}function m3(s){var l,u;if(s=wt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?rm:im,s){case"year":l=u(this.year(),0,1);break;case"quarter":l=u(this.year(),this.month()-this.month()%3,1);break;case"month":l=u(this.year(),this.month(),1);break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":l=u(this.year(),this.month(),this.date());break;case"hour":l=this._d.valueOf(),l-=Wi(l+(this._isUTC?0:this.utcOffset()*Zi),Ms);break;case"minute":l=this._d.valueOf(),l-=Wi(l,Zi);break;case"second":l=this._d.valueOf(),l-=Wi(l,xs);break}return this._d.setTime(l),t.updateOffset(this,!0),this}function h3(s){var l,u;if(s=wt(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?rm:im,s){case"year":l=u(this.year()+1,0,1)-1;break;case"quarter":l=u(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":l=u(this.year(),this.month()+1,1)-1;break;case"week":l=u(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":l=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":l=u(this.year(),this.month(),this.date()+1)-1;break;case"hour":l=this._d.valueOf(),l+=Ms-Wi(l+(this._isUTC?0:this.utcOffset()*Zi),Ms)-1;break;case"minute":l=this._d.valueOf(),l+=Zi-Wi(l,Zi)-1;break;case"second":l=this._d.valueOf(),l+=xs-Wi(l,xs)-1;break}return this._d.setTime(l),t.updateOffset(this,!0),this}function g3(){return this._d.valueOf()-(this._offset||0)*6e4}function v3(){return Math.floor(this.valueOf()/1e3)}function b3(){return new Date(this.valueOf())}function y3(){var s=this;return[s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond()]}function _3(){var s=this;return{years:s.year(),months:s.month(),date:s.date(),hours:s.hours(),minutes:s.minutes(),seconds:s.seconds(),milliseconds:s.milliseconds()}}function C3(){return this.isValid()?this.toISOString():null}function w3(){return k(this)}function D3(){return g({},_(this))}function E3(){return _(this).overflow}function x3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),O("N",Mc),O("NN",Mc),O("NNN",Mc),O("NNNN",P3),O("NNNNN",F3),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}),O("y",Bi),O("yy",Bi),O("yyy",Bi),O("yyyy",Bi),O("yo",V3),de(["y","yy","yyy","yyyy"],Je),de(["yo"],function(s,l,u,p){var m;u._locale._eraYearOrdinalRegex&&(m=s.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?l[Je]=u._locale.eraYearOrdinalParse(s,m):l[Je]=parseInt(s,10)});function M3(s,l){var u,p,m,v=this._eras||ln("en")._eras;for(u=0,p=v.length;u<p;++u){switch(typeof v[u].since){case"string":m=t(v[u].since).startOf("day"),v[u].since=m.valueOf();break}switch(typeof v[u].until){case"undefined":v[u].until=1/0;break;case"string":m=t(v[u].until).startOf("day").valueOf(),v[u].until=m.valueOf();break}}return v}function I3(s,l,u){var p,m,v=this.eras(),C,L,z;for(s=s.toUpperCase(),p=0,m=v.length;p<m;++p)if(C=v[p].name.toUpperCase(),L=v[p].abbr.toUpperCase(),z=v[p].narrow.toUpperCase(),u)switch(l){case"N":case"NN":case"NNN":if(L===s)return v[p];break;case"NNNN":if(C===s)return v[p];break;case"NNNNN":if(z===s)return v[p];break}else if([C,L,z].indexOf(s)>=0)return v[p]}function S3(s,l){var u=s.since<=s.until?1:-1;return l===void 0?t(s.since).year():t(s.since).year()+(l-s.offset)*u}function T3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].name;return""}function k3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].narrow;return""}function A3(){var s,l,u,p=this.localeData().eras();for(s=0,l=p.length;s<l;++s)if(u=this.clone().startOf("day").valueOf(),p[s].since<=u&&u<=p[s].until||p[s].until<=u&&u<=p[s].since)return p[s].abbr;return""}function N3(){var s,l,u,p,m=this.localeData().eras();for(s=0,l=m.length;s<l;++s)if(u=m[s].since<=m[s].until?1:-1,p=this.clone().startOf("day").valueOf(),m[s].since<=p&&p<=m[s].until||m[s].until<=p&&p<=m[s].since)return(this.year()-t(m[s].since).year())*u+m[s].offset;return this.year()}function L3(s){return o(this,"_erasNameRegex")||Ic.call(this),s?this._erasNameRegex:this._erasRegex}function O3(s){return o(this,"_erasAbbrRegex")||Ic.call(this),s?this._erasAbbrRegex:this._erasRegex}function R3(s){return o(this,"_erasNarrowRegex")||Ic.call(this),s?this._erasNarrowRegex:this._erasRegex}function Mc(s,l){return l.erasAbbrRegex(s)}function P3(s,l){return l.erasNameRegex(s)}function F3(s,l){return l.erasNarrowRegex(s)}function V3(s,l){return l._eraYearOrdinalRegex||Bi}function Ic(){var s=[],l=[],u=[],p=[],m,v,C,L,z,te=this.eras();for(m=0,v=te.length;m<v;++m)C=rn(te[m].name),L=rn(te[m].abbr),z=rn(te[m].narrow),l.push(C),s.push(L),u.push(z),p.push(C),p.push(L),p.push(z);this._erasRegex=new RegExp("^("+p.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+l.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Is(s,l){P(0,[s,s.length],0,l)}Is("gggg","weekYear"),Is("ggggg","weekYear"),Is("GGGG","isoWeekYear"),Is("GGGGG","isoWeekYear"),O("G",hs),O("g",hs),O("GG",we,bt),O("gg",we,bt),O("GGGG",uc,cc),O("gggg",uc,cc),O("GGGGG",ms,ps),O("ggggg",ms,ps),zr(["gggg","ggggg","GGGG","GGGGG"],function(s,l,u,p){l[p.substr(0,2)]=ee(s)}),zr(["gg","GG"],function(s,l,u,p){l[p]=t.parseTwoDigitYear(s)});function j3(s){return om.call(this,s,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function H3(s){return om.call(this,s,this.isoWeek(),this.isoWeekday(),1,4)}function B3(){return an(this.year(),1,4)}function U3(){return an(this.isoWeekYear(),1,4)}function z3(){var s=this.localeData()._week;return an(this.year(),s.dow,s.doy)}function $3(){var s=this.localeData()._week;return an(this.weekYear(),s.dow,s.doy)}function om(s,l,u,p,m){var v;return s==null?Gr(this,p,m).year:(v=an(s,p,m),l>v&&(l=v),Z3.call(this,s,l,u,p,m))}function Z3(s,l,u,p,m){var v=Pf(s,l,u,p,m),C=Wr(v.year,0,v.dayOfYear);return this.year(C.getUTCFullYear()),this.month(C.getUTCMonth()),this.date(C.getUTCDate()),this}P("Q",0,"Qo","quarter"),O("Q",xf),de("Q",function(s,l){l[on]=(ee(s)-1)*3});function W3(s){return s==null?Math.ceil((this.month()+1)/3):this.month((s-1)*3+this.month()%3)}P("D",["DD",2],"Do","date"),O("D",we,Ui),O("DD",we,bt),O("Do",function(s,l){return s?l._dayOfMonthOrdinalParse||l._ordinalParse:l._dayOfMonthOrdinalParseLenient}),de(["D","DD"],$t),de("Do",function(s,l){l[$t]=ee(s.match(we)[0])});var sm=zi("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),O("DDD",fs),O("DDDD",Mf),de(["DDD","DDDD"],function(s,l,u){u._dayOfYear=ee(s)});function G3(s){var l=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return s==null?l:this.add(s-l,"d")}P("m",["mm",2],0,"minute"),O("m",we,dc),O("mm",we,bt),de(["m","mm"],At);var Y3=zi("Minutes",!1);P("s",["ss",2],0,"second"),O("s",we,dc),O("ss",we,bt),de(["s","ss"],sn);var q3=zi("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return this.millisecond()*10}),P(0,["SSSSS",5],0,function(){return this.millisecond()*100}),P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),O("S",fs,xf),O("SS",fs,bt),O("SSS",fs,Mf);var Sn,am;for(Sn="SSSS";Sn.length<=9;Sn+="S")O(Sn,Bi);function Q3(s,l){l[ii]=ee(("0."+s)*1e3)}for(Sn="S";Sn.length<=9;Sn+="S")de(Sn,Q3);am=zi("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");function X3(){return this._isUTC?"UTC":""}function K3(){return this._isUTC?"Coordinated Universal Time":""}var S=Ce.prototype;S.add=$b,S.calendar=Xb,S.clone=Kb,S.diff=o3,S.endOf=h3,S.format=c3,S.from=u3,S.fromNow=d3,S.to=p3,S.toNow=f3,S.get=lv,S.invalidAt=E3,S.isAfter=Jb,S.isBefore=e3,S.isBetween=t3,S.isSame=n3,S.isSameOrAfter=i3,S.isSameOrBefore=r3,S.isValid=w3,S.lang=em,S.locale=Jf,S.localeData=tm,S.max=wb,S.min=Cb,S.parsingFlags=D3,S.set=cv,S.startOf=m3,S.subtract=Zb,S.toArray=y3,S.toObject=_3,S.toDate=b3,S.toISOString=a3,S.inspect=l3,typeof Symbol<"u"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=C3,S.toString=s3,S.unix=v3,S.valueOf=g3,S.creationData=x3,S.eraName=T3,S.eraNarrow=k3,S.eraAbbr=A3,S.eraYear=N3,S.year=Tf,S.isLeapYear=av,S.weekYear=j3,S.isoWeekYear=H3,S.quarter=S.quarters=W3,S.month=Of,S.daysInMonth=bv,S.week=S.weeks=Mv,S.isoWeek=S.isoWeeks=Iv,S.weeksInYear=z3,S.weeksInWeekYear=$3,S.isoWeeksInYear=B3,S.isoWeeksInISOWeekYear=U3,S.date=sm,S.day=S.days=Hv,S.weekday=Bv,S.isoWeekday=Uv,S.dayOfYear=G3,S.hour=S.hours=qv,S.minute=S.minutes=Y3,S.second=S.seconds=q3,S.millisecond=S.milliseconds=am,S.utcOffset=Ab,S.utc=Lb,S.local=Ob,S.parseZone=Rb,S.hasAlignedHourOffset=Pb,S.isDST=Fb,S.isLocal=jb,S.isUtcOffset=Hb,S.isUtc=Yf,S.isUTC=Yf,S.zoneAbbr=X3,S.zoneName=K3,S.dates=ne("dates accessor is deprecated. Use date instead.",sm),S.months=ne("months accessor is deprecated. Use month instead",Of),S.years=ne("years accessor is deprecated. Use year instead",Tf),S.zone=ne("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Nb),S.isDSTShifted=ne("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Vb);function J3(s){return De(s*1e3)}function ey(){return De.apply(null,arguments).parseZone()}function lm(s){return s}var se=rc.prototype;se.calendar=j2,se.longDateFormat=z2,se.invalidDate=Z2,se.ordinal=Y2,se.preparse=lm,se.postformat=lm,se.relativeTime=Q2,se.pastFuture=X2,se.set=F2,se.eras=M3,se.erasParse=I3,se.erasConvertYear=S3,se.erasAbbrRegex=O3,se.erasNameRegex=L3,se.erasNarrowRegex=R3,se.months=mv,se.monthsShort=hv,se.monthsParse=vv,se.monthsRegex=_v,se.monthsShortRegex=yv,se.week=wv,se.firstDayOfYear=xv,se.firstDayOfWeek=Ev,se.weekdays=Rv,se.weekdaysMin=Fv,se.weekdaysShort=Pv,se.weekdaysParse=jv,se.weekdaysRegex=zv,se.weekdaysShortRegex=$v,se.weekdaysMinRegex=Zv,se.isPM=Gv,se.meridiem=Qv;function Ss(s,l,u,p){var m=ln(),v=y().set(p,l);return m[u](v,s)}function cm(s,l,u){if(d(s)&&(l=s,s=void 0),s=s||"",l!=null)return Ss(s,l,u,"month");var p,m=[];for(p=0;p<12;p++)m[p]=Ss(s,p,u,"month");return m}function Sc(s,l,u,p){typeof s=="boolean"?(d(l)&&(u=l,l=void 0),l=l||""):(l=s,u=l,s=!1,d(l)&&(u=l,l=void 0),l=l||"");var m=ln(),v=s?m._week.dow:0,C,L=[];if(u!=null)return Ss(l,(u+v)%7,p,"day");for(C=0;C<7;C++)L[C]=Ss(l,(C+v)%7,p,"day");return L}function ty(s,l){return cm(s,l,"months")}function ny(s,l){return cm(s,l,"monthsShort")}function iy(s,l,u){return Sc(s,l,u,"weekdays")}function ry(s,l,u){return Sc(s,l,u,"weekdaysShort")}function oy(s,l,u){return Sc(s,l,u,"weekdaysMin")}In("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(s){var l=s%10,u=ee(s%100/10)===1?"th":l===1?"st":l===2?"nd":l===3?"rd":"th";return s+u}}),t.lang=ne("moment.lang is deprecated. Use moment.locale instead.",In),t.langData=ne("moment.langData is deprecated. Use moment.localeData instead.",ln);var cn=Math.abs;function sy(){var s=this._data;return this._milliseconds=cn(this._milliseconds),this._days=cn(this._days),this._months=cn(this._months),s.milliseconds=cn(s.milliseconds),s.seconds=cn(s.seconds),s.minutes=cn(s.minutes),s.hours=cn(s.hours),s.months=cn(s.months),s.years=cn(s.years),this}function um(s,l,u,p){var m=Nt(l,u);return s._milliseconds+=p*m._milliseconds,s._days+=p*m._days,s._months+=p*m._months,s._bubble()}function ay(s,l){return um(this,s,l,1)}function ly(s,l){return um(this,s,l,-1)}function dm(s){return s<0?Math.floor(s):Math.ceil(s)}function cy(){var s=this._milliseconds,l=this._days,u=this._months,p=this._data,m,v,C,L,z;return s>=0&&l>=0&&u>=0||s<=0&&l<=0&&u<=0||(s+=dm(Tc(u)+l)*864e5,l=0,u=0),p.milliseconds=s%1e3,m=Dt(s/1e3),p.seconds=m%60,v=Dt(m/60),p.minutes=v%60,C=Dt(v/60),p.hours=C%24,l+=Dt(C/24),z=Dt(pm(l)),u+=z,l-=dm(Tc(z)),L=Dt(u/12),u%=12,p.days=l,p.months=u,p.years=L,this}function pm(s){return s*4800/146097}function Tc(s){return s*146097/4800}function uy(s){if(!this.isValid())return NaN;var l,u,p=this._milliseconds;if(s=wt(s),s==="month"||s==="quarter"||s==="year")switch(l=this._days+p/864e5,u=this._months+pm(l),s){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(l=this._days+Math.round(Tc(this._months)),s){case"week":return l/7+p/6048e5;case"day":return l+p/864e5;case"hour":return l*24+p/36e5;case"minute":return l*1440+p/6e4;case"second":return l*86400+p/1e3;case"millisecond":return Math.floor(l*864e5)+p;default:throw new Error("Unknown unit "+s)}}function un(s){return function(){return this.as(s)}}var fm=un("ms"),dy=un("s"),py=un("m"),fy=un("h"),my=un("d"),hy=un("w"),gy=un("M"),vy=un("Q"),by=un("y"),yy=fm;function _y(){return Nt(this)}function Cy(s){return s=wt(s),this.isValid()?this[s+"s"]():NaN}function oi(s){return function(){return this.isValid()?this._data[s]:NaN}}var wy=oi("milliseconds"),Dy=oi("seconds"),Ey=oi("minutes"),xy=oi("hours"),My=oi("days"),Iy=oi("months"),Sy=oi("years");function Ty(){return Dt(this.days()/7)}var dn=Math.round,Gi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ky(s,l,u,p,m){return m.relativeTime(l||1,!!u,s,p)}function Ay(s,l,u,p){var m=Nt(s).abs(),v=dn(m.as("s")),C=dn(m.as("m")),L=dn(m.as("h")),z=dn(m.as("d")),te=dn(m.as("M")),nt=dn(m.as("w")),pn=dn(m.as("y")),Tn=v<=u.ss&&["s",v]||v<u.s&&["ss",v]||C<=1&&["m"]||C<u.m&&["mm",C]||L<=1&&["h"]||L<u.h&&["hh",L]||z<=1&&["d"]||z<u.d&&["dd",z];return u.w!=null&&(Tn=Tn||nt<=1&&["w"]||nt<u.w&&["ww",nt]),Tn=Tn||te<=1&&["M"]||te<u.M&&["MM",te]||pn<=1&&["y"]||["yy",pn],Tn[2]=l,Tn[3]=+s>0,Tn[4]=p,ky.apply(null,Tn)}function Ny(s){return s===void 0?dn:typeof s=="function"?(dn=s,!0):!1}function Ly(s,l){return Gi[s]===void 0?!1:l===void 0?Gi[s]:(Gi[s]=l,s==="s"&&(Gi.ss=l-1),!0)}function Oy(s,l){if(!this.isValid())return this.localeData().invalidDate();var u=!1,p=Gi,m,v;return typeof s=="object"&&(l=s,s=!1),typeof s=="boolean"&&(u=s),typeof l=="object"&&(p=Object.assign({},Gi,l),l.s!=null&&l.ss==null&&(p.ss=l.s-1)),m=this.localeData(),v=Ay(this,!u,p,m),u&&(v=m.pastFuture(+this,v)),m.postformat(v)}var kc=Math.abs;function Yi(s){return(s>0)-(s<0)||+s}function Ts(){if(!this.isValid())return this.localeData().invalidDate();var s=kc(this._milliseconds)/1e3,l=kc(this._days),u=kc(this._months),p,m,v,C,L=this.asSeconds(),z,te,nt,pn;return L?(p=Dt(s/60),m=Dt(p/60),s%=60,p%=60,v=Dt(u/12),u%=12,C=s?s.toFixed(3).replace(/\.?0+$/,""):"",z=L<0?"-":"",te=Yi(this._months)!==Yi(L)?"-":"",nt=Yi(this._days)!==Yi(L)?"-":"",pn=Yi(this._milliseconds)!==Yi(L)?"-":"",z+"P"+(v?te+v+"Y":"")+(u?te+u+"M":"")+(l?nt+l+"D":"")+(m||p||s?"T":"")+(m?pn+m+"H":"")+(p?pn+p+"M":"")+(s?pn+C+"S":"")):"P0D"}var ie=ws.prototype;ie.isValid=Ib,ie.abs=sy,ie.add=ay,ie.subtract=ly,ie.as=uy,ie.asMilliseconds=fm,ie.asSeconds=dy,ie.asMinutes=py,ie.asHours=fy,ie.asDays=my,ie.asWeeks=hy,ie.asMonths=gy,ie.asQuarters=vy,ie.asYears=by,ie.valueOf=yy,ie._bubble=cy,ie.clone=_y,ie.get=Cy,ie.milliseconds=wy,ie.seconds=Dy,ie.minutes=Ey,ie.hours=xy,ie.days=My,ie.weeks=Ty,ie.months=Iy,ie.years=Sy,ie.humanize=Oy,ie.toISOString=Ts,ie.toString=Ts,ie.toJSON=Ts,ie.locale=Jf,ie.localeData=tm,ie.toIsoString=ne("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ts),ie.lang=em,P("X",0,0,"unix"),P("x",0,0,"valueOf"),O("x",hs),O("X",tv),de("X",function(s,l,u){u._d=new Date(parseFloat(s)*1e3)}),de("x",function(s,l,u){u._d=new Date(ee(s))});return t.version="2.30.1",n(De),t.fn=S,t.min=Db,t.max=Eb,t.now=xb,t.utc=y,t.unix=J3,t.months=ty,t.isDate=f,t.locale=In,t.invalid=I,t.duration=Nt,t.isMoment=N,t.weekdays=iy,t.parseZone=ey,t.localeData=ln,t.isDuration=Ds,t.monthsShort=ny,t.weekdaysMin=oy,t.defineLocale=vc,t.updateLocale=eb,t.locales=tb,t.weekdaysShort=ry,t.normalizeUnits=wt,t.relativeTimeRounding=Ny,t.relativeTimeThreshold=Ly,t.calendarFormat=Qb,t.prototype=S,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})});var Nc;function ks(){return Nc}function Wt(e){let t=Nc;return Nc=e,t}var bm=Symbol("NotFound");function qi(e){return e===bm||e?.name==="\u0275NotFound"}var et=null,As=!1,Pc=1,Zy=null,dt=Symbol("SIGNAL");function Y(e){let t=et;return et=e,t}function Ls(){return et}var Xr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Kr(e){if(As)throw new Error("");if(et===null)return;et.consumerOnSignalRead(e);let t=et.producersTail;if(t!==void 0&&t.producer===e)return;let n,i=et.recomputing;if(i&&(n=t!==void 0?t.nextProducer:et.producers,n!==void 0&&n.producer===e)){et.producersTail=n,n.lastReadVersion=e.version;return}let r=e.consumersTail;if(r!==void 0&&r.consumer===et&&(!i||Gy(r,et)))return;let o=Qi(et),a={producer:e,consumer:et,nextProducer:n,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};et.producersTail=a,t!==void 0?t.nextProducer=a:et.producers=a,o&&wm(e,a)}function ym(){Pc++}function Fc(e){if(!(Qi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Pc)){if(!e.producerMustRecompute(e)&&!Rs(e)){Rc(e);return}e.producerRecomputeValue(e),Rc(e)}}function Vc(e){if(e.consumers===void 0)return;let t=As;As=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let i=n.consumer;i.dirty||Wy(i)}}finally{As=t}}function jc(){return et?.consumerAllowSignalWrites!==!1}function Wy(e){e.dirty=!0,Vc(e),e.consumerMarkedDirty?.(e)}function Rc(e){e.dirty=!1,e.lastCleanEpoch=Pc}function Jr(e){return e&&_m(e),Y(e)}function _m(e){e.producersTail=void 0,e.recomputing=!0}function Os(e,t){Y(t),e&&Cm(e)}function Cm(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Qi(e))do n=Hc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Rs(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,i=t.lastReadVersion;if(i!==n.version||(Fc(n),i!==n.version))return!0}return!1}function eo(e){if(Qi(e)){let t=e.producers;for(;t!==void 0;)t=Hc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function wm(e,t){let n=e.consumersTail,i=Qi(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!i)for(let r=e.producers;r!==void 0;r=r.nextProducer)wm(r.producer,r)}function Hc(e){let t=e.producer,n=e.nextProducer,i=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:t.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(t.consumers=i,!Qi(t)){let o=t.producers;for(;o!==void 0;)o=Hc(o)}return n}function Qi(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bc(e){Zy?.(e)}function Gy(e,t){let n=t.producersTail;if(n!==void 0){let i=t.producers;do{if(i===e)return!0;if(i===n)break;i=i.nextProducer}while(i!==void 0)}return!1}function Uc(e,t){return Object.is(e,t)}function Ps(e,t){let n=Object.create(Yy);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(Fc(n),Kr(n),n.value===Ns)throw n.error;return n.value};return i[dt]=n,Bc(n),i}var Lc=Symbol("UNSET"),Oc=Symbol("COMPUTING"),Ns=Symbol("ERRORED"),Yy=it(Oe({},Xr),{value:Lc,dirty:!0,error:null,equal:Uc,kind:"computed",producerMustRecompute(e){return e.value===Lc||e.value===Oc},producerRecomputeValue(e){if(e.value===Oc)throw new Error("");let t=e.value;e.value=Oc;let n=Jr(e),i,r=!1;try{i=e.computation(),Y(null),r=t!==Lc&&t!==Ns&&i!==Ns&&e.equal(t,i)}catch(o){i=Ns,e.error=o}finally{Os(e,n)}if(r){e.value=t;return}e.value=i,e.version++}});function qy(){throw new Error}var Dm=qy;function Em(e){Dm(e)}function zc(e){Dm=e}var Qy=null;function $c(e,t){let n=Object.create(Fs);n.value=e,t!==void 0&&(n.equal=t);let i=()=>xm(n);return i[dt]=n,Bc(n),[i,a=>to(n,a),a=>Mm(n,a)]}function xm(e){return Kr(e),e.value}function to(e,t){jc()||Em(e),e.equal(e.value,t)||(e.value=t,Xy(e))}function Mm(e,t){jc()||Em(e),to(e,t(e.value))}var Fs=it(Oe({},Xr),{equal:Uc,value:void 0,kind:"signal"});function Xy(e){e.version++,ym(),Vc(e),Qy?.(e)}function Q(e){return typeof e=="function"}function Vs(e){let n=e(i=>{Error.call(i),i.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var js=Vs(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
5
5
|
${n.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
|
|
6
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function no(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var rt=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:i}=this;if(Q(i))try{i()}catch(o){t=o instanceof js?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Im(o)}catch(a){t=t??[],a instanceof js?t=[...t,...a.errors]:t.push(a)}}if(t)throw new js(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Im(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&no(n,t)}remove(t){let{_finalizers:n}=this;n&&no(n,t),t instanceof e&&t._removeParent(this)}};rt.EMPTY=(()=>{let e=new rt;return e.closed=!0,e})();var Zc=rt.EMPTY;function Hs(e){return e instanceof rt||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function Im(e){Q(e)?e():e.unsubscribe()}var Lt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xi={setTimeout(e,t,...n){let{delegate:i}=Xi;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Xi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bs(e){Xi.setTimeout(()=>{let{onUnhandledError:t}=Lt;if(t)t(e);else throw e})}function io(){}var Sm=Wc("C",void 0,void 0);function Tm(e){return Wc("E",void 0,e)}function km(e){return Wc("N",e,void 0)}function Wc(e,t,n){return{kind:e,value:t,error:n}}var si=null;function Ki(e){if(Lt.useDeprecatedSynchronousErrorHandling){let t=!si;if(t&&(si={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:i}=si;if(si=null,n)throw i}}else e()}function Am(e){Lt.useDeprecatedSynchronousErrorHandling&&si&&(si.errorThrown=!0,si.error=e)}var ai=class extends rt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hs(t)&&t.add(this)):this.destination=e4}static create(t,n,i){return new fn(t,n,i)}next(t){this.isStopped?Yc(km(t),this):this._next(t)}error(t){this.isStopped?Yc(Tm(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Yc(Sm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ky=Function.prototype.bind;function Gc(e,t){return Ky.call(e,t)}var qc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Us(i)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Us(i)}else Us(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Us(n)}}},fn=class extends ai{constructor(t,n,i){super();let r;if(Q(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&Lt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Gc(t.next,o),error:t.error&&Gc(t.error,o),complete:t.complete&&Gc(t.complete,o)}):r=t}this.destination=new qc(r)}};function Us(e){Lt.useDeprecatedSynchronousErrorHandling?Am(e):Bs(e)}function Jy(e){throw e}function Yc(e,t){let{onStoppedNotification:n}=Lt;n&&Xi.setTimeout(()=>n(e,t))}var e4={closed:!0,next:io,error:Jy,complete:io};var Ji=typeof Symbol=="function"&&Symbol.observable||"@@observable";function zs(e){return e}function Nm(e){return e.length===0?zs:e.length===1?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}var oe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){let o=n4(n)?n:new fn(n,i,r);return Ki(()=>{let{operator:a,source:c}=this;o.add(a?a.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=Lm(i),new i((r,o)=>{let a=new fn({next:c=>{try{n(c)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[Ji](){return this}pipe(...n){return Nm(n)(this)}toPromise(n){return n=Lm(n),new n((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return e.create=t=>new e(t),e})();function Lm(e){var t;return(t=e??Lt.Promise)!==null&&t!==void 0?t:Promise}function t4(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function n4(e){return e&&e instanceof ai||t4(e)&&Hs(e)}function i4(e){return Q(e?.lift)}function Be(e){return t=>{if(i4(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ge(e,t,n,i,r){return new Qc(e,t,n,i,r)}var Qc=class extends ai{constructor(t,n,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=n?function(c){try{n(c)}catch(d){t.error(d)}}:super._next,this._error=r?function(c){try{r(c)}catch(d){t.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Om=Vs(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ot=(()=>{class e extends oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new $s(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Om}next(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Zc:(this.currentObservers=null,o.push(n),new rt(()=>{this.currentObservers=null,no(o,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){let n=new oe;return n.source=this,n}}return e.create=(t,n)=>new $s(t,n),e})(),$s=class extends Ot{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,t)}error(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&i!==void 0?i:Zc}};var kn=class extends Ot{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}};var Xc={now(){return(Xc.delegate||Date).now()},delegate:void 0};var An=class extends Ot{constructor(t=1/0,n=1/0,i=Xc){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;n||(i.push(t),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!t.closed;a+=i?1:2)t.next(o[a]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=n.now(),c=0;for(let d=1;d<i.length&&i[d]<=a;d+=2)c=d;c&&i.splice(0,c+1)}}};var Zs=new oe(e=>e.complete());function Rm(e){return e&&Q(e.schedule)}function Kc(e){return e[e.length-1]}function Pm(e){return Q(Kc(e))?e.pop():void 0}function er(e){return Rm(Kc(e))?e.pop():void 0}function Fm(e,t){return typeof Kc(e)=="number"?e.pop():t}function jm(e,t,n,i){function r(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function c(h){try{f(i.next(h))}catch(g){a(g)}}function d(h){try{f(i.throw(h))}catch(g){a(g)}}function f(h){h.done?o(h.value):r(h.value).then(c,d)}f((i=i.apply(e,t||[])).next())})}function Vm(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function li(e){return this instanceof li?(this.v=e,this):new li(e)}function Hm(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(b){return function(_){return Promise.resolve(_).then(b,g)}}function c(b,_){i[b]&&(r[b]=function(A){return new Promise(function(k,I){o.push([b,A,k,I])>1||d(b,A)})},_&&(r[b]=_(r[b])))}function d(b,_){try{f(i[b](_))}catch(A){y(o[0][3],A)}}function f(b){b.value instanceof li?Promise.resolve(b.value.v).then(h,g):y(o[0][2],b)}function h(b){d("next",b)}function g(b){d("throw",b)}function y(b,_){b(_),o.shift(),o.length&&d(o[0][0],o[0][1])}}function Bm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Vm=="function"?Vm(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(a){return new Promise(function(c,d){a=e[o](a),r(c,d,a.done,a.value)})}}function r(o,a,c,d){Promise.resolve(d).then(function(f){o({value:f,done:c})},a)}}var Ws=e=>e&&typeof e.length=="number"&&typeof e!="function";function Gs(e){return Q(e?.then)}function Ys(e){return Q(e[Ji])}function qs(e){return Symbol.asyncIterator&&Q(e?.[Symbol.asyncIterator])}function Qs(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function r4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xs=r4();function Ks(e){return Q(e?.[Xs])}function Js(e){return Hm(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:i,done:r}=yield li(n.read());if(r)return yield li(void 0);yield yield li(i)}}finally{n.releaseLock()}})}function ea(e){return Q(e?.getReader)}function Te(e){if(e instanceof oe)return e;if(e!=null){if(Ys(e))return o4(e);if(Ws(e))return s4(e);if(Gs(e))return a4(e);if(qs(e))return Um(e);if(Ks(e))return l4(e);if(ea(e))return c4(e)}throw Qs(e)}function o4(e){return new oe(t=>{let n=e[Ji]();if(Q(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function s4(e){return new oe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function a4(e){return new oe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Bs)})}function l4(e){return new oe(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Um(e){return new oe(t=>{u4(e,t).catch(n=>t.error(n))})}function c4(e){return Um(Js(e))}function u4(e,t){var n,i,r,o;return jm(this,void 0,void 0,function*(){try{for(n=Bm(e);i=yield n.next(),!i.done;){let a=i.value;if(t.next(a),t.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})}function Et(e,t,n,i=0,r=!1){let o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function ta(e,t=0){return Be((n,i)=>{n.subscribe(Ge(i,r=>Et(i,e,()=>i.next(r),t),()=>Et(i,e,()=>i.complete(),t),r=>Et(i,e,()=>i.error(r),t)))})}function na(e,t=0){return Be((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function zm(e,t){return Te(e).pipe(na(t),ta(t))}function $m(e,t){return Te(e).pipe(na(t),ta(t))}function Zm(e,t){return new oe(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function Wm(e,t){return new oe(n=>{let i;return Et(n,t,()=>{i=e[Xs](),Et(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){n.error(a);return}o?n.complete():n.next(r)},0,!0)}),()=>Q(i?.return)&&i.return()})}function ia(e,t){if(!e)throw new Error("Iterable cannot be null");return new oe(n=>{Et(n,t,()=>{let i=e[Symbol.asyncIterator]();Et(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Gm(e,t){return ia(Js(e),t)}function Ym(e,t){if(e!=null){if(Ys(e))return zm(e,t);if(Ws(e))return Zm(e,t);if(Gs(e))return $m(e,t);if(qs(e))return ia(e,t);if(Ks(e))return Wm(e,t);if(ea(e))return Gm(e,t)}throw Qs(e)}function tr(e,t){return t?Ym(e,t):Te(e)}function mn(...e){let t=er(e);return tr(e,t)}function ci(e){return!!e&&(e instanceof oe||Q(e.lift)&&Q(e.subscribe))}function ot(e,t){return Be((n,i)=>{let r=0;n.subscribe(Ge(i,o=>{i.next(e.call(t,o,r++))}))})}var{isArray:d4}=Array;function p4(e,t){return d4(t)?e(...t):e(t)}function qm(e){return ot(t=>p4(e,t))}var{isArray:f4}=Array,{getPrototypeOf:m4,prototype:h4,keys:g4}=Object;function Qm(e){if(e.length===1){let t=e[0];if(f4(t))return{args:t,keys:null};if(v4(t)){let n=g4(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function v4(e){return e&&typeof e=="object"&&m4(e)===h4}function Xm(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function Km(e,t,n,i,r,o,a,c){let d=[],f=0,h=0,g=!1,y=()=>{g&&!d.length&&!f&&t.complete()},b=A=>f<i?_(A):d.push(A),_=A=>{o&&t.next(A),f++;let k=!1;Te(n(A,h++)).subscribe(Ge(t,I=>{r?.(I),o?b(I):t.next(I)},()=>{k=!0},void 0,()=>{if(k)try{for(f--;d.length&&f<i;){let I=d.shift();a?Et(t,a,()=>_(I)):_(I)}y()}catch(I){t.error(I)}}))};return e.subscribe(Ge(t,b,()=>{g=!0,y()})),()=>{c?.()}}function nr(e,t,n=1/0){return Q(t)?nr((i,r)=>ot((o,a)=>t(i,o,r,a))(Te(e(i,r))),n):(typeof t=="number"&&(n=t),Be((i,r)=>Km(i,r,e,n)))}function ra(e=1/0){return nr(zs,e)}function Jm(){return ra(1)}function oa(...e){return Jm()(tr(e,er(e)))}function sa(e){return new oe(t=>{Te(e()).subscribe(t)})}function Jc(...e){let t=Pm(e),{args:n,keys:i}=Qm(e),r=new oe(o=>{let{length:a}=n;if(!a){o.complete();return}let c=new Array(a),d=a,f=a;for(let h=0;h<a;h++){let g=!1;Te(n[h]).subscribe(Ge(o,y=>{g||(g=!0,f--),c[h]=y},()=>d--,void 0,()=>{(!d||!g)&&(f||o.next(i?Xm(i,c):c),o.complete())}))}});return t?r.pipe(qm(t)):r}function eu(...e){let t=er(e),n=Fm(e,1/0),i=e;return i.length?i.length===1?Te(i[0]):ra(n)(tr(i,t)):Zs}function tu(e,t){return Be((n,i)=>{let r=0;n.subscribe(Ge(i,o=>e.call(t,o,r++)&&i.next(o)))})}function ro(e,t){return Q(t)?nr(e,t,1):nr(e,1)}function ir(e){return e<=0?()=>Zs:Be((t,n)=>{let i=0;t.subscribe(Ge(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}function nu(e){return Be((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function e1(e={}){let{connector:t=()=>new Ot,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let a,c,d,f=0,h=!1,g=!1,y=()=>{c?.unsubscribe(),c=void 0},b=()=>{y(),a=d=void 0,h=g=!1},_=()=>{let A=a;b(),A?.unsubscribe()};return Be((A,k)=>{f++,!g&&!h&&y();let I=d=d??t();k.add(()=>{f--,f===0&&!g&&!h&&(c=iu(_,r))}),I.subscribe(k),!a&&f>0&&(a=new fn({next:Z=>I.next(Z),error:Z=>{g=!0,y(),c=iu(b,n,Z),I.error(Z)},complete:()=>{h=!0,y(),c=iu(b,i),I.complete()}}),Te(A).subscribe(a))})(o)}}function iu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new fn({next:()=>{i.unsubscribe(),e()}});return Te(t(...n)).subscribe(i)}function aa(e,t,n){let i,r=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:n}=e:i=e??1/0,e1({connector:()=>new An(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Nn(e,t){return Be((n,i)=>{let r=null,o=0,a=!1,c=()=>a&&!r&&i.complete();n.subscribe(Ge(i,d=>{r?.unsubscribe();let f=0,h=o++;Te(e(d,h)).subscribe(r=Ge(i,g=>i.next(t?t(d,g,h,f++):g),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function ru(e){return Be((t,n)=>{Te(e).subscribe(Ge(n,()=>n.complete(),io)),!n.closed&&t.subscribe(n)})}var da="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",V=class extends Error{code;constructor(t,n){super(lo(t,n)),this.code=t}};function b4(e){return`NG0${Math.abs(e)}`}function lo(e,t){return`${b4(e)}${t?": "+t:""}`}function de(e){for(let t in e)if(e[t]===de)return t;throw Error("")}function i1(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ln(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ln).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let i=n.indexOf(`
|
|
7
|
-
`);return i>=0?n.slice(0,i):n}function pa(e,t){return e?t?`${e} ${t}`:e:t||""}var y4=de({__forward_ref__:de});function fa(e){return e.__forward_ref__=fa,e.toString=function(){return Ln(this())},e}function Xe(e){return gu(e)?e():e}function gu(e){return typeof e=="function"&&e.hasOwnProperty(y4)&&e.__forward_ref__===fa}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pn(e){return{providers:e.providers||[],imports:e.imports||[]}}function ma(e){return _4(e,ha)}function _4(e,t){return e.hasOwnProperty(t)&&e[t]||null}function C4(e){let t=e?.[ha]??null;return t||null}function su(e){return e&&e.hasOwnProperty(ca)?e[ca]:null}var ha=de({\u0275prov:de}),ca=de({\u0275inj:de}),$=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vu(e){return e&&!!e.\u0275providers}var bu=de({\u0275cmp:de}),yu=de({\u0275dir:de}),_u=de({\u0275pipe:de});var so=de({\u0275fac:de}),mi=de({__NG_ELEMENT_ID__:de}),t1=de({__NG_ENV_ID__:de});function or(e){return typeof e=="string"?e:e==null?"":String(e)}function r1(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():or(e)}var o1=de({ngErrorCode:de}),w4=de({ngErrorMessage:de}),D4=de({ngTokenPath:de});function Cu(e,t){return s1("",-200,t)}function ga(e,t){throw new V(-201,!1)}function s1(e,t,n){let i=new V(t,e);return i[o1]=t,i[w4]=e,n&&(i[D4]=n),i}function E4(e){return e[o1]}var au;function a1(){return au}function st(e){let t=au;return au=e,t}function wu(e,t,n){let i=ma(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&8)return null;if(t!==void 0)return t;ga(e,"Injector")}var x4={},ui=x4,M4="__NG_DI_FLAG__",lu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let i=di(n)||0;try{return this.injector.get(t,i&8?null:ui,i)}catch(r){if(qi(r))return r;throw r}}};function I4(e,t=0){let n=ks();if(n===void 0)throw new V(-203,!1);if(n===null)return wu(e,void 0,t);{let i=S4(t),r=n.retrieve(e,i);if(qi(r)){if(i.optional)return null;throw r}return r}}function j(e,t=0){return(a1()||I4)(Xe(e),t)}function R(e,t){return j(e,di(t))}function di(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function S4(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function cu(e){let t=[];for(let n=0;n<e.length;n++){let i=Xe(e[n]);if(Array.isArray(i)){if(i.length===0)throw new V(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let c=i[a],d=T4(c);typeof d=="number"?d===-1?r=c.token:o|=d:r=c}t.push(j(r,o))}else t.push(j(i))}return t}function T4(e){return e[M4]}function On(e,t){let n=e.hasOwnProperty(so);return n?e[so]:null}function va(e,t){e.forEach(n=>Array.isArray(n)?va(n,t):t(n))}function Du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function co(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function l1(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function c1(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(r===1)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){let o=r-2;e[r]=e[o],r--}e[t]=n,e[t+1]=i}}function ba(e,t,n){let i=sr(e,t);return i>=0?e[i|1]=n:(i=~i,c1(e,i,t,n)),i}function ya(e,t){let n=sr(e,t);if(n>=0)return e[n|1]}function sr(e,t){return k4(e,t,1)}function k4(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){let o=i+(r-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?r=o:i=o+1}return~(r<<n)}var Fn={},at=[],hi=new $(""),Eu=new $("",-1),xu=new $(""),ao=class{get(t,n=ui){if(n===ui){let r=s1("",-201);throw r.name="\u0275NotFound",r}return n}};function gi(e){return e[bu]||null}function Mu(e){return e[yu]||null}function u1(e){return e[_u]||null}function uo(e){return{\u0275providers:e}}function _a(...e){return{\u0275providers:Iu(!0,e),\u0275fromNgModule:!0}}function Iu(e,...t){let n=[],i=new Set,r,o=a=>{n.push(a)};return va(t,a=>{let c=a;ua(c,o,[],i)&&(r||=[],r.push(c))}),r!==void 0&&d1(r,o),n}function d1(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:r}=e[n];Su(r,o=>{t(o,i)})}}function ua(e,t,n,i){if(e=Xe(e),!e)return!1;let r=null,o=su(e),a=!o&&gi(e);if(!o&&!a){let d=e.ngModule;if(o=su(d),o)r=d;else return!1}else{if(a&&!a.standalone)return!1;r=e}let c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let f of d)ua(f,t,n,i)}}else if(o){if(o.imports!=null&&!c){i.add(r);let f;try{va(o.imports,h=>{ua(h,t,n,i)&&(f||=[],f.push(h))})}finally{}f!==void 0&&d1(f,t)}if(!c){let f=On(r)||(()=>new r);t({provide:r,useFactory:f,deps:at},r),t({provide:xu,useValue:r,multi:!0},r),t({provide:hi,useValue:()=>j(r),multi:!0},r)}let d=o.providers;if(d!=null&&!c){let f=e;Su(d,h=>{t(h,f)})}}else return!1;return r!==e&&e.providers!==void 0}function Su(e,t){for(let n of e)vu(n)&&(n=n.\u0275providers),Array.isArray(n)?Su(n,t):t(n)}var A4=de({provide:String,useValue:de});function p1(e){return e!==null&&typeof e=="object"&&A4 in e}function N4(e){return!!(e&&e.useExisting)}function L4(e){return!!(e&&e.useFactory)}function pi(e){return typeof e=="function"}function f1(e){return!!e.useClass}var po=new $(""),la={},n1={},ou;function fo(){return ou===void 0&&(ou=new ao),ou}var pt=class{},fi=class extends pt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,du(t,a=>this.processProvider(a)),this.records.set(Eu,rr(void 0,this)),r.has("environment")&&this.records.set(pt,rr(void 0,this));let o=this.records.get(po);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(xu,at,{self:!0}))}retrieve(t,n){let i=di(n)||0;try{return this.get(t,ui,i)}catch(r){if(qi(r))return r;throw r}}destroy(){oo(this),this._destroyed=!0;let t=Y(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Y(t)}}onDestroy(t){return oo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){oo(this);let n=Wt(this),i=st(void 0),r;try{return t()}finally{Wt(n),st(i)}}get(t,n=ui,i){if(oo(this),t.hasOwnProperty(t1))return t[t1](this);let r=di(i),o,a=Wt(this),c=st(void 0);try{if(!(r&4)){let f=this.records.get(t);if(f===void 0){let h=V4(t)&&ma(t);h&&this.injectableDefInScope(h)?f=rr(uu(t),la):f=null,this.records.set(t,f)}if(f!=null)return this.hydrate(t,f,r)}let d=r&2?fo():this.parent;return n=r&8&&n===ui?null:n,d.get(t,n)}catch(d){let f=E4(d);throw f===-200||f===-201?new V(f,null):d}finally{st(c),Wt(a)}}resolveInjectorInitializers(){let t=Y(null),n=Wt(this),i=st(void 0),r;try{let o=this.get(hi,at,{self:!0});for(let a of o)a()}finally{Wt(n),st(i),Y(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(Ln(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Xe(t);let n=pi(t)?t:Xe(t&&t.provide),i=R4(t);if(!pi(t)&&t.multi===!0){let r=this.records.get(n);r||(r=rr(void 0,la,!0),r.factory=()=>cu(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let r=Y(null);try{if(n.value===n1)throw Cu(Ln(t));return n.value===la&&(n.value=n1,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&F4(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Y(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Xe(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function uu(e){let t=ma(e),n=t!==null?t.factory:On(e);if(n!==null)return n;if(e instanceof $)throw new V(204,!1);if(e instanceof Function)return O4(e);throw new V(204,!1)}function O4(e){if(e.length>0)throw new V(204,!1);let n=C4(e);return n!==null?()=>n.factory(e):()=>new e}function R4(e){if(p1(e))return rr(void 0,e.useValue);{let t=Tu(e);return rr(t,la)}}function Tu(e,t,n){let i;if(pi(e)){let r=Xe(e);return On(r)||uu(r)}else if(p1(e))i=()=>Xe(e.useValue);else if(L4(e))i=()=>e.useFactory(...cu(e.deps||[]));else if(N4(e))i=(r,o)=>j(Xe(e.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Xe(e&&(e.useClass||e.provide));if(P4(e))i=()=>new r(...cu(e.deps));else return On(r)||uu(r)}return i}function oo(e){if(e.destroyed)throw new V(205,!1)}function rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function P4(e){return!!e.deps}function F4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function V4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function du(e,t){for(let n of e)Array.isArray(n)?du(n,t):n&&vu(n)?du(n.\u0275providers,t):t(n)}function ar(e,t){let n;e instanceof fi?(oo(e),n=e):n=new lu(e);let i,r=Wt(n),o=st(void 0);try{return t()}finally{Wt(r),st(o)}}function m1(){return a1()!==void 0||ks()!=null}var Rt=0,H=1,W=2,Ye=3,xt=4,lt=5,vi=6,lr=7,Re=8,gn=9,Qt=10,be=11,cr=12,ku=13,bi=14,ct=15,yi=16,_i=17,Ci=18,mo=19,Au=20,hn=21,Ca=22,ho=23,yt=24,wa=25,wi=26,Ie=27,h1=1,Nu=6,Vn=7,go=8,vo=9,Pe=10;function Xt(e){return Array.isArray(e)&&typeof e[h1]=="object"}function Pt(e){return Array.isArray(e)&&e[h1]===!0}function Lu(e){return(e.flags&4)!==0}function jn(e){return e.componentOffset>-1}function ur(e){return(e.flags&1)===1}function Kt(e){return!!e.template}function dr(e){return(e[W]&512)!==0}function Di(e){return(e[W]&256)===256}var g1="svg",v1="math";function Mt(e){for(;Array.isArray(e);)e=e[Rt];return e}function Ou(e,t){return Mt(t[e])}function Ft(e,t){return Mt(t[e.index])}function bo(e,t){return e.data[t]}function Ru(e,t){return e[t]}function Pu(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function It(e,t){let n=t[e];return Xt(n)?n:n[Rt]}function Da(e){return(e[W]&128)===128}function b1(e){return Pt(e[Ye])}function St(e,t){return t==null?null:e[t]}function Fu(e){e[_i]=0}function Ea(e){e[W]&1024||(e[W]|=1024,Da(e)&&yo(e))}function y1(e,t){for(;e>0;)t=t[bi],e--;return t}function pr(e){return!!(e[W]&9216||e[yt]?.dirty)}function xa(e){e[Qt].changeDetectionScheduler?.notify(8),e[W]&64&&(e[W]|=1024),pr(e)&&yo(e)}function yo(e){e[Qt].changeDetectionScheduler?.notify(0);let t=Rn(e);for(;t!==null&&!(t[W]&8192||(t[W]|=8192,!Da(t)));)t=Rn(t)}function Vu(e,t){if(Di(e))throw new V(911,!1);e[hn]===null&&(e[hn]=[]),e[hn].push(t)}function _1(e,t){if(e[hn]===null)return;let n=e[hn].indexOf(t);n!==-1&&e[hn].splice(n,1)}function Rn(e){let t=e[Ye];return Pt(t)?t[Ye]:t}function C1(e){return e[lr]??=[]}function w1(e){return e.cleanup??=[]}var K={lFrame:L1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var pu=!1;function D1(){return K.lFrame.elementDepthCount}function E1(){K.lFrame.elementDepthCount++}function ju(){K.lFrame.elementDepthCount--}function Ma(){return K.bindingsEnabled}function Hu(){return K.skipHydrationRootTNode!==null}function Bu(e){return K.skipHydrationRootTNode===e}function Uu(){K.skipHydrationRootTNode=null}function G(){return K.lFrame.lView}function Ue(){return K.lFrame.tView}function B(e){return K.lFrame.contextLView=e,e[Re]}function U(e){return K.lFrame.contextLView=null,e}function tt(){let e=zu();for(;e!==null&&e.type===64;)e=e.parent;return e}function zu(){return K.lFrame.currentTNode}function x1(){let e=K.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function fr(e,t){let n=K.lFrame;n.currentTNode=e,n.isParent=t}function $u(){return K.lFrame.isParent}function Zu(){K.lFrame.isParent=!1}function M1(){return K.lFrame.contextLView}function Wu(){return pu}function Gu(e){let t=pu;return pu=e,t}function mr(){let e=K.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function I1(e){return K.lFrame.bindingIndex=e}function Hn(){return K.lFrame.bindingIndex++}function Yu(e){let t=K.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function S1(){return K.lFrame.inI18n}function T1(e,t){let n=K.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ia(t)}function k1(){return K.lFrame.currentDirectiveIndex}function Ia(e){K.lFrame.currentDirectiveIndex=e}function A1(e){let t=K.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function qu(e){K.lFrame.currentQueryIndex=e}function j4(e){let t=e[H];return t.type===2?t.declTNode:t.type===1?e[lt]:null}function Qu(e,t,n){if(n&4){let r=t,o=e;for(;r=r.parent,r===null&&!(n&1);)if(r=j4(o),r===null||(o=o[bi],r.type&10))break;if(r===null)return!1;t=r,e=o}let i=K.lFrame=N1();return i.currentTNode=t,i.lView=e,!0}function Sa(e){let t=N1(),n=e[H];K.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function N1(){let e=K.lFrame,t=e===null?null:e.child;return t===null?L1(e):t}function L1(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function O1(){let e=K.lFrame;return K.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xu=O1;function Ta(){let e=O1();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function R1(e){return(K.lFrame.contextLView=y1(e,K.lFrame.contextLView))[Re]}function vn(){return K.lFrame.selectedIndex}function Bn(e){K.lFrame.selectedIndex=e}function ka(){let e=K.lFrame;return bo(e.tView,e.selectedIndex)}function P1(){return K.lFrame.currentNamespace}var F1=!0;function Aa(){return F1}function _o(e){F1=e}function fu(e,t=null,n=null,i){let r=V1(e,t,n,i);return r.resolveInjectorInitializers(),r}function V1(e,t=null,n=null,i,r=new Set){let o=[n||at,_a(e)];return i=i||(typeof e=="object"?void 0:Ln(e)),new fi(o,t||fo(),i||null,r)}var Gt=class e{static THROW_IF_NOT_FOUND=ui;static NULL=new ao;static create(t,n){if(Array.isArray(t))return fu({name:""},n,t,"");{let i=t.name??"";return fu({name:i},t.parent,t.providers,i)}}static \u0275prov=q({token:e,providedIn:"any",factory:()=>j(Eu)});static __NG_ELEMENT_ID__=-1},_t=new $(""),Ei=(()=>{class e{static __NG_ELEMENT_ID__=H4;static __NG_ENV_ID__=n=>n}return e})(),mu=class extends Ei{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Di(this._lView)}onDestroy(t){let n=this._lView;return Vu(n,t),()=>_1(n,t)}};function H4(){return new mu(G())}var Yt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Jt=new $("",{providedIn:"root",factory:()=>{let e=R(pt),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Yt),t.handleError(n))}}}),j1={provide:hi,useValue:()=>void R(Yt),multi:!0};function Un(e,t){let[n,i,r]=$c(e,t?.equal),o=n,a=o[dt];return o.set=i,o.update=r,o.asReadonly=H1.bind(o),o}function H1(){let e=this[dt];if(e.readonlyFn===void 0){let t=()=>this();t[dt]=e,e.readonlyFn=t}return e.readonlyFn}var qt=class{},Na=new $("",{providedIn:"root",factory:()=>!1});var Ku=new $(""),Ju=new $(""),zn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new kn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new oe(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Co=(()=>{class e{internalPendingTasks=R(zn);scheduler=R(qt);errorHandler=R(Jt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let i=this.add();n().catch(this.errorHandler).finally(i)}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();function wo(...e){}var ed=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>new hu})}return e})(),hu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,i=this.queues.get(n);i.has(t)&&(i.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let i=this.queues.get(n);i.has(t)||i.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,i]of this.queues)n===null?t||=this.flushQueue(i):t||=n.run(()=>this.flushQueue(i));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let i of t)i.dirty&&(this.dirtyEffectCount--,n=!0,i.run());return n}};function No(e){return{toString:e}.toString()}function K4(e){return typeof e=="function"}var Va=class{previousValue;currentValue;firstChange;constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}};function hh(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var Bt=(()=>{let e=()=>gh;return e.ngInherit=!0,e})();function gh(e){return e.type.prototype.ngOnChanges&&(e.setInput=e5),J4}function J4(){let e=bh(this),t=e?.current;if(t){let n=e.previous;if(n===Fn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function e5(e,t,n,i,r){let o=this.declaredInputs[i],a=bh(e)||t5(e,{previous:Fn,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new Va(f&&f.currentValue,n,d===Fn),hh(e,t,r,n)}var vh="__ngSimpleChanges__";function bh(e){return e[vh]||null}function t5(e,t){return e[vh]=t}var B1=[];var ge=function(e,t=null,n){for(let i=0;i<B1.length;i++){let r=B1[i];r(e,t,n)}};function n5(e,t,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let a=gh(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function yh(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:d,ngAfterViewChecked:f,ngOnDestroy:h}=o;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),d&&(e.viewHooks??=[]).push(-n,d),f&&((e.viewHooks??=[]).push(n,f),(e.viewCheckHooks??=[]).push(n,f)),h!=null&&(e.destroyHooks??=[]).push(n,h)}}function Oa(e,t,n){_h(e,t,3,n)}function Ra(e,t,n,i){(e[W]&3)===n&&_h(e,t,n,i)}function td(e,t){let n=e[W];(n&3)===t&&(n&=16383,n+=1,e[W]=n)}function _h(e,t,n,i){let r=i!==void 0?e[_i]&65535:0,o=i??-1,a=t.length-1,c=0;for(let d=r;d<a;d++)if(typeof t[d+1]=="number"){if(c=t[d],i!=null&&c>=i)break}else t[d]<0&&(e[_i]+=65536),(c<o||o==-1)&&(i5(e,n,t,d),e[_i]=(e[_i]&4294901760)+d+2),d++}function U1(e,t){ge(4,e,t);let n=Y(null);try{t.call(e)}finally{Y(n),ge(5,e,t)}}function i5(e,t,n,i){let r=n[i]<0,o=n[i+1],a=r?-n[i]:n[i],c=e[a];r?e[W]>>14<e[_i]>>16&&(e[W]&3)===t&&(e[W]+=16384,U1(c,o)):U1(c,o)}var gr=-1,Mi=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i,r){this.factory=t,this.name=r,this.canSeeViewProviders=n,this.injectImpl=i}};function r5(e){return(e.flags&8)!==0}function o5(e){return(e.flags&16)!==0}function s5(e,t,n){let i=0;for(;i<n.length;){let r=n[i];if(typeof r=="number"){if(r!==0)break;i++;let o=n[i++],a=n[i++],c=n[i++];e.setAttribute(t,a,c,o)}else{let o=r,a=n[++i];l5(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function a5(e){return e===3||e===4||e===6}function l5(e){return e.charCodeAt(0)===64}function vr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let r=t[i];typeof r=="number"?n=r:n===0||(n===-1||n===2?z1(e,n,r,null,t[++i]):z1(e,n,r,null,null))}}return e}function z1(e,t,n,i,r){let o=0,a=e.length;if(t===-1)a=-1;else for(;o<e.length;){let c=e[o++];if(typeof c=="number"){if(c===t){a=-1;break}else if(c>t){a=o-1;break}}}for(;o<e.length;){let c=e[o];if(typeof c=="number")break;if(c===n){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r)}function Ch(e){return e!==gr}function ja(e){return e&32767}function c5(e){return e>>16}function Ha(e,t){let n=c5(e),i=t;for(;n>0;)i=i[bi],n--;return i}var dd=!0;function Ba(e){let t=dd;return dd=e,t}var u5=256,wh=u5-1,Dh=5,d5=0,en={};function p5(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(mi)&&(i=n[mi]),i==null&&(i=n[mi]=d5++);let r=i&wh,o=1<<r;t.data[e+(r>>Dh)]|=o}function Ua(e,t){let n=Eh(e,t);if(n!==-1)return n;let i=t[H];i.firstCreatePass&&(e.injectorIndex=t.length,nd(i.data,e),nd(t,null),nd(i.blueprint,null));let r=Fd(e,t),o=e.injectorIndex;if(Ch(r)){let a=ja(r),c=Ha(r,t),d=c[H].data;for(let f=0;f<8;f++)t[o+f]=c[a+f]|d[a+f]}return t[o+8]=r,o}function nd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Eh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;r!==null;){if(i=Th(r),i===null)return gr;if(n++,r=r[bi],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return gr}function pd(e,t,n){p5(e,t,n)}function xh(e,t,n){if(n&8||e!==void 0)return e;ga(t,"NodeInjector")}function Mh(e,t,n,i){if(n&8&&i===void 0&&(i=null),(n&3)===0){let r=e[gn],o=st(void 0);try{return r?r.get(t,i,n&8):wu(t,i,n&8)}finally{st(o)}}return xh(i,t,n)}function Ih(e,t,n,i=0,r){if(e!==null){if(t[W]&2048&&!(i&2)){let a=v5(e,t,n,i,en);if(a!==en)return a}let o=Sh(e,t,n,i,en);if(o!==en)return o}return Mh(t,n,i,r)}function Sh(e,t,n,i,r){let o=h5(n);if(typeof o=="function"){if(!Qu(t,e,i))return i&1?xh(r,n,i):Mh(t,n,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ga(n);else return a}finally{Xu()}}else if(typeof o=="number"){let a=null,c=Eh(e,t),d=gr,f=i&1?t[ct][lt]:null;for((c===-1||i&4)&&(d=c===-1?Fd(e,t):t[c+8],d===gr||!Z1(i,!1)?c=-1:(a=t[H],c=ja(d),t=Ha(d,t)));c!==-1;){let h=t[H];if($1(o,c,h.data)){let g=f5(c,t,n,a,i,f);if(g!==en)return g}d=t[c+8],d!==gr&&Z1(i,t[H].data[c+8]===f)&&$1(o,c,t)?(a=h,c=ja(d),t=Ha(d,t)):c=-1}}return r}function f5(e,t,n,i,r,o){let a=t[H],c=a.data[e+8],d=i==null?jn(c)&&dd:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=m5(c,a,n,d,f);return h!==null?za(t,a,h,c,r):en}function m5(e,t,n,i,r){let o=e.providerIndexes,a=t.data,c=o&1048575,d=e.directiveStart,f=e.directiveEnd,h=o>>20,g=i?c:c+h,y=r?c+h:f;for(let b=g;b<y;b++){let _=a[b];if(b<d&&n===_||b>=d&&_.type===n)return b}if(r){let b=a[d];if(b&&Kt(b)&&b.type===n)return d}return null}function za(e,t,n,i,r){let o=e[n],a=t.data;if(o instanceof Mi){let c=o;if(c.resolving){let b=r1(a[n]);throw Cu(b)}let d=Ba(c.canSeeViewProviders);c.resolving=!0;let f=a[n].type||a[n],h,g=c.injectImpl?st(c.injectImpl):null,y=Qu(e,i,0);try{o=e[n]=c.factory(void 0,r,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&n5(n,a[n],t)}finally{g!==null&&st(g),Ba(d),c.resolving=!1,Xu()}}return o}function h5(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mi)?e[mi]:void 0;return typeof t=="number"?t>=0?t&wh:g5:t}function $1(e,t,n){let i=1<<e;return!!(n[t+(e>>Dh)]&i)}function Z1(e,t){return!(e&2)&&!(e&1&&t)}var xi=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ih(this._tNode,this._lView,t,di(i),n)}};function g5(){return new xi(tt(),G())}function ki(e){return No(()=>{let t=e.prototype.constructor,n=t[so]||fd(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[so]||fd(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function fd(e){return gu(e)?()=>{let t=fd(Xe(e));return t&&t()}:On(e)}function v5(e,t,n,i,r){let o=e,a=t;for(;o!==null&&a!==null&&a[W]&2048&&!dr(a);){let c=Sh(o,a,n,i|2,en);if(c!==en)return c;let d=o.parent;if(!d){let f=a[Au];if(f){let h=f.get(n,en,i);if(h!==en)return h}d=Th(a),a=a[bi]}o=d}return r}function Th(e){let t=e[H],n=t.type;return n===2?t.declTNode:n===1?e[lt]:null}function b5(){return tl(tt(),G())}function tl(e,t){return new Zn(Ft(e,t))}var Zn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=b5}return e})();function kh(e){return(e.flags&128)===128}var Vd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Vd||{}),Ah=new Map,y5=0;function _5(){return y5++}function C5(e){Ah.set(e[mo],e)}function md(e){Ah.delete(e[mo])}var W1="__ngContext__";function br(e,t){Xt(t)?(e[W1]=t[mo],C5(t)):e[W1]=t}function Nh(e){return Oh(e[cr])}function Lh(e){return Oh(e[xt])}function Oh(e){for(;e!==null&&!Pt(e);)e=e[xt];return e}var hd;function jd(e){hd=e}function Rh(){if(hd!==void 0)return hd;if(typeof document<"u")return document;throw new V(210,!1)}var nl=new $("",{providedIn:"root",factory:()=>w5}),w5="ng",il=new $(""),Lo=new $("",{providedIn:"platform",factory:()=>"unknown"});var rl=new $("",{providedIn:"root",factory:()=>Rh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var D5="h",E5="b";var Ph="r";var Fh="di";var Vh=!1,jh=new $("",{providedIn:"root",factory:()=>Vh});var x5=(e,t,n,i)=>{};function M5(e,t,n,i){x5(e,t,n,i)}function ol(e){return(e.flags&32)===32}var I5=()=>null;function Hh(e,t,n=!1){return I5(e,t,n)}function Bh(e,t){let n=e.contentQueries;if(n!==null){let i=Y(null);try{for(let r=0;r<n.length;r+=2){let o=n[r],a=n[r+1];if(a!==-1){let c=e.data[a];qu(o),c.contentQueries(2,t[a],a)}}}finally{Y(i)}}}function gd(e,t,n){qu(0);let i=Y(null);try{t(e,n)}finally{Y(i)}}function Hd(e,t,n){if(Lu(t)){let i=Y(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let a=r;a<o;a++){let c=e.data[a];if(c.contentQueries){let d=n[a];c.contentQueries(1,d,a)}}}finally{Y(i)}}}var bn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(bn||{});var $a=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${da})`}};function sl(e){return e instanceof $a?e.changingThisBreaksApplicationSecurity:e}function Uh(e,t){let n=zh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${da})`)}return n===t}function zh(e){return e instanceof $a&&e.getTypeName()||null}var S5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $h(e){return e=String(e),e.match(S5)?e:"unsafe:"+e}var T5=/^>|^->|<!--|-->|--!>|<!-$/g,k5=/(<|>)/g,A5="\u200B$1\u200B";function N5(e){return e.replace(T5,t=>t.replace(k5,A5))}function L5(e,t){return e.createText(t)}function O5(e,t,n){e.setValue(t,n)}function R5(e,t){return e.createComment(N5(t))}function Zh(e,t,n){return e.createElement(t,n)}function Za(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Wh(e,t,n){e.appendChild(t,n)}function G1(e,t,n,i,r){i!==null?Za(e,t,n,i,r):Wh(e,t,n)}function Gh(e,t,n,i){e.removeChild(null,t,n,i)}function P5(e,t,n){e.setAttribute(t,"style",n)}function F5(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Yh(e,t,n){let{mergedAttrs:i,classes:r,styles:o}=n;i!==null&&s5(e,t,i),r!==null&&F5(e,t,r),o!==null&&P5(e,t,o)}var Bd=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Bd||{});function Cr(e){let t=V5();return t?t.sanitize(Bd.URL,e)||"":Uh(e,"URL")?sl(e):$h(or(e))}function V5(){let e=G();return e&&e[Qt].sanitizer}function j5(e,t,n){let i=e.length;for(;;){let r=e.indexOf(t,n);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}var qh="ng-template";function H5(e,t,n,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&j5(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(Ud(e))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&typeof(o=t[r])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Ud(e){return e.type===4&&e.value!==qh}function B5(e,t,n){let i=e.type===4&&!n?qh:e.value;return t===i}function U5(e,t,n){let i=4,r=e.attrs,o=r!==null?Z5(r):0,a=!1;for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="number"){if(!a&&!Vt(i)&&!Vt(d))return!1;if(a&&Vt(d))continue;a=!1,i=d|i&1;continue}if(!a)if(i&4){if(i=2|i&1,d!==""&&!B5(e,d,n)||d===""&&t.length===1){if(Vt(i))return!1;a=!0}}else if(i&8){if(r===null||!H5(e,r,d,n)){if(Vt(i))return!1;a=!0}}else{let f=t[++c],h=z5(d,r,Ud(e),n);if(h===-1){if(Vt(i))return!1;a=!0;continue}if(f!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&f!==g){if(Vt(i))return!1;a=!0}}}}return Vt(i)||a}function Vt(e){return(e&1)===0}function z5(e,t,n,i){if(t===null)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){let a=t[r];if(a===e)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let c=t[++r];for(;typeof c=="string";)c=t[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return W5(t,e)}function Qh(e,t,n=!1){for(let i=0;i<t.length;i++)if(U5(e,t[i],n))return!0;return!1}function $5(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Z5(e){for(let t=0;t<e.length;t++){let n=e[t];if(a5(n))return t}return e.length}function W5(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function G5(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Y1(e,t){return e?":not("+t.trim()+")":t}function Y5(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let a=e[n];if(typeof a=="string")if(i&2){let c=e[++n];r+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Vt(a)&&(t+=Y1(o,r),r=""),i=a,o=o||!Vt(i);n++}return r!==""&&(t+=Y1(o,r)),t}function q5(e){return e.map(Y5).join(",")}function Q5(e){let t=[],n=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&t.push(o,e[++i]):r===8&&n.push(o);else{if(!Vt(r))break;r=o}i++}return n.length&&t.push(1,...n),t}var Ct={};function zd(e,t,n,i,r,o,a,c,d,f,h){let g=Ie+i,y=g+r,b=X5(g,y),_=typeof f=="function"?f():f;return b[H]={type:e,blueprint:b,template:n,queries:null,viewQuery:c,declTNode:t,data:b.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:y,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:d,consts:_,incompleteFirstPass:!1,ssrId:h}}function X5(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:Ct);return n}function K5(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=zd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $d(e,t,n,i,r,o,a,c,d,f,h){let g=t.blueprint.slice();return g[Rt]=r,g[W]=i|4|128|8|64|1024,(f!==null||e&&e[W]&2048)&&(g[W]|=2048),Fu(g),g[Ye]=g[bi]=e,g[Re]=n,g[Qt]=a||e&&e[Qt],g[be]=c||e&&e[be],g[gn]=d||e&&e[gn]||null,g[lt]=o,g[mo]=_5(),g[vi]=h,g[Au]=f,g[ct]=t.type==2?e[ct]:g,g}function J5(e,t,n){let i=Ft(t,e),r=K5(n),o=e[Qt].rendererFactory,a=Zd(e,$d(e,r,null,Xh(n),i,t,null,o.createRenderer(i,n),null,null,null));return e[t.index]=a}function Xh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kh(e,t,n,i){if(n===0)return-1;let r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Zd(e,t){return e[cr]?e[ku][xt]=t:e[cr]=t,e[ku]=t,t}function w(e=1){Jh(Ue(),G(),vn()+e,!1)}function Jh(e,t,n,i){if(!i)if((t[W]&3)===3){let o=e.preOrderCheckHooks;o!==null&&Oa(t,o,n)}else{let o=e.preOrderHooks;o!==null&&Ra(t,o,0,n)}Bn(n)}var al=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(al||{});function vd(e,t,n,i){let r=Y(null);try{let[o,a,c]=e.inputs[n],d=null;(a&al.SignalBased)!==0&&(d=t[o][dt]),d!==null&&d.transformFn!==void 0?i=d.transformFn(i):c!==null&&(i=c.call(t,i)),e.setInput!==null?e.setInput(t,d,i,n,o):hh(t,d,o,i)}finally{Y(r)}}var Ht=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ht||{}),e8;function Wd(e,t){return e8(e,t)}var Ii=new Set,Gd=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Gd||{}),Oo=new $(""),q1=new Set;function wr(e){q1.has(e)||(q1.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var e0=!1,bd=class extends Ot{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,m1()&&(this.destroyRef=R(Ei,{optional:!0})??void 0,this.pendingTasks=R(zn,{optional:!0})??void 0)}emit(t){let n=Y(null);try{super.next(t)}finally{Y(n)}}subscribe(t,n,i){let r=t,o=n||(()=>null),a=i;if(t&&typeof t=="object"){let d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let c=super.subscribe({next:r,error:o,complete:a});return t instanceof rt&&t.add(c),c}wrapInTimeout(t){return n=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},J=bd;function t0(e){let t,n;function i(){e=wo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Q1(e){return queueMicrotask(()=>e()),()=>{e=wo}}var Yd="isAngularZone",Wa=Yd+"_ID",t8=0,ze=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new J(!1);onMicrotaskEmpty=new J(!1);onStable=new J(!1);onError=new J(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=e0}=t;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,r8(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Yd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new V(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,n8,wo,wo);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},n8={};function qd(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function i8(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){t0(()=>{e.callbackScheduled=!1,yd(e),e.isCheckStableRunning=!0,qd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),yd(e)}function r8(e){let t=()=>{i8(e)},n=t8++;e._inner=e._inner.fork({name:"angular",properties:{[Yd]:!0,[Wa]:n,[Wa+n]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if(o8(d))return i.invokeTask(o,a,c,d);try{return X1(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),K1(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return X1(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!s8(d)&&t(),K1(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,yd(e),qd(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function yd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function X1(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function K1(e){e._nesting--,qd(e)}var Ga=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new J;onMicrotaskEmpty=new J;onStable=new J;onError=new J;run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}};function o8(e){return n0(e,"__ignore_ng_zone__")}function s8(e){return n0(e,"__scheduler_tick__")}function n0(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var i0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();var r0=new $("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function o0(e,t,n){let i=e.get(r0);if(Array.isArray(t))for(let r of t)i.queue.add(r),n?.detachedLeaveAnimationFns?.push(r);else i.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);i.scheduler&&i.scheduler(e)}function a8(e,t){let n=e.get(r0);if(t.detachedLeaveAnimationFns){for(let i of t.detachedLeaveAnimationFns)n.queue.delete(i);t.detachedLeaveAnimationFns=void 0}}function l8(e,t){for(let[n,i]of t)o0(e,i.animateFns)}function J1(e,t,n,i){let r=e?.[wi]?.enter;t!==null&&r&&r.has(n.index)&&l8(i,r)}function hr(e,t,n,i,r,o,a,c){if(r!=null){let d,f=!1;Pt(r)?d=r:Xt(r)&&(f=!0,r=r[Rt]);let h=Mt(r);e===0&&i!==null?(J1(c,i,o,n),a==null?Wh(t,i,h):Za(t,i,h,a||null,!0)):e===1&&i!==null?(J1(c,i,o,n),Za(t,i,h,a||null,!0)):e===2?eh(c,o,n,g=>{Gh(t,h,f,g)}):e===3&&eh(c,o,n,()=>{t.destroyNode(h)}),d!=null&&y8(t,e,n,d,o,i,a)}}function c8(e,t){s0(e,t),t[Rt]=null,t[lt]=null}function u8(e,t,n,i,r,o){i[Rt]=r,i[lt]=t,cl(e,i,n,1,r,o)}function s0(e,t){t[Qt].changeDetectionScheduler?.notify(9),cl(e,t,t[be],2,null,null)}function d8(e){let t=e[cr];if(!t)return id(e[H],e);for(;t;){let n=null;if(Xt(t))n=t[cr];else{let i=t[Pe];i&&(n=i)}if(!n){for(;t&&!t[xt]&&t!==e;)Xt(t)&&id(t[H],t),t=t[Ye];t===null&&(t=e),Xt(t)&&id(t[H],t),n=t&&t[xt]}t=n}}function Qd(e,t){let n=e[vo],i=n.indexOf(t);n.splice(i,1)}function ll(e,t){if(Di(t))return;let n=t[be];n.destroyNode&&cl(e,t,n,3,null,null),d8(t)}function id(e,t){if(Di(t))return;let n=Y(null);try{t[W]&=-129,t[W]|=256,t[yt]&&eo(t[yt]),m8(e,t),f8(e,t),t[H].type===1&&t[be].destroy();let i=t[yi];if(i!==null&&Pt(t[Ye])){i!==t[Ye]&&Qd(i,t);let r=t[Ci];r!==null&&r.detachView(e)}md(t)}finally{Y(n)}}function eh(e,t,n,i){let r=e?.[wi];if(r==null||r.leave==null||!r.leave.has(t.index))return i(!1);e&&Ii.add(e),o0(n,()=>{if(r.leave&&r.leave.has(t.index)){let a=r.leave.get(t.index),c=[];if(a){for(let d=0;d<a.animateFns.length;d++){let f=a.animateFns[d],{promise:h}=f();c.push(h)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(c),p8(e,i)}else e&&Ii.delete(e),i(!1)},r)}function p8(e,t){let n=e[wi]?.running;if(n){n.then(()=>{e[wi].running=void 0,Ii.delete(e),t(!0)});return}t(!1)}function f8(e,t){let n=e.cleanup,i=t[lr];if(n!==null)for(let a=0;a<n.length-1;a+=2)if(typeof n[a]=="string"){let c=n[a+3];c>=0?i[c]():i[-c].unsubscribe(),a+=2}else{let c=i[n[a+1]];n[a].call(c)}i!==null&&(t[lr]=null);let r=t[hn];if(r!==null){t[hn]=null;for(let a=0;a<r.length;a++){let c=r[a];c()}}let o=t[ho];if(o!==null){t[ho]=null;for(let a of o)a.destroy()}}function m8(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let r=t[n[i]];if(!(r instanceof Mi)){let o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let c=r[o[a]],d=o[a+1];ge(4,c,d);try{d.call(c)}finally{ge(5,c,d)}}else{ge(4,r,o);try{o.call(r)}finally{ge(5,r,o)}}}}}function a0(e,t,n){return h8(e,t.parent,n)}function h8(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[Rt];if(jn(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===bn.None||r===bn.Emulated)return null}return Ft(i,n)}function l0(e,t,n){return v8(e,t,n)}function g8(e,t,n){return e.type&40?Ft(e,n):null}var v8=g8,th;function Xd(e,t,n,i){let r=a0(e,i,t),o=t[be],a=i.parent||t[lt],c=l0(a,i,t);if(r!=null)if(Array.isArray(n))for(let d=0;d<n.length;d++)G1(o,r,n[d],c,!1);else G1(o,r,n,c,!1);th!==void 0&&th(o,i,t,n,r)}function Do(e,t){if(t!==null){let n=t.type;if(n&3)return Ft(t,e);if(n&4)return _d(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return Do(e,i);{let r=e[t.index];return Pt(r)?_d(-1,r):Mt(r)}}else{if(n&128)return Do(e,t.next);if(n&32)return Wd(t,e)()||Mt(e[t.index]);{let i=c0(e,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Rn(e[ct]);return Do(r,i)}else return Do(e,t.next)}}}return null}function c0(e,t){if(t!==null){let i=e[ct][lt],r=t.projection;return i.projection[r]}return null}function _d(e,t){let n=Pe+e+1;if(n<t.length){let i=t[n],r=i[H].firstChild;if(r!==null)return Do(i,r)}return t[Vn]}function Kd(e,t,n,i,r,o,a){for(;n!=null;){let c=i[gn];if(n.type===128){n=n.next;continue}let d=i[n.index],f=n.type;if(a&&t===0&&(d&&br(Mt(d),i),n.flags|=2),!ol(n))if(f&8)Kd(e,t,n.child,i,r,o,!1),hr(t,e,c,r,d,n,o,i);else if(f&32){let h=Wd(n,i),g;for(;g=h();)hr(t,e,c,r,g,n,o,i);hr(t,e,c,r,d,n,o,i)}else f&16?u0(e,t,i,n,r,o):hr(t,e,c,r,d,n,o,i);n=a?n.projectionNext:n.next}}function cl(e,t,n,i,r,o){Kd(n,i,e.firstChild,t,r,o,!1)}function b8(e,t,n){let i=t[be],r=a0(e,n,t),o=n.parent||t[lt],a=l0(o,n,t);u0(i,0,t,n,r,a)}function u0(e,t,n,i,r,o){let a=n[ct],d=a[lt].projection[i.projection];if(Array.isArray(d))for(let f=0;f<d.length;f++){let h=d[f];hr(t,e,n[gn],r,h,i,o,n)}else{let f=d,h=a[Ye];kh(i)&&(f.flags|=128),Kd(e,t,f,h,r,o,!0)}}function y8(e,t,n,i,r,o,a){let c=i[Vn],d=Mt(i);c!==d&&hr(t,e,n,o,c,r,a);for(let f=Pe;f<i.length;f++){let h=i[f];cl(h[H],h,e,t,o,c)}}function _8(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=i.indexOf("-")===-1?void 0:Ht.DashCase;r==null?e.removeStyle(n,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ht.Important),e.setStyle(n,i,r,o))}}function d0(e,t,n,i,r){let o=vn(),a=i&2;try{Bn(-1),a&&t.length>Ie&&Jh(e,t,Ie,!1),ge(a?2:0,r,n),n(i,r)}finally{Bn(o),ge(a?3:1,r,n)}}function ul(e,t,n){I8(e,t,n),(n.flags&64)===64&&S8(e,t,n)}function Ro(e,t,n=Ft){let i=t.localNames;if(i!==null){let r=t.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],c=a===-1?n(t,e):e[a];e[r++]=c}}}function C8(e,t,n,i){let o=i.get(jh,Vh)||n===bn.ShadowDom,a=e.selectRootElement(t,o);return w8(a),a}function w8(e){D8(e)}var D8=()=>null;function E8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function x8(e,t,n,i,r,o){let a=t[H];if(np(e,a,t,n,i)){jn(e)&&M8(t,e.index);return}e.type&3&&(n=E8(n)),p0(e,t,n,i,r,o)}function p0(e,t,n,i,r,o){if(e.type&3){let a=Ft(e,t);i=o!=null?o(i,e.value||"",n):i,r.setProperty(a,n,i)}else e.type&12}function M8(e,t){let n=It(t,e);n[W]&16||(n[W]|=64)}function I8(e,t,n){let i=n.directiveStart,r=n.directiveEnd;jn(n)&&J5(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ua(n,t);let o=n.initialInputs;for(let a=i;a<r;a++){let c=e.data[a],d=za(t,e,a,n);if(br(d,t),o!==null&&N8(t,a-i,d,c,n,o),Kt(c)){let f=It(n.index,t);f[Re]=za(t,e,a,n)}}}function S8(e,t,n){let i=n.directiveStart,r=n.directiveEnd,o=n.index,a=k1();try{Bn(o);for(let c=i;c<r;c++){let d=e.data[c],f=t[c];Ia(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&T8(d,f)}}finally{Bn(-1),Ia(a)}}function T8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Jd(e,t){let n=e.directiveRegistry,i=null;if(n)for(let r=0;r<n.length;r++){let o=n[r];Qh(t,o.selectors,!1)&&(i??=[],Kt(o)?i.unshift(o):i.push(o))}return i}function k8(e,t,n,i,r,o){let a=Ft(e,t);A8(t[be],a,o,e.value,n,i,r)}function A8(e,t,n,i,r,o,a){if(o==null)e.removeAttribute(t,r,n);else{let c=a==null?or(o):a(o,i||"",r);e.setAttribute(t,r,c,n)}}function N8(e,t,n,i,r,o){let a=o[t];if(a!==null)for(let c=0;c<a.length;c+=2){let d=a[c],f=a[c+1];vd(i,n,d,f)}}function ep(e,t,n,i,r){let o=Ie+n,a=t[H],c=r(a,t,e,i,n);t[o]=c,fr(e,!0);let d=e.type===2;return d?(Yh(t[be],c,e),(D1()===0||ur(e))&&br(c,t),E1()):br(c,t),Aa()&&(!d||!ol(e))&&Xd(a,t,c,e),e}function tp(e){let t=e;return $u()?Zu():(t=t.parent,fr(t,!1)),t}function L8(e,t){let n=e[gn];if(!n)return;let i;try{i=n.get(Jt,null)}catch{i=null}i?.(t)}function np(e,t,n,i,r){let o=e.inputs?.[i],a=e.hostDirectiveInputs?.[i],c=!1;if(a)for(let d=0;d<a.length;d+=2){let f=a[d],h=a[d+1],g=t.data[f];vd(g,n[f],h,r),c=!0}if(o)for(let d of o){let f=n[d],h=t.data[d];vd(h,f,i,r),c=!0}return c}function O8(e,t){let n=It(t,e),i=n[H];R8(i,n);let r=n[Rt];r!==null&&n[vi]===null&&(n[vi]=Hh(r,n[gn])),ge(18),ip(i,n,n[Re]),ge(19,n[Re])}function R8(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ip(e,t,n){Sa(t);try{let i=e.viewQuery;i!==null&&gd(1,i,n);let r=e.template;r!==null&&d0(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ci]?.finishViewCreation(e),e.staticContentQueries&&Bh(e,t),e.staticViewQueries&&gd(2,e.viewQuery,n);let o=e.components;o!==null&&P8(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[W]&=-5,Ta()}}function P8(e,t){for(let n=0;n<t.length;n++)O8(e,t[n])}function Po(e,t,n,i){let r=Y(null);try{let o=t.tView,c=e[W]&4096?4096:16,d=$d(e,o,n,c,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),f=e[t.index];d[yi]=f;let h=e[Ci];return h!==null&&(d[Ci]=h.createEmbeddedView(o)),ip(o,d,n),d}finally{Y(r)}}function yr(e,t){return!t||t.firstChild===null||kh(e)}function xo(e,t,n,i,r=!1){for(;n!==null;){if(n.type===128){n=r?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&i.push(Mt(o)),Pt(o)&&f0(o,i);let a=n.type;if(a&8)xo(e,t,n.child,i);else if(a&32){let c=Wd(n,t),d;for(;d=c();)i.push(d)}else if(a&16){let c=c0(t,n);if(Array.isArray(c))i.push(...c);else{let d=Rn(t[ct]);xo(d[H],d,c,i,!0)}}n=r?n.projectionNext:n.next}return i}function f0(e,t){for(let n=Pe;n<e.length;n++){let i=e[n],r=i[H].firstChild;r!==null&&xo(i[H],i,r,t)}e[Vn]!==e[Rt]&&t.push(e[Vn])}function m0(e){if(e[wa]!==null){for(let t of e[wa])t.impl.addSequence(t);e[wa].length=0}}var h0=[];function F8(e){return e[yt]??V8(e)}function V8(e){let t=h0.pop()??Object.create(H8);return t.lView=e,t}function j8(e){e.lView[yt]!==e&&(e.lView=null,h0.push(e))}var H8=it(Oe({},Xr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yo(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}});function B8(e){let t=e[yt]??Object.create(U8);return t.lView=e,t}var U8=it(Oe({},Xr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Rn(e.lView);for(;t&&!g0(t[H]);)t=Rn(t);t&&Ea(t)},consumerOnSignalRead(){this.lView[yt]=this}});function g0(e){return e.type!==2}function v0(e){if(e[ho]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[ho])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[W]&8192)}}var z8=100;function b0(e,t=0){let i=e[Qt].rendererFactory,r=!1;r||i.begin?.();try{$8(e,t)}finally{r||i.end?.()}}function $8(e,t){let n=Wu();try{Gu(!0),Cd(e,t);let i=0;for(;pr(e);){if(i===z8)throw new V(103,!1);i++,Cd(e,1)}}finally{Gu(n)}}function Z8(e,t,n,i){if(Di(t))return;let r=t[W],o=!1,a=!1;Sa(t);let c=!0,d=null,f=null;o||(g0(e)?(f=F8(t),d=Jr(f)):Ls()===null?(c=!1,f=B8(t),d=Jr(f)):t[yt]&&(eo(t[yt]),t[yt]=null));try{Fu(t),I1(e.bindingStartIndex),n!==null&&d0(e,t,n,2,i);let h=(r&3)===3;if(!o)if(h){let b=e.preOrderCheckHooks;b!==null&&Oa(t,b,null)}else{let b=e.preOrderHooks;b!==null&&Ra(t,b,0,null),td(t,0)}if(a||W8(t),v0(t),y0(t,0),e.contentQueries!==null&&Bh(e,t),!o)if(h){let b=e.contentCheckHooks;b!==null&&Oa(t,b)}else{let b=e.contentHooks;b!==null&&Ra(t,b,1),td(t,1)}Y8(e,t);let g=e.components;g!==null&&C0(t,g,0);let y=e.viewQuery;if(y!==null&&gd(2,y,i),!o)if(h){let b=e.viewCheckHooks;b!==null&&Oa(t,b)}else{let b=e.viewHooks;b!==null&&Ra(t,b,2),td(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ca]){for(let b of t[Ca])b();t[Ca]=null}o||(m0(t),t[W]&=-73)}catch(h){throw o||yo(t),h}finally{f!==null&&(Os(f,d),c&&j8(f)),Ta()}}function y0(e,t){for(let n=Nh(e);n!==null;n=Lh(n))for(let i=Pe;i<n.length;i++){let r=n[i];_0(r,t)}}function W8(e){for(let t=Nh(e);t!==null;t=Lh(t)){if(!(t[W]&2))continue;let n=t[vo];for(let i=0;i<n.length;i++){let r=n[i];Ea(r)}}}function G8(e,t,n){ge(18);let i=It(t,e);_0(i,n),ge(19,i[Re])}function _0(e,t){Da(e)&&Cd(e,t)}function Cd(e,t){let i=e[H],r=e[W],o=e[yt],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(o?.dirty&&Rs(o)),a||=!1,o&&(o.dirty=!1),e[W]&=-9217,a)Z8(i,e,i.template,e[Re]);else if(r&8192){let c=Y(null);try{v0(e),y0(e,1);let d=i.components;d!==null&&C0(e,d,1),m0(e)}finally{Y(c)}}}function C0(e,t,n){for(let i=0;i<t.length;i++)G8(e,t[i],n)}function Y8(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let r=n[i];if(r<0)Bn(~r);else{let o=r,a=n[++i],c=n[++i];T1(a,o);let d=t[o];ge(24,d),c(2,d),ge(25,d)}}}finally{Bn(-1)}}function rp(e,t){let n=Wu()?64:1088;for(e[Qt].changeDetectionScheduler?.notify(t);e;){e[W]|=n;let i=Rn(e);if(dr(e)&&!i)return e;e=i}return null}function w0(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function D0(e,t){let n=Pe+t;if(n<e.length)return e[n]}function Fo(e,t,n,i=!0){let r=t[H];if(q8(r,t,e,n),i){let a=_d(n,e),c=t[be],d=c.parentNode(e[Vn]);d!==null&&u8(r,e[lt],c,t,d,a)}let o=t[vi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function E0(e,t){let n=Mo(e,t);return n!==void 0&&ll(n[H],n),n}function Mo(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n];if(i){let r=i[yi];r!==null&&r!==e&&Qd(r,i),t>0&&(e[n-1][xt]=i[xt]);let o=co(e,Pe+t);c8(i[H],i);let a=o[Ci];a!==null&&a.detachView(o[H]),i[Ye]=null,i[xt]=null,i[W]&=-129}return i}function q8(e,t,n,i){let r=Pe+i,o=n.length;i>0&&(n[r-1][xt]=t),i<o-Pe?(t[xt]=n[r],Du(n,Pe+i,t)):(n.push(t),t[xt]=null),t[Ye]=n;let a=t[yi];a!==null&&n!==a&&x0(a,t);let c=t[Ci];c!==null&&c.insertView(e),xa(t),t[W]|=128}function x0(e,t){let n=e[vo],i=t[Ye];if(Xt(i))e[W]|=2;else{let r=i[Ye][ct];t[ct]!==r&&(e[W]|=2)}n===null?e[vo]=[t]:n.push(t)}var $n=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[H];return xo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Re]}set context(t){this._lView[Re]=t}get destroyed(){return Di(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Ye];if(Pt(t)){let n=t[go],i=n?n.indexOf(this):-1;i>-1&&(Mo(t,i),co(n,i))}this._attachedToViewContainer=!1}ll(this._lView[H],this._lView)}onDestroy(t){Vu(this._lView,t)}markForCheck(){rp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[W]&=-129}reattach(){xa(this._lView),this._lView[W]|=128}detectChanges(){this._lView[W]|=1024,b0(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=dr(this._lView),n=this._lView[yi];n!==null&&!t&&Qd(n,this._lView),s0(this._lView[H],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;let n=dr(this._lView),i=this._lView[yi];i!==null&&!n&&x0(i,this._lView),xa(this._lView)}};function op(e){return pr(e._lView)||!!(e._lView[W]&64)}function sp(e){Ea(e._lView)}var Vo=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Q8;constructor(n,i,r){this._declarationLView=n,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,r){let o=Po(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new $n(o)}}return e})();function Q8(){return M0(tt(),G())}function M0(e,t){return e.type&4?new Vo(t,e,tl(e,t)):null}function Dr(e,t,n,i,r){let o=e.data[t];if(o===null)o=X8(e,t,n,i,r),S1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=i,o.attrs=r;let a=x1();o.injectorIndex=a===null?-1:a.injectorIndex}return fr(o,!0),o}function X8(e,t,n,i,r){let o=zu(),a=$u(),c=a?o:o&&o.parent,d=e.data[t]=J8(e,c,n,t,i,r);return K8(e,d,o,a),d}function K8(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function J8(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,c=0;return Hu()&&(c|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var ZS=new RegExp(`^(\\d+)*(${E5}|${D5})*(.*)`);function e_(e){let t=e[Nu]??[],i=e[Ye][be],r=[];for(let o of t)o.data[Fh]!==void 0?r.push(o):t_(o,i);e[Nu]=r}function t_(e,t){let n=0,i=e.firstChild;if(i){let r=e.data[Ph];for(;n<r;){let o=i.nextSibling;Gh(t,i,!1),i=o,n++}}}var n_=()=>null,i_=()=>null;function Ya(e,t){return n_(e,t)}function I0(e,t,n){return i_(e,t,n)}var S0=class{},dl=class{},wd=class{resolveComponentFactory(t){throw new V(917,!1)}},Ai=class{static NULL=new wd},Si=class{},pl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>r_()}return e})();function r_(){let e=G(),t=tt(),n=It(t.index,e);return(Xt(n)?n:e)[be]}var T0=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>null})}return e})();var Pa={},Dd=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){let r=this.injector.get(t,Pa,i);return r!==Pa||n===Pa?r:this.parentInjector.get(t,n,i)}};function qa(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(t!==null)for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number")o=c;else if(o==1)r=pa(r,c);else if(o==2){let d=c,f=t[++a];i=pa(i,d+": "+f+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function $e(e,t=0){let n=G();if(n===null)return j(e,t);let i=tt();return Ih(i,n,Xe(e),t)}function k0(e,t,n,i,r){let o=i===null?null:{"":-1},a=r(e,n);if(a!==null){let c=a,d=null,f=null;for(let h of a)if(h.resolveHostDirectives!==null){[c,d,f]=h.resolveHostDirectives(a);break}a_(e,t,n,c,o,d,f)}o!==null&&i!==null&&o_(n,i,o)}function o_(e,t,n){let i=e.localNames=[];for(let r=0;r<t.length;r+=2){let o=n[t[r+1]];if(o==null)throw new V(-301,!1);i.push(t[r],o)}}function s_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function a_(e,t,n,i,r,o,a){let c=i.length,d=!1;for(let y=0;y<c;y++){let b=i[y];!d&&Kt(b)&&(d=!0,s_(e,n,y)),pd(Ua(n,t),e,b.type)}f_(n,e.data.length,c);for(let y=0;y<c;y++){let b=i[y];b.providersResolver&&b.providersResolver(b)}let f=!1,h=!1,g=Kh(e,t,c,null);c>0&&(n.directiveToIndex=new Map);for(let y=0;y<c;y++){let b=i[y];if(n.mergedAttrs=vr(n.mergedAttrs,b.hostAttrs),c_(e,n,t,g,b),p_(g,b,r),a!==null&&a.has(b)){let[A,k]=a.get(b);n.directiveToIndex.set(b.type,[g,A+n.directiveStart,k+n.directiveStart])}else(o===null||!o.has(b))&&n.directiveToIndex.set(b.type,g);b.contentQueries!==null&&(n.flags|=4),(b.hostBindings!==null||b.hostAttrs!==null||b.hostVars!==0)&&(n.flags|=64);let _=b.type.prototype;!f&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!h&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}l_(e,n,o)}function l_(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=e.data[i];if(n===null||!n.has(r))nh(0,t,r,i),nh(1,t,r,i),rh(t,i,!1);else{let o=n.get(r);ih(0,t,o,i),ih(1,t,o,i),rh(t,i,!0)}}}function nh(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;e===0?a=t.inputs??={}:a=t.outputs??={},a[o]??=[],a[o].push(i),A0(t,o)}}function ih(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],c;e===0?c=t.hostDirectiveInputs??={}:c=t.hostDirectiveOutputs??={},c[a]??=[],c[a].push(i,o),A0(t,a)}}function A0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function rh(e,t,n){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!n&&r===null||n&&o===null||Ud(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,c=0;for(;c<i.length;){let d=i[c];if(d===0){c+=4;continue}else if(d===5){c+=2;continue}else if(typeof d=="number")break;if(!n&&r.hasOwnProperty(d)){let f=r[d];for(let h of f)if(h===t){a??=[],a.push(d,i[c+1]);break}}else if(n&&o.hasOwnProperty(d)){let f=o[d];for(let h=0;h<f.length;h+=2)if(f[h]===t){a??=[],a.push(f[h+1],i[c+1]);break}}c+=2}e.initialInputs??=[],e.initialInputs.push(a)}function c_(e,t,n,i,r){e.data[i]=r;let o=r.factory||(r.factory=On(r.type,!0)),a=new Mi(o,Kt(r),$e,null);e.blueprint[i]=a,n[i]=a,u_(e,t,i,Kh(e,n,r.hostVars,Ct),r)}function u_(e,t,n,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~t.index;d_(a)!=c&&a.push(c),a.push(n,i,o)}}function d_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function p_(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Kt(t)&&(n[""]=e)}}function f_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ap(e,t,n,i,r,o,a,c){let d=t[H],f=d.consts,h=St(f,a),g=Dr(d,e,n,i,h);return o&&k0(d,t,g,St(f,c),r),g.mergedAttrs=vr(g.mergedAttrs,g.attrs),g.attrs!==null&&qa(g,g.attrs,!1),g.mergedAttrs!==null&&qa(g,g.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,g),g}function lp(e,t){yh(e,t),Lu(t)&&e.queries.elementEnd(t)}function m_(e,t,n,i,r,o){let a=t.consts,c=St(a,r),d=Dr(t,e,n,i,c);if(d.mergedAttrs=vr(d.mergedAttrs,d.attrs),o!=null){let f=St(a,o);d.localNames=[];for(let h=0;h<f.length;h+=2)d.localNames.push(f[h],-1)}return d.attrs!==null&&qa(d,d.attrs,!1),d.mergedAttrs!==null&&qa(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function cp(e){return fl(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function N0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),i;for(;!(i=n.next()).done;)t(i.value)}}function fl(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ml(e,t,n){return e[t]=n}function h_(e,t){return e[t]}function ft(e,t,n){if(n===Ct)return!1;let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Qa(e,t,n,i){let r=ft(e,t,n);return ft(e,t+1,i)||r}function g_(e,t,n,i,r){let o=Qa(e,t,n,i);return ft(e,t+2,r)||o}function v_(e,t,n,i,r,o){let a=Qa(e,t,n,i);return Qa(e,t+2,r,o)||a}function Fa(e,t,n){return function i(r){let o=jn(e)?It(e.index,t):t;rp(o,5);let a=t[Re],c=oh(t,a,n,r),d=i.__ngNextListenerFn__;for(;d;)c=oh(t,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function oh(e,t,n,i){let r=Y(null);try{return ge(6,t,n),n(i)!==!1}catch(o){return L8(e,o),!1}finally{ge(7,t,n),Y(r)}}function L0(e,t,n,i,r,o,a,c){let d=ur(e),f=!1,h=null;if(!i&&d&&(h=y_(t,n,o,e.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,f=!0}else{let g=Ft(e,n),y=i?i(g):g;M5(n,y,o,c);let b=r.listen(y,o,c);if(!b_(o)){let _=i?A=>i(Mt(A[e.index])):e.index;O0(_,t,n,o,c,b,!1)}}return f}function b_(e){return e.startsWith("animation")||e.startsWith("transition")}function y_(e,t,n,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===n&&r[o+1]===i){let c=t[lr],d=r[o+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(o+=2)}return null}function O0(e,t,n,i,r,o,a){let c=t.firstCreatePass?w1(t):null,d=C1(n),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function sh(e,t,n,i,r,o){let a=t[n],c=t[H],f=c.data[n].outputs[i],g=a[f].subscribe(o);O0(e.index,c,t,r,o,g,!0)}var Ed=Symbol("BINDING");var xd=class extends Ai{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=gi(t);return new Io(n,this.ngModule)}};function __(e){return Object.keys(e).map(t=>{let[n,i,r]=e[t],o={propName:n,templateName:t,isSignal:(i&al.SignalBased)!==0};return r&&(o.transform=r),o})}function C_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function w_(e,t,n){let i=t instanceof pt?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new Dd(n,i):n}function D_(e){let t=e.get(Si,null);if(t===null)throw new V(407,!1);let n=e.get(T0,null),i=e.get(qt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:!1}}function E_(e,t){let n=R0(e);return Zh(t,n,n==="svg"?g1:n==="math"?v1:null)}function R0(e){return(e.selectors[0][0]||"div").toLowerCase()}var Io=class extends dl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=__(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=C_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=q5(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,r,o,a){ge(22);let c=Y(null);try{let d=this.componentDef,f=x_(i,d,a,o),h=w_(d,r||this.ngModule,t),g=D_(h),y=g.rendererFactory.createRenderer(null,d),b=i?C8(y,i,d.encapsulation,h):E_(d,y),_=a?.some(ah)||o?.some(I=>typeof I!="function"&&I.bindings.some(ah)),A=$d(null,f,null,512|Xh(d),null,null,g,y,h,null,Hh(b,h,!0));A[Ie]=b,Sa(A);let k=null;try{let I=ap(Ie,A,2,"#host",()=>f.directiveRegistry,!0,0);Yh(y,b,I),br(b,A),ul(f,A,I),Hd(f,I,A),lp(f,I),n!==void 0&&I_(I,this.ngContentSelectors,n),k=It(I.index,A),A[Re]=k[Re],ip(f,A,null)}catch(I){throw k!==null&&md(k),md(A),I}finally{ge(23),Ta()}return new Xa(this.componentType,A,!!_)}finally{Y(c)}}};function x_(e,t,n,i){let r=e?["ng-version","20.3.16"]:Q5(t.selectors[0]),o=null,a=null,c=0;if(n)for(let h of n)c+=h[Ed].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(i)for(let h=0;h<i.length;h++){let g=i[h];if(typeof g!="function")for(let y of g.bindings){c+=y[Ed].requiredVars;let b=h+1;y.create&&(y.targetIdx=b,(o??=[]).push(y)),y.update&&(y.targetIdx=b,(a??=[]).push(y))}}let d=[t];if(i)for(let h of i){let g=typeof h=="function"?h:h.type,y=Mu(g);d.push(y)}return zd(0,null,M_(o,a),1,c,d,null,null,null,[r],null)}function M_(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let i of e)i.create();if(n&2&&t)for(let i of t)i.update()}}function ah(e){let t=e[Ed].kind;return t==="input"||t==="twoWay"}var Xa=class extends S0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,i){super(),this._rootLView=n,this._hasInputBindings=i,this._tNode=bo(n[H],Ie),this.location=tl(this._tNode,n),this.instance=It(this._tNode.index,n)[Re],this.hostView=this.changeDetectorRef=new $n(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let r=this._rootLView,o=np(i,r[H],r,t,n);this.previousInputValues.set(t,n);let a=It(i.index,r);rp(a,1)}get injector(){return new xi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function I_(e,t,n){let i=e.projection=[];for(let r=0;r<t.length;r++){let o=n[r];i.push(o!=null&&o.length?Array.from(o):null)}}var Er=(()=>{class e{static __NG_ELEMENT_ID__=S_}return e})();function S_(){let e=tt();return k_(e,G())}var T_=Er,P0=class extends T_{_lContainer;_hostTNode;_hostLView;constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return tl(this._hostTNode,this._hostLView)}get injector(){return new xi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fd(this._hostTNode,this._hostLView);if(Ch(t)){let n=Ha(t,this._hostLView),i=ja(t),r=n[H].data[i+8];return new xi(r,n)}else return new xi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=lh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(t,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Ya(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(c,r,yr(this._hostTNode,a)),c}createComponent(t,n,i,r,o,a,c){let d=t&&!K4(t),f;if(d)f=n;else{let k=n||{};f=k.index,i=k.injector,r=k.projectableNodes,o=k.environmentInjector||k.ngModuleRef,a=k.directives,c=k.bindings}let h=d?t:new Io(gi(t)),g=i||this.parentInjector;if(!o&&h.ngModule==null){let I=(d?g:this.parentInjector).get(pt,null);I&&(o=I)}let y=gi(h.componentType??{}),b=Ya(this._lContainer,y?.id??null),_=b?.firstChild??null,A=h.create(g,r,_,o,a,c);return this.insertImpl(A.hostView,f,yr(this._hostTNode,b)),A}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let r=t._lView;if(b1(r)){let c=this.indexOf(t);if(c!==-1)this.detach(c);else{let d=r[Ye],f=new P0(d,d[lt],d[Ye]);f.detach(f.indexOf(t))}}let o=this._adjustIndex(n),a=this._lContainer;return Fo(a,r,o,i),t.attachToViewContainerRef(),Du(rd(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=lh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=Mo(this._lContainer,n);i&&(co(rd(this._lContainer),n),ll(i[H],i))}detach(t){let n=this._adjustIndex(t,-1),i=Mo(this._lContainer,n);return i&&co(rd(this._lContainer),n)!=null?new $n(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function lh(e){return e[go]}function rd(e){return e[go]||(e[go]=[])}function k_(e,t){let n,i=t[e.index];return Pt(i)?n=i:(n=w0(i,t,null,e),t[e.index]=n,Zd(t,n)),N_(n,t,e,i),new P0(n,e,t)}function A_(e,t){let n=e[be],i=n.createComment(""),r=Ft(t,e),o=n.parentNode(r);return Za(n,o,i,n.nextSibling(r),!1),i}var N_=R_,L_=()=>!1;function O_(e,t,n){return L_(e,t,n)}function R_(e,t,n,i){if(e[Vn])return;let r;n.type&8?r=Mt(i):r=A_(t,n),e[Vn]=r}var So=class{};var To=class extends So{injector;componentFactoryResolver=new xd(this);instance=null;constructor(t){super();let n=new fi([...t.providers,{provide:So,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver}],t.parent||fo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function F0(e,t,n=null){return new To({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var P_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Iu(!1,n.type),r=i.length>0?F0([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(j(pt))})}return e})();function le(e){return No(()=>{let t=V0(e),n=it(Oe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(P_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bn.Emulated,styles:e.styles||at,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wr("NgStandalone"),j0(n);let i=e.dependencies;return n.directiveDefs=ch(i,F_),n.pipeDefs=ch(i,u1),n.id=H_(n),n})}function F_(e){return gi(e)||Mu(e)}function Ni(e){return No(()=>({type:e.type,bootstrap:e.bootstrap||at,declarations:e.declarations||at,imports:e.imports||at,exports:e.exports||at,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function V_(e,t){if(e==null)return Fn;let n={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i],o,a,c,d;Array.isArray(r)?(c=r[0],o=r[1],a=r[2]??o,d=r[3]||null):(o=r,a=r,c=al.None,d=null),n[o]=[i,c,d],t[o]=a}return n}function j_(e){if(e==null)return Fn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Wn(e){return No(()=>{let t=V0(e);return j0(t),t})}function hl(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function V0(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Fn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||at,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:V_(e.inputs,t),outputs:j_(e.outputs),debugInfo:null}}function j0(e){e.features?.forEach(t=>t(e))}function ch(e,t){return e?()=>{let n=typeof e=="function"?e():e,i=[];for(let r of n){let o=t(r);o!==null&&i.push(o)}return i}:null}function H_(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function B_(e){return Object.getPrototypeOf(e.prototype).constructor}function Ze(e){let t=B_(e.type),n=!0,i=[e];for(;t;){let r;if(Kt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);let a=e;a.inputs=od(e.inputs),a.declaredInputs=od(e.declaredInputs),a.outputs=od(e.outputs);let c=r.hostBindings;c&&W_(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&$_(e,d),f&&Z_(e,f),U_(e,r),i1(e.outputs,r.outputs),Kt(r)&&r.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let c=o[a];c&&c.ngInherit&&c(e),c===Ze&&(n=!1)}}t=Object.getPrototypeOf(t)}z_(i)}function U_(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function z_(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=vr(r.hostAttrs,n=vr(n,r.hostAttrs))}}function od(e){return e===Fn?{}:e===at?[]:e}function $_(e,t){let n=e.viewQuery;n?e.viewQuery=(i,r)=>{t(i,r),n(i,r)}:e.viewQuery=t}function Z_(e,t){let n=e.contentQueries;n?e.contentQueries=(i,r,o)=>{t(i,r,o),n(i,r,o)}:e.contentQueries=t}function W_(e,t){let n=e.hostBindings;n?e.hostBindings=(i,r)=>{t(i,r),n(i,r)}:e.hostBindings=t}function H0(e,t,n,i,r,o,a,c){if(n.firstCreatePass){e.mergedAttrs=vr(e.mergedAttrs,e.attrs);let h=e.tView=zd(2,e,r,o,a,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),h.queries=n.queries.embeddedTView(e))}c&&(e.flags|=c),fr(e,!1);let d=Y_(n,t,e,i);Aa()&&Xd(n,t,d,e),br(d,t);let f=w0(d,t,d,e);t[i+Ie]=f,Zd(t,f),O_(f,e,t)}function G_(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ie,y;return t.firstCreatePass?(y=Dr(t,g,4,a||null,c||null),Ma()&&k0(t,e,y,St(t.consts,f),Jd),yh(t,y)):y=t.data[g],H0(y,e,t,n,i,r,o,d),ur(y)&&ul(t,e,y),f!=null&&Ro(e,y,h),y}function ko(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ie,y;if(t.firstCreatePass){if(y=Dr(t,g,4,a||null,c||null),f!=null){let b=St(t.consts,f);y.localNames=[];for(let _=0;_<b.length;_+=2)y.localNames.push(b[_],-1)}}else y=t.data[g];return H0(y,e,t,n,i,r,o,d),f!=null&&Ro(e,y,h),y}function ae(e,t,n,i,r,o,a,c){let d=G(),f=Ue(),h=St(f.consts,o);return G_(d,f,e,t,n,i,r,h,void 0,a,c),ae}var Y_=q_;function q_(e,t,n,i){return _o(!0),t[be].createComment("")}var up=new $("");function gl(e){return!!e&&typeof e.then=="function"}function dp(e){return!!e&&typeof e.subscribe=="function"}var B0=new $("");var pp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=R(B0,{optional:!0})??[];injector=R(Gt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=ar(this.injector,r);if(gl(o))n.push(o);else if(dp(o)){let a=new Promise((c,d)=>{o.subscribe({complete:c,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),n.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),U0=new $("");function z0(){zc(()=>{let e="";throw new V(600,e)})}function $0(e){return e.isBoundToModule}var Q_=10;var Li=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=R(Jt);afterRenderManager=R(i0);zonelessEnabled=R(Na);rootEffectScheduler=R(ed);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ot;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=R(zn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ot(n=>!n))}constructor(){R(Oo,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=R(pt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,r=Gt.NULL){return this._injector.get(ze).run(()=>{ge(10);let a=n instanceof dl;if(!this._injector.get(pp).done){let _="";throw new V(405,_)}let d;a?d=n:d=this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(d.componentType);let f=$0(d)?void 0:this._injector.get(So),h=i||d.selector,g=d.create(r,[],h,f),y=g.location.nativeElement,b=g.injector.get(up,null);return b?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),Eo(this.components,g),b?.unregisterApplication(y)}),this._loadComponent(g),ge(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ge(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Gd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new V(101,!1);let n=Y(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Y(n),this.afterTick.next(),ge(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Si,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Q_;)ge(14),this.synchronizeOnce(),ge(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!pr(r))continue;let o=i&&!this.zonelessEnabled?0:1;b0(r,o),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>pr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Eo(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(n),this._injector.get(U0,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Eo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function yn(e,t,n,i){let r=G(),o=Hn();if(ft(r,o,t)){let a=Ue(),c=ka();k8(c,r,e,t,n,i)}return yn}var XS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Md=class{destroy(t){}updateValue(t,n){}swap(t,n){let i=Math.min(t,n),r=Math.max(t,n),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(t,n){this.attach(n,this.detach(t))}};function sd(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function X_(e,t,n){let i,r,o=0,a=e.length-1,c=void 0;if(Array.isArray(t)){let d=t.length-1;for(;o<=a&&o<=d;){let f=e.at(o),h=t[o],g=sd(o,f,o,h,n);if(g!==0){g<0&&e.updateValue(o,h),o++;continue}let y=e.at(a),b=t[d],_=sd(a,y,d,b,n);if(_!==0){_<0&&e.updateValue(a,b),a--,d--;continue}let A=n(o,f),k=n(a,y),I=n(o,h);if(Object.is(I,k)){let Z=n(d,b);Object.is(Z,A)?(e.swap(o,a),e.updateValue(a,b),d--,a--):e.move(a,o),e.updateValue(o,h),o++;continue}if(i??=new Ka,r??=dh(e,o,a,n),Id(e,i,o,I))e.updateValue(o,h),o++,a++;else if(r.has(I))i.set(A,e.detach(o)),a--;else{let Z=e.create(o,t[o]);e.attach(o,Z),o++,a++}}for(;o<=d;)uh(e,i,n,o,t[o]),o++}else if(t!=null){let d=t[Symbol.iterator](),f=d.next();for(;!f.done&&o<=a;){let h=e.at(o),g=f.value,y=sd(o,h,o,g,n);if(y!==0)y<0&&e.updateValue(o,g),o++,f=d.next();else{i??=new Ka,r??=dh(e,o,a,n);let b=n(o,g);if(Id(e,i,o,b))e.updateValue(o,g),o++,a++,f=d.next();else if(!r.has(b))e.attach(o,e.create(o,g)),o++,a++,f=d.next();else{let _=n(o,h);i.set(_,e.detach(o)),a--}}}for(;!f.done;)uh(e,i,n,e.length,f.value),f=d.next()}for(;o<=a;)e.destroy(e.detach(a--));i?.forEach(d=>{e.destroy(d)})}function Id(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function uh(e,t,n,i,r){if(Id(e,t,i,n(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function dh(e,t,n,i){let r=new Set;for(let o=t;o<=n;o++)r.add(i(o,e.at(o)));return r}var Ka=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}};function ke(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=G(),f=Ue(),h=St(f.consts,o);return ko(d,f,e,t,n,i,r,h,256,a,c),fp}function fp(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=G(),f=Ue(),h=St(f.consts,o);return ko(d,f,e,t,n,i,r,h,512,a,c),fp}function Ae(e,t){wr("NgControlFlow");let n=G(),i=Hn(),r=n[i]!==Ct?n[i]:-1,o=r!==-1?Ja(n,Ie+r):void 0,a=0;if(ft(n,i,e)){let c=Y(null);try{if(o!==void 0&&E0(o,a),e!==-1){let d=Ie+e,f=Ja(n,d),h=Ad(n[H],d),g=I0(f,h,n),y=Po(n,h,t,{dehydratedView:g});Fo(f,y,a,yr(h,g))}}finally{Y(c)}}else if(o!==void 0){let c=D0(o,a);c!==void 0&&(c[Re]=t)}}var Sd=class{lContainer;$implicit;$index;constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-Pe}};var Td=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}};function vl(e,t,n,i,r,o,a,c,d,f,h,g,y){wr("NgControlFlow");let b=G(),_=Ue(),A=d!==void 0,k=G(),I=c?a.bind(k[ct][Re]):a,Z=new Td(A,I);k[Ie+e]=Z,ko(b,_,e+1,t,n,i,r,St(_.consts,o),256),A&&ko(b,_,e+2,d,f,h,g,St(_.consts,y),512)}var kd=class extends Md{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-Pe}at(t){return this.getLView(t)[Re].$implicit}attach(t,n){let i=n[vi];this.needsIndexUpdate||=t!==this.length,Fo(this.lContainer,n,t,yr(this.templateTNode,i)),K_(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,J_(this.lContainer,t),e9(this.lContainer,t)}create(t,n){let i=Ya(this.lContainer,this.templateTNode.tView.ssrId),r=Po(this.hostLView,this.templateTNode,new Sd(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){ll(t[H],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Re].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Re].$index=t}getLView(t){return t9(this.lContainer,t)}};function bl(e){let t=Y(null),n=vn();try{let i=G(),r=i[H],o=i[n],a=n+1,c=Ja(i,a);if(o.liveCollection===void 0){let f=Ad(r,a);o.liveCollection=new kd(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(X_(d,e,o.trackByFn),d.updateIndexes(),o.hasEmptyBlock){let f=Hn(),h=d.length===0;if(ft(i,f,h)){let g=n+2,y=Ja(i,g);if(h){let b=Ad(r,g),_=I0(y,b,i),A=Po(i,b,void 0,{dehydratedView:_});Fo(y,A,0,yr(b,_))}else r.firstUpdatePass&&e_(y),E0(y,0)}}}finally{Y(t)}}function Ja(e,t){return e[t]}function K_(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n],r=i?i[wi]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[gn];a8(o,r),Ii.delete(i),r.detachedLeaveAnimationFns=void 0}}function J_(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n],r=i?i[wi]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function e9(e,t){return Mo(e,t)}function t9(e,t){return D0(e,t)}function Ad(e,t){return bo(e,t)}function D(e,t,n){let i=G(),r=Hn();if(ft(i,r,t)){let o=Ue(),a=ka();x8(a,i,e,t,i[be],n)}return D}function Nd(e,t,n,i,r){np(t,e,n,r?"class":"style",i)}function E(e,t,n,i){let r=G(),o=r[H],a=e+Ie,c=o.firstCreatePass?ap(a,r,2,t,Jd,Ma(),n,i):o.data[a];if(ep(c,r,e,t,Z0),ur(c)){let d=r[H];ul(d,r,c),Hd(d,c,r)}return i!=null&&Ro(r,c),E}function T(){let e=Ue(),t=tt(),n=tp(t);return e.firstCreatePass&&lp(e,n),Bu(n)&&Uu(),ju(),n.classesWithoutHost!=null&&r5(n)&&Nd(e,n,G(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&o5(n)&&Nd(e,n,G(),n.stylesWithoutHost,!1),T}function re(e,t,n,i){return E(e,t,n,i),T(),re}function _n(e,t,n,i){let r=G(),o=r[H],a=e+Ie,c=o.firstCreatePass?m_(a,o,2,t,n,i):o.data[a];return ep(c,r,e,t,Z0),i!=null&&Ro(r,c),_n}function Cn(){let e=tt(),t=tp(e);return Bu(t)&&Uu(),ju(),Cn}function yl(e,t,n,i){return _n(e,t,n,i),Cn(),yl}var Z0=(e,t,n,i,r)=>(_o(!0),Zh(t[be],i,P1()));function jo(e,t,n){let i=G(),r=i[H],o=e+Ie,a=r.firstCreatePass?ap(o,i,8,"ng-container",Jd,Ma(),t,n):r.data[o];if(ep(a,i,e,"ng-container",n9),ur(a)){let c=i[H];ul(c,i,a),Hd(c,a,i)}return n!=null&&Ro(i,a),jo}function Ho(){let e=Ue(),t=tt(),n=tp(t);return e.firstCreatePass&&lp(e,n),Ho}function tn(e,t,n){return jo(e,t,n),Ho(),tn}var n9=(e,t,n,i,r)=>(_o(!0),R5(t[be],""));function Ee(){return G()}function _l(e,t,n){let i=G(),r=Hn();if(ft(i,r,t)){let o=Ue(),a=ka();p0(a,i,e,t,i[be],n)}return _l}var Bo="en-US";var i9=Bo;function W0(e){typeof e=="string"&&(i9=e.toLowerCase().replace(/_/g,"-"))}function F(e,t,n){let i=G(),r=Ue(),o=tt();return r9(r,i,i[be],o,e,t,n),F}function Cl(e,t,n){let i=G(),r=Ue(),o=tt();return(o.type&3||n)&&L0(o,r,i,n,i[be],e,t,Fa(o,i,t)),Cl}function r9(e,t,n,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=Fa(i,t,o),L0(i,e,t,a,n,r,o,d)&&(c=!1)),c){let f=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let g=0;g<h.length;g+=2){let y=h[g],b=h[g+1];d??=Fa(i,t,o),sh(i,t,y,b,r,d)}if(f&&f.length)for(let g of f)d??=Fa(i,t,o),sh(i,t,g,r,r,d)}}function x(e=1){return R1(e)}function o9(e,t){let n=null,i=$5(e);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){n=r;continue}if(i===null?Qh(e,o,!0):G5(i,o))return r}return n}function mp(e){let t=G()[ct][lt];if(!t.projection){let n=e?e.length:1,i=t.projection=l1(n,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let a=e?o9(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function hp(e,t=0,n,i,r,o){let a=G(),c=Ue(),d=i?e+1:null;d!==null&&ko(a,c,d,i,r,o,null,n);let f=Dr(c,Ie+e,16,null,n||null);f.projection===null&&(f.projection=t),Zu();let g=!a[vi]||Hu();a[ct][lt].projection[f.projection]===null&&d!==null?s9(a,c,d):g&&!ol(f)&&b8(c,a,f)}function s9(e,t,n){let i=Ie+n,r=t.data[i],o=e[i],a=Ya(o,r.tView.ssrId),c=Po(e,r,void 0,{dehydratedView:a});Fo(o,c,0,yr(r,a))}function wn(e){let t=M1();return Ru(t,Ie+e)}function La(e,t){return e<<17|t<<2}function Ti(e){return e>>17&32767}function a9(e){return(e&2)==2}function l9(e,t){return e&131071|t<<17}function Ld(e){return e|2}function _r(e){return(e&131068)>>2}function ad(e,t){return e&-131069|t<<2}function c9(e){return(e&1)===1}function Od(e){return e|1}function u9(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,c=Ti(a),d=_r(a);e[i]=n;let f=!1,h;if(Array.isArray(n)){let g=n;h=g[1],(h===null||sr(g,h)>0)&&(f=!0)}else h=n;if(r)if(d!==0){let y=Ti(e[c+1]);e[i+1]=La(y,c),y!==0&&(e[y+1]=ad(e[y+1],i)),e[c+1]=l9(e[c+1],i)}else e[i+1]=La(c,0),c!==0&&(e[c+1]=ad(e[c+1],i)),c=i;else e[i+1]=La(d,0),c===0?c=i:e[d+1]=ad(e[d+1],i),d=i;f&&(e[i+1]=Ld(e[i+1])),ph(e,h,i,!0),ph(e,h,i,!1),d9(t,h,e,i,o),a=La(c,d),o?t.classBindings=a:t.styleBindings=a}function d9(e,t,n,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&sr(o,t)>=0&&(n[i+1]=Od(n[i+1]))}function ph(e,t,n,i){let r=e[n+1],o=t===null,a=i?Ti(r):_r(r),c=!1;for(;a!==0&&(c===!1||o);){let d=e[a],f=e[a+1];p9(d,t)&&(c=!0,e[a+1]=i?Od(f):Ld(f)),a=i?Ti(f):_r(f)}c&&(e[n+1]=i?Ld(r):Od(r))}function p9(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?sr(e,t)>=0:!1}var jt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function f9(e){return e.substring(jt.key,jt.keyEnd)}function m9(e){return h9(e),G0(e,Y0(e,0,jt.textEnd))}function G0(e,t){let n=jt.textEnd;return n===t?-1:(t=jt.keyEnd=g9(e,jt.key=t,n),Y0(e,t,n))}function h9(e){jt.key=0,jt.keyEnd=0,jt.value=0,jt.valueEnd=0,jt.textEnd=e.length}function Y0(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function g9(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Gn(e,t,n){return q0(e,t,n,!1),Gn}function wl(e,t){return q0(e,t,null,!0),wl}function gp(e){b9(E9,v9,e,!0)}function v9(e,t){for(let n=m9(t);n>=0;n=G0(t,n))ba(e,f9(t),!0)}function q0(e,t,n,i){let r=G(),o=Ue(),a=Yu(2);if(o.firstUpdatePass&&X0(o,e,a,i),t!==Ct&&ft(r,a,t)){let c=o.data[vn()];K0(o,c,r,r[be],e,r[a+1]=M9(t,n),i,a)}}function b9(e,t,n,i){let r=Ue(),o=Yu(2);r.firstUpdatePass&&X0(r,null,o,i);let a=G();if(n!==Ct&&ft(a,o,n)){let c=r.data[vn()];if(J0(c,i)&&!Q0(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(n=pa(d,n||"")),Nd(r,c,a,n,i)}else x9(r,c,a,a[be],a[o+1],a[o+1]=D9(e,t,n),i,o)}}function Q0(e,t){return t>=e.expandoStartIndex}function X0(e,t,n,i){let r=e.data;if(r[n+1]===null){let o=r[vn()],a=Q0(e,n);J0(o,i)&&t===null&&!a&&(t=!1),t=y9(r,o,t,i),u9(r,o,t,n,a,i)}}function y9(e,t,n,i){let r=A1(e),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(n=ld(null,e,t,n,i),n=Ao(n,t.attrs,i),o=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==r)if(n=ld(r,e,t,n,i),o===null){let d=_9(e,t,i);d!==void 0&&Array.isArray(d)&&(d=ld(null,e,t,d[1],i),d=Ao(d,t.attrs,i),C9(e,t,i,d))}else o=w9(e,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),n}function _9(e,t,n){let i=n?t.classBindings:t.styleBindings;if(_r(i)!==0)return e[Ti(i)]}function C9(e,t,n,i){let r=n?t.classBindings:t.styleBindings;e[Ti(r)]=i}function w9(e,t,n){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let a=e[o].hostAttrs;i=Ao(i,a,n)}return Ao(i,t.attrs,n)}function ld(e,t,n,i,r){let o=null,a=n.directiveEnd,c=n.directiveStylingLast;for(c===-1?c=n.directiveStart:c++;c<a&&(o=t[c],i=Ao(i,o.hostAttrs,r),o!==e);)c++;return e!==null&&(n.directiveStylingLast=c),i}function Ao(e,t,n){let i=n?1:2,r=-1;if(t!==null)for(let o=0;o<t.length;o++){let a=t[o];typeof a=="number"?r=a:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ba(e,a,n?!0:t[++o]))}return e===void 0?null:e}function D9(e,t,n){if(n==null||n==="")return at;let i=[],r=sl(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else typeof r=="string"&&t(i,r);return i}function E9(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&ba(e,i,n)}function x9(e,t,n,i,r,o,a,c){r===Ct&&(r=at);let d=0,f=0,h=0<r.length?r[0]:null,g=0<o.length?o[0]:null;for(;h!==null||g!==null;){let y=d<r.length?r[d+1]:void 0,b=f<o.length?o[f+1]:void 0,_=null,A;h===g?(d+=2,f+=2,y!==b&&(_=g,A=b)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,A=b),_!==null&&K0(e,t,n,i,_,A,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function K0(e,t,n,i,r,o,a,c){if(!(t.type&3))return;let d=e.data,f=d[c+1],h=c9(f)?fh(d,t,n,r,_r(f),a):void 0;if(!el(h)){el(o)||a9(f)&&(o=fh(d,null,n,r,c,a));let g=Ou(vn(),n);_8(i,a,g,r,o)}}function fh(e,t,n,i,r,o){let a=t===null,c;for(;r>0;){let d=e[r],f=Array.isArray(d),h=f?d[1]:d,g=h===null,y=n[r+1];y===Ct&&(y=g?at:void 0);let b=g?ya(y,i):h===i?y:void 0;if(f&&!el(b)&&(b=ya(d,i)),el(b)&&(c=b,a))return c;let _=e[r+1];r=a?Ti(_):_r(_)}if(t!==null){let d=o?t.residualClasses:t.residualStyles;d!=null&&(c=ya(d,i))}return c}function el(e){return e!==void 0}function M9(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ln(sl(e)))),e}function J0(e,t){return(e.flags&(t?8:16))!==0}function X(e,t=""){let n=G(),i=Ue(),r=e+Ie,o=i.firstCreatePass?Dr(i,r,1,t,null):i.data[r],a=I9(i,n,o,t,e);n[r]=a,Aa()&&Xd(i,n,a,o),fr(o,!1)}var I9=(e,t,n,i,r)=>(_o(!0),L5(t[be],i));function S9(e,t,n,i=""){return ft(e,Hn(),n)?t+or(n)+i:Ct}function Ke(e){return xe("",e),Ke}function xe(e,t,n){let i=G(),r=S9(i,e,t,n);return r!==Ct&&T9(i,vn(),r),xe}function T9(e,t,n){let i=Ou(t,e);O5(e[be],i,n)}function pe(e){return ft(G(),Hn(),e)?or(e):Ct}function k9(e,t,n){let i=Ue();if(i.firstCreatePass){let r=Kt(e);Rd(n,i.data,i.blueprint,r,!0),Rd(t,i.data,i.blueprint,r,!1)}}function Rd(e,t,n,i,r){if(e=Xe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Rd(e[o],t,n,i,r);else{let o=Ue(),a=G(),c=tt(),d=pi(e)?e:Xe(e.provide),f=Tu(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(pi(e)||!e.multi){let b=new Mi(f,r,$e,null),_=ud(d,t,r?h:h+y,g);_===-1?(pd(Ua(c,a),o,d),cd(o,e,t.length),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(b),a.push(b)):(n[_]=b,a[_]=b)}else{let b=ud(d,t,h+y,g),_=ud(d,t,h,h+y),A=b>=0&&n[b],k=_>=0&&n[_];if(r&&!k||!r&&!A){pd(Ua(c,a),o,d);let I=L9(r?N9:A9,n.length,r,i,f,e);!r&&k&&(n[_].providerFactory=I),cd(o,e,t.length,0),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(I),a.push(I)}else{let I=eg(n[r?_:b],f,!r&&i);cd(o,e,b>-1?b:_,I)}!r&&i&&k&&n[_].componentProviders++}}}function cd(e,t,n,i){let r=pi(t),o=f1(t);if(r||o){let d=(o?Xe(t.useClass):t).prototype.ngOnDestroy;if(d){let f=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let h=f.indexOf(n);h===-1?f.push(n,[i,d]):f[h+1].push(i,d)}else f.push(n,d)}}}function eg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ud(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function A9(e,t,n,i,r){return Pd(this.multi,[])}function N9(e,t,n,i,r){let o=this.multi,a;if(this.providerFactory){let c=this.providerFactory.componentProviders,d=za(i,i[H],this.providerFactory.index,r);a=d.slice(0,c),Pd(o,a);for(let f=c;f<d.length;f++)a.push(d[f])}else a=[],Pd(o,a);return a}function Pd(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function L9(e,t,n,i,r,o){let a=new Mi(e,n,$e,null);return a.multi=[],a.index=t,a.componentProviders=0,eg(a,r,i&&!n),a}function Fe(e,t=[]){return n=>{n.providersResolver=(i,r)=>k9(i,r?r(e):e,t)}}function ut(e,t,n,i){return tg(G(),mr(),e,t,n,i)}function Oi(e,t,n,i,r){return O9(G(),mr(),e,t,n,i,r)}function Dn(e,t,n,i,r,o){return R9(G(),mr(),e,t,n,i,r,o)}function vp(e,t,n,i,r,o,a,c){let d=mr()+e,f=G(),h=v_(f,d,n,i,r,o);return ft(f,d+4,a)||h?ml(f,d+5,c?t.call(c,n,i,r,o,a):t(n,i,r,o,a)):h_(f,d+5)}function bp(e,t){let n=e[t];return n===Ct?void 0:n}function tg(e,t,n,i,r,o){let a=t+n;return ft(e,a,r)?ml(e,a+1,o?i.call(o,r):i(r)):bp(e,a+1)}function O9(e,t,n,i,r,o,a){let c=t+n;return Qa(e,c,r,o)?ml(e,c+2,a?i.call(a,r,o):i(r,o)):bp(e,c+2)}function R9(e,t,n,i,r,o,a,c){let d=t+n;return g_(e,d,r,o,a)?ml(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):bp(e,d+3)}function ye(e,t){let n=Ue(),i,r=e+Ie;n.firstCreatePass?(i=P9(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];let o=i.factory||(i.factory=On(i.type,!0)),a,c=st($e);try{let d=Ba(!1),f=o();return Ba(d),Pu(n,G(),r,f),f}finally{st(c)}}function P9(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function _e(e,t,n){let i=e+Ie,r=G(),o=Ru(r,i);return F9(r,i)?tg(r,mr(),t,o.transform,n,o):o.transform(n)}function F9(e,t){return e[H].data[t].pure}function xr(e,t){return M0(e,t)}var V9=(()=>{class e{zone=R(ze);changeDetectionScheduler=R(qt);applicationRef=R(Li);applicationErrorHandler=R(Jt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ng({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ze(it(Oe({},ig()),{scheduleInRootZone:n})),[{provide:ze,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{let i=R(V9,{optional:!0});return()=>i.initialize()}},{provide:hi,multi:!0,useFactory:()=>{let i=R(j9);return()=>{i.initialize()}}},t===!0?{provide:Ku,useValue:!0}:[],{provide:Ju,useValue:n??e0},{provide:Jt,useFactory:()=>{let i=R(ze),r=R(pt),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Yt),o.handleError(a))})}}}]}function ig(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var j9=(()=>{class e{subscription=new rt;initialized=!1;zone=R(ze);pendingTasks=R(zn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ze.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ze.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rg=(()=>{class e{applicationErrorHandler=R(Jt);appRef=R(Li);taskService=R(zn);ngZone=R(ze);zonelessEnabled=R(Na);tracing=R(Oo,{optional:!0});disableScheduling=R(Ku,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new rt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(R(Ju,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ga||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let i=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?Q1:t0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Wa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(n),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Q1(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function H9(){return typeof $localize<"u"&&$localize.locale||Bo}var Dl=new $("",{providedIn:"root",factory:()=>R(Dl,{optional:!0,skipSelf:!0})||H9()});function El(e,t){return Ps(e,t?.equal)}var og=class{[dt];constructor(t){this[dt]=t}destroy(){this[dt].destroy()}};var ug=Symbol("InputSignalNode#UNSET"),tC=it(Oe({},Fs),{transformFn:void 0,applyValueToInputSignal(e,t){to(e,t)}});function dg(e,t){let n=Object.create(tC);n.value=e,n.transformFn=t?.transform;function i(){if(Kr(n),n.value===ug){let r=null;throw new V(-950,r)}return n.value}return i[dt]=n,i}var nC=new $("");nC.__NG_ELEMENT_ID__=e=>{let t=tt();if(t===null)throw new V(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new V(204,!1)};function sg(e,t){return dg(e,t)}function iC(e){return dg(ug,e)}var zo=(sg.required=iC,sg);var yp=new $(""),rC=new $("");function Uo(e){return!e.moduleRef}function oC(e){let t=Uo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ze);return n.run(()=>{Uo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(Jt),r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:i})}),Uo(e)){let o=()=>t.destroy(),a=e.platformInjector.get(yp);a.add(o),t.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(yp);a.add(o),e.moduleRef.onDestroy(()=>{Eo(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return aC(i,n,()=>{let o=t.get(zn),a=o.add(),c=t.get(pp);return c.runInitializers(),c.donePromise.then(()=>{let d=t.get(Dl,Bo);if(W0(d||Bo),!t.get(rC,!0))return Uo(e)?t.get(Li):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Uo(e)){let h=t.get(Li);return e.rootComponent!==void 0&&h.bootstrap(e.rootComponent),h}else return sC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void o.remove(a))})})}var sC;function aC(e,t,n){try{let i=n();return gl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}var xl=null;function lC(e=[],t){return Gt.create({name:t,providers:[{provide:po,useValue:"platform"},{provide:yp,useValue:new Set([()=>xl=null])},...e]})}function cC(e=[]){if(xl)return xl;let t=lC(e);return xl=t,z0(),uC(t),t}function uC(e){let t=e.get(il,null);ar(e,()=>{t?.forEach(n=>n())})}var Ip=(()=>{class e{static __NG_ELEMENT_ID__=dC}return e})();function dC(e){return pC(tt(),G(),(e&16)===16)}function pC(e,t,n){if(jn(e)&&!n){let i=It(e.index,t);return new $n(i,i)}else if(e.type&175){let i=t[ct];return new $n(i,t)}return null}var _p=class{constructor(){}supports(t){return cp(t)}create(t){return new Cp(t)}},fC=(e,t)=>t,Cp=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||fC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){let a=!i||n&&n.currentIndex<ag(i,r,o)?n:i,c=ag(a,r,o),d=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,a.previousIndex==null)r++;else{o||(o=[]);let f=c-r,h=d-r;if(f!=h){for(let y=0;y<f;y++){let b=y<o.length?o[y]:o[y]=0,_=b+y;h<=_&&_<f&&(o[y]=b+1)}let g=a.previousIndex;o[g]=h-f}}c!==d&&t(a,c,d)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!cp(t))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,i=!1,r,o,a;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],a=this._trackByFn(c,o),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,o,a,c),i=!0):(i&&(n=this._verifyReinsertion(n,o,a,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)),n=n._next}else r=0,N0(t,c=>{a=this._trackByFn(r,c),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,c,a,r),i=!0):(i&&(n=this._verifyReinsertion(n,c,a,r)),Object.is(n.item,c)||this._addIdentityChange(n,c)),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new wp(n,i),o,r)),t}_verifyReinsertion(t,n,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){let r=n===null?this._itHead:n._next;return t._next=r,t._prev=n,r===null?this._itTail=t:r._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ml),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,i=t._next;return n===null?this._itHead=i:n._next=i,i===null?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ml),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},wp=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Dp=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;i!==null;i=i._nextDup)if((n===null||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let n=t._prevDup,i=t._nextDup;return n===null?this._head=i:n._nextDup=i,i===null?this._tail=n:i._prevDup=n,this._head===null}},Ml=class{map=new Map;put(t){let n=t.trackById,i=this.map.get(n);i||(i=new Dp,this.map.set(n,i)),i.add(t)}get(t,n){let i=t,r=this.map.get(i);return r?r.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ag(e,t,n){let i=e.previousIndex;if(i===null)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Ep=class{constructor(){}supports(t){return t instanceof Map||fl(t)}create(){return new xp}},xp=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||fl(t)))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let r=this._records.get(t);this._maybeAddToChanges(r,n);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let i=new Mp(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}},Mp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function lg(){return new Sp([new _p])}var Sp=(()=>{class e{factories;static \u0275prov=q({token:e,providedIn:"root",factory:lg});constructor(n){this.factories=n}static create(n,i){if(i!=null){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let i=R(e,{optional:!0,skipSelf:!0});return e.create(n,i||lg())}}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;throw new V(901,!1)}}return e})();function cg(){return new Tp([new Ep])}var Tp=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:cg});factories;constructor(n){this.factories=n}static create(n,i){if(i){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let i=R(e,{optional:!0,skipSelf:!0});return e.create(n,i||cg())}}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new V(901,!1)}}return e})();function pg(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:r}=e;ge(8);try{let o=r?.injector??cC(i),a=[ng({}),{provide:qt,useExisting:rg},j1,...n||[]],c=new To({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return oC({r3Injector:c.injector,platformInjector:o,rootComponent:t})}catch(o){return Promise.reject(o)}finally{ge(9)}}function M(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var mC={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function hC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function gC(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var kp;function vC(e,t){if(!kp){let n=Element.prototype;kp=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?kp.call(e,t):!1}function bC(e){let t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[hC(i)]=[n,r]}),t}function yC(e,t){return t.get(Ai).resolveComponentFactory(e).inputs}function _C(e,t){let n=e.childNodes,i=t.map(()=>[]),r=-1;t.some((o,a)=>o==="*"?(r=a,!0):!1);for(let o=0,a=n.length;o<a;++o){let c=n[o],d=CC(c,t,r);d!==-1&&i[d].push(c)}return i}function CC(e,t,n){let i=n;return gC(e)&&t.some((r,o)=>r!=="*"&&vC(e,r)?(i=o,!0):!1),i}var wC=10,Ap=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Ai).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Np(this.componentFactory,t,this.inputMap)}},Np=class{componentFactory;injector;inputMap;eventEmitters=new An(1);events=this.eventEmitters.pipe(Nn(t=>eu(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,i){this.componentFactory=t,this.injector=n,this.inputMap=i,this.ngZone=this.injector.get(ze),this.appRef=this.injector.get(Li),this.cdScheduler=n.get(qt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=mC.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},wC))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),op(this.componentRef.hostView)&&(sp(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Gt.create({providers:[],parent:this.injector}),i=_C(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=t.instance[i];return new oe(a=>{let c=o.subscribe(d=>a.next({name:r,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Lp=class extends HTMLElement{ngElementEventsSubscription=null};function mt(e,t){let n=yC(e,t.injector),i=t.strategyFactory||new Ap(e,t.injector),r=bC(n);class o extends Lp{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:f})=>{if(!this.hasOwnProperty(d))return;let h=this[d];delete this[d],c.setInputValue(d,h,f)})}return this._ngElementStrategy}_ngElementStrategy;constructor(c){super(),this.injector=c}attributeChangedCallback(c,d,f,h){let[g,y]=r[c];this.ngElementStrategy.setInputValue(g,f,y)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return n.forEach(({propName:a,transform:c})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(d){this.ngElementStrategy.setInputValue(a,d,c)},configurable:!0,enumerable:!0})}),o}var fg=null;function Zo(){return fg}function Op(e){fg??=e}var $o=class{};var Rp=/\s+/,mg=[],je=(()=>{class e{_ngEl;_renderer;initialClasses=mg;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Rp):mg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Rp):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Rp).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)($e(Zn),$e(pl))};static \u0275dir=Wn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Il=class{$implicit;ngForOf;index;count;constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ht=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Il(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let c=i.get(o);i.move(c,a),hg(c,r)}});for(let r=0,o=i.length;r<o;r++){let c=i.get(r).context;c.index=r,c.count=o,c.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);hg(o,r)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)($e(Er),$e(Vo),$e(Sp))};static \u0275dir=Wn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function hg(e,t){e.context.$implicit=t.item}var Wo=(()=>{class e{_viewContainer;_context=new Sl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,i){this._viewContainer=n,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){gg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){gg(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)($e(Er),$e(Vo))};static \u0275dir=Wn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Sl=class{$implicit=null;ngIf=null};function gg(e,t){if(e&&!e.createEmbeddedView)throw new V(2020,!1)}var Pp=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,i,r){this._ngEl=n,this._differs=i,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[r,o]=n.split("."),a=r.indexOf("-")===-1?void 0:Ht.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)($e(Zn),$e(Tp),$e(pl))};static \u0275dir=Wn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Go=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)($e(Er))};static \u0275dir=Wn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Bt]})}return e})();var fe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ni({type:e});static \u0275inj=Pn({})}return e})();function Yo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[r,o]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var Ri=class{};var vg="browser";var qo=class{_doc;constructor(t){this._doc=t}manager},Tl=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r,o){return n.addEventListener(i,r,o),()=>this.removeEventListener(n,i,r,o)}removeEventListener(n,i,r,o){return n.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(j(_t))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Al=new $(""),Bp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,i){this._zone=i,n.forEach(a=>{a.manager=this});let r=n.filter(a=>!(a instanceof Tl));this._plugins=r.slice().reverse();let o=n.find(a=>a instanceof Tl);o&&this._plugins.push(o)}addEventListener(n,i,r,o){return this._findPluginFor(i).addEventListener(n,i,r,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new V(5101,!1);return this._eventNameToPlugin.set(n,i),i}static \u0275fac=function(i){return new(i||e)(j(Al),j(ze))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fp="ng-app-id";function bg(e){for(let t of e)t.remove()}function yg(e,t){let n=t.createElement("style");return n.textContent=e,n}function DC(e,t,n,i){let r=e.head?.querySelectorAll(`style[${Fp}="${t}"],link[${Fp}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Fp),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function jp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Up=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,DC(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,yg);i?.forEach(r=>this.addUsage(r,this.external,jp))}removeStyles(n,i){for(let r of n)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,i,r){let o=i.get(n);o?o.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(n,this.doc)))})}removeUsage(n,i){let r=i.get(n);r&&(r.usage--,r.usage<=0&&(bg(r.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])bg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(n,yg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,jp(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),n.appendChild(i)}static \u0275fac=function(i){return new(i||e)(j(_t),j(nl),j(rl,8),j(Lo))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Vp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},zp=/%COMP%/g;var Cg="%COMP%",EC=`_nghost-${Cg}`,xC=`_ngcontent-${Cg}`,MC=!0,IC=new $("",{providedIn:"root",factory:()=>MC});function SC(e){return xC.replace(zp,e)}function TC(e){return EC.replace(zp,e)}function wg(e,t){return t.map(n=>n.replace(zp,e))}var $p=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,i,r,o,a,c,d=null,f=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=c,this.nonce=d,this.tracingService=f,this.platformIsServer=!1,this.defaultRenderer=new Qo(n,a,c,this.platformIsServer,this.tracingService)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(n,i);return r instanceof kl?r.applyToHost(n):r instanceof Xo&&r.applyStyles(),r}getOrCreateRenderer(n,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,c=this.ngZone,d=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,y=this.tracingService;switch(i.encapsulation){case bn.Emulated:o=new kl(d,f,i,this.appId,h,a,c,g,y);break;case bn.ShadowDom:return new Hp(d,f,n,i,a,c,this.nonce,g,y);default:o=new Xo(d,f,i,h,a,c,g,y);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(i){return new(i||e)(j(Bp),j(Up),j(nl),j(IC),j(_t),j(ze),j(rl),j(Oo,8))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Qo=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,i,r,o){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Vp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(_g(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(_g(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){n.remove()}selectRootElement(t,n){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new V(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;let o=Vp[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){let r=Vp[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(Ht.DashCase|Ht.Important)?t.style.setProperty(n,i,r&Ht.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Ht.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t!=null&&(t[n]=i)}setValue(t,n){t.nodeValue=n}listen(t,n,i,r){if(typeof t=="string"&&(t=Zo().getGlobalEventTarget(this.doc,t),!t))throw new V(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,r)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function _g(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Hp=class extends Qo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,d,f),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=wg(r.id,h);for(let y of h){let b=document.createElement("style");c&&b.setAttribute("nonce",c),b.textContent=y,this.shadowRoot.appendChild(b)}let g=r.getExternalStyles?.();if(g)for(let y of g){let b=jp(y,o);c&&b.setAttribute("nonce",c),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xo=class extends Qo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,c,d),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=f?wg(f,h):h,this.styleUrls=i.getExternalStyles?.(f)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ii.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kl=class extends Xo{contentAttr;hostAttr;constructor(t,n,i,r,o,a,c,d,f){let h=r+"-"+i.id;super(t,n,i,o,a,c,d,f,h),this.contentAttr=SC(h),this.hostAttr=TC(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}};var Nl=class e extends $o{supportsDOMEvents=!0;static makeCurrent(){Op(new e)}onAndCancel(t,n,i,r){return t.addEventListener(n,i,r),()=>{t.removeEventListener(n,i,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=kC();return n==null?null:AC(n)}resetBaseElement(){Ko=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Yo(document.cookie,t)}},Ko=null;function kC(){return Ko=Ko||document.head.querySelector("base"),Ko?Ko.getAttribute("href"):null}function AC(e){return new URL(e,document.baseURI).pathname}var NC=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Dg=["alt","control","meta","shift"],LC={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},OC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Eg=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,r,o){let a=e.parseEventName(i),c=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zo().onAndCancel(n,a.domEventName,c,o))}static parseEventName(n){let i=n.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Dg.forEach(f=>{let h=i.indexOf(f);h>-1&&(i.splice(h,1),a+=f+".")}),a+=o,i.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let r=LC[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Dg.forEach(a=>{if(a!==r){let c=OC[a];c(n)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(i){return new(i||e)(j(_t))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function Zp(e){return pg(RC(e))}function RC(e){return{appProviders:[...HC,...e?.providers??[]],platformProviders:jC}}function PC(){Nl.makeCurrent()}function FC(){return new Yt}function VC(){return jd(document),document}var jC=[{provide:Lo,useValue:vg},{provide:il,useValue:PC,multi:!0},{provide:_t,useFactory:VC}];var HC=[{provide:po,useValue:"root"},{provide:Yt,useFactory:FC},{provide:Al,useClass:Tl,multi:!0,deps:[_t]},{provide:Al,useClass:Eg,multi:!0,deps:[_t]},$p,Up,Bp,{provide:Si,useExisting:$p},{provide:Ri,useClass:NC},[]];var Sr=class{},Jo=class{},Yn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
8
|
-
`).forEach(n=>{let i=n.indexOf(":");if(i>0){let r=n.slice(0,i),o=n.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.addHeaderEntry(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let r=(t.op==="a"?this.headers.get(n):void 0)||[];r.push(...i),this.headers.set(n,r);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let a=this.headers.get(n);if(!a)return;a=a.filter(c=>o.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(n):this.headers.set(i,[n])}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ol=class{encodeKey(t){return xg(t)}encodeValue(t){return xg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function BC(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,c]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],d=n.get(a)||[];d.push(c),n.set(a,d)}),n}var UC=/%(\d[a-f0-9])/gi,zC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xg(e){return encodeURIComponent(e).replace(UC,(t,n)=>zC[n]??t)}function Ll(e){return`${e}`}var En=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ol,t.fromString){if(t.fromObject)throw new V(2805,!1);this.map=BC(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],r=Array.isArray(i)?i.map(Ll):[Ll(i)];this.map.set(n,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{n.push({param:i,value:o,op:"a"})}):n.push({param:i,value:r,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ll(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(Ll(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Rl=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function $C(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Mg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ig(e){return typeof Blob<"u"&&e instanceof Blob}function Sg(e){return typeof FormData<"u"&&e instanceof FormData}function ZC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Tg="Content-Type",kg="Accept",Ag="X-Request-URL",Ng="text/plain",Lg="application/json",WC=`${Lg}, ${Ng}, */*`,Mr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,i,r){this.url=n,this.method=t.toUpperCase();let o;if($C(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new V(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new Yn,this.context??=new Rl,!this.params)this.params=new En,this.urlWithParams=n;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=n;else{let c=n.indexOf("?"),d=c===-1?"?":c<n.length-1?"&":"";this.urlWithParams=n+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Mg(this.body)||Ig(this.body)||Sg(this.body)||ZC(this.body)?this.body:this.body instanceof En?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Sg(this.body)?null:Ig(this.body)?this.body.type||null:Mg(this.body)?null:typeof this.body=="string"?Ng:this.body instanceof En?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Lg:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=t.keepalive??this.keepalive,a=t.priority||this.priority,c=t.cache||this.cache,d=t.mode||this.mode,f=t.redirect||this.redirect,h=t.credentials||this.credentials,g=t.referrer||this.referrer,y=t.integrity||this.integrity,b=t.transferCache??this.transferCache,_=t.timeout??this.timeout,A=t.body!==void 0?t.body:this.body,k=t.withCredentials??this.withCredentials,I=t.reportProgress??this.reportProgress,Z=t.headers||this.headers,He=t.params||this.params,ce=t.context??this.context;return t.setHeaders!==void 0&&(Z=Object.keys(t.setHeaders).reduce((Ce,N)=>Ce.set(N,t.setHeaders[N]),Z)),t.setParams&&(He=Object.keys(t.setParams).reduce((Ce,N)=>Ce.set(N,t.setParams[N]),He)),new e(n,i,A,{params:He,headers:Z,context:ce,reportProgress:I,responseType:r,withCredentials:k,transferCache:b,keepalive:o,cache:c,priority:a,timeout:_,mode:d,redirect:f,credentials:h,referrer:g,integrity:y})}},Pi=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Pi||{}),Tr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,i="OK"){this.headers=t.headers||new Yn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Pl=class e extends Tr{constructor(t={}){super(t)}type=Pi.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},es=class e extends Tr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Pi.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Ir=class extends Tr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},GC=200,YC=204;function Wp(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var kr=(()=>{class e{handler;constructor(n){this.handler=n}request(n,i,r={}){let o;if(n instanceof Mr)o=n;else{let d;r.headers instanceof Yn?d=r.headers:d=new Yn(r.headers);let f;r.params&&(r.params instanceof En?f=r.params:f=new En({fromObject:r.params})),o=new Mr(n,i,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:f,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let a=mn(o).pipe(ro(d=>this.handler.handle(d)));if(n instanceof Mr||r.observe==="events")return a;let c=a.pipe(tu(d=>d instanceof es));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(ot(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new V(2806,!1);return d.body}));case"blob":return c.pipe(ot(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new V(2807,!1);return d.body}));case"text":return c.pipe(ot(d=>{if(d.body!==null&&typeof d.body!="string")throw new V(2808,!1);return d.body}));case"json":default:return c.pipe(ot(d=>d.body))}case"response":return c;default:throw new V(2809,!1)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new En().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,r={}){return this.request("PATCH",n,Wp(r,i))}post(n,i,r={}){return this.request("POST",n,Wp(r,i))}put(n,i,r={}){return this.request("PUT",n,Wp(r,i))}static \u0275fac=function(i){return new(i||e)(j(Sr))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var qC=new $("");function QC(e,t){return t(e)}function XC(e,t,n){return(i,r)=>ar(n,()=>t(i,o=>e(o,r)))}var Og=new $(""),Rg=new $(""),Pg=new $("",{providedIn:"root",factory:()=>!0});var Fl=(()=>{class e extends Sr{backend;injector;chain=null;pendingTasks=R(Co);contributeToStability=R(Pg);constructor(n,i){super(),this.backend=n,this.injector=i}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Og),...this.injector.get(Rg,[])]));this.chain=i.reduceRight((r,o)=>XC(r,o,this.injector),QC)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,r=>this.backend.handle(r)).pipe(nu(i))}else return this.chain(n,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(j(Jo),j(pt))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var KC=/^\)\]\}',?\n/,JC=RegExp(`^${Ag}:`,"m");function e6(e){return"responseURL"in e&&e.responseURL?e.responseURL:JC.test(e.getAllResponseHeaders())?e.getResponseHeader(Ag):null}var Gp=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new V(-2800,!1);let i=this.xhrFactory;return mn(null).pipe(Nn(()=>new oe(o=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((k,I)=>a.setRequestHeader(k,I.join(","))),n.headers.has(kg)||a.setRequestHeader(kg,WC),!n.headers.has(Tg)){let k=n.detectContentTypeHeader();k!==null&&a.setRequestHeader(Tg,k)}if(n.timeout&&(a.timeout=n.timeout),n.responseType){let k=n.responseType.toLowerCase();a.responseType=k!=="json"?k:"text"}let c=n.serializeBody(),d=null,f=()=>{if(d!==null)return d;let k=a.statusText||"OK",I=new Yn(a.getAllResponseHeaders()),Z=e6(a)||n.url;return d=new Pl({headers:I,status:a.status,statusText:k,url:Z}),d},h=()=>{let{headers:k,status:I,statusText:Z,url:He}=f(),ce=null;I!==YC&&(ce=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=ce?GC:0);let Ce=I>=200&&I<300;if(n.responseType==="json"&&typeof ce=="string"){let N=ce;ce=ce.replace(KC,"");try{ce=ce!==""?JSON.parse(ce):null}catch(ve){ce=N,Ce&&(Ce=!1,ce={error:ve,text:ce})}}Ce?(o.next(new es({body:ce,headers:k,status:I,statusText:Z,url:He||void 0})),o.complete()):o.error(new Ir({error:ce,headers:k,status:I,statusText:Z,url:He||void 0}))},g=k=>{let{url:I}=f(),Z=new Ir({error:k,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});o.error(Z)},y=g;n.timeout&&(y=k=>{let{url:I}=f(),Z=new Ir({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:I||void 0});o.error(Z)});let b=!1,_=k=>{b||(o.next(f()),b=!0);let I={type:Pi.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(I.total=k.total),n.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),o.next(I)},A=k=>{let I={type:Pi.UploadProgress,loaded:k.loaded};k.lengthComputable&&(I.total=k.total),o.next(I)};return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",y),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",_),c!==null&&a.upload&&a.upload.addEventListener("progress",A)),a.send(c),o.next({type:Pi.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",y),n.reportProgress&&(a.removeEventListener("progress",_),c!==null&&a.upload&&a.upload.removeEventListener("progress",A)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||e)(j(Ri))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fg=new $(""),t6="XSRF-TOKEN",n6=new $("",{providedIn:"root",factory:()=>t6}),i6="X-XSRF-TOKEN",r6=new $("",{providedIn:"root",factory:()=>i6}),ts=class{},o6=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,i){this.doc=n,this.cookieName=i}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(i){return new(i||e)(j(_t),j(n6))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),s6=/^(?:https?:)?\/\//i;function a6(e,t){if(!R(Fg)||e.method==="GET"||e.method==="HEAD"||s6.test(e.url))return t(e);let n=R(ts).getToken(),i=R(r6);return n!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,n)})),t(e)}function Yp(...e){let t=[kr,Gp,Fl,{provide:Sr,useExisting:Fl},{provide:Jo,useFactory:()=>R(qC,{optional:!0})??R(Gp)},{provide:Og,useValue:a6,multi:!0},{provide:Fg,useValue:!0},{provide:ts,useClass:o6}];for(let n of e)t.push(...n.\u0275providers);return uo(t)}var Qn=class{},Vg=(()=>{class e extends Qn{getTranslation(n){return mn({})}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fi=class{},jg=(()=>{class e{handle(n){return n.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function jl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,i=typeof t,r,o,a;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(o=0;o<r;o++)if(!jl(e[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;a=Object.create(null);for(o in e){if(!jl(e[o],t[o]))return!1;a[o]=!0}for(o in t)if(!(o in a)&&typeof t[o]<"u")return!1;return!0}return!1}function qn(e){return typeof e<"u"&&e!==null}function rs(e){return Vl(e)&&!tf(e)&&e!==null}function Vl(e){return typeof e=="object"}function tf(e){return Array.isArray(e)}function nf(e){return typeof e=="string"}function c6(e){return typeof e=="function"}function qp(e,t){let n=Object.assign({},e);return Vl(e)?(Vl(e)&&Vl(t)&&Object.keys(t).forEach(i=>{rs(t[i])?i in e?n[i]=qp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):qp({},t)}function Qp(e,t){let n=t.split(".");t="";do t+=n.shift(),qn(e)&&qn(e[t])&&(rs(e[t])||tf(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function u6(e,t,n){let i=t.split("."),r=e;for(let o=0;o<i.length;o++){let a=i[o];o===i.length-1?r[a]=n:((!r[a]||!rs(r[a]))&&(r[a]={}),r=r[a])}}var Ar=class{},Hg=(()=>{class e extends Ar{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,i){if(nf(n))return this.interpolateString(n,i);if(c6(n))return this.interpolateFunction(n,i)}interpolateFunction(n,i){return n(i)}interpolateString(n,i){return i?n.replace(this.templateMatcher,(r,o)=>{let a=Qp(i,o);return qn(a)?a:r}):n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Nr=class{},Bg=(()=>{class e extends Nr{compile(n,i){return n}compileTranslations(n,i){return n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),is=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new J;onLangChange=new J;onDefaultLangChange=new J},Xp=new $("ISOLATE_TRANSLATE_SERVICE"),Kp=new $("USE_DEFAULT_LANG"),Jp=new $("DEFAULT_LANGUAGE"),ef=new $("USE_EXTEND"),ns=e=>ci(e)?e:mn(e),Se=(()=>{class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}constructor(n,i,r,o,a,c=!0,d=!1,f=!1,h){this.store=n,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=c,this.extend=f,d&&(this.store=new is),h&&this.setDefaultLang(h)}setDefaultLang(n){if(n===this.defaultLang)return;let i=this.retrieveTranslations(n);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=n),i.pipe(ir(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return mn(this.translations[n]);this.currentLang||(this.currentLang=n);let i=this.retrieveTranslations(n);return ci(i)?(i.pipe(ir(1)).subscribe(()=>{this.changeLang(n)}),i):(this.changeLang(n),mn(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let i=this.currentLoader.getTranslation(n).pipe(aa(1),ir(1));return this.loadingTranslations=i.pipe(ot(r=>this.compiler.compileTranslations(r,n)),aa(1),ir(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?Oe(Oe({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(n,i,r=!1){let o=this.compiler.compileTranslations(i,n);(r||this.extend)&&this.translations[n]?this.translations[n]=qp(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let i=n.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,i,r){let o;if(n&&(o=this.runInterpolation(Qp(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Qp(this.translations[this.defaultLang],i),r)),o===void 0){let a={key:i,translateService:this};typeof r<"u"&&(a.interpolateParams=r),o=this.missingTranslationHandler.handle(a)}return o!==void 0?o:i}runInterpolation(n,i){if(tf(n))return n.map(r=>this.runInterpolation(r,i));if(rs(n)){let r={};for(let o in n){let a=this.runInterpolation(n[o],i);a!==void 0&&(r[o]=a)}return r}else return this.parser.interpolate(n,i)}getParsedResult(n,i,r){if(i instanceof Array){let o={},a=!1;for(let d of i)o[d]=this.getParsedResultForKey(n,d,r),a=a||ci(o[d]);if(!a)return o;let c=i.map(d=>ns(o[d]));return Jc(c).pipe(ot(d=>{let f={};return d.forEach((h,g)=>{f[i[g]]=h}),f}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ro(r=>ns(this.getParsedResult(r,n,i)))):ns(this.getParsedResult(this.translations[this.currentLang],n,i))}getStreamOnTranslationChange(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return oa(sa(()=>this.get(n,i)),this.onTranslationChange.pipe(Nn(r=>{let o=this.getParsedResult(r.translations,n,i);return ns(o)})))}stream(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" required');return oa(sa(()=>this.get(n,i)),this.onLangChange.pipe(Nn(r=>{let o=this.getParsedResult(r.translations,n,i);return ns(o)})))}instant(n,i){if(!qn(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,i);return ci(r)?Array.isArray(n)?n.reduce((o,a)=>(o[a]=a,o),{}):n:r}set(n,i,r=this.currentLang){u6(this.translations[r],n,nf(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||e)(j(is),j(Qn),j(Nr),j(Ar),j(Fi),j(Kp),j(Xp),j(ef),j(Jp))};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qe=(()=>{class e{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(n,i){this.translate=n,this._ref=i}updateValue(n,i,r){let o=a=>{this.value=a!==void 0?a:n,this.lastKey=n,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(r,n,i);ci(a)?a.subscribe(o):o(a)}this.translate.get(n,i).subscribe(o)}transform(n,...i){if(!n||!n.length)return n;if(jl(n,this.lastKey)&&jl(i,this.lastParams))return this.value;let r;if(qn(i[0])&&i.length)if(nf(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else rs(i[0])&&(r=i[0]);return this.lastKey=n,this.lastParams=i,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)($e(Se,16),$e(Ip,16))};static \u0275pipe=hl({name:"translate",type:e,pure:!1});static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var Ne=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Qn,useClass:Vg},n.compiler||{provide:Nr,useClass:Bg},n.parser||{provide:Ar,useClass:Hg},n.missingTranslationHandler||{provide:Fi,useClass:jg},is,{provide:Xp,useValue:n.isolate},{provide:Kp,useValue:n.useDefaultLang},{provide:ef,useValue:n.extend},{provide:Jp,useValue:n.defaultLanguage},Se]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Qn,useClass:Vg},n.compiler||{provide:Nr,useClass:Bg},n.parser||{provide:Ar,useClass:Hg},n.missingTranslationHandler||{provide:Fi,useClass:jg},{provide:Xp,useValue:n.isolate},{provide:Kp,useValue:n.useDefaultLang},{provide:ef,useValue:n.extend},{provide:Jp,useValue:n.defaultLanguage},Se]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ni({type:e});static \u0275inj=Pn({})}return e})();var Qe=(()=>{let t=class t{constructor(){this.translateService=R(Se),this._selectedLanguage=Un("en"),this._localizedStrings=Un({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(i){this._selectedLanguage.set(i),this.translateService.use(i);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(r){console.error(r)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(i){this._localizedStrings.set(i),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,i)}catch(r){console.error(r)}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[Fe([Se])],decls:2,vars:0,template:function(r,o){r&1&&(_n(0,"p"),X(1," localized widget works! "),Cn())},dependencies:[fe,Ne],encapsulation:3});let e=t;return e})();function me(e,t,n=null){if(!t){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let i="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;i&&typeof i[t]=="function"&&i[t]({detail:n});let r=e;t in r&&r[t].emit(n)}var Hl=(()=>{let t=class t extends Qe{constructor(){super(),this.bimplusContactClicked=new J}_contactClicked(){me(this,"bimplusContactClicked","contact")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[Fe([Se]),Ze],decls:3,vars:3,consts:[["href","https://connect.allplan.com/support/contact.ct?SSO=1&autolang","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(r,o){r&1&&(_n(0,"a",0),ye(1,"translate"),Cl("click",function(){return o._contactClicked()}),yl(2,"div",1),Cn()),r&2&&_l("title",_e(1,1,"_BimplusContactTitle"))},dependencies:[fe,Ne,qe],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
|
|
9
|
-
`],encapsulation:3});let e=t;return e})();var d6=(e,t)=>({open:e,"expand-up":t});function p6(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._switchLanguage(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._switchLanguage(r.symbol))}),E(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",i.selectedLanguage===n.symbol?"selected":""),yn("data-test","langmenu_item_"+n.text),w(2),Ke(n.text)}}var Bl=(()=>{let t=class t{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new J}_switchLanguage(i){
|
|
10
|
-
`],encapsulation:3});let e=t;return e})();var f6=(e,t,n)=>({collapsed:e,"mini-mode":t,"is-touch":n}),Ug=(e,t)=>t.id;function m6(e,t){if(e&1){let n=Ee();E(0,"div",4),ye(1,"translate"),F("dblclick",function(r){B(n);let o=x(3);return U(o._menuItemIgnoreAction(r))})("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))}),re(2,"div",5),E(3,"div",6),F("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=x().$implicit,i=x(2);D("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",_e(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),D("ngClass",i._getPrjIconClassAttributes(n))}}function h6(e,t){if(e&1&&ke(0,m6,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Ae(i._isHidden(n)?-1:0)}}function g6(e,t){if(e&1&&vl(0,h6,1,1,null,null,Ug),e&2){let n=x();bl(n.menuItems)}}function v6(e,t){if(e&1){let n=Ee();E(0,"div",4),ye(1,"translate"),F("dblclick",function(r){B(n);let o=x(3);return U(o._menuItemIgnoreAction(r))})("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))}),re(2,"div",5),E(3,"div",6),F("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=x().$implicit,i=x(2);D("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",_e(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),D("ngClass",i._getPrjIconClassAttributes(n))}}function b6(e,t){if(e&1&&ke(0,v6,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Ae(!i._isHidden(n)&&(i.isCollapsed||n.action!=="processes")?0:-1)}}function y6(e,t){if(e&1&&vl(0,b6,1,1,null,null,Ug),e&2){let n=x();bl(n.menuItems)}}function _6(e,t){e&1&&tn(0)}function C6(e,t){if(e&1&&ae(0,_6,1,0,"ng-container",13),e&2){x(2);let n=wn(1);D("ngTemplateOutlet",n)}}function w6(e,t){if(e&1&&(E(0,"div",7)(1,"div",8),re(2,"div",9),T(),E(3,"div",10),X(4),T()(),E(5,"div",11)(6,"div",12),ke(7,C6,1,1,"ng-container"),T()()),e&2){let n=x();w(),D("ngStyle",n.prjImageOverlayStyle),w(),D("ngStyle",n.prjImageStyle),w(2),xe(" ",n.projectName," "),w(),D("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Ae(n.showHorizontalMenuIcons?7:-1)}}function D6(e,t){e&1&&tn(0)}function E6(e,t){if(e&1&&ae(0,D6,1,0,"ng-container",13),e&2){x(2);let n=wn(3);D("ngTemplateOutlet",n)}}function x6(e,t){e&1&&tn(0)}function M6(e,t){if(e&1&&ae(0,x6,1,0,"ng-container",13),e&2){x(2);let n=wn(1);D("ngTemplateOutlet",n)}}function I6(e,t){if(e&1){let n=Ee();E(0,"a",14),ye(1,"translate"),F("dblclick",function(){B(n);let r=x();return U(r._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){B(n);let r=x();return U(r._projectMenuItemClicked("prjimageclick","normal"))}),E(2,"div",15),re(3,"div",16),E(4,"div",17),ke(5,E6,1,1,"ng-container"),T(),E(6,"div",18),X(7),T()()(),E(8,"div",11)(9,"div",12),ke(10,M6,1,1,"ng-container"),T()()}if(e&2){let n=x();D("href",pe(n.projectExplorerUrl),Cr)("ngStyle",n.prjImageOverlayStyle)("title",_e(1,11,"_ModelThumbnailTooltip")),w(2),D("ngStyle",n.prjImageStyle),w(),D("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),D("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),Ae(!n.hideMenuIcons&&!n.showHorizontalMenuIcons?5:-1),w(2),xe(" ",n.projectName," "),w(),D("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Ae(n.showHorizontalMenuIcons?10:-1)}}var Ul=(()=>{let t=class t extends Qe{constructor(){super(),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((i,r)=>this.menuItemsOrder.indexOf(i.id)-this.menuItemsOrder.indexOf(r.id))}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){if(i){let r=`${i.action?i.action:i.id}Disabled`;return!!this[r]}return!1}_projectMenuItemClicked(i,r){console.log(i,r)}_menuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),console.log(i,r,o),r!="info"&&this._isDisabled(i))return;let a=i.action;me(this,"bimplusProjectMenuClicked",{action:a,type:r})}_menuItemIgnoreAction(i){i&&(i.stopPropagation(),i.preventDefault())}_getPrjItemClassAttributes(i,r){return`${this._isDisabled(i)?"disabled":""} ${r?"":"hover-show-info"}`}_getPrjIconClassAttributes(i){return`${i.class} ${i.action===this.projectActiveItem?"active":""} ${this._isDisabled(i)?"disabled":""}`}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],isCollapsed:[2,"isCollapsed","isCollapsed",M],isMiniMode:[2,"isMiniMode","isMiniMode",M],isTouch:[2,"isTouch","isTouch",M],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],menuItemsOrder:"menuItemsOrder"},features:[Fe([Se]),Ze],decls:7,vars:6,consts:[["navigationPrjList",""],["navigationPrjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(r,o){r&1&&(ae(0,g6,2,0,"ng-template",null,0,xr)(2,y6,2,0,"ng-template",null,1,xr),E(4,"div",2),ke(5,w6,8,5)(6,I6,11,13),T()),r&2&&(w(4),D("ngClass",Dn(2,f6,o.isCollapsed,o.isMiniMode,o.isTouch)),w(),Ae(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[fe,je,Go,Pp,Ne,qe],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--project-menu-project-container-background-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid var(--project-menu-project-container-mini-mode-border-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:var(--project-menu-project-details-background-color-enabled);background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{color:var(--project-menu-project-name-text-color);background-color:var(--project-menu-project-name-background-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:var(--project-menu-item-overlay-background-color-enabled);width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid var(--project-menu-project-items-horizontal-border-color-enabled)}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center}
|
|
11
|
-
`],encapsulation:3});let e=t;return e})();var rf=e=>({$implicit:e});function S6(e,t){if(e&1&&re(0,"div",10),e&2){let n=x().$implicit;gp(n.item.class),D("id",n.item.id)}}function T6(e,t){if(e&1){let n=Ee();E(0,"div",14),F("click",function(r){B(n);let o=x(2).$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){B(n);let o=x(2).$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"info",r))}),T()}}function k6(e,t){if(e&1){let n=Ee();E(0,"div",9),ye(1,"translate"),E(2,"div",11),F("click",function(r){B(n);let o=x().$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"normal",r))}),re(3,"div",12),E(4,"span"),X(5),ye(6,"translate"),T()(),ke(7,T6,1,0,"div",13),T()}if(e&2){let n=x().$implicit,i=x();D("id",n.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(n.active?"active ":" ")+(n.disabled?"disabled ":" ")+(n.clickable?" ":"not-clickable ")+(n.selected?"selected ":" "))("title",n.disabled?_e(1,7,n.item.disabledTitle):""),w(2),D("ngClass",n.clickable?"":"not-clickable"),w(),D("ngClass",n.item.class+(n.active?" active":"")+(n.disabled?" disabled ":"")),w(2),Ke(_e(6,9,n.isDisabled&&n.item.textIdDisabled!==""?n.item.textIdDisabled:n.item.textId)),w(2),Ae(n.showInfoIcon?7:-1)}}function A6(e,t){if(e&1&&ke(0,S6,1,3,"div",8)(1,k6,8,11,"div",9),e&2){let n=t.$implicit;Ae(n.item.type==="divider"?0:1)}}function N6(e,t){e&1&&tn(0)}function L6(e,t){if(e&1&&ae(0,N6,1,0,"ng-container",15),e&2){let n=x(),i=wn(1);D("ngTemplateOutlet",i)("ngTemplateOutletContext",ut(2,rf,n._getContextData(n._openPrjBtn,n.projectActiveItem==="projectlist",n._isDisabled(n._openPrjBtn),!0,n.projectActiveItem==="projectlist")))}}function O6(e,t){if(e&1&&re(0,"lib-bimplus-project-menu",3),e&2){let n=x();D("projectName",pe(n.projectName))("projectImageUrl",pe(n.projectImageUrl))("projectExplorerUrl",pe(n.projectExplorerUrl))("projectActiveItem",pe(n.projectActiveItem))("projectmembersDisabled",pe(n.projectmembersDisabled))("modelsDisabled",pe(n.modelsDisabled))("documentsDisabled",pe(n.documentsDisabled))("projectsettingsDisabled",pe(n.projectsettingsDisabled))("processesDisabled",pe(n.processesDisabled))("projectmembersVisible",pe(n.projectmembersVisible))("modelsVisible",pe(n.modelsVisible))("documentsVisible",pe(n.documentsVisible))("projectsettingsVisible",pe(n.projectsettingsVisible))("processesVisible",pe(n.processesVisible))("isCollapsed",pe(n.isCollapsed))("isMiniMode",pe(n.isTouch))("isTouch",pe(n.isTouch))("hideMenuIcons",pe(n.hideProjectMenuIcons))("showHorizontalMenuIcons",pe(n.showHorizontalMenuIcons))("menuItemsOrder",n.menuItemsOrder)}}function R6(e,t){e&1&&tn(0)}function P6(e,t){if(e&1&&(E(0,"div"),ae(1,R6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=x(),r=wn(1);w(),D("ngTemplateOutlet",r)("ngTemplateOutletContext",ut(2,rf,i._getContextData(n,!i._isSubscribed(n),i._isDisabled(n),i._isClickable(n),i.menuActiveItem===n.action)))}}function F6(e,t){e&1&&tn(0)}function V6(e,t){if(e&1&&(E(0,"div"),ae(1,F6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=x(),r=wn(1);w(),D("ngTemplateOutlet",r)("ngTemplateOutletContext",ut(2,rf,i._getContextData(n,i.footerActiveItem===n.action,i._isDisabled(n),!0,!1)))}}var he={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn",PORTAL_TRY_BIMPLUS_PRO_BTN:"portalTryBimplusProBtn"},zl=(()=>{let t=class t extends Qe{constructor(){super(),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.tryBimplusProVisible=!1,this.cloudviewerVisible=!0,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new J,this.bimplusMainMenuOverlayClicked=new J,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:he.PORTAL_BIM_USERS,type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:he.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:he.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:he.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:he.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:he.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:he.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"BIM Explorer",textIdDisabled:"BIM Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:he.PORTAL_CLOUD_VIEWER_BTN,type:"",class:"bim-mm-icon-cloud-viewer",textId:"Model Viewer",textIdDisabled:"Model Viewer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:he.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:he.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:he.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:he.PORTAL_TEAM_MANAGEMENT_BTN,type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:he.PORTAL_PROPERTY_MANAGER_BTN,type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"",id:he.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:he.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:he.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:he.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:he.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}get apps(){let i=this.appsList.slice().sort((r,o)=>this.appsOrder.indexOf(r.id)-this.appsOrder.indexOf(o.id));return this.connexisVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_CONNEXIS_BTN)),this.cloudviewerVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_CLOUD_VIEWER_BTN)),this.autoconverterVisible||(i=i.filter(({id:r})=>r!==he.PORTAL_BIM_AUTOCONVERTER_BTN)),this.teammembersDisabled&&(i=i.filter(({id:r})=>r!==he.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(i=i.filter(({id:r})=>r!==he.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(i=i.filter(({id:r})=>r!==he.PORTAL_PROPERTY_MANAGER_BTN&&r!==he.PORTAL_BIM_PROCESSES)),i}get footerList(){let i=this._menuFooterList.filter(r=>this._isSubscribed(r)&&!this._isHidden(r));return(this.teammembersDisabled||!this.isTouch)&&(i=i.filter(({id:r})=>r!==he.DIVIDERAPPS)),this.getYourTeamVisible?i.filter(({id:r})=>r!==he.DIVIDERAPPS):i.filter(({id:r})=>r!==he.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(i){if(i.checkSubscription){let r=`${i.action}Subscribed`;return!!this[r]}return!0}_isClickable(i){return i.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){let r=`${i.action}Disabled`;return!!this[r]}_getContextData(i,r,o,a,c){return{item:i,active:r,disabled:o,clickable:a,selected:c,showInfoIcon:this.appsWithInfo.includes(i.id)}}_overlayClicked(){me(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),r!="info"&&this._isDisabled(i))return;let a=i.action;me(this,"bimplusMainMenuClicked",{action:a,type:r})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],isIpadApp:[2,"isIpadApp","isIpadApp",M],isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",M],showOverlay:[2,"showOverlay","showOverlay",M],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",M],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",M],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",M],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",M],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",M],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",M],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",M],connexisDisabled:[2,"connexisDisabled","connexisDisabled",M],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",M],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",M],shopDisabled:[2,"shopDisabled","shopDisabled",M],addinsDisabled:[2,"addinsDisabled","addinsDisabled",M],openProjectVisible:[2,"openProjectVisible","openProjectVisible",M],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",M],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",M],connexisVisible:[2,"connexisVisible","connexisVisible",M],teammembersVisible:[2,"teammembersVisible","teammembersVisible",M],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",M],shopVisible:[2,"shopVisible","shopVisible",M],addinsVisible:[2,"addinsVisible","addinsVisible",M],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",M],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",M],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",M],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",M],cloudviewerVisible:[2,"cloudviewerVisible","cloudviewerVisible",M],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[Fe([Se]),Ze,Bt],decls:11,vars:6,consts:[["appNavigationItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,o){if(r&1){let a=Ee();ae(0,A6,2,1,"ng-template",null,0,xr),E(2,"div",1),F("click",function(){return B(a),U(o._overlayClicked())})("keypress",function(){return B(a),U(o._overlayClicked())}),E(3,"div",2),ke(4,L6,1,4,"ng-container"),ke(5,O6,1,39,"lib-bimplus-project-menu",3),E(6,"div",4)(7,"div",5),ae(8,P6,2,4,"div",6),T(),E(9,"div",7),ae(10,V6,2,4,"div",6),T()()()()}r&2&&(w(2),D("ngClass",o.showOverlay?"bim-mm-overlay":""),w(2),Ae(o._isHidden(o._openPrjBtn)?-1:4),w(),Ae(o.bimplusProjectMenuVisible?5:-1),w(),D("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),w(2),D("ngForOf",o.apps),w(2),D("ngForOf",o.footerList))},dependencies:[fe,je,ht,Go,Ne,Ul,qe],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/@bimplus/navigation/assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
|
|
12
|
-
`],encapsulation:3});let e=t;return e})();var os=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(os||{});var j6=(e,t,n,i,r)=>({"model-viewer":e,"model-viewer-black":t,"connexis-viewer":n,"connexis-viewer-black":i,"burger-menu-not-visible":r}),H6=(e,t,n)=>({active:e,hidden:t,disabled:n}),B6=e=>({hidden:e});function U6(e,t){e&1&&(E(0,"span"),X(1,"\xA0\xA0 -\xA0\xA0"),T())}var $l=(()=>{let t=class t extends Qe{constructor(){super(...arguments),this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this.logoState=zo(os.BimplusViewer),this.isModelViewerActive=zo(!1,{transform:M}),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.bimplusNavbarClicked=new J,this.LogoState=os,this.logoTooltipSignal=El(()=>this.isModelViewerActive()?"_Open_new_file":this.isDashboardTooltipEnabled?"_dashboard_tooltip":""),this.logoStateSignal=El(()=>this.isModelViewerActive()?os.ModelViewerBlack:this.logoState())}_menuClicked(){this.isNavbarMenuEnabled&&
|
|
13
|
-
`],encapsulation:3});let e=t;return e})();function z6(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Vi=z6;var $6=typeof global=="object"&&global&&global.Object===Object&&global,zg=$6;var Z6=typeof self=="object"&&self&&self.Object===Object&&self,W6=zg||Z6||Function("return this")(),Zl=W6;var G6=function(){return Zl.Date.now()},Wl=G6;var Y6=/\s/;function q6(e){for(var t=e.length;t--&&Y6.test(e.charAt(t)););return t}var $g=q6;var Q6=/^\s+/;function X6(e){return e&&e.slice(0,$g(e)+1).replace(Q6,"")}var Zg=X6;var K6=Zl.Symbol,Lr=K6;var Wg=Object.prototype,J6=Wg.hasOwnProperty,e7=Wg.toString,ss=Lr?Lr.toStringTag:void 0;function t7(e){var t=J6.call(e,ss),n=e[ss];try{e[ss]=void 0;var i=!0}catch{}var r=e7.call(e);return i&&(t?e[ss]=n:delete e[ss]),r}var Gg=t7;var n7=Object.prototype,i7=n7.toString;function r7(e){return i7.call(e)}var Yg=r7;var o7="[object Null]",s7="[object Undefined]",qg=Lr?Lr.toStringTag:void 0;function a7(e){return e==null?e===void 0?s7:o7:qg&&qg in Object(e)?Gg(e):Yg(e)}var Qg=a7;function l7(e){return e!=null&&typeof e=="object"}var Xg=l7;var c7="[object Symbol]";function u7(e){return typeof e=="symbol"||Xg(e)&&Qg(e)==c7}var Kg=u7;var Jg=NaN,d7=/^[-+]0x[0-9a-f]+$/i,p7=/^0b[01]+$/i,f7=/^0o[0-7]+$/i,m7=parseInt;function h7(e){if(typeof e=="number")return e;if(Kg(e))return Jg;if(Vi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Vi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Zg(e);var n=p7.test(e);return n||f7.test(e)?m7(e.slice(2),n?2:8):d7.test(e)?Jg:+e}var of=h7;var g7="Expected a function",v7=Math.max,b7=Math.min;function y7(e,t,n){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(g7);t=of(t)||0,Vi(n)&&(h=!!n.leading,g="maxWait"in n,o=g?v7(of(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function b(N){var ve=i,ne=r;return i=r=void 0,f=N,a=e.apply(ne,ve),a}function _(N){return f=N,c=setTimeout(I,t),h?b(N):a}function A(N){var ve=N-d,ne=N-f,Mn=t-ve;return g?b7(Mn,o-ne):Mn}function k(N){var ve=N-d,ne=N-f;return d===void 0||ve>=t||ve<0||g&&ne>=o}function I(){var N=Wl();if(k(N))return Z(N);c=setTimeout(I,A(N))}function Z(N){return c=void 0,y&&i?b(N):(i=r=void 0,a)}function He(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ce(){return c===void 0?a:Z(Wl())}function Ce(){var N=Wl(),ve=k(N);if(i=arguments,r=this,d=N,ve){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,t),b(d)}return c===void 0&&(c=setTimeout(I,t)),a}return Ce.cancel=He,Ce.flush=ce,Ce}var Or=y7;var _7="Expected a function";function C7(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(_7);return Vi(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Or(e,t,{leading:i,maxWait:t,trailing:r})}var e2=C7;var Pr=function(){return Pr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Pr.apply(this,arguments)};function i2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function r2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var o2=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,r){var o=r.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(r.value){case"true":i[a]=!0;break;case"false":i[a]=!1;break;case void 0:i[a]=!0;break;default:i[a]=r.value}}return i},t);return n};function s2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function a2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function l2(e){return".".concat(e.split(" ").join("."))}var af=!!(typeof window<"u"&&window.document&&window.document.createElement),w7=Object.freeze({__proto__:null,addClasses:s2,canUseDOM:af,classNamesToQuery:l2,getElementDocument:r2,getElementWindow:i2,getOptions:o2,removeClasses:a2}),Rr=null,t2=null;af&&window.addEventListener("resize",function(){t2!==window.devicePixelRatio&&(t2=window.devicePixelRatio,Rr=null)});function n2(){if(Rr===null){if(typeof document>"u")return Rr=0,Rr;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Rr=n}return Rr}var Xn=i2,sf=r2,D7=o2,Kn=s2,Jn=a2,gt=l2,as=(function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=Xn(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,Kn(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){Jn(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(Kn(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Jn(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var o,a;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(o=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(a=i.isWithinBounds(i.axis.y.track.rect)),(o||a)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(o&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),a&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var o,a,c,d,f,h,g,y,b,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Z=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,He=i.axis[i.draggedAxis].scrollbar,ce=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ce=parseInt((h=(f=i.elStyles)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?k=r.pageY:k=r.pageX;var N=k-((y=(g=I.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;N=i.draggedAxis==="x"&&i.isRtl?((_=(b=I.rect)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-He.size-N:N;var ve=N/(Z-He.size),ne=ve*(ce-Ce);i.draggedAxis==="x"&&i.isRtl&&(ne=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-ne:ne),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ne}},this.onEndDrag=function(r){i.isDragging=!1;var o=sf(i.el),a=Xn(i.el);r.preventDefault(),r.stopPropagation(),Jn(i.el,i.classNames.dragging),i.onStopScrolling(),o.removeEventListener("mousemove",i.drag,!0),o.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",i.preventClick,!0),o.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Pr(Pr({},e.defaultOptions),n),this.classNames=Pr(Pr({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=e2(this._onMouseMove,64),this.onWindowResize=Or(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Or(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Or(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n?.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),o=e.getOffset(i);n.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:n2()}catch{return n2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=sf(t),r=Xn(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){af&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(gt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(gt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(gt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(gt(this.classNames.offset)),this.maskEl=this.el.querySelector(gt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,gt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(gt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(gt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(gt(this.classNames.track)).concat(gt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(gt(this.classNames.track)).concat(gt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(gt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(gt(this.classNames.scrollbar)))||null,this.options.autoHide||(Kn(this.axis.x.scrollbar.el,this.classNames.visible),Kn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=Xn(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,o=i.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Xn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,f=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&f>n,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,y=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&f>o-y,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],o=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,a=o/r,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,i,r;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];f=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,t==="x"&&this.isRtl&&(f=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?f:-f);var h=f/(a-d),g=~~((c-o.size)*h);g=t==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Kn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Jn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),Kn(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Kn(n.scrollbar.el,this.classNames.hover):Jn(n.scrollbar.el,this.classNames.hover)):(Jn(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Jn(this.axis[t].track.el,this.classNames.hover),Jn(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y"),this.isDragging=!0;var r=sf(this.el),o=Xn(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,Kn(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,r,o,a,c;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var f=Xn(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),b=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?b-y:b+y,I=40,Z=function(){i.contentWrapperEl&&(A===-1?b>k&&(b-=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)):b<k&&(b+=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Xn(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=D7,e.helpers=w7,e})();var cf=function(e,t){return cf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},cf(e,t)};function E7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");cf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var uf=as.helpers,lf=uf.getOptions,Tt=uf.addClasses,x7=uf.canUseDOM,df=(function(e){E7(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!t.instances.has(n)&&new t(n,lf(n.attributes))})},t.removeObserver=function(){var n;(n=t.globalObserver)===null||n===void 0||n.disconnect()},t.prototype.initDOM=function(){var n=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(n.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Tt(this.wrapperEl,this.classNames.wrapper),Tt(this.contentWrapperEl,this.classNames.contentWrapper),Tt(this.offsetEl,this.classNames.offset),Tt(this.maskEl,this.classNames.mask),Tt(this.contentEl,this.classNames.contentEl),Tt(this.placeholderEl,this.classNames.placeholder),Tt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Tt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");Tt(a,this.classNames.track),Tt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),Tt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),Tt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}as.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){as.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(n){n.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,lf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!t.instances.has(o)&&document.documentElement.contains(o)&&new t(o,lf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=t.instances.get(r))===null||o===void 0||o.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=t.instances.get(a))===null||c===void 0||c.unMount())}))})})},t.instances=new WeakMap,t})(as);x7&&df.initHtmlApi();var M7=["*"],Gl=(()=>{let t=class t{constructor(){this.elementRef=R(Zn),this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let i=this._element?.querySelector(this._scrollableContainerClassName);if(!i){console.error("No scrollable container found in the element.");return}this._simpleBar=new df(i)}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){if(!(!this._element||!this._element?.querySelector(this._scrollableContainerClassName))){if(!this._simpleBar){console.error("No scrollable container found in the element.");return}this._simpleBar.recalculate()}}ngAfterViewChecked(){this._recalculateScrollbar()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-scrollable-container"]],ngContentSelectors:M7,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(r,o){r&1&&(mp(),_n(0,"div",0),hp(1),Cn())},styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.scrollable-container{height:100%;max-height:100%;padding-right:var(--scrollable-container-paddin-right, .8rem)}
|
|
14
|
-
`],encapsulation:2});let e=t;return e})();var c2=e=>({capitalize:e}),u2=e=>[e];function I7(e,t){if(e&1){let n=Ee();E(0,"div",22),F("click",function(){let r=B(n).index,o=x(2).$implicit,a=x(2);return U(a._messageAction(o,r))})("keypress",function(){let r=B(n).index,o=x(2).$implicit,a=x(2);return U(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x(2);D("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function S7(e,t){if(e&1&&ae(0,I7,2,2,"div",21),e&2){let n=x().$implicit,i=x(2);D("ngForOf",n.linkText.constructor===i.Array?n.linkText:ut(1,u2,n.linkText))}}function T7(e,t){if(e&1){let n=Ee();E(0,"div",14)(1,"div",15),re(2,"div",16),E(3,"div",17),X(4),T(),E(5,"div",18),F("click",function(r){let o=B(n).$implicit,a=x(2);return U(a._closeMessage(o,!1,r))})("keypress",function(r){let o=B(n).$implicit,a=x(2);return U(a._closeMessage(o,!1,r))}),T()(),E(6,"div",19),X(7),T(),ke(8,S7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),D("ngClass","message-item-icon-"+n.type),w(),D("ngClass",ut(5,c2,n.capitalizedTitle)),w(),xe(" ",n.title," "),w(3),Ke(n.text),w(),Ae(n.linkText?8:-1)}}function k7(e,t){if(e&1&&(E(0,"lib-bimplus-scrollable-container"),ae(1,T7,9,7,"div",13),T()),e&2){let n=x();w(),D("ngForOf",n._messagesList)}}function A7(e,t){e&1&&(E(0,"div",9),re(1,"div",23),E(2,"div",24),X(3),ye(4,"translate"),T()()),e&2&&(w(3),Ke(_e(4,1,"_Notify_No_Messages")))}function N7(e,t){if(e&1){let n=Ee();E(0,"div",22),F("click",function(){let r=B(n).index,o=x(2).$implicit,a=x();return U(a._messageAction(o,r))})("keypress",function(){let r=B(n).index,o=x(2).$implicit,a=x();return U(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x();D("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function L7(e,t){if(e&1&&ae(0,N7,2,2,"div",21),e&2){let n=x().$implicit,i=x();D("ngForOf",n.linkText.constructor===i.Array?n.linkText:ut(1,u2,n.linkText))}}function O7(e,t){if(e&1){let n=Ee();E(0,"div",14)(1,"div",15),re(2,"div",16),E(3,"div",17),X(4),T(),E(5,"div",18),F("click",function(r){let o=B(n).$implicit,a=x();return U(a._closeMessage(o,!0,r))})("keypress",function(r){let o=B(n).$implicit,a=x();return U(a._closeMessage(o,!0,r))}),T()(),E(6,"div",19),X(7),T(),ke(8,L7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),D("ngClass","message-item-icon-"+n.type),w(),D("ngClass",ut(5,c2,n.capitalizedTitle)),w(),xe(" ",n.title," "),w(3),xe(" ",n.text," "),w(),Ae(n.linkText?8:-1)}}var Yl="bimplus-notify-messages",ql=(()=>{let t=class t extends Qe{constructor(){super(),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new J,this.bimplusNotifyDeleteAllMessages=new J,this.bimplusNotifyMessageAction=new J}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(i){if(i.messages){let r=i.messages.currentValue;this.updateMessages(r)}}updateMessages(i){if(!(i&&typeof i=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let o=JSON.parse(i);this._messagesList=o.messages;let a=this._messagesList.filter(c=>this._oldMessagesList.findIndex(d=>d.id===c.id)<0);a=a.filter(c=>this._messageNotReadYet(c)),a.slice().reverse().forEach(c=>{this._previewMessagesList.findIndex(d=>c.id===d.id)<0&&(this._previewMessagesList.unshift(c),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(c.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}_closeMessage(i,r,o){if(r)return this._closePreviewMessage(i.id);o&&(o.stopPropagation(),o.preventDefault()),me(this,"bimplusNotifyDeleteMessage",JSON.stringify(i))}_closePreviewMessage(i,r=!0){i&&(this._previewMessagesList=this._previewMessagesList.filter(o=>o.id!==i),this.storeMessagesAsRead([i]),r&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){me(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(i,r){i.actionId=r,me(this,"bimplusNotifyMessageAction",JSON.stringify(i))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(i){if(!i?.id)return!0;let r=window.localStorage.getItem(Yl);return r?!r.includes(i.id):!0}storeMessagesAsRead(i){if(!i||i.length<1)return;let r=window.localStorage.getItem(Yl);r??="",i.forEach(o=>{r?.includes(o)||(r+=o+";")}),window.localStorage.setItem(Yl,r)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Yl)}_getItemLinkTitle(i,r){let o=[];return i.linkText&&(i.links||i.link)&&(o=Array.isArray(i.links)?i.links:[i.link]),o[r]??""}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(r,o){r&2&&wl("new-messages",o.newMessages)("bim-notify",o.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",M],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},features:[Fe([Se]),Ze,Bt],decls:19,vars:16,consts:[[1,"dropdown",3,"click","keypress","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click","keypress"],[1,"messages-container"],[1,"message-item-empty"],[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click","keypress"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click","keypress",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","keypress","title"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(r,o){r&1&&(E(0,"div",0),ye(1,"translate"),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",1),re(3,"div",2),T(),E(4,"div",3),re(5,"div",4),E(6,"div",5)(7,"div",6),X(8),T(),E(9,"div",7),F("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),X(10),ye(11,"translate"),T()(),E(12,"div",8),ke(13,k7,2,1,"lib-bimplus-scrollable-container")(14,A7,5,3,"div",9),T()()(),E(15,"div",10),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(16,"div",11)(17,"div",12),ae(18,O7,9,7,"div",13),T()()),r&2&&(D("ngClass",o._menuOpened?"open":"")("title",_e(1,12,"_BimplusNotifyTitle")),w(3),D("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),w(),D("ngClass",o._menuOpened?"open":""),w(4),xe(" (",o._messagesList.length,") "),w(2),xe(" ",_e(11,14,"_Notify_Mark_All")," "),w(3),Ae(o._messagesList.length?13:14),w(2),D("ngClass",o._menuOpened?"open":""),w(),Gn("top",o.previewMessagesOffsetY),D("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),w(2),D("ngForOf",o._previewMessagesList))},dependencies:[fe,je,ht,Ne,Gl,qe],styles:[`.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--notify-message-title-text-color-enabled);background-color:var(--notify-message-title-background-color-enabled)}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:var(--notify-dropdown-menu-item-background-color-hovered)}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:var(--notify-messages-container-background-color-enabled);border:thin solid var(--notify-messages-container-border-color-enabled);-webkit-box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);text-decoration-color:var(--notify-messages-container-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid var(--notify-message-item-border-color-enabled);padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:var(--text-link-color-default);text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container{position:relative;display:flex;flex:1 1 auto}.bim-notify .messages-container lib-bimplus-scrollable-container{max-height:100%;min-width:100%}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:var(--notify-message-item-background-color-enabled);border:thin solid var(--notify-message-item-border-color-enabled);-webkit-box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg")}
|
|
15
|
-
`],encapsulation:2});let e=t;return e})();var R7=(e,t,n)=>({red:e,yellow:t,green:n}),Ql=(()=>{let t=class t extends Qe{constructor(){super(),this.usedStorage=zo(0),this.bimplusStorageInfoClicked=new J}_infoClicked(i){
|
|
16
|
-
`],encapsulation:3});let e=t;return e})();var Xl=(()=>{let t=class t extends Qe{constructor(){super(),this.defaultShopUrl="https://www.bimplus.net/",this.shopUrl=this.defaultShopUrl,this.country="",this.isTouch=!1,this.bimplusUpgradeLinkClicked=new J}_getLangParamValue(i){let o={en:"1",fr:"2",de:"3",cs:"1",es:"1",it:"1",ru:"1",ro:"1",tr:"1"}[i];return`&lang=${o||"1"}`}_getCountryIsoParam(i){let o={en:"gb",us:"us",fr:"fr",de:"de",cs:"cz",es:"es",it:"it",ru:"ru",ro:"ro",tr:"tr"}[i];return o?`&ap_country_iso=${o}`:""}_linkClicked(){let i=this.shopUrl||this.defaultShopUrl;console.debug("Opening upgrade to Bimplus link"),window.open(i,"_blank"),
|
|
17
|
-
`],encapsulation:3});let e=t;return e})();var P7=(e,t)=>({open:e,"is-touch":t}),F7=e=>({open:e}),V7=e=>({selected:e});function j7(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._menuItemClicked(r.mode))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._menuItemClicked(r.mode))}),re(1,"div",8),E(2,"span"),X(3),ye(4,"translate"),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",ut(5,V7,i.selectedMode===n.mode)),w(),D("ngClass",n.class),w(2),Ke(_e(4,3,n.textId))}}var Kl=(()=>{let t=class t extends Qe{constructor(){super(),this._menuItemsList=[{mode:"touch",class:"icon-touch-mode-toolbar",textId:"_Touch_Mode"},{mode:"desktop",class:"icon-desktop-mode-toolbar",textId:"_Desktop_Mode"}],this._menuOpened=!1,this.isTouch=!1,this.selectedMode="desktop",this.bimplusTouchModeSelected=new J}get _selectedItem(){return this._menuItemsList.find(i=>i.mode==this.selectedMode)}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i){
|
|
18
|
-
`],encapsulation:3});let e=t;return e})();var H7=(e,t,n)=>({divider:e,languageMenuItem:t,"submenu-hidden":n});function B7(e,t){if(e&1&&X(0),e&2){let n=x();xe(" ",n.userName," ")}}function U7(e,t){if(e&1){let n=Ee();E(0,"div",17),F("click",function(){let r=B(n).$implicit,o=x(4);return U(o._switchLanguage(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x(4);return U(o._switchLanguage(r.symbol))}),X(1),T()}if(e&2){let n=t.$implicit,i=x(4);D("id",pe(i._getLangId(n)))("ngClass",n.symbol===i.selectedLanguage?"selected":""),yn("key",i._getLangId(n)),w(),xe(" ",n.text," ")}}function z7(e,t){if(e&1&&(re(0,"div",11)(1,"div",12),E(2,"span",13),X(3),ye(4,"translate"),T(),E(5,"div",14)(6,"div",15),ae(7,U7,2,5,"div",16),T()()),e&2){let n=x(2).$implicit,i=x();w(),D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(4,5,n.textId)," "),w(2),D("ngClass",i._languagesMenuOpened?"open":""),w(2),D("ngForOf",i._languagesList)}}function $7(e,t){if(e&1&&(re(0,"div",12),E(1,"span",13),X(2),ye(3,"translate"),T()),e&2){let n=x(2).$implicit;D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(3,3,n.textId)," ")}}function Z7(e,t){if(e&1&&(E(0,"a",10),re(1,"div",12),E(2,"span",13),X(3),ye(4,"translate"),T()()),e&2){let n=x(2).$implicit,i=x();D("href",pe(i._buildUrl(n)),Cr),w(),D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(4,5,n.textId)," ")}}function W7(e,t){if(e&1){let n=Ee();E(0,"li",9),F("click",function(){B(n);let r=x(),o=r.$implicit,a=r.index,c=x();return U(c._menuItemClicked(o,a))})("keypress",function(){B(n);let r=x(),o=r.$implicit,a=r.index,c=x();return U(c._menuItemClicked(o,a))}),ke(1,z7,8,7)(2,$7,4,5)(3,Z7,5,7,"a",10),T()}if(e&2){let n=x().$implicit;D("ngClass",Dn(4,H7,n.type==="divider",n.action==="submenu",(!n.url||n.url.slice(0,2)==="#/")&&n.action!=="submenu")),yn("key",n.id)("role",n.type==="divider"?"separator":""),w(),Ae(n.action==="submenu"?1:!n.url||n.url.slice(0,2)==="#/"?2:!n.type||n.type!=="divider"?3:-1)}}function G7(e,t){if(e&1&&(jo(0),ae(1,W7,4,8,"li",8),Ho()),e&2){let n=t.$implicit;w(),D("ngIf",n)}}var Jl=(()=>{let t=class t extends Qe{constructor(){super(),this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina",lCode:"3"},{symbol:"de",text:"Deutsch",lCode:"1"},{symbol:"en",text:"English (UK)",lCode:"0"},{symbol:"us",text:"English (US)",lCode:void 0},{symbol:"es",text:"Espa\xF1ol",lCode:"18"},{symbol:"fr",text:"Fran\xE7ais",lCode:"4"},{symbol:"it",text:"Italiano",lCode:"2"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",lCode:"14"},{symbol:"ro",text:"Romana",lCode:void 0},{symbol:"tr",text:"T\xFCrk\xE7e",lCode:void 0}],this._menuOpened=!1,this._languagesMenuOpened=!1,this.accountSettingsVisible=!0,this.removeConnectedAppsVisible=!1,this.userGuideVisible=!0,this.contactFormVisible=!0,this.forumVisible=!0,this.releaseNotesVisible=!0,this.submenuVisible=!0,this.clearCacheVisible=!0,this.dividerLoggedInVisible=!0,this.logoutVisible=!0,this.isEmbedded=!1,this.isTouch=!1,this.allowRcaItem=!1,this.buttonTitle="",this.userName="Unknown user",this.userPhotoUrl="",this.userGuideLinkUrl="https://bimplus-help.allplan.com/welcome.htm",this.contactFormLinkUrl="https://www.allplan.com/info/contact",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new J,this.bimplusLanguageSelected=new J,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"contactFormLink",action:"contactForm",class:"icon-contact-form",textId:"_Contact_form",get url(){return this._url?.()??""},_url:()=>this.contactFormLinkUrl,queryParams:"",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"releaseNotesLink",action:"releaseNotes",class:"icon-release-notes",textId:"_Release_notes",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i,r){!i||i.type==="divider"||(i.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,me(this,"bimplusUserMenuClicked",{index:r,action:i.action?i.action:""})))}_switchLanguage(i){this._languagesMenuOpened=!1,this._menuOpened=!1,me(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(i){return i?!this[`${i.action?i.action:i.id}Visible`]:!1}_buildUrl(i){let r=i?.url,a=this._languagesList.find(d=>d.symbol===this.selectedLanguage)?.lCode,c=r?.endsWith?.(".ct")&&a;return(i?.queryParams||c)&&(r=r+"?",c&&(r=r+"L="+a,i?.queryParams&&(r=r+"&")),i?.queryParams&&(r=r+i.queryParams)),r}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(r=>{if(!(this._isHidden(r)||r.checkState&&!this[r.checkState]))return r})}_getLangId(i){return"portalLanguage"+i?.symbol.charAt(0).toUpperCase()+i?.symbol.slice(1)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",M],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",M],userGuideVisible:[2,"userGuideVisible","userGuideVisible",M],contactFormVisible:[2,"contactFormVisible","contactFormVisible",M],forumVisible:[2,"forumVisible","forumVisible",M],releaseNotesVisible:[2,"releaseNotesVisible","releaseNotesVisible",M],submenuVisible:[2,"submenuVisible","submenuVisible",M],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",M],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",M],logoutVisible:[2,"logoutVisible","logoutVisible",M],isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],allowRcaItem:[2,"allowRcaItem","allowRcaItem",M],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",contactFormLinkUrl:"contactFormLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},features:[Fe([Se]),Ze,Bt],decls:9,vars:12,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click","keypress",4,"ngIf"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],["class","languageSubmenuItem",3,"id","ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1)(2,"div",2),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),re(3,"img",3),E(4,"div",4),ke(5,B7,1,1),T(),re(6,"span",5),T(),E(7,"ul",6),ae(8,G7,2,1,"ng-container",7),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),yn("key","bimcompOverlay"),w(),D("ngClass",o._menuOpened?"open":""),yn("key","userMenu"),w(),D("title",o.buttonTitle?o.buttonTitle:""),w(),D("src",pe(o.userPhotoUrl?o.userPhotoUrl:""),Cr)("alt",pe(o.buttonTitle?o.buttonTitle:"")),w(2),Ae(o.isTouch?-1:5),w(2),D("ngClass",o._menuOpened?"open":""),w(),D("ngForOf",o._getMenuItems()))},dependencies:[fe,je,ht,Wo,Ne,qe],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Pic_Default.webp") no-repeat center}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .user-name{margin-left:.2em}.dropdown-toggle:hover{color:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-account-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/@bimplus/navigation/assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-contact-form{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact_From.svg") no-repeat center}.icon-forum{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Forum.svg") no-repeat center}.icon-release-notes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Release_Notes.svg") no-repeat center}.icon-clear-cache{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
19
|
-
`],encapsulation:3});let e=t;return e})();var Y7=(e,t)=>({open:e,"is-touch":t});function q7(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._switchZoom(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._switchZoom(r.symbol))}),E(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",i._getZoomClassObject(n.symbol)),w(2),Ke(n.text)}}var ec=(()=>{let t=class t{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new J}_switchZoom(i){
|
|
20
|
-
`],encapsulation:3});let e=t;return e})();var d2=(()=>{class e{http;prefix;suffix;constructor(n,i="/assets/i18n/",r=".json"){this.http=n,this.prefix=i,this.suffix=r}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}static \u0275fac=function(i){return new(i||e)(j(kr),j(String),j(String))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var p2=(()=>{let t=class t{constructor(){this.defaultLang="en",this.currentLanguage$=new kn(this.defaultLang),this.currentLanguageStrings$=new kn({}),this._languageFilesUri="/assets"}set languageFilesUri(i){this._languageFilesUri=i}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(i){this.currentLanguageStrings$.next(i)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(i){return Zt(this,null,function*(){this.currentLanguage$.next(i),yield this.fetchLanguageStrings(i)})}extractLocalizedStrings(i){let r={};for(let[o,a]of Object.entries(this.currentLanguageStrings))typeof a=="string"&&i.find(c=>c===o)&&(r[o]=a);return r}fetchLanguageStrings(i){return Zt(this,null,function*(){let r=yield fetch(`${this._languageFilesUri}/strings_${i}.json`);console.log(`Language strings loaded from: ${this._languageFilesUri}/strings_${i}.json`),console.log(r);let o=yield r.json();if(i!==this.defaultLang){let c=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),d=c&&Object.keys(c);if(d?.length)for(let f in d){let h=d[f];o[h]??=c[h]}}this.currentLanguageStrings$.next(o)})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function pf(e){e||(e=R(Ei));let t=new oe(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(ru(t))}function Q7(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ji=Q7;var X7=typeof global=="object"&&global&&global.Object===Object&&global,f2=X7;var K7=typeof self=="object"&&self&&self.Object===Object&&self,J7=f2||K7||Function("return this")(),tc=J7;var ew=function(){return tc.Date.now()},nc=ew;var tw=/\s/;function nw(e){for(var t=e.length;t--&&tw.test(e.charAt(t)););return t}var m2=nw;var iw=/^\s+/;function rw(e){return e&&e.slice(0,m2(e)+1).replace(iw,"")}var h2=rw;var ow=tc.Symbol,Fr=ow;var g2=Object.prototype,sw=g2.hasOwnProperty,aw=g2.toString,ls=Fr?Fr.toStringTag:void 0;function lw(e){var t=sw.call(e,ls),n=e[ls];try{e[ls]=void 0;var i=!0}catch{}var r=aw.call(e);return i&&(t?e[ls]=n:delete e[ls]),r}var v2=lw;var cw=Object.prototype,uw=cw.toString;function dw(e){return uw.call(e)}var b2=dw;var pw="[object Null]",fw="[object Undefined]",y2=Fr?Fr.toStringTag:void 0;function mw(e){return e==null?e===void 0?fw:pw:y2&&y2 in Object(e)?v2(e):b2(e)}var _2=mw;function hw(e){return e!=null&&typeof e=="object"}var C2=hw;var gw="[object Symbol]";function vw(e){return typeof e=="symbol"||C2(e)&&_2(e)==gw}var w2=vw;var D2=NaN,bw=/^[-+]0x[0-9a-f]+$/i,yw=/^0b[01]+$/i,_w=/^0o[0-7]+$/i,Cw=parseInt;function ww(e){if(typeof e=="number")return e;if(w2(e))return D2;if(ji(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ji(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=h2(e);var n=yw.test(e);return n||_w.test(e)?Cw(e.slice(2),n?2:8):bw.test(e)?D2:+e}var ff=ww;var Dw="Expected a function",Ew=Math.max,xw=Math.min;function Mw(e,t,n){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(Dw);t=ff(t)||0,ji(n)&&(h=!!n.leading,g="maxWait"in n,o=g?Ew(ff(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function b(N){var ve=i,ne=r;return i=r=void 0,f=N,a=e.apply(ne,ve),a}function _(N){return f=N,c=setTimeout(I,t),h?b(N):a}function A(N){var ve=N-d,ne=N-f,Mn=t-ve;return g?xw(Mn,o-ne):Mn}function k(N){var ve=N-d,ne=N-f;return d===void 0||ve>=t||ve<0||g&&ne>=o}function I(){var N=nc();if(k(N))return Z(N);c=setTimeout(I,A(N))}function Z(N){return c=void 0,y&&i?b(N):(i=r=void 0,a)}function He(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ce(){return c===void 0?a:Z(nc())}function Ce(){var N=nc(),ve=k(N);if(i=arguments,r=this,d=N,ve){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,t),b(d)}return c===void 0&&(c=setTimeout(I,t)),a}return Ce.cancel=He,Ce.flush=ce,Ce}var Vr=Mw;var Iw="Expected a function";function Sw(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(Iw);return ji(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Vr(e,t,{leading:i,maxWait:t,trailing:r})}var E2=Sw;var Hr=function(){return Hr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Hr.apply(this,arguments)};function I2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function S2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var T2=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,r){var o=r.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(r.value){case"true":i[a]=!0;break;case"false":i[a]=!1;break;case void 0:i[a]=!0;break;default:i[a]=r.value}}return i},t);return n};function k2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function A2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function N2(e){return".".concat(e.split(" ").join("."))}var hf=!!(typeof window<"u"&&window.document&&window.document.createElement),Tw=Object.freeze({__proto__:null,addClasses:k2,canUseDOM:hf,classNamesToQuery:N2,getElementDocument:S2,getElementWindow:I2,getOptions:T2,removeClasses:A2}),jr=null,x2=null;hf&&window.addEventListener("resize",function(){x2!==window.devicePixelRatio&&(x2=window.devicePixelRatio,jr=null)});function M2(){if(jr===null){if(typeof document>"u")return jr=0,jr;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),jr=n}return jr}var ei=I2,mf=S2,kw=T2,ti=k2,ni=A2,vt=N2,cs=(function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=ei(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,ti(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){ni(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(ti(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ni(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var o,a;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(o=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(a=i.isWithinBounds(i.axis.y.track.rect)),(o||a)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(o&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),a&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var o,a,c,d,f,h,g,y,b,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Z=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,He=i.axis[i.draggedAxis].scrollbar,ce=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ce=parseInt((h=(f=i.elStyles)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?k=r.pageY:k=r.pageX;var N=k-((y=(g=I.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;N=i.draggedAxis==="x"&&i.isRtl?((_=(b=I.rect)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-He.size-N:N;var ve=N/(Z-He.size),ne=ve*(ce-Ce);i.draggedAxis==="x"&&i.isRtl&&(ne=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-ne:ne),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ne}},this.onEndDrag=function(r){i.isDragging=!1;var o=mf(i.el),a=ei(i.el);r.preventDefault(),r.stopPropagation(),ni(i.el,i.classNames.dragging),i.onStopScrolling(),o.removeEventListener("mousemove",i.drag,!0),o.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",i.preventClick,!0),o.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Hr(Hr({},e.defaultOptions),n),this.classNames=Hr(Hr({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=E2(this._onMouseMove,64),this.onWindowResize=Vr(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Vr(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Vr(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n?.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),o=e.getOffset(i);n.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:M2()}catch{return M2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=mf(t),r=ei(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){hf&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(vt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(vt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(vt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(vt(this.classNames.offset)),this.maskEl=this.el.querySelector(vt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,vt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(vt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(vt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(vt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(vt(this.classNames.scrollbar)))||null,this.options.autoHide||(ti(this.axis.x.scrollbar.el,this.classNames.visible),ti(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=ei(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,o=i.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=ei(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,f=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&f>n,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,y=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&f>o-y,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],o=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,a=o/r,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,i,r;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];f=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,t==="x"&&this.isRtl&&(f=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?f:-f);var h=f/(a-d),g=~~((c-o.size)*h);g=t==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(ti(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(ni(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),ti(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?ti(n.scrollbar.el,this.classNames.hover):ni(n.scrollbar.el,this.classNames.hover)):(ni(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),ni(this.axis[t].track.el,this.classNames.hover),ni(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y"),this.isDragging=!0;var r=mf(this.el),o=ei(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,ti(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,r,o,a,c;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var f=ei(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),b=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?b-y:b+y,I=40,Z=function(){i.contentWrapperEl&&(A===-1?b>k&&(b-=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)):b<k&&(b+=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ei(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=kw,e.helpers=Tw,e})();var vf=function(e,t){return vf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},vf(e,t)};function Aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var bf=cs.helpers,gf=bf.getOptions,kt=bf.addClasses,Nw=bf.canUseDOM,L2=(function(e){Aw(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!t.instances.has(n)&&new t(n,gf(n.attributes))})},t.removeObserver=function(){var n;(n=t.globalObserver)===null||n===void 0||n.disconnect()},t.prototype.initDOM=function(){var n=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(n.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),kt(this.wrapperEl,this.classNames.wrapper),kt(this.contentWrapperEl,this.classNames.contentWrapper),kt(this.offsetEl,this.classNames.offset),kt(this.maskEl,this.classNames.mask),kt(this.contentEl,this.classNames.contentEl),kt(this.placeholderEl,this.classNames.placeholder),kt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),kt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");kt(a,this.classNames.track),kt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),kt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),kt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}cs.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){cs.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(n){n.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,gf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!t.instances.has(o)&&document.documentElement.contains(o)&&new t(o,gf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=t.instances.get(r))===null||o===void 0||o.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=t.instances.get(a))===null||c===void 0||c.unMount())}))})})},t.instances=new WeakMap,t})(cs);Nw&&L2.initHtmlApi();var yf=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(yf||{});var R2=$y(O2());function Lw(e,t){if(e&1){let n=Ee();E(0,"lib-bimplus-main-menu",11),F("bimplusMainMenuClicked",function(r){B(n);let o=x();return U(o.bimplusMainMenuClicked(r))})("bimplusMainMenuOverlayClicked",function(){B(n);let r=x();return U(r.bimplusMainMenuOverlayClicked())}),T()}if(e&2){let n=x();D("selectedLanguage",n.languageStringsService.currentLanguage)("localizedStrings",n.languageStringsService.currentLanguageStrings)("isTouch",n.isTouch)("showHorizontalMenuIcons",n.isTouch)("appsWithInfo",n.appsWithInfo)("appsOrder",n.appsOrder)("menuItemsOrder",n.menuItemsOrder)}}var P2=(()=>{let t=class t{constructor(){this.translateService=R(Se),this.languageStringsService=R(p2),this.logoState=yf.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuData=[],this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.activeTab=Un("object-properties"),this.languageStringsService.currentLanguage$.pipe(pf()).subscribe({next:i=>{this.translateService.use(i),R2.default.locale(i)}}),this.languageStringsService.currentLanguageStrings$.pipe(pf()).subscribe({next:i=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,i)}})}log(i,r,o,a){let c=typeof r?.detail=="object"?JSON.stringify(r?.detail):r?.detail,d=`EVENT : ${i}. `+(o?`INDEX: ${r?.detail?.index} ACTION: ${r?.detail?.action}`:`VALUE: ${c}`);(a?()=>window.alert(d):()=>console.log(d))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:i=>{this.log("Navbar clicked",i),i?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages()}bimplusLanguageSelected(i){this.log("bimplusLanguageSelected",{detail:i}),this._switchLanguage(i)}_switchLanguage(i){i&&this.languageStringsService.setCurrentLanguage(i)}bimplusUserMenuClicked(i){this.log("bimplusUserMenuClicked",i,!0)}bimplusTouchModeSelected(i){this.log("bimplusTouchModeSelected",{detail:i}),this.isTouch=i==="touch"}bimplusMainMenuClicked(i){this.log("bimplusMainMenuClicked",{detail:i},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(i){this.log("bimplusStorageInfoClicked",{detail:i},!1,!0)}bimplusUpgradeLinkClicked(i){this.log("bimplusUpgradeLinkClicked",{detail:i},!1,!0)}bimplusContactClicked(i){this.log("bimplusContactClicked",{detail:i},!1,!0)}bimplusZoomSelected(i){this.log("bimplusZoomSelected",{detail:i}),this.selectedZoom=i;let r=62.5*(Number(i)/100),o=document.querySelector("html");o&&(o.style.fontSize=r+"%")}bimplusNotifyDeleteMessage(i){let r=JSON.parse(i),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(a=>a.id!==r.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(i){this.log("This is notify message action handler",{detail:i},!1,!0)}initLanguage(){this.languageStringsService.languageFilesUri="/assets/@bimplus/navigation/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=le({type:t,selectors:[["app-root"]],features:[Fe([])],decls:11,vars:22,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"logoState","isNavbarMenuVisible","isNavbarMenuActive","isTouch"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],["country","",3,"bimplusUpgradeLinkClicked","selectedLanguage","localizedStrings","isTouch"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(r,o){r&1&&(E(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-notify",2),F("bimplusNotifyMessageAction",function(c){return o.bimplusNotifyMessageAction(c)})("bimplusNotifyDeleteMessage",function(c){return o.bimplusNotifyDeleteMessage(c)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),T(),E(3,"lib-bimplus-storage-info",3),F("bimplusStorageInfoClicked",function(c){return o.bimplusStorageInfoClicked(c)}),T(),E(4,"lib-bimplus-upgrade-link",4),F("bimplusUpgradeLinkClicked",function(c){return o.bimplusUpgradeLinkClicked(c)}),T(),E(5,"lib-bimplus-contact",5),F("bimplusContactClicked",function(c){return o.bimplusContactClicked(c)}),T(),E(6,"lib-bimplus-zoom",6),F("bimplusZoomSelected",function(c){return o.bimplusZoomSelected(c)}),T(),E(7,"lib-bimplus-touch-menu",7),F("bimplusTouchModeSelected",function(c){return o.bimplusTouchModeSelected(c)}),T(),E(8,"lib-bimplus-language-menu",8),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)}),T(),E(9,"lib-bimplus-user-menu",9),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)})("bimplusUserMenuClicked",function(c){return o.bimplusUserMenuClicked(c)}),T()()(),ke(10,Lw,1,7,"lib-bimplus-main-menu",10)),r&2&&(w(),D("logoState",o.logoState)("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(2),D("selectedZoom",o.selectedZoom),w(),D("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),w(),D("selectedLanguage",o.languageStringsService.currentLanguage),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(),Ae(o.isNavbarMenuActive?10:-1))},dependencies:[Hl,Bl,zl,$l,ql,Ql,Xl,Jl,ec,Kl,fe],styles:[`*,html{font-size:100%;margin:0;padding:0}html{font-size:62.5%}body{background-color:gray}.hidden{display:none}bimplus-main-menu{height:50vh}lib-bimplus-floating-bar-project-navigator{position:absolute}.floating-panels-wrapper{position:relative}.tree-data{background-color:#fff;font-size:1.5rem;width:fit-content;padding:.5rem;border-style:solid;border-width:.2rem;border-radius:.5rem;margin:.5rem;cursor:pointer}.tree{width:20%;height:250px}
|
|
6
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function no(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var rt=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:i}=this;if(Q(i))try{i()}catch(o){t=o instanceof js?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Im(o)}catch(a){t=t??[],a instanceof js?t=[...t,...a.errors]:t.push(a)}}if(t)throw new js(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Im(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&no(n,t)}remove(t){let{_finalizers:n}=this;n&&no(n,t),t instanceof e&&t._removeParent(this)}};rt.EMPTY=(()=>{let e=new rt;return e.closed=!0,e})();var Zc=rt.EMPTY;function Hs(e){return e instanceof rt||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function Im(e){Q(e)?e():e.unsubscribe()}var Lt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xi={setTimeout(e,t,...n){let{delegate:i}=Xi;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Xi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bs(e){Xi.setTimeout(()=>{let{onUnhandledError:t}=Lt;if(t)t(e);else throw e})}function io(){}var Sm=Wc("C",void 0,void 0);function Tm(e){return Wc("E",void 0,e)}function km(e){return Wc("N",e,void 0)}function Wc(e,t,n){return{kind:e,value:t,error:n}}var si=null;function Ki(e){if(Lt.useDeprecatedSynchronousErrorHandling){let t=!si;if(t&&(si={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:i}=si;if(si=null,n)throw i}}else e()}function Am(e){Lt.useDeprecatedSynchronousErrorHandling&&si&&(si.errorThrown=!0,si.error=e)}var ai=class extends rt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hs(t)&&t.add(this)):this.destination=e4}static create(t,n,i){return new fn(t,n,i)}next(t){this.isStopped?Yc(km(t),this):this._next(t)}error(t){this.isStopped?Yc(Tm(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Yc(Sm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ky=Function.prototype.bind;function Gc(e,t){return Ky.call(e,t)}var qc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Us(i)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Us(i)}else Us(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Us(n)}}},fn=class extends ai{constructor(t,n,i){super();let r;if(Q(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&Lt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Gc(t.next,o),error:t.error&&Gc(t.error,o),complete:t.complete&&Gc(t.complete,o)}):r=t}this.destination=new qc(r)}};function Us(e){Lt.useDeprecatedSynchronousErrorHandling?Am(e):Bs(e)}function Jy(e){throw e}function Yc(e,t){let{onStoppedNotification:n}=Lt;n&&Xi.setTimeout(()=>n(e,t))}var e4={closed:!0,next:io,error:Jy,complete:io};var Ji=typeof Symbol=="function"&&Symbol.observable||"@@observable";function zs(e){return e}function Nm(e){return e.length===0?zs:e.length===1?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}var oe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){let o=n4(n)?n:new fn(n,i,r);return Ki(()=>{let{operator:a,source:c}=this;o.add(a?a.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=Lm(i),new i((r,o)=>{let a=new fn({next:c=>{try{n(c)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[Ji](){return this}pipe(...n){return Nm(n)(this)}toPromise(n){return n=Lm(n),new n((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return e.create=t=>new e(t),e})();function Lm(e){var t;return(t=e??Lt.Promise)!==null&&t!==void 0?t:Promise}function t4(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function n4(e){return e&&e instanceof ai||t4(e)&&Hs(e)}function i4(e){return Q(e?.lift)}function Be(e){return t=>{if(i4(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ge(e,t,n,i,r){return new Qc(e,t,n,i,r)}var Qc=class extends ai{constructor(t,n,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=n?function(c){try{n(c)}catch(d){t.error(d)}}:super._next,this._error=r?function(c){try{r(c)}catch(d){t.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Om=Vs(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ot=(()=>{class e extends oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new $s(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Om}next(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Zc:(this.currentObservers=null,o.push(n),new rt(()=>{this.currentObservers=null,no(o,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){let n=new oe;return n.source=this,n}}return e.create=(t,n)=>new $s(t,n),e})(),$s=class extends Ot{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,t)}error(t){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&i!==void 0?i:Zc}};var kn=class extends Ot{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}};var Xc={now(){return(Xc.delegate||Date).now()},delegate:void 0};var An=class extends Ot{constructor(t=1/0,n=1/0,i=Xc){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;n||(i.push(t),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!t.closed;a+=i?1:2)t.next(o[a]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=n.now(),c=0;for(let d=1;d<i.length&&i[d]<=a;d+=2)c=d;c&&i.splice(0,c+1)}}};var Zs=new oe(e=>e.complete());function Rm(e){return e&&Q(e.schedule)}function Kc(e){return e[e.length-1]}function Pm(e){return Q(Kc(e))?e.pop():void 0}function er(e){return Rm(Kc(e))?e.pop():void 0}function Fm(e,t){return typeof Kc(e)=="number"?e.pop():t}function jm(e,t,n,i){function r(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function c(h){try{f(i.next(h))}catch(g){a(g)}}function d(h){try{f(i.throw(h))}catch(g){a(g)}}function f(h){h.done?o(h.value):r(h.value).then(c,d)}f((i=i.apply(e,t||[])).next())})}function Vm(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function li(e){return this instanceof li?(this.v=e,this):new li(e)}function Hm(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(b){return function(_){return Promise.resolve(_).then(b,g)}}function c(b,_){i[b]&&(r[b]=function(A){return new Promise(function(k,I){o.push([b,A,k,I])>1||d(b,A)})},_&&(r[b]=_(r[b])))}function d(b,_){try{f(i[b](_))}catch(A){y(o[0][3],A)}}function f(b){b.value instanceof li?Promise.resolve(b.value.v).then(h,g):y(o[0][2],b)}function h(b){d("next",b)}function g(b){d("throw",b)}function y(b,_){b(_),o.shift(),o.length&&d(o[0][0],o[0][1])}}function Bm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Vm=="function"?Vm(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(a){return new Promise(function(c,d){a=e[o](a),r(c,d,a.done,a.value)})}}function r(o,a,c,d){Promise.resolve(d).then(function(f){o({value:f,done:c})},a)}}var Ws=e=>e&&typeof e.length=="number"&&typeof e!="function";function Gs(e){return Q(e?.then)}function Ys(e){return Q(e[Ji])}function qs(e){return Symbol.asyncIterator&&Q(e?.[Symbol.asyncIterator])}function Qs(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function r4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xs=r4();function Ks(e){return Q(e?.[Xs])}function Js(e){return Hm(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:i,done:r}=yield li(n.read());if(r)return yield li(void 0);yield yield li(i)}}finally{n.releaseLock()}})}function ea(e){return Q(e?.getReader)}function Te(e){if(e instanceof oe)return e;if(e!=null){if(Ys(e))return o4(e);if(Ws(e))return s4(e);if(Gs(e))return a4(e);if(qs(e))return Um(e);if(Ks(e))return l4(e);if(ea(e))return c4(e)}throw Qs(e)}function o4(e){return new oe(t=>{let n=e[Ji]();if(Q(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function s4(e){return new oe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function a4(e){return new oe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Bs)})}function l4(e){return new oe(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Um(e){return new oe(t=>{u4(e,t).catch(n=>t.error(n))})}function c4(e){return Um(Js(e))}function u4(e,t){var n,i,r,o;return jm(this,void 0,void 0,function*(){try{for(n=Bm(e);i=yield n.next(),!i.done;){let a=i.value;if(t.next(a),t.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})}function Et(e,t,n,i=0,r=!1){let o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function ta(e,t=0){return Be((n,i)=>{n.subscribe(Ge(i,r=>Et(i,e,()=>i.next(r),t),()=>Et(i,e,()=>i.complete(),t),r=>Et(i,e,()=>i.error(r),t)))})}function na(e,t=0){return Be((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function zm(e,t){return Te(e).pipe(na(t),ta(t))}function $m(e,t){return Te(e).pipe(na(t),ta(t))}function Zm(e,t){return new oe(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function Wm(e,t){return new oe(n=>{let i;return Et(n,t,()=>{i=e[Xs](),Et(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){n.error(a);return}o?n.complete():n.next(r)},0,!0)}),()=>Q(i?.return)&&i.return()})}function ia(e,t){if(!e)throw new Error("Iterable cannot be null");return new oe(n=>{Et(n,t,()=>{let i=e[Symbol.asyncIterator]();Et(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Gm(e,t){return ia(Js(e),t)}function Ym(e,t){if(e!=null){if(Ys(e))return zm(e,t);if(Ws(e))return Zm(e,t);if(Gs(e))return $m(e,t);if(qs(e))return ia(e,t);if(Ks(e))return Wm(e,t);if(ea(e))return Gm(e,t)}throw Qs(e)}function tr(e,t){return t?Ym(e,t):Te(e)}function mn(...e){let t=er(e);return tr(e,t)}function ci(e){return!!e&&(e instanceof oe||Q(e.lift)&&Q(e.subscribe))}function ot(e,t){return Be((n,i)=>{let r=0;n.subscribe(Ge(i,o=>{i.next(e.call(t,o,r++))}))})}var{isArray:d4}=Array;function p4(e,t){return d4(t)?e(...t):e(t)}function qm(e){return ot(t=>p4(e,t))}var{isArray:f4}=Array,{getPrototypeOf:m4,prototype:h4,keys:g4}=Object;function Qm(e){if(e.length===1){let t=e[0];if(f4(t))return{args:t,keys:null};if(v4(t)){let n=g4(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function v4(e){return e&&typeof e=="object"&&m4(e)===h4}function Xm(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function Km(e,t,n,i,r,o,a,c){let d=[],f=0,h=0,g=!1,y=()=>{g&&!d.length&&!f&&t.complete()},b=A=>f<i?_(A):d.push(A),_=A=>{o&&t.next(A),f++;let k=!1;Te(n(A,h++)).subscribe(Ge(t,I=>{r?.(I),o?b(I):t.next(I)},()=>{k=!0},void 0,()=>{if(k)try{for(f--;d.length&&f<i;){let I=d.shift();a?Et(t,a,()=>_(I)):_(I)}y()}catch(I){t.error(I)}}))};return e.subscribe(Ge(t,b,()=>{g=!0,y()})),()=>{c?.()}}function nr(e,t,n=1/0){return Q(t)?nr((i,r)=>ot((o,a)=>t(i,o,r,a))(Te(e(i,r))),n):(typeof t=="number"&&(n=t),Be((i,r)=>Km(i,r,e,n)))}function ra(e=1/0){return nr(zs,e)}function Jm(){return ra(1)}function oa(...e){return Jm()(tr(e,er(e)))}function sa(e){return new oe(t=>{Te(e()).subscribe(t)})}function Jc(...e){let t=Pm(e),{args:n,keys:i}=Qm(e),r=new oe(o=>{let{length:a}=n;if(!a){o.complete();return}let c=new Array(a),d=a,f=a;for(let h=0;h<a;h++){let g=!1;Te(n[h]).subscribe(Ge(o,y=>{g||(g=!0,f--),c[h]=y},()=>d--,void 0,()=>{(!d||!g)&&(f||o.next(i?Xm(i,c):c),o.complete())}))}});return t?r.pipe(qm(t)):r}function eu(...e){let t=er(e),n=Fm(e,1/0),i=e;return i.length?i.length===1?Te(i[0]):ra(n)(tr(i,t)):Zs}function tu(e,t){return Be((n,i)=>{let r=0;n.subscribe(Ge(i,o=>e.call(t,o,r++)&&i.next(o)))})}function ro(e,t){return Q(t)?nr(e,t,1):nr(e,1)}function ir(e){return e<=0?()=>Zs:Be((t,n)=>{let i=0;t.subscribe(Ge(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}function nu(e){return Be((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function e1(e={}){let{connector:t=()=>new Ot,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let a,c,d,f=0,h=!1,g=!1,y=()=>{c?.unsubscribe(),c=void 0},b=()=>{y(),a=d=void 0,h=g=!1},_=()=>{let A=a;b(),A?.unsubscribe()};return Be((A,k)=>{f++,!g&&!h&&y();let I=d=d??t();k.add(()=>{f--,f===0&&!g&&!h&&(c=iu(_,r))}),I.subscribe(k),!a&&f>0&&(a=new fn({next:Z=>I.next(Z),error:Z=>{g=!0,y(),c=iu(b,n,Z),I.error(Z)},complete:()=>{h=!0,y(),c=iu(b,i),I.complete()}}),Te(A).subscribe(a))})(o)}}function iu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new fn({next:()=>{i.unsubscribe(),e()}});return Te(t(...n)).subscribe(i)}function aa(e,t,n){let i,r=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:n}=e:i=e??1/0,e1({connector:()=>new An(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Nn(e,t){return Be((n,i)=>{let r=null,o=0,a=!1,c=()=>a&&!r&&i.complete();n.subscribe(Ge(i,d=>{r?.unsubscribe();let f=0,h=o++;Te(e(d,h)).subscribe(r=Ge(i,g=>i.next(t?t(d,g,h,f++):g),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function ru(e){return Be((t,n)=>{Te(e).subscribe(Ge(n,()=>n.complete(),io)),!n.closed&&t.subscribe(n)})}var da="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",V=class extends Error{code;constructor(t,n){super(lo(t,n)),this.code=t}};function b4(e){return`NG0${Math.abs(e)}`}function lo(e,t){return`${b4(e)}${t?": "+t:""}`}function pe(e){for(let t in e)if(e[t]===pe)return t;throw Error("")}function i1(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ln(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ln).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let i=n.indexOf(`
|
|
7
|
+
`);return i>=0?n.slice(0,i):n}function pa(e,t){return e?t?`${e} ${t}`:e:t||""}var y4=pe({__forward_ref__:pe});function fa(e){return e.__forward_ref__=fa,e.toString=function(){return Ln(this())},e}function Xe(e){return gu(e)?e():e}function gu(e){return typeof e=="function"&&e.hasOwnProperty(y4)&&e.__forward_ref__===fa}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pn(e){return{providers:e.providers||[],imports:e.imports||[]}}function ma(e){return _4(e,ha)}function _4(e,t){return e.hasOwnProperty(t)&&e[t]||null}function C4(e){let t=e?.[ha]??null;return t||null}function su(e){return e&&e.hasOwnProperty(ca)?e[ca]:null}var ha=pe({\u0275prov:pe}),ca=pe({\u0275inj:pe}),$=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vu(e){return e&&!!e.\u0275providers}var bu=pe({\u0275cmp:pe}),yu=pe({\u0275dir:pe}),_u=pe({\u0275pipe:pe});var so=pe({\u0275fac:pe}),mi=pe({__NG_ELEMENT_ID__:pe}),t1=pe({__NG_ENV_ID__:pe});function or(e){return typeof e=="string"?e:e==null?"":String(e)}function r1(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():or(e)}var o1=pe({ngErrorCode:pe}),w4=pe({ngErrorMessage:pe}),D4=pe({ngTokenPath:pe});function Cu(e,t){return s1("",-200,t)}function ga(e,t){throw new V(-201,!1)}function s1(e,t,n){let i=new V(t,e);return i[o1]=t,i[w4]=e,n&&(i[D4]=n),i}function E4(e){return e[o1]}var au;function a1(){return au}function st(e){let t=au;return au=e,t}function wu(e,t,n){let i=ma(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&8)return null;if(t!==void 0)return t;ga(e,"Injector")}var x4={},ui=x4,M4="__NG_DI_FLAG__",lu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let i=di(n)||0;try{return this.injector.get(t,i&8?null:ui,i)}catch(r){if(qi(r))return r;throw r}}};function I4(e,t=0){let n=ks();if(n===void 0)throw new V(-203,!1);if(n===null)return wu(e,void 0,t);{let i=S4(t),r=n.retrieve(e,i);if(qi(r)){if(i.optional)return null;throw r}return r}}function j(e,t=0){return(a1()||I4)(Xe(e),t)}function R(e,t){return j(e,di(t))}function di(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function S4(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function cu(e){let t=[];for(let n=0;n<e.length;n++){let i=Xe(e[n]);if(Array.isArray(i)){if(i.length===0)throw new V(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let c=i[a],d=T4(c);typeof d=="number"?d===-1?r=c.token:o|=d:r=c}t.push(j(r,o))}else t.push(j(i))}return t}function T4(e){return e[M4]}function On(e,t){let n=e.hasOwnProperty(so);return n?e[so]:null}function va(e,t){e.forEach(n=>Array.isArray(n)?va(n,t):t(n))}function Du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function co(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function l1(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function c1(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(r===1)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){let o=r-2;e[r]=e[o],r--}e[t]=n,e[t+1]=i}}function ba(e,t,n){let i=sr(e,t);return i>=0?e[i|1]=n:(i=~i,c1(e,i,t,n)),i}function ya(e,t){let n=sr(e,t);if(n>=0)return e[n|1]}function sr(e,t){return k4(e,t,1)}function k4(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){let o=i+(r-i>>1),a=e[o<<n];if(t===a)return o<<n;a>t?r=o:i=o+1}return~(r<<n)}var Fn={},at=[],hi=new $(""),Eu=new $("",-1),xu=new $(""),ao=class{get(t,n=ui){if(n===ui){let r=s1("",-201);throw r.name="\u0275NotFound",r}return n}};function gi(e){return e[bu]||null}function Mu(e){return e[yu]||null}function u1(e){return e[_u]||null}function uo(e){return{\u0275providers:e}}function _a(...e){return{\u0275providers:Iu(!0,e),\u0275fromNgModule:!0}}function Iu(e,...t){let n=[],i=new Set,r,o=a=>{n.push(a)};return va(t,a=>{let c=a;ua(c,o,[],i)&&(r||=[],r.push(c))}),r!==void 0&&d1(r,o),n}function d1(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:r}=e[n];Su(r,o=>{t(o,i)})}}function ua(e,t,n,i){if(e=Xe(e),!e)return!1;let r=null,o=su(e),a=!o&&gi(e);if(!o&&!a){let d=e.ngModule;if(o=su(d),o)r=d;else return!1}else{if(a&&!a.standalone)return!1;r=e}let c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let f of d)ua(f,t,n,i)}}else if(o){if(o.imports!=null&&!c){i.add(r);let f;try{va(o.imports,h=>{ua(h,t,n,i)&&(f||=[],f.push(h))})}finally{}f!==void 0&&d1(f,t)}if(!c){let f=On(r)||(()=>new r);t({provide:r,useFactory:f,deps:at},r),t({provide:xu,useValue:r,multi:!0},r),t({provide:hi,useValue:()=>j(r),multi:!0},r)}let d=o.providers;if(d!=null&&!c){let f=e;Su(d,h=>{t(h,f)})}}else return!1;return r!==e&&e.providers!==void 0}function Su(e,t){for(let n of e)vu(n)&&(n=n.\u0275providers),Array.isArray(n)?Su(n,t):t(n)}var A4=pe({provide:String,useValue:pe});function p1(e){return e!==null&&typeof e=="object"&&A4 in e}function N4(e){return!!(e&&e.useExisting)}function L4(e){return!!(e&&e.useFactory)}function pi(e){return typeof e=="function"}function f1(e){return!!e.useClass}var po=new $(""),la={},n1={},ou;function fo(){return ou===void 0&&(ou=new ao),ou}var pt=class{},fi=class extends pt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,du(t,a=>this.processProvider(a)),this.records.set(Eu,rr(void 0,this)),r.has("environment")&&this.records.set(pt,rr(void 0,this));let o=this.records.get(po);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(xu,at,{self:!0}))}retrieve(t,n){let i=di(n)||0;try{return this.get(t,ui,i)}catch(r){if(qi(r))return r;throw r}}destroy(){oo(this),this._destroyed=!0;let t=Y(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Y(t)}}onDestroy(t){return oo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){oo(this);let n=Wt(this),i=st(void 0),r;try{return t()}finally{Wt(n),st(i)}}get(t,n=ui,i){if(oo(this),t.hasOwnProperty(t1))return t[t1](this);let r=di(i),o,a=Wt(this),c=st(void 0);try{if(!(r&4)){let f=this.records.get(t);if(f===void 0){let h=V4(t)&&ma(t);h&&this.injectableDefInScope(h)?f=rr(uu(t),la):f=null,this.records.set(t,f)}if(f!=null)return this.hydrate(t,f,r)}let d=r&2?fo():this.parent;return n=r&8&&n===ui?null:n,d.get(t,n)}catch(d){let f=E4(d);throw f===-200||f===-201?new V(f,null):d}finally{st(c),Wt(a)}}resolveInjectorInitializers(){let t=Y(null),n=Wt(this),i=st(void 0),r;try{let o=this.get(hi,at,{self:!0});for(let a of o)a()}finally{Wt(n),st(i),Y(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(Ln(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Xe(t);let n=pi(t)?t:Xe(t&&t.provide),i=R4(t);if(!pi(t)&&t.multi===!0){let r=this.records.get(n);r||(r=rr(void 0,la,!0),r.factory=()=>cu(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let r=Y(null);try{if(n.value===n1)throw Cu(Ln(t));return n.value===la&&(n.value=n1,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&F4(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Y(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Xe(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function uu(e){let t=ma(e),n=t!==null?t.factory:On(e);if(n!==null)return n;if(e instanceof $)throw new V(204,!1);if(e instanceof Function)return O4(e);throw new V(204,!1)}function O4(e){if(e.length>0)throw new V(204,!1);let n=C4(e);return n!==null?()=>n.factory(e):()=>new e}function R4(e){if(p1(e))return rr(void 0,e.useValue);{let t=Tu(e);return rr(t,la)}}function Tu(e,t,n){let i;if(pi(e)){let r=Xe(e);return On(r)||uu(r)}else if(p1(e))i=()=>Xe(e.useValue);else if(L4(e))i=()=>e.useFactory(...cu(e.deps||[]));else if(N4(e))i=(r,o)=>j(Xe(e.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Xe(e&&(e.useClass||e.provide));if(P4(e))i=()=>new r(...cu(e.deps));else return On(r)||uu(r)}return i}function oo(e){if(e.destroyed)throw new V(205,!1)}function rr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function P4(e){return!!e.deps}function F4(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function V4(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function du(e,t){for(let n of e)Array.isArray(n)?du(n,t):n&&vu(n)?du(n.\u0275providers,t):t(n)}function ar(e,t){let n;e instanceof fi?(oo(e),n=e):n=new lu(e);let i,r=Wt(n),o=st(void 0);try{return t()}finally{Wt(r),st(o)}}function m1(){return a1()!==void 0||ks()!=null}var Rt=0,H=1,W=2,Ye=3,xt=4,lt=5,vi=6,lr=7,Re=8,gn=9,Qt=10,be=11,cr=12,ku=13,bi=14,ct=15,yi=16,_i=17,Ci=18,mo=19,Au=20,hn=21,Ca=22,ho=23,yt=24,wa=25,wi=26,Ie=27,h1=1,Nu=6,Vn=7,go=8,vo=9,Pe=10;function Xt(e){return Array.isArray(e)&&typeof e[h1]=="object"}function Pt(e){return Array.isArray(e)&&e[h1]===!0}function Lu(e){return(e.flags&4)!==0}function jn(e){return e.componentOffset>-1}function ur(e){return(e.flags&1)===1}function Kt(e){return!!e.template}function dr(e){return(e[W]&512)!==0}function Di(e){return(e[W]&256)===256}var g1="svg",v1="math";function Mt(e){for(;Array.isArray(e);)e=e[Rt];return e}function Ou(e,t){return Mt(t[e])}function Ft(e,t){return Mt(t[e.index])}function bo(e,t){return e.data[t]}function Ru(e,t){return e[t]}function Pu(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function It(e,t){let n=t[e];return Xt(n)?n:n[Rt]}function Da(e){return(e[W]&128)===128}function b1(e){return Pt(e[Ye])}function St(e,t){return t==null?null:e[t]}function Fu(e){e[_i]=0}function Ea(e){e[W]&1024||(e[W]|=1024,Da(e)&&yo(e))}function y1(e,t){for(;e>0;)t=t[bi],e--;return t}function pr(e){return!!(e[W]&9216||e[yt]?.dirty)}function xa(e){e[Qt].changeDetectionScheduler?.notify(8),e[W]&64&&(e[W]|=1024),pr(e)&&yo(e)}function yo(e){e[Qt].changeDetectionScheduler?.notify(0);let t=Rn(e);for(;t!==null&&!(t[W]&8192||(t[W]|=8192,!Da(t)));)t=Rn(t)}function Vu(e,t){if(Di(e))throw new V(911,!1);e[hn]===null&&(e[hn]=[]),e[hn].push(t)}function _1(e,t){if(e[hn]===null)return;let n=e[hn].indexOf(t);n!==-1&&e[hn].splice(n,1)}function Rn(e){let t=e[Ye];return Pt(t)?t[Ye]:t}function C1(e){return e[lr]??=[]}function w1(e){return e.cleanup??=[]}var K={lFrame:L1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var pu=!1;function D1(){return K.lFrame.elementDepthCount}function E1(){K.lFrame.elementDepthCount++}function ju(){K.lFrame.elementDepthCount--}function Ma(){return K.bindingsEnabled}function Hu(){return K.skipHydrationRootTNode!==null}function Bu(e){return K.skipHydrationRootTNode===e}function Uu(){K.skipHydrationRootTNode=null}function G(){return K.lFrame.lView}function Ue(){return K.lFrame.tView}function B(e){return K.lFrame.contextLView=e,e[Re]}function U(e){return K.lFrame.contextLView=null,e}function tt(){let e=zu();for(;e!==null&&e.type===64;)e=e.parent;return e}function zu(){return K.lFrame.currentTNode}function x1(){let e=K.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function fr(e,t){let n=K.lFrame;n.currentTNode=e,n.isParent=t}function $u(){return K.lFrame.isParent}function Zu(){K.lFrame.isParent=!1}function M1(){return K.lFrame.contextLView}function Wu(){return pu}function Gu(e){let t=pu;return pu=e,t}function mr(){let e=K.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function I1(e){return K.lFrame.bindingIndex=e}function Hn(){return K.lFrame.bindingIndex++}function Yu(e){let t=K.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function S1(){return K.lFrame.inI18n}function T1(e,t){let n=K.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ia(t)}function k1(){return K.lFrame.currentDirectiveIndex}function Ia(e){K.lFrame.currentDirectiveIndex=e}function A1(e){let t=K.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function qu(e){K.lFrame.currentQueryIndex=e}function j4(e){let t=e[H];return t.type===2?t.declTNode:t.type===1?e[lt]:null}function Qu(e,t,n){if(n&4){let r=t,o=e;for(;r=r.parent,r===null&&!(n&1);)if(r=j4(o),r===null||(o=o[bi],r.type&10))break;if(r===null)return!1;t=r,e=o}let i=K.lFrame=N1();return i.currentTNode=t,i.lView=e,!0}function Sa(e){let t=N1(),n=e[H];K.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function N1(){let e=K.lFrame,t=e===null?null:e.child;return t===null?L1(e):t}function L1(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function O1(){let e=K.lFrame;return K.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xu=O1;function Ta(){let e=O1();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function R1(e){return(K.lFrame.contextLView=y1(e,K.lFrame.contextLView))[Re]}function vn(){return K.lFrame.selectedIndex}function Bn(e){K.lFrame.selectedIndex=e}function ka(){let e=K.lFrame;return bo(e.tView,e.selectedIndex)}function P1(){return K.lFrame.currentNamespace}var F1=!0;function Aa(){return F1}function _o(e){F1=e}function fu(e,t=null,n=null,i){let r=V1(e,t,n,i);return r.resolveInjectorInitializers(),r}function V1(e,t=null,n=null,i,r=new Set){let o=[n||at,_a(e)];return i=i||(typeof e=="object"?void 0:Ln(e)),new fi(o,t||fo(),i||null,r)}var Gt=class e{static THROW_IF_NOT_FOUND=ui;static NULL=new ao;static create(t,n){if(Array.isArray(t))return fu({name:""},n,t,"");{let i=t.name??"";return fu({name:i},t.parent,t.providers,i)}}static \u0275prov=q({token:e,providedIn:"any",factory:()=>j(Eu)});static __NG_ELEMENT_ID__=-1},_t=new $(""),Ei=(()=>{class e{static __NG_ELEMENT_ID__=H4;static __NG_ENV_ID__=n=>n}return e})(),mu=class extends Ei{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Di(this._lView)}onDestroy(t){let n=this._lView;return Vu(n,t),()=>_1(n,t)}};function H4(){return new mu(G())}var Yt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Jt=new $("",{providedIn:"root",factory:()=>{let e=R(pt),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Yt),t.handleError(n))}}}),j1={provide:hi,useValue:()=>void R(Yt),multi:!0};function Un(e,t){let[n,i,r]=$c(e,t?.equal),o=n,a=o[dt];return o.set=i,o.update=r,o.asReadonly=H1.bind(o),o}function H1(){let e=this[dt];if(e.readonlyFn===void 0){let t=()=>this();t[dt]=e,e.readonlyFn=t}return e.readonlyFn}var qt=class{},Na=new $("",{providedIn:"root",factory:()=>!1});var Ku=new $(""),Ju=new $(""),zn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new kn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new oe(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Co=(()=>{class e{internalPendingTasks=R(zn);scheduler=R(qt);errorHandler=R(Jt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let i=this.add();n().catch(this.errorHandler).finally(i)}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();function wo(...e){}var ed=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>new hu})}return e})(),hu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,i=this.queues.get(n);i.has(t)&&(i.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let i=this.queues.get(n);i.has(t)||i.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,i]of this.queues)n===null?t||=this.flushQueue(i):t||=n.run(()=>this.flushQueue(i));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let i of t)i.dirty&&(this.dirtyEffectCount--,n=!0,i.run());return n}};function No(e){return{toString:e}.toString()}function K4(e){return typeof e=="function"}var Va=class{previousValue;currentValue;firstChange;constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}};function hh(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var Bt=(()=>{let e=()=>gh;return e.ngInherit=!0,e})();function gh(e){return e.type.prototype.ngOnChanges&&(e.setInput=e5),J4}function J4(){let e=bh(this),t=e?.current;if(t){let n=e.previous;if(n===Fn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function e5(e,t,n,i,r){let o=this.declaredInputs[i],a=bh(e)||t5(e,{previous:Fn,current:null}),c=a.current||(a.current={}),d=a.previous,f=d[o];c[o]=new Va(f&&f.currentValue,n,d===Fn),hh(e,t,r,n)}var vh="__ngSimpleChanges__";function bh(e){return e[vh]||null}function t5(e,t){return e[vh]=t}var B1=[];var ge=function(e,t=null,n){for(let i=0;i<B1.length;i++){let r=B1[i];r(e,t,n)}};function n5(e,t,n){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let a=gh(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}r&&(n.preOrderHooks??=[]).push(0-e,r),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function yh(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:c,ngAfterViewInit:d,ngAfterViewChecked:f,ngOnDestroy:h}=o;a&&(e.contentHooks??=[]).push(-n,a),c&&((e.contentHooks??=[]).push(n,c),(e.contentCheckHooks??=[]).push(n,c)),d&&(e.viewHooks??=[]).push(-n,d),f&&((e.viewHooks??=[]).push(n,f),(e.viewCheckHooks??=[]).push(n,f)),h!=null&&(e.destroyHooks??=[]).push(n,h)}}function Oa(e,t,n){_h(e,t,3,n)}function Ra(e,t,n,i){(e[W]&3)===n&&_h(e,t,n,i)}function td(e,t){let n=e[W];(n&3)===t&&(n&=16383,n+=1,e[W]=n)}function _h(e,t,n,i){let r=i!==void 0?e[_i]&65535:0,o=i??-1,a=t.length-1,c=0;for(let d=r;d<a;d++)if(typeof t[d+1]=="number"){if(c=t[d],i!=null&&c>=i)break}else t[d]<0&&(e[_i]+=65536),(c<o||o==-1)&&(i5(e,n,t,d),e[_i]=(e[_i]&4294901760)+d+2),d++}function U1(e,t){ge(4,e,t);let n=Y(null);try{t.call(e)}finally{Y(n),ge(5,e,t)}}function i5(e,t,n,i){let r=n[i]<0,o=n[i+1],a=r?-n[i]:n[i],c=e[a];r?e[W]>>14<e[_i]>>16&&(e[W]&3)===t&&(e[W]+=16384,U1(c,o)):U1(c,o)}var gr=-1,Mi=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,i,r){this.factory=t,this.name=r,this.canSeeViewProviders=n,this.injectImpl=i}};function r5(e){return(e.flags&8)!==0}function o5(e){return(e.flags&16)!==0}function s5(e,t,n){let i=0;for(;i<n.length;){let r=n[i];if(typeof r=="number"){if(r!==0)break;i++;let o=n[i++],a=n[i++],c=n[i++];e.setAttribute(t,a,c,o)}else{let o=r,a=n[++i];l5(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),i++}}return i}function a5(e){return e===3||e===4||e===6}function l5(e){return e.charCodeAt(0)===64}function vr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let r=t[i];typeof r=="number"?n=r:n===0||(n===-1||n===2?z1(e,n,r,null,t[++i]):z1(e,n,r,null,null))}}return e}function z1(e,t,n,i,r){let o=0,a=e.length;if(t===-1)a=-1;else for(;o<e.length;){let c=e[o++];if(typeof c=="number"){if(c===t){a=-1;break}else if(c>t){a=o-1;break}}}for(;o<e.length;){let c=e[o];if(typeof c=="number")break;if(c===n){r!==null&&(e[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),r!==null&&e.splice(o++,0,r)}function Ch(e){return e!==gr}function ja(e){return e&32767}function c5(e){return e>>16}function Ha(e,t){let n=c5(e),i=t;for(;n>0;)i=i[bi],n--;return i}var dd=!0;function Ba(e){let t=dd;return dd=e,t}var u5=256,wh=u5-1,Dh=5,d5=0,en={};function p5(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(mi)&&(i=n[mi]),i==null&&(i=n[mi]=d5++);let r=i&wh,o=1<<r;t.data[e+(r>>Dh)]|=o}function Ua(e,t){let n=Eh(e,t);if(n!==-1)return n;let i=t[H];i.firstCreatePass&&(e.injectorIndex=t.length,nd(i.data,e),nd(t,null),nd(i.blueprint,null));let r=Fd(e,t),o=e.injectorIndex;if(Ch(r)){let a=ja(r),c=Ha(r,t),d=c[H].data;for(let f=0;f<8;f++)t[o+f]=c[a+f]|d[a+f]}return t[o+8]=r,o}function nd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Eh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;r!==null;){if(i=Th(r),i===null)return gr;if(n++,r=r[bi],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return gr}function pd(e,t,n){p5(e,t,n)}function xh(e,t,n){if(n&8||e!==void 0)return e;ga(t,"NodeInjector")}function Mh(e,t,n,i){if(n&8&&i===void 0&&(i=null),(n&3)===0){let r=e[gn],o=st(void 0);try{return r?r.get(t,i,n&8):wu(t,i,n&8)}finally{st(o)}}return xh(i,t,n)}function Ih(e,t,n,i=0,r){if(e!==null){if(t[W]&2048&&!(i&2)){let a=v5(e,t,n,i,en);if(a!==en)return a}let o=Sh(e,t,n,i,en);if(o!==en)return o}return Mh(t,n,i,r)}function Sh(e,t,n,i,r){let o=h5(n);if(typeof o=="function"){if(!Qu(t,e,i))return i&1?xh(r,n,i):Mh(t,n,i,r);try{let a;if(a=o(i),a==null&&!(i&8))ga(n);else return a}finally{Xu()}}else if(typeof o=="number"){let a=null,c=Eh(e,t),d=gr,f=i&1?t[ct][lt]:null;for((c===-1||i&4)&&(d=c===-1?Fd(e,t):t[c+8],d===gr||!Z1(i,!1)?c=-1:(a=t[H],c=ja(d),t=Ha(d,t)));c!==-1;){let h=t[H];if($1(o,c,h.data)){let g=f5(c,t,n,a,i,f);if(g!==en)return g}d=t[c+8],d!==gr&&Z1(i,t[H].data[c+8]===f)&&$1(o,c,t)?(a=h,c=ja(d),t=Ha(d,t)):c=-1}}return r}function f5(e,t,n,i,r,o){let a=t[H],c=a.data[e+8],d=i==null?jn(c)&&dd:i!=a&&(c.type&3)!==0,f=r&1&&o===c,h=m5(c,a,n,d,f);return h!==null?za(t,a,h,c,r):en}function m5(e,t,n,i,r){let o=e.providerIndexes,a=t.data,c=o&1048575,d=e.directiveStart,f=e.directiveEnd,h=o>>20,g=i?c:c+h,y=r?c+h:f;for(let b=g;b<y;b++){let _=a[b];if(b<d&&n===_||b>=d&&_.type===n)return b}if(r){let b=a[d];if(b&&Kt(b)&&b.type===n)return d}return null}function za(e,t,n,i,r){let o=e[n],a=t.data;if(o instanceof Mi){let c=o;if(c.resolving){let b=r1(a[n]);throw Cu(b)}let d=Ba(c.canSeeViewProviders);c.resolving=!0;let f=a[n].type||a[n],h,g=c.injectImpl?st(c.injectImpl):null,y=Qu(e,i,0);try{o=e[n]=c.factory(void 0,r,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&n5(n,a[n],t)}finally{g!==null&&st(g),Ba(d),c.resolving=!1,Xu()}}return o}function h5(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mi)?e[mi]:void 0;return typeof t=="number"?t>=0?t&wh:g5:t}function $1(e,t,n){let i=1<<e;return!!(n[t+(e>>Dh)]&i)}function Z1(e,t){return!(e&2)&&!(e&1&&t)}var xi=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ih(this._tNode,this._lView,t,di(i),n)}};function g5(){return new xi(tt(),G())}function ki(e){return No(()=>{let t=e.prototype.constructor,n=t[so]||fd(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){let o=r[so]||fd(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function fd(e){return gu(e)?()=>{let t=fd(Xe(e));return t&&t()}:On(e)}function v5(e,t,n,i,r){let o=e,a=t;for(;o!==null&&a!==null&&a[W]&2048&&!dr(a);){let c=Sh(o,a,n,i|2,en);if(c!==en)return c;let d=o.parent;if(!d){let f=a[Au];if(f){let h=f.get(n,en,i);if(h!==en)return h}d=Th(a),a=a[bi]}o=d}return r}function Th(e){let t=e[H],n=t.type;return n===2?t.declTNode:n===1?e[lt]:null}function b5(){return tl(tt(),G())}function tl(e,t){return new Zn(Ft(e,t))}var Zn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=b5}return e})();function kh(e){return(e.flags&128)===128}var Vd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Vd||{}),Ah=new Map,y5=0;function _5(){return y5++}function C5(e){Ah.set(e[mo],e)}function md(e){Ah.delete(e[mo])}var W1="__ngContext__";function br(e,t){Xt(t)?(e[W1]=t[mo],C5(t)):e[W1]=t}function Nh(e){return Oh(e[cr])}function Lh(e){return Oh(e[xt])}function Oh(e){for(;e!==null&&!Pt(e);)e=e[xt];return e}var hd;function jd(e){hd=e}function Rh(){if(hd!==void 0)return hd;if(typeof document<"u")return document;throw new V(210,!1)}var nl=new $("",{providedIn:"root",factory:()=>w5}),w5="ng",il=new $(""),Lo=new $("",{providedIn:"platform",factory:()=>"unknown"});var rl=new $("",{providedIn:"root",factory:()=>Rh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var D5="h",E5="b";var Ph="r";var Fh="di";var Vh=!1,jh=new $("",{providedIn:"root",factory:()=>Vh});var x5=(e,t,n,i)=>{};function M5(e,t,n,i){x5(e,t,n,i)}function ol(e){return(e.flags&32)===32}var I5=()=>null;function Hh(e,t,n=!1){return I5(e,t,n)}function Bh(e,t){let n=e.contentQueries;if(n!==null){let i=Y(null);try{for(let r=0;r<n.length;r+=2){let o=n[r],a=n[r+1];if(a!==-1){let c=e.data[a];qu(o),c.contentQueries(2,t[a],a)}}}finally{Y(i)}}}function gd(e,t,n){qu(0);let i=Y(null);try{t(e,n)}finally{Y(i)}}function Hd(e,t,n){if(Lu(t)){let i=Y(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let a=r;a<o;a++){let c=e.data[a];if(c.contentQueries){let d=n[a];c.contentQueries(1,d,a)}}}finally{Y(i)}}}var bn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(bn||{});var $a=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${da})`}};function sl(e){return e instanceof $a?e.changingThisBreaksApplicationSecurity:e}function Uh(e,t){let n=zh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${da})`)}return n===t}function zh(e){return e instanceof $a&&e.getTypeName()||null}var S5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $h(e){return e=String(e),e.match(S5)?e:"unsafe:"+e}var T5=/^>|^->|<!--|-->|--!>|<!-$/g,k5=/(<|>)/g,A5="\u200B$1\u200B";function N5(e){return e.replace(T5,t=>t.replace(k5,A5))}function L5(e,t){return e.createText(t)}function O5(e,t,n){e.setValue(t,n)}function R5(e,t){return e.createComment(N5(t))}function Zh(e,t,n){return e.createElement(t,n)}function Za(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Wh(e,t,n){e.appendChild(t,n)}function G1(e,t,n,i,r){i!==null?Za(e,t,n,i,r):Wh(e,t,n)}function Gh(e,t,n,i){e.removeChild(null,t,n,i)}function P5(e,t,n){e.setAttribute(t,"style",n)}function F5(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Yh(e,t,n){let{mergedAttrs:i,classes:r,styles:o}=n;i!==null&&s5(e,t,i),r!==null&&F5(e,t,r),o!==null&&P5(e,t,o)}var Bd=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Bd||{});function Cr(e){let t=V5();return t?t.sanitize(Bd.URL,e)||"":Uh(e,"URL")?sl(e):$h(or(e))}function V5(){let e=G();return e&&e[Qt].sanitizer}function j5(e,t,n){let i=e.length;for(;;){let r=e.indexOf(t,n);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}var qh="ng-template";function H5(e,t,n,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&j5(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(Ud(e))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&typeof(o=t[r])=="string";)if(o.toLowerCase()===n)return!0}return!1}function Ud(e){return e.type===4&&e.value!==qh}function B5(e,t,n){let i=e.type===4&&!n?qh:e.value;return t===i}function U5(e,t,n){let i=4,r=e.attrs,o=r!==null?Z5(r):0,a=!1;for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="number"){if(!a&&!Vt(i)&&!Vt(d))return!1;if(a&&Vt(d))continue;a=!1,i=d|i&1;continue}if(!a)if(i&4){if(i=2|i&1,d!==""&&!B5(e,d,n)||d===""&&t.length===1){if(Vt(i))return!1;a=!0}}else if(i&8){if(r===null||!H5(e,r,d,n)){if(Vt(i))return!1;a=!0}}else{let f=t[++c],h=z5(d,r,Ud(e),n);if(h===-1){if(Vt(i))return!1;a=!0;continue}if(f!==""){let g;if(h>o?g="":g=r[h+1].toLowerCase(),i&2&&f!==g){if(Vt(i))return!1;a=!0}}}}return Vt(i)||a}function Vt(e){return(e&1)===0}function z5(e,t,n,i){if(t===null)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){let a=t[r];if(a===e)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let c=t[++r];for(;typeof c=="string";)c=t[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return W5(t,e)}function Qh(e,t,n=!1){for(let i=0;i<t.length;i++)if(U5(e,t[i],n))return!0;return!1}function $5(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Z5(e){for(let t=0;t<e.length;t++){let n=e[t];if(a5(n))return t}return e.length}function W5(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function G5(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Y1(e,t){return e?":not("+t.trim()+")":t}function Y5(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let a=e[n];if(typeof a=="string")if(i&2){let c=e[++n];r+="["+a+(c.length>0?'="'+c+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!Vt(a)&&(t+=Y1(o,r),r=""),i=a,o=o||!Vt(i);n++}return r!==""&&(t+=Y1(o,r)),t}function q5(e){return e.map(Y5).join(",")}function Q5(e){let t=[],n=[],i=1,r=2;for(;i<e.length;){let o=e[i];if(typeof o=="string")r===2?o!==""&&t.push(o,e[++i]):r===8&&n.push(o);else{if(!Vt(r))break;r=o}i++}return n.length&&t.push(1,...n),t}var Ct={};function zd(e,t,n,i,r,o,a,c,d,f,h){let g=Ie+i,y=g+r,b=X5(g,y),_=typeof f=="function"?f():f;return b[H]={type:e,blueprint:b,template:n,queries:null,viewQuery:c,declTNode:t,data:b.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:y,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:d,consts:_,incompleteFirstPass:!1,ssrId:h}}function X5(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:Ct);return n}function K5(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=zd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $d(e,t,n,i,r,o,a,c,d,f,h){let g=t.blueprint.slice();return g[Rt]=r,g[W]=i|4|128|8|64|1024,(f!==null||e&&e[W]&2048)&&(g[W]|=2048),Fu(g),g[Ye]=g[bi]=e,g[Re]=n,g[Qt]=a||e&&e[Qt],g[be]=c||e&&e[be],g[gn]=d||e&&e[gn]||null,g[lt]=o,g[mo]=_5(),g[vi]=h,g[Au]=f,g[ct]=t.type==2?e[ct]:g,g}function J5(e,t,n){let i=Ft(t,e),r=K5(n),o=e[Qt].rendererFactory,a=Zd(e,$d(e,r,null,Xh(n),i,t,null,o.createRenderer(i,n),null,null,null));return e[t.index]=a}function Xh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kh(e,t,n,i){if(n===0)return-1;let r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Zd(e,t){return e[cr]?e[ku][xt]=t:e[cr]=t,e[ku]=t,t}function w(e=1){Jh(Ue(),G(),vn()+e,!1)}function Jh(e,t,n,i){if(!i)if((t[W]&3)===3){let o=e.preOrderCheckHooks;o!==null&&Oa(t,o,n)}else{let o=e.preOrderHooks;o!==null&&Ra(t,o,0,n)}Bn(n)}var al=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(al||{});function vd(e,t,n,i){let r=Y(null);try{let[o,a,c]=e.inputs[n],d=null;(a&al.SignalBased)!==0&&(d=t[o][dt]),d!==null&&d.transformFn!==void 0?i=d.transformFn(i):c!==null&&(i=c.call(t,i)),e.setInput!==null?e.setInput(t,d,i,n,o):hh(t,d,o,i)}finally{Y(r)}}var Ht=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ht||{}),e8;function Wd(e,t){return e8(e,t)}var Ii=new Set,Gd=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Gd||{}),Oo=new $(""),q1=new Set;function wr(e){q1.has(e)||(q1.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var e0=!1,bd=class extends Ot{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,m1()&&(this.destroyRef=R(Ei,{optional:!0})??void 0,this.pendingTasks=R(zn,{optional:!0})??void 0)}emit(t){let n=Y(null);try{super.next(t)}finally{Y(n)}}subscribe(t,n,i){let r=t,o=n||(()=>null),a=i;if(t&&typeof t=="object"){let d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let c=super.subscribe({next:r,error:o,complete:a});return t instanceof rt&&t.add(c),c}wrapInTimeout(t){return n=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},J=bd;function t0(e){let t,n;function i(){e=wo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Q1(e){return queueMicrotask(()=>e()),()=>{e=wo}}var Yd="isAngularZone",Wa=Yd+"_ID",t8=0,ze=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new J(!1);onMicrotaskEmpty=new J(!1);onStable=new J(!1);onError=new J(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=e0}=t;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,r8(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Yd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new V(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,n8,wo,wo);try{return o.runTask(a,n,i)}finally{o.cancelTask(a)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},n8={};function qd(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function i8(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){t0(()=>{e.callbackScheduled=!1,yd(e),e.isCheckStableRunning=!0,qd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),yd(e)}function r8(e){let t=()=>{i8(e)},n=t8++;e._inner=e._inner.fork({name:"angular",properties:{[Yd]:!0,[Wa]:n,[Wa+n]:!0},onInvokeTask:(i,r,o,a,c,d)=>{if(o8(d))return i.invokeTask(o,a,c,d);try{return X1(e),i.invokeTask(o,a,c,d)}finally{(e.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),K1(e)}},onInvoke:(i,r,o,a,c,d,f)=>{try{return X1(e),i.invoke(o,a,c,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!s8(d)&&t(),K1(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(e._hasPendingMicrotasks=a.microTask,yd(e),qd(e)):a.change=="macroTask"&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}function yd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function X1(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function K1(e){e._nesting--,qd(e)}var Ga=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new J;onMicrotaskEmpty=new J;onStable=new J;onError=new J;run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}};function o8(e){return n0(e,"__ignore_ng_zone__")}function s8(e){return n0(e,"__scheduler_tick__")}function n0(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var i0=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();var r0=new $("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function o0(e,t,n){let i=e.get(r0);if(Array.isArray(t))for(let r of t)i.queue.add(r),n?.detachedLeaveAnimationFns?.push(r);else i.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);i.scheduler&&i.scheduler(e)}function a8(e,t){let n=e.get(r0);if(t.detachedLeaveAnimationFns){for(let i of t.detachedLeaveAnimationFns)n.queue.delete(i);t.detachedLeaveAnimationFns=void 0}}function l8(e,t){for(let[n,i]of t)o0(e,i.animateFns)}function J1(e,t,n,i){let r=e?.[wi]?.enter;t!==null&&r&&r.has(n.index)&&l8(i,r)}function hr(e,t,n,i,r,o,a,c){if(r!=null){let d,f=!1;Pt(r)?d=r:Xt(r)&&(f=!0,r=r[Rt]);let h=Mt(r);e===0&&i!==null?(J1(c,i,o,n),a==null?Wh(t,i,h):Za(t,i,h,a||null,!0)):e===1&&i!==null?(J1(c,i,o,n),Za(t,i,h,a||null,!0)):e===2?eh(c,o,n,g=>{Gh(t,h,f,g)}):e===3&&eh(c,o,n,()=>{t.destroyNode(h)}),d!=null&&y8(t,e,n,d,o,i,a)}}function c8(e,t){s0(e,t),t[Rt]=null,t[lt]=null}function u8(e,t,n,i,r,o){i[Rt]=r,i[lt]=t,cl(e,i,n,1,r,o)}function s0(e,t){t[Qt].changeDetectionScheduler?.notify(9),cl(e,t,t[be],2,null,null)}function d8(e){let t=e[cr];if(!t)return id(e[H],e);for(;t;){let n=null;if(Xt(t))n=t[cr];else{let i=t[Pe];i&&(n=i)}if(!n){for(;t&&!t[xt]&&t!==e;)Xt(t)&&id(t[H],t),t=t[Ye];t===null&&(t=e),Xt(t)&&id(t[H],t),n=t&&t[xt]}t=n}}function Qd(e,t){let n=e[vo],i=n.indexOf(t);n.splice(i,1)}function ll(e,t){if(Di(t))return;let n=t[be];n.destroyNode&&cl(e,t,n,3,null,null),d8(t)}function id(e,t){if(Di(t))return;let n=Y(null);try{t[W]&=-129,t[W]|=256,t[yt]&&eo(t[yt]),m8(e,t),f8(e,t),t[H].type===1&&t[be].destroy();let i=t[yi];if(i!==null&&Pt(t[Ye])){i!==t[Ye]&&Qd(i,t);let r=t[Ci];r!==null&&r.detachView(e)}md(t)}finally{Y(n)}}function eh(e,t,n,i){let r=e?.[wi];if(r==null||r.leave==null||!r.leave.has(t.index))return i(!1);e&&Ii.add(e),o0(n,()=>{if(r.leave&&r.leave.has(t.index)){let a=r.leave.get(t.index),c=[];if(a){for(let d=0;d<a.animateFns.length;d++){let f=a.animateFns[d],{promise:h}=f();c.push(h)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(c),p8(e,i)}else e&&Ii.delete(e),i(!1)},r)}function p8(e,t){let n=e[wi]?.running;if(n){n.then(()=>{e[wi].running=void 0,Ii.delete(e),t(!0)});return}t(!1)}function f8(e,t){let n=e.cleanup,i=t[lr];if(n!==null)for(let a=0;a<n.length-1;a+=2)if(typeof n[a]=="string"){let c=n[a+3];c>=0?i[c]():i[-c].unsubscribe(),a+=2}else{let c=i[n[a+1]];n[a].call(c)}i!==null&&(t[lr]=null);let r=t[hn];if(r!==null){t[hn]=null;for(let a=0;a<r.length;a++){let c=r[a];c()}}let o=t[ho];if(o!==null){t[ho]=null;for(let a of o)a.destroy()}}function m8(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let r=t[n[i]];if(!(r instanceof Mi)){let o=n[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let c=r[o[a]],d=o[a+1];ge(4,c,d);try{d.call(c)}finally{ge(5,c,d)}}else{ge(4,r,o);try{o.call(r)}finally{ge(5,r,o)}}}}}function a0(e,t,n){return h8(e,t.parent,n)}function h8(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[Rt];if(jn(i)){let{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===bn.None||r===bn.Emulated)return null}return Ft(i,n)}function l0(e,t,n){return v8(e,t,n)}function g8(e,t,n){return e.type&40?Ft(e,n):null}var v8=g8,th;function Xd(e,t,n,i){let r=a0(e,i,t),o=t[be],a=i.parent||t[lt],c=l0(a,i,t);if(r!=null)if(Array.isArray(n))for(let d=0;d<n.length;d++)G1(o,r,n[d],c,!1);else G1(o,r,n,c,!1);th!==void 0&&th(o,i,t,n,r)}function Do(e,t){if(t!==null){let n=t.type;if(n&3)return Ft(t,e);if(n&4)return _d(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return Do(e,i);{let r=e[t.index];return Pt(r)?_d(-1,r):Mt(r)}}else{if(n&128)return Do(e,t.next);if(n&32)return Wd(t,e)()||Mt(e[t.index]);{let i=c0(e,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Rn(e[ct]);return Do(r,i)}else return Do(e,t.next)}}}return null}function c0(e,t){if(t!==null){let i=e[ct][lt],r=t.projection;return i.projection[r]}return null}function _d(e,t){let n=Pe+e+1;if(n<t.length){let i=t[n],r=i[H].firstChild;if(r!==null)return Do(i,r)}return t[Vn]}function Kd(e,t,n,i,r,o,a){for(;n!=null;){let c=i[gn];if(n.type===128){n=n.next;continue}let d=i[n.index],f=n.type;if(a&&t===0&&(d&&br(Mt(d),i),n.flags|=2),!ol(n))if(f&8)Kd(e,t,n.child,i,r,o,!1),hr(t,e,c,r,d,n,o,i);else if(f&32){let h=Wd(n,i),g;for(;g=h();)hr(t,e,c,r,g,n,o,i);hr(t,e,c,r,d,n,o,i)}else f&16?u0(e,t,i,n,r,o):hr(t,e,c,r,d,n,o,i);n=a?n.projectionNext:n.next}}function cl(e,t,n,i,r,o){Kd(n,i,e.firstChild,t,r,o,!1)}function b8(e,t,n){let i=t[be],r=a0(e,n,t),o=n.parent||t[lt],a=l0(o,n,t);u0(i,0,t,n,r,a)}function u0(e,t,n,i,r,o){let a=n[ct],d=a[lt].projection[i.projection];if(Array.isArray(d))for(let f=0;f<d.length;f++){let h=d[f];hr(t,e,n[gn],r,h,i,o,n)}else{let f=d,h=a[Ye];kh(i)&&(f.flags|=128),Kd(e,t,f,h,r,o,!0)}}function y8(e,t,n,i,r,o,a){let c=i[Vn],d=Mt(i);c!==d&&hr(t,e,n,o,c,r,a);for(let f=Pe;f<i.length;f++){let h=i[f];cl(h[H],h,e,t,o,c)}}function _8(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=i.indexOf("-")===-1?void 0:Ht.DashCase;r==null?e.removeStyle(n,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ht.Important),e.setStyle(n,i,r,o))}}function d0(e,t,n,i,r){let o=vn(),a=i&2;try{Bn(-1),a&&t.length>Ie&&Jh(e,t,Ie,!1),ge(a?2:0,r,n),n(i,r)}finally{Bn(o),ge(a?3:1,r,n)}}function ul(e,t,n){I8(e,t,n),(n.flags&64)===64&&S8(e,t,n)}function Ro(e,t,n=Ft){let i=t.localNames;if(i!==null){let r=t.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],c=a===-1?n(t,e):e[a];e[r++]=c}}}function C8(e,t,n,i){let o=i.get(jh,Vh)||n===bn.ShadowDom,a=e.selectRootElement(t,o);return w8(a),a}function w8(e){D8(e)}var D8=()=>null;function E8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function x8(e,t,n,i,r,o){let a=t[H];if(np(e,a,t,n,i)){jn(e)&&M8(t,e.index);return}e.type&3&&(n=E8(n)),p0(e,t,n,i,r,o)}function p0(e,t,n,i,r,o){if(e.type&3){let a=Ft(e,t);i=o!=null?o(i,e.value||"",n):i,r.setProperty(a,n,i)}else e.type&12}function M8(e,t){let n=It(t,e);n[W]&16||(n[W]|=64)}function I8(e,t,n){let i=n.directiveStart,r=n.directiveEnd;jn(n)&&J5(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ua(n,t);let o=n.initialInputs;for(let a=i;a<r;a++){let c=e.data[a],d=za(t,e,a,n);if(br(d,t),o!==null&&N8(t,a-i,d,c,n,o),Kt(c)){let f=It(n.index,t);f[Re]=za(t,e,a,n)}}}function S8(e,t,n){let i=n.directiveStart,r=n.directiveEnd,o=n.index,a=k1();try{Bn(o);for(let c=i;c<r;c++){let d=e.data[c],f=t[c];Ia(c),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&T8(d,f)}}finally{Bn(-1),Ia(a)}}function T8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Jd(e,t){let n=e.directiveRegistry,i=null;if(n)for(let r=0;r<n.length;r++){let o=n[r];Qh(t,o.selectors,!1)&&(i??=[],Kt(o)?i.unshift(o):i.push(o))}return i}function k8(e,t,n,i,r,o){let a=Ft(e,t);A8(t[be],a,o,e.value,n,i,r)}function A8(e,t,n,i,r,o,a){if(o==null)e.removeAttribute(t,r,n);else{let c=a==null?or(o):a(o,i||"",r);e.setAttribute(t,r,c,n)}}function N8(e,t,n,i,r,o){let a=o[t];if(a!==null)for(let c=0;c<a.length;c+=2){let d=a[c],f=a[c+1];vd(i,n,d,f)}}function ep(e,t,n,i,r){let o=Ie+n,a=t[H],c=r(a,t,e,i,n);t[o]=c,fr(e,!0);let d=e.type===2;return d?(Yh(t[be],c,e),(D1()===0||ur(e))&&br(c,t),E1()):br(c,t),Aa()&&(!d||!ol(e))&&Xd(a,t,c,e),e}function tp(e){let t=e;return $u()?Zu():(t=t.parent,fr(t,!1)),t}function L8(e,t){let n=e[gn];if(!n)return;let i;try{i=n.get(Jt,null)}catch{i=null}i?.(t)}function np(e,t,n,i,r){let o=e.inputs?.[i],a=e.hostDirectiveInputs?.[i],c=!1;if(a)for(let d=0;d<a.length;d+=2){let f=a[d],h=a[d+1],g=t.data[f];vd(g,n[f],h,r),c=!0}if(o)for(let d of o){let f=n[d],h=t.data[d];vd(h,f,i,r),c=!0}return c}function O8(e,t){let n=It(t,e),i=n[H];R8(i,n);let r=n[Rt];r!==null&&n[vi]===null&&(n[vi]=Hh(r,n[gn])),ge(18),ip(i,n,n[Re]),ge(19,n[Re])}function R8(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ip(e,t,n){Sa(t);try{let i=e.viewQuery;i!==null&&gd(1,i,n);let r=e.template;r!==null&&d0(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ci]?.finishViewCreation(e),e.staticContentQueries&&Bh(e,t),e.staticViewQueries&&gd(2,e.viewQuery,n);let o=e.components;o!==null&&P8(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[W]&=-5,Ta()}}function P8(e,t){for(let n=0;n<t.length;n++)O8(e,t[n])}function Po(e,t,n,i){let r=Y(null);try{let o=t.tView,c=e[W]&4096?4096:16,d=$d(e,o,n,c,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),f=e[t.index];d[yi]=f;let h=e[Ci];return h!==null&&(d[Ci]=h.createEmbeddedView(o)),ip(o,d,n),d}finally{Y(r)}}function yr(e,t){return!t||t.firstChild===null||kh(e)}function xo(e,t,n,i,r=!1){for(;n!==null;){if(n.type===128){n=r?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&i.push(Mt(o)),Pt(o)&&f0(o,i);let a=n.type;if(a&8)xo(e,t,n.child,i);else if(a&32){let c=Wd(n,t),d;for(;d=c();)i.push(d)}else if(a&16){let c=c0(t,n);if(Array.isArray(c))i.push(...c);else{let d=Rn(t[ct]);xo(d[H],d,c,i,!0)}}n=r?n.projectionNext:n.next}return i}function f0(e,t){for(let n=Pe;n<e.length;n++){let i=e[n],r=i[H].firstChild;r!==null&&xo(i[H],i,r,t)}e[Vn]!==e[Rt]&&t.push(e[Vn])}function m0(e){if(e[wa]!==null){for(let t of e[wa])t.impl.addSequence(t);e[wa].length=0}}var h0=[];function F8(e){return e[yt]??V8(e)}function V8(e){let t=h0.pop()??Object.create(H8);return t.lView=e,t}function j8(e){e.lView[yt]!==e&&(e.lView=null,h0.push(e))}var H8=it(Oe({},Xr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yo(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}});function B8(e){let t=e[yt]??Object.create(U8);return t.lView=e,t}var U8=it(Oe({},Xr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Rn(e.lView);for(;t&&!g0(t[H]);)t=Rn(t);t&&Ea(t)},consumerOnSignalRead(){this.lView[yt]=this}});function g0(e){return e.type!==2}function v0(e){if(e[ho]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[ho])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[W]&8192)}}var z8=100;function b0(e,t=0){let i=e[Qt].rendererFactory,r=!1;r||i.begin?.();try{$8(e,t)}finally{r||i.end?.()}}function $8(e,t){let n=Wu();try{Gu(!0),Cd(e,t);let i=0;for(;pr(e);){if(i===z8)throw new V(103,!1);i++,Cd(e,1)}}finally{Gu(n)}}function Z8(e,t,n,i){if(Di(t))return;let r=t[W],o=!1,a=!1;Sa(t);let c=!0,d=null,f=null;o||(g0(e)?(f=F8(t),d=Jr(f)):Ls()===null?(c=!1,f=B8(t),d=Jr(f)):t[yt]&&(eo(t[yt]),t[yt]=null));try{Fu(t),I1(e.bindingStartIndex),n!==null&&d0(e,t,n,2,i);let h=(r&3)===3;if(!o)if(h){let b=e.preOrderCheckHooks;b!==null&&Oa(t,b,null)}else{let b=e.preOrderHooks;b!==null&&Ra(t,b,0,null),td(t,0)}if(a||W8(t),v0(t),y0(t,0),e.contentQueries!==null&&Bh(e,t),!o)if(h){let b=e.contentCheckHooks;b!==null&&Oa(t,b)}else{let b=e.contentHooks;b!==null&&Ra(t,b,1),td(t,1)}Y8(e,t);let g=e.components;g!==null&&C0(t,g,0);let y=e.viewQuery;if(y!==null&&gd(2,y,i),!o)if(h){let b=e.viewCheckHooks;b!==null&&Oa(t,b)}else{let b=e.viewHooks;b!==null&&Ra(t,b,2),td(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ca]){for(let b of t[Ca])b();t[Ca]=null}o||(m0(t),t[W]&=-73)}catch(h){throw o||yo(t),h}finally{f!==null&&(Os(f,d),c&&j8(f)),Ta()}}function y0(e,t){for(let n=Nh(e);n!==null;n=Lh(n))for(let i=Pe;i<n.length;i++){let r=n[i];_0(r,t)}}function W8(e){for(let t=Nh(e);t!==null;t=Lh(t)){if(!(t[W]&2))continue;let n=t[vo];for(let i=0;i<n.length;i++){let r=n[i];Ea(r)}}}function G8(e,t,n){ge(18);let i=It(t,e);_0(i,n),ge(19,i[Re])}function _0(e,t){Da(e)&&Cd(e,t)}function Cd(e,t){let i=e[H],r=e[W],o=e[yt],a=!!(t===0&&r&16);if(a||=!!(r&64&&t===0),a||=!!(r&1024),a||=!!(o?.dirty&&Rs(o)),a||=!1,o&&(o.dirty=!1),e[W]&=-9217,a)Z8(i,e,i.template,e[Re]);else if(r&8192){let c=Y(null);try{v0(e),y0(e,1);let d=i.components;d!==null&&C0(e,d,1),m0(e)}finally{Y(c)}}}function C0(e,t,n){for(let i=0;i<t.length;i++)G8(e,t[i],n)}function Y8(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let r=n[i];if(r<0)Bn(~r);else{let o=r,a=n[++i],c=n[++i];T1(a,o);let d=t[o];ge(24,d),c(2,d),ge(25,d)}}}finally{Bn(-1)}}function rp(e,t){let n=Wu()?64:1088;for(e[Qt].changeDetectionScheduler?.notify(t);e;){e[W]|=n;let i=Rn(e);if(dr(e)&&!i)return e;e=i}return null}function w0(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function D0(e,t){let n=Pe+t;if(n<e.length)return e[n]}function Fo(e,t,n,i=!0){let r=t[H];if(q8(r,t,e,n),i){let a=_d(n,e),c=t[be],d=c.parentNode(e[Vn]);d!==null&&u8(r,e[lt],c,t,d,a)}let o=t[vi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function E0(e,t){let n=Mo(e,t);return n!==void 0&&ll(n[H],n),n}function Mo(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n];if(i){let r=i[yi];r!==null&&r!==e&&Qd(r,i),t>0&&(e[n-1][xt]=i[xt]);let o=co(e,Pe+t);c8(i[H],i);let a=o[Ci];a!==null&&a.detachView(o[H]),i[Ye]=null,i[xt]=null,i[W]&=-129}return i}function q8(e,t,n,i){let r=Pe+i,o=n.length;i>0&&(n[r-1][xt]=t),i<o-Pe?(t[xt]=n[r],Du(n,Pe+i,t)):(n.push(t),t[xt]=null),t[Ye]=n;let a=t[yi];a!==null&&n!==a&&x0(a,t);let c=t[Ci];c!==null&&c.insertView(e),xa(t),t[W]|=128}function x0(e,t){let n=e[vo],i=t[Ye];if(Xt(i))e[W]|=2;else{let r=i[Ye][ct];t[ct]!==r&&(e[W]|=2)}n===null?e[vo]=[t]:n.push(t)}var $n=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[H];return xo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Re]}set context(t){this._lView[Re]=t}get destroyed(){return Di(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Ye];if(Pt(t)){let n=t[go],i=n?n.indexOf(this):-1;i>-1&&(Mo(t,i),co(n,i))}this._attachedToViewContainer=!1}ll(this._lView[H],this._lView)}onDestroy(t){Vu(this._lView,t)}markForCheck(){rp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[W]&=-129}reattach(){xa(this._lView),this._lView[W]|=128}detectChanges(){this._lView[W]|=1024,b0(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=dr(this._lView),n=this._lView[yi];n!==null&&!t&&Qd(n,this._lView),s0(this._lView[H],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;let n=dr(this._lView),i=this._lView[yi];i!==null&&!n&&x0(i,this._lView),xa(this._lView)}};function op(e){return pr(e._lView)||!!(e._lView[W]&64)}function sp(e){Ea(e._lView)}var Vo=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Q8;constructor(n,i,r){this._declarationLView=n,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,r){let o=Po(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:i,dehydratedView:r});return new $n(o)}}return e})();function Q8(){return M0(tt(),G())}function M0(e,t){return e.type&4?new Vo(t,e,tl(e,t)):null}function Dr(e,t,n,i,r){let o=e.data[t];if(o===null)o=X8(e,t,n,i,r),S1()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=i,o.attrs=r;let a=x1();o.injectorIndex=a===null?-1:a.injectorIndex}return fr(o,!0),o}function X8(e,t,n,i,r){let o=zu(),a=$u(),c=a?o:o&&o.parent,d=e.data[t]=J8(e,c,n,t,i,r);return K8(e,d,o,a),d}function K8(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function J8(e,t,n,i,r,o){let a=t?t.injectorIndex:-1,c=0;return Hu()&&(c|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:c,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var ZS=new RegExp(`^(\\d+)*(${E5}|${D5})*(.*)`);function e_(e){let t=e[Nu]??[],i=e[Ye][be],r=[];for(let o of t)o.data[Fh]!==void 0?r.push(o):t_(o,i);e[Nu]=r}function t_(e,t){let n=0,i=e.firstChild;if(i){let r=e.data[Ph];for(;n<r;){let o=i.nextSibling;Gh(t,i,!1),i=o,n++}}}var n_=()=>null,i_=()=>null;function Ya(e,t){return n_(e,t)}function I0(e,t,n){return i_(e,t,n)}var S0=class{},dl=class{},wd=class{resolveComponentFactory(t){throw new V(917,!1)}},Ai=class{static NULL=new wd},Si=class{},pl=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>r_()}return e})();function r_(){let e=G(),t=tt(),n=It(t.index,e);return(Xt(n)?n:e)[be]}var T0=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:()=>null})}return e})();var Pa={},Dd=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){let r=this.injector.get(t,Pa,i);return r!==Pa||n===Pa?r:this.parentInjector.get(t,n,i)}};function qa(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(t!==null)for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number")o=c;else if(o==1)r=pa(r,c);else if(o==2){let d=c,f=t[++a];i=pa(i,d+": "+f+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function $e(e,t=0){let n=G();if(n===null)return j(e,t);let i=tt();return Ih(i,n,Xe(e),t)}function k0(e,t,n,i,r){let o=i===null?null:{"":-1},a=r(e,n);if(a!==null){let c=a,d=null,f=null;for(let h of a)if(h.resolveHostDirectives!==null){[c,d,f]=h.resolveHostDirectives(a);break}a_(e,t,n,c,o,d,f)}o!==null&&i!==null&&o_(n,i,o)}function o_(e,t,n){let i=e.localNames=[];for(let r=0;r<t.length;r+=2){let o=n[t[r+1]];if(o==null)throw new V(-301,!1);i.push(t[r],o)}}function s_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function a_(e,t,n,i,r,o,a){let c=i.length,d=!1;for(let y=0;y<c;y++){let b=i[y];!d&&Kt(b)&&(d=!0,s_(e,n,y)),pd(Ua(n,t),e,b.type)}f_(n,e.data.length,c);for(let y=0;y<c;y++){let b=i[y];b.providersResolver&&b.providersResolver(b)}let f=!1,h=!1,g=Kh(e,t,c,null);c>0&&(n.directiveToIndex=new Map);for(let y=0;y<c;y++){let b=i[y];if(n.mergedAttrs=vr(n.mergedAttrs,b.hostAttrs),c_(e,n,t,g,b),p_(g,b,r),a!==null&&a.has(b)){let[A,k]=a.get(b);n.directiveToIndex.set(b.type,[g,A+n.directiveStart,k+n.directiveStart])}else(o===null||!o.has(b))&&n.directiveToIndex.set(b.type,g);b.contentQueries!==null&&(n.flags|=4),(b.hostBindings!==null||b.hostAttrs!==null||b.hostVars!==0)&&(n.flags|=64);let _=b.type.prototype;!f&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!h&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),g++}l_(e,n,o)}function l_(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=e.data[i];if(n===null||!n.has(r))nh(0,t,r,i),nh(1,t,r,i),rh(t,i,!1);else{let o=n.get(r);ih(0,t,o,i),ih(1,t,o,i),rh(t,i,!0)}}}function nh(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;e===0?a=t.inputs??={}:a=t.outputs??={},a[o]??=[],a[o].push(i),A0(t,o)}}function ih(e,t,n,i){let r=e===0?n.inputs:n.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],c;e===0?c=t.hostDirectiveInputs??={}:c=t.hostDirectiveOutputs??={},c[a]??=[],c[a].push(i,o),A0(t,a)}}function A0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function rh(e,t,n){let{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(i===null||!n&&r===null||n&&o===null||Ud(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let a=null,c=0;for(;c<i.length;){let d=i[c];if(d===0){c+=4;continue}else if(d===5){c+=2;continue}else if(typeof d=="number")break;if(!n&&r.hasOwnProperty(d)){let f=r[d];for(let h of f)if(h===t){a??=[],a.push(d,i[c+1]);break}}else if(n&&o.hasOwnProperty(d)){let f=o[d];for(let h=0;h<f.length;h+=2)if(f[h]===t){a??=[],a.push(f[h+1],i[c+1]);break}}c+=2}e.initialInputs??=[],e.initialInputs.push(a)}function c_(e,t,n,i,r){e.data[i]=r;let o=r.factory||(r.factory=On(r.type,!0)),a=new Mi(o,Kt(r),$e,null);e.blueprint[i]=a,n[i]=a,u_(e,t,i,Kh(e,n,r.hostVars,Ct),r)}function u_(e,t,n,i,r){let o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;a===null&&(a=e.hostBindingOpCodes=[]);let c=~t.index;d_(a)!=c&&a.push(c),a.push(n,i,o)}}function d_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function p_(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Kt(t)&&(n[""]=e)}}function f_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ap(e,t,n,i,r,o,a,c){let d=t[H],f=d.consts,h=St(f,a),g=Dr(d,e,n,i,h);return o&&k0(d,t,g,St(f,c),r),g.mergedAttrs=vr(g.mergedAttrs,g.attrs),g.attrs!==null&&qa(g,g.attrs,!1),g.mergedAttrs!==null&&qa(g,g.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,g),g}function lp(e,t){yh(e,t),Lu(t)&&e.queries.elementEnd(t)}function m_(e,t,n,i,r,o){let a=t.consts,c=St(a,r),d=Dr(t,e,n,i,c);if(d.mergedAttrs=vr(d.mergedAttrs,d.attrs),o!=null){let f=St(a,o);d.localNames=[];for(let h=0;h<f.length;h+=2)d.localNames.push(f[h],-1)}return d.attrs!==null&&qa(d,d.attrs,!1),d.mergedAttrs!==null&&qa(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function cp(e){return fl(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function N0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),i;for(;!(i=n.next()).done;)t(i.value)}}function fl(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ml(e,t,n){return e[t]=n}function h_(e,t){return e[t]}function ft(e,t,n){if(n===Ct)return!1;let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Qa(e,t,n,i){let r=ft(e,t,n);return ft(e,t+1,i)||r}function g_(e,t,n,i,r){let o=Qa(e,t,n,i);return ft(e,t+2,r)||o}function v_(e,t,n,i,r,o){let a=Qa(e,t,n,i);return Qa(e,t+2,r,o)||a}function Fa(e,t,n){return function i(r){let o=jn(e)?It(e.index,t):t;rp(o,5);let a=t[Re],c=oh(t,a,n,r),d=i.__ngNextListenerFn__;for(;d;)c=oh(t,a,d,r)&&c,d=d.__ngNextListenerFn__;return c}}function oh(e,t,n,i){let r=Y(null);try{return ge(6,t,n),n(i)!==!1}catch(o){return L8(e,o),!1}finally{ge(7,t,n),Y(r)}}function L0(e,t,n,i,r,o,a,c){let d=ur(e),f=!1,h=null;if(!i&&d&&(h=y_(t,n,o,e.index)),h!==null){let g=h.__ngLastListenerFn__||h;g.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,f=!0}else{let g=Ft(e,n),y=i?i(g):g;M5(n,y,o,c);let b=r.listen(y,o,c);if(!b_(o)){let _=i?A=>i(Mt(A[e.index])):e.index;O0(_,t,n,o,c,b,!1)}}return f}function b_(e){return e.startsWith("animation")||e.startsWith("transition")}function y_(e,t,n,i){let r=e.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===n&&r[o+1]===i){let c=t[lr],d=r[o+2];return c&&c.length>d?c[d]:null}typeof a=="string"&&(o+=2)}return null}function O0(e,t,n,i,r,o,a){let c=t.firstCreatePass?w1(t):null,d=C1(n),f=d.length;d.push(r,o),c&&c.push(i,e,f,(f+1)*(a?-1:1))}function sh(e,t,n,i,r,o){let a=t[n],c=t[H],f=c.data[n].outputs[i],g=a[f].subscribe(o);O0(e.index,c,t,r,o,g,!0)}var Ed=Symbol("BINDING");var xd=class extends Ai{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=gi(t);return new Io(n,this.ngModule)}};function __(e){return Object.keys(e).map(t=>{let[n,i,r]=e[t],o={propName:n,templateName:t,isSignal:(i&al.SignalBased)!==0};return r&&(o.transform=r),o})}function C_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function w_(e,t,n){let i=t instanceof pt?t:t?.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new Dd(n,i):n}function D_(e){let t=e.get(Si,null);if(t===null)throw new V(407,!1);let n=e.get(T0,null),i=e.get(qt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i,ngReflect:!1}}function E_(e,t){let n=R0(e);return Zh(t,n,n==="svg"?g1:n==="math"?v1:null)}function R0(e){return(e.selectors[0][0]||"div").toLowerCase()}var Io=class extends dl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=__(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=C_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=q5(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,i,r,o,a){ge(22);let c=Y(null);try{let d=this.componentDef,f=x_(i,d,a,o),h=w_(d,r||this.ngModule,t),g=D_(h),y=g.rendererFactory.createRenderer(null,d),b=i?C8(y,i,d.encapsulation,h):E_(d,y),_=a?.some(ah)||o?.some(I=>typeof I!="function"&&I.bindings.some(ah)),A=$d(null,f,null,512|Xh(d),null,null,g,y,h,null,Hh(b,h,!0));A[Ie]=b,Sa(A);let k=null;try{let I=ap(Ie,A,2,"#host",()=>f.directiveRegistry,!0,0);Yh(y,b,I),br(b,A),ul(f,A,I),Hd(f,I,A),lp(f,I),n!==void 0&&I_(I,this.ngContentSelectors,n),k=It(I.index,A),A[Re]=k[Re],ip(f,A,null)}catch(I){throw k!==null&&md(k),md(A),I}finally{ge(23),Ta()}return new Xa(this.componentType,A,!!_)}finally{Y(c)}}};function x_(e,t,n,i){let r=e?["ng-version","20.3.16"]:Q5(t.selectors[0]),o=null,a=null,c=0;if(n)for(let h of n)c+=h[Ed].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(i)for(let h=0;h<i.length;h++){let g=i[h];if(typeof g!="function")for(let y of g.bindings){c+=y[Ed].requiredVars;let b=h+1;y.create&&(y.targetIdx=b,(o??=[]).push(y)),y.update&&(y.targetIdx=b,(a??=[]).push(y))}}let d=[t];if(i)for(let h of i){let g=typeof h=="function"?h:h.type,y=Mu(g);d.push(y)}return zd(0,null,M_(o,a),1,c,d,null,null,null,[r],null)}function M_(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let i of e)i.create();if(n&2&&t)for(let i of t)i.update()}}function ah(e){let t=e[Ed].kind;return t==="input"||t==="twoWay"}var Xa=class extends S0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,i){super(),this._rootLView=n,this._hasInputBindings=i,this._tNode=bo(n[H],Ie),this.location=tl(this._tNode,n),this.instance=It(this._tNode.index,n)[Re],this.hostView=this.changeDetectorRef=new $n(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let r=this._rootLView,o=np(i,r[H],r,t,n);this.previousInputValues.set(t,n);let a=It(i.index,r);rp(a,1)}get injector(){return new xi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function I_(e,t,n){let i=e.projection=[];for(let r=0;r<t.length;r++){let o=n[r];i.push(o!=null&&o.length?Array.from(o):null)}}var Er=(()=>{class e{static __NG_ELEMENT_ID__=S_}return e})();function S_(){let e=tt();return k_(e,G())}var T_=Er,P0=class extends T_{_lContainer;_hostTNode;_hostLView;constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return tl(this._hostTNode,this._hostLView)}get injector(){return new xi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fd(this._hostTNode,this._hostLView);if(Ch(t)){let n=Ha(t,this._hostLView),i=ja(t),r=n[H].data[i+8];return new xi(r,n)}else return new xi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=lh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(t,n,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=Ya(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(c,r,yr(this._hostTNode,a)),c}createComponent(t,n,i,r,o,a,c){let d=t&&!K4(t),f;if(d)f=n;else{let k=n||{};f=k.index,i=k.injector,r=k.projectableNodes,o=k.environmentInjector||k.ngModuleRef,a=k.directives,c=k.bindings}let h=d?t:new Io(gi(t)),g=i||this.parentInjector;if(!o&&h.ngModule==null){let I=(d?g:this.parentInjector).get(pt,null);I&&(o=I)}let y=gi(h.componentType??{}),b=Ya(this._lContainer,y?.id??null),_=b?.firstChild??null,A=h.create(g,r,_,o,a,c);return this.insertImpl(A.hostView,f,yr(this._hostTNode,b)),A}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let r=t._lView;if(b1(r)){let c=this.indexOf(t);if(c!==-1)this.detach(c);else{let d=r[Ye],f=new P0(d,d[lt],d[Ye]);f.detach(f.indexOf(t))}}let o=this._adjustIndex(n),a=this._lContainer;return Fo(a,r,o,i),t.attachToViewContainerRef(),Du(rd(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=lh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=Mo(this._lContainer,n);i&&(co(rd(this._lContainer),n),ll(i[H],i))}detach(t){let n=this._adjustIndex(t,-1),i=Mo(this._lContainer,n);return i&&co(rd(this._lContainer),n)!=null?new $n(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function lh(e){return e[go]}function rd(e){return e[go]||(e[go]=[])}function k_(e,t){let n,i=t[e.index];return Pt(i)?n=i:(n=w0(i,t,null,e),t[e.index]=n,Zd(t,n)),N_(n,t,e,i),new P0(n,e,t)}function A_(e,t){let n=e[be],i=n.createComment(""),r=Ft(t,e),o=n.parentNode(r);return Za(n,o,i,n.nextSibling(r),!1),i}var N_=R_,L_=()=>!1;function O_(e,t,n){return L_(e,t,n)}function R_(e,t,n,i){if(e[Vn])return;let r;n.type&8?r=Mt(i):r=A_(t,n),e[Vn]=r}var So=class{};var To=class extends So{injector;componentFactoryResolver=new xd(this);instance=null;constructor(t){super();let n=new fi([...t.providers,{provide:So,useValue:this},{provide:Ai,useValue:this.componentFactoryResolver}],t.parent||fo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function F0(e,t,n=null){return new To({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var P_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Iu(!1,n.type),r=i.length>0?F0([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(j(pt))})}return e})();function ce(e){return No(()=>{let t=V0(e),n=it(Oe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(P_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bn.Emulated,styles:e.styles||at,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wr("NgStandalone"),j0(n);let i=e.dependencies;return n.directiveDefs=ch(i,F_),n.pipeDefs=ch(i,u1),n.id=H_(n),n})}function F_(e){return gi(e)||Mu(e)}function Ni(e){return No(()=>({type:e.type,bootstrap:e.bootstrap||at,declarations:e.declarations||at,imports:e.imports||at,exports:e.exports||at,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function V_(e,t){if(e==null)return Fn;let n={};for(let i in e)if(e.hasOwnProperty(i)){let r=e[i],o,a,c,d;Array.isArray(r)?(c=r[0],o=r[1],a=r[2]??o,d=r[3]||null):(o=r,a=r,c=al.None,d=null),n[o]=[i,c,d],t[o]=a}return n}function j_(e){if(e==null)return Fn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Wn(e){return No(()=>{let t=V0(e);return j0(t),t})}function hl(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function V0(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Fn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||at,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:V_(e.inputs,t),outputs:j_(e.outputs),debugInfo:null}}function j0(e){e.features?.forEach(t=>t(e))}function ch(e,t){return e?()=>{let n=typeof e=="function"?e():e,i=[];for(let r of n){let o=t(r);o!==null&&i.push(o)}return i}:null}function H_(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function B_(e){return Object.getPrototypeOf(e.prototype).constructor}function Ze(e){let t=B_(e.type),n=!0,i=[e];for(;t;){let r;if(Kt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);let a=e;a.inputs=od(e.inputs),a.declaredInputs=od(e.declaredInputs),a.outputs=od(e.outputs);let c=r.hostBindings;c&&W_(e,c);let d=r.viewQuery,f=r.contentQueries;if(d&&$_(e,d),f&&Z_(e,f),U_(e,r),i1(e.outputs,r.outputs),Kt(r)&&r.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let c=o[a];c&&c.ngInherit&&c(e),c===Ze&&(n=!1)}}t=Object.getPrototypeOf(t)}z_(i)}function U_(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function z_(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=vr(r.hostAttrs,n=vr(n,r.hostAttrs))}}function od(e){return e===Fn?{}:e===at?[]:e}function $_(e,t){let n=e.viewQuery;n?e.viewQuery=(i,r)=>{t(i,r),n(i,r)}:e.viewQuery=t}function Z_(e,t){let n=e.contentQueries;n?e.contentQueries=(i,r,o)=>{t(i,r,o),n(i,r,o)}:e.contentQueries=t}function W_(e,t){let n=e.hostBindings;n?e.hostBindings=(i,r)=>{t(i,r),n(i,r)}:e.hostBindings=t}function H0(e,t,n,i,r,o,a,c){if(n.firstCreatePass){e.mergedAttrs=vr(e.mergedAttrs,e.attrs);let h=e.tView=zd(2,e,r,o,a,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),h.queries=n.queries.embeddedTView(e))}c&&(e.flags|=c),fr(e,!1);let d=Y_(n,t,e,i);Aa()&&Xd(n,t,d,e),br(d,t);let f=w0(d,t,d,e);t[i+Ie]=f,Zd(t,f),O_(f,e,t)}function G_(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ie,y;return t.firstCreatePass?(y=Dr(t,g,4,a||null,c||null),Ma()&&k0(t,e,y,St(t.consts,f),Jd),yh(t,y)):y=t.data[g],H0(y,e,t,n,i,r,o,d),ur(y)&&ul(t,e,y),f!=null&&Ro(e,y,h),y}function ko(e,t,n,i,r,o,a,c,d,f,h){let g=n+Ie,y;if(t.firstCreatePass){if(y=Dr(t,g,4,a||null,c||null),f!=null){let b=St(t.consts,f);y.localNames=[];for(let _=0;_<b.length;_+=2)y.localNames.push(b[_],-1)}}else y=t.data[g];return H0(y,e,t,n,i,r,o,d),f!=null&&Ro(e,y,h),y}function ae(e,t,n,i,r,o,a,c){let d=G(),f=Ue(),h=St(f.consts,o);return G_(d,f,e,t,n,i,r,h,void 0,a,c),ae}var Y_=q_;function q_(e,t,n,i){return _o(!0),t[be].createComment("")}var up=new $("");function gl(e){return!!e&&typeof e.then=="function"}function dp(e){return!!e&&typeof e.subscribe=="function"}var B0=new $("");var pp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i});appInits=R(B0,{optional:!0})??[];injector=R(Gt);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=ar(this.injector,r);if(gl(o))n.push(o);else if(dp(o)){let a=new Promise((c,d)=>{o.subscribe({complete:c,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),n.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),U0=new $("");function z0(){zc(()=>{let e="";throw new V(600,e)})}function $0(e){return e.isBoundToModule}var Q_=10;var Li=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=R(Jt);afterRenderManager=R(i0);zonelessEnabled=R(Na);rootEffectScheduler=R(ed);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ot;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=R(zn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ot(n=>!n))}constructor(){R(Oo,{optional:!0})}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}_injector=R(pt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,r=Gt.NULL){return this._injector.get(ze).run(()=>{ge(10);let a=n instanceof dl;if(!this._injector.get(pp).done){let _="";throw new V(405,_)}let d;a?d=n:d=this._injector.get(Ai).resolveComponentFactory(n),this.componentTypes.push(d.componentType);let f=$0(d)?void 0:this._injector.get(So),h=i||d.selector,g=d.create(r,[],h,f),y=g.location.nativeElement,b=g.injector.get(up,null);return b?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),Eo(this.components,g),b?.unregisterApplication(y)}),this._loadComponent(g),ge(11,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ge(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Gd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new V(101,!1);let n=Y(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Y(n),this.afterTick.next(),ge(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Si,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Q_;)ge(14),this.synchronizeOnce(),ge(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!pr(r))continue;let o=i&&!this.zonelessEnabled?0:1;b0(r,o),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>pr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;Eo(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(n),this._injector.get(U0,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Eo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function yn(e,t,n,i){let r=G(),o=Hn();if(ft(r,o,t)){let a=Ue(),c=ka();k8(c,r,e,t,n,i)}return yn}var XS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Md=class{destroy(t){}updateValue(t,n){}swap(t,n){let i=Math.min(t,n),r=Math.max(t,n),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(t,n){this.attach(n,this.detach(t))}};function sd(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function X_(e,t,n){let i,r,o=0,a=e.length-1,c=void 0;if(Array.isArray(t)){let d=t.length-1;for(;o<=a&&o<=d;){let f=e.at(o),h=t[o],g=sd(o,f,o,h,n);if(g!==0){g<0&&e.updateValue(o,h),o++;continue}let y=e.at(a),b=t[d],_=sd(a,y,d,b,n);if(_!==0){_<0&&e.updateValue(a,b),a--,d--;continue}let A=n(o,f),k=n(a,y),I=n(o,h);if(Object.is(I,k)){let Z=n(d,b);Object.is(Z,A)?(e.swap(o,a),e.updateValue(a,b),d--,a--):e.move(a,o),e.updateValue(o,h),o++;continue}if(i??=new Ka,r??=dh(e,o,a,n),Id(e,i,o,I))e.updateValue(o,h),o++,a++;else if(r.has(I))i.set(A,e.detach(o)),a--;else{let Z=e.create(o,t[o]);e.attach(o,Z),o++,a++}}for(;o<=d;)uh(e,i,n,o,t[o]),o++}else if(t!=null){let d=t[Symbol.iterator](),f=d.next();for(;!f.done&&o<=a;){let h=e.at(o),g=f.value,y=sd(o,h,o,g,n);if(y!==0)y<0&&e.updateValue(o,g),o++,f=d.next();else{i??=new Ka,r??=dh(e,o,a,n);let b=n(o,g);if(Id(e,i,o,b))e.updateValue(o,g),o++,a++,f=d.next();else if(!r.has(b))e.attach(o,e.create(o,g)),o++,a++,f=d.next();else{let _=n(o,h);i.set(_,e.detach(o)),a--}}}for(;!f.done;)uh(e,i,n,e.length,f.value),f=d.next()}for(;o<=a;)e.destroy(e.detach(a--));i?.forEach(d=>{e.destroy(d)})}function Id(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function uh(e,t,n,i,r){if(Id(e,t,i,n(i,r)))e.updateValue(i,r);else{let o=e.create(i,r);e.attach(i,o)}}function dh(e,t,n,i){let r=new Set;for(let o=t;o<=n;o++)r.add(i(o,e.at(o)));return r}var Ka=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}};function ke(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=G(),f=Ue(),h=St(f.consts,o);return ko(d,f,e,t,n,i,r,h,256,a,c),fp}function fp(e,t,n,i,r,o,a,c){wr("NgControlFlow");let d=G(),f=Ue(),h=St(f.consts,o);return ko(d,f,e,t,n,i,r,h,512,a,c),fp}function Ae(e,t){wr("NgControlFlow");let n=G(),i=Hn(),r=n[i]!==Ct?n[i]:-1,o=r!==-1?Ja(n,Ie+r):void 0,a=0;if(ft(n,i,e)){let c=Y(null);try{if(o!==void 0&&E0(o,a),e!==-1){let d=Ie+e,f=Ja(n,d),h=Ad(n[H],d),g=I0(f,h,n),y=Po(n,h,t,{dehydratedView:g});Fo(f,y,a,yr(h,g))}}finally{Y(c)}}else if(o!==void 0){let c=D0(o,a);c!==void 0&&(c[Re]=t)}}var Sd=class{lContainer;$implicit;$index;constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-Pe}};var Td=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}};function vl(e,t,n,i,r,o,a,c,d,f,h,g,y){wr("NgControlFlow");let b=G(),_=Ue(),A=d!==void 0,k=G(),I=c?a.bind(k[ct][Re]):a,Z=new Td(A,I);k[Ie+e]=Z,ko(b,_,e+1,t,n,i,r,St(_.consts,o),256),A&&ko(b,_,e+2,d,f,h,g,St(_.consts,y),512)}var kd=class extends Md{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-Pe}at(t){return this.getLView(t)[Re].$implicit}attach(t,n){let i=n[vi];this.needsIndexUpdate||=t!==this.length,Fo(this.lContainer,n,t,yr(this.templateTNode,i)),K_(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,J_(this.lContainer,t),e9(this.lContainer,t)}create(t,n){let i=Ya(this.lContainer,this.templateTNode.tView.ssrId),r=Po(this.hostLView,this.templateTNode,new Sd(this.lContainer,n,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){ll(t[H],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Re].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Re].$index=t}getLView(t){return t9(this.lContainer,t)}};function bl(e){let t=Y(null),n=vn();try{let i=G(),r=i[H],o=i[n],a=n+1,c=Ja(i,a);if(o.liveCollection===void 0){let f=Ad(r,a);o.liveCollection=new kd(c,i,f)}else o.liveCollection.reset();let d=o.liveCollection;if(X_(d,e,o.trackByFn),d.updateIndexes(),o.hasEmptyBlock){let f=Hn(),h=d.length===0;if(ft(i,f,h)){let g=n+2,y=Ja(i,g);if(h){let b=Ad(r,g),_=I0(y,b,i),A=Po(i,b,void 0,{dehydratedView:_});Fo(y,A,0,yr(b,_))}else r.firstUpdatePass&&e_(y),E0(y,0)}}}finally{Y(t)}}function Ja(e,t){return e[t]}function K_(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n],r=i?i[wi]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[gn];a8(o,r),Ii.delete(i),r.detachedLeaveAnimationFns=void 0}}function J_(e,t){if(e.length<=Pe)return;let n=Pe+t,i=e[n],r=i?i[wi]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function e9(e,t){return Mo(e,t)}function t9(e,t){return D0(e,t)}function Ad(e,t){return bo(e,t)}function D(e,t,n){let i=G(),r=Hn();if(ft(i,r,t)){let o=Ue(),a=ka();x8(a,i,e,t,i[be],n)}return D}function Nd(e,t,n,i,r){np(t,e,n,r?"class":"style",i)}function E(e,t,n,i){let r=G(),o=r[H],a=e+Ie,c=o.firstCreatePass?ap(a,r,2,t,Jd,Ma(),n,i):o.data[a];if(ep(c,r,e,t,Z0),ur(c)){let d=r[H];ul(d,r,c),Hd(d,c,r)}return i!=null&&Ro(r,c),E}function T(){let e=Ue(),t=tt(),n=tp(t);return e.firstCreatePass&&lp(e,n),Bu(n)&&Uu(),ju(),n.classesWithoutHost!=null&&r5(n)&&Nd(e,n,G(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&o5(n)&&Nd(e,n,G(),n.stylesWithoutHost,!1),T}function re(e,t,n,i){return E(e,t,n,i),T(),re}function _n(e,t,n,i){let r=G(),o=r[H],a=e+Ie,c=o.firstCreatePass?m_(a,o,2,t,n,i):o.data[a];return ep(c,r,e,t,Z0),i!=null&&Ro(r,c),_n}function Cn(){let e=tt(),t=tp(e);return Bu(t)&&Uu(),ju(),Cn}function yl(e,t,n,i){return _n(e,t,n,i),Cn(),yl}var Z0=(e,t,n,i,r)=>(_o(!0),Zh(t[be],i,P1()));function jo(e,t,n){let i=G(),r=i[H],o=e+Ie,a=r.firstCreatePass?ap(o,i,8,"ng-container",Jd,Ma(),t,n):r.data[o];if(ep(a,i,e,"ng-container",n9),ur(a)){let c=i[H];ul(c,i,a),Hd(c,a,i)}return n!=null&&Ro(i,a),jo}function Ho(){let e=Ue(),t=tt(),n=tp(t);return e.firstCreatePass&&lp(e,n),Ho}function tn(e,t,n){return jo(e,t,n),Ho(),tn}var n9=(e,t,n,i,r)=>(_o(!0),R5(t[be],""));function Ee(){return G()}function _l(e,t,n){let i=G(),r=Hn();if(ft(i,r,t)){let o=Ue(),a=ka();p0(a,i,e,t,i[be],n)}return _l}var Bo="en-US";var i9=Bo;function W0(e){typeof e=="string"&&(i9=e.toLowerCase().replace(/_/g,"-"))}function F(e,t,n){let i=G(),r=Ue(),o=tt();return r9(r,i,i[be],o,e,t,n),F}function Cl(e,t,n){let i=G(),r=Ue(),o=tt();return(o.type&3||n)&&L0(o,r,i,n,i[be],e,t,Fa(o,i,t)),Cl}function r9(e,t,n,i,r,o,a){let c=!0,d=null;if((i.type&3||a)&&(d??=Fa(i,t,o),L0(i,e,t,a,n,r,o,d)&&(c=!1)),c){let f=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let g=0;g<h.length;g+=2){let y=h[g],b=h[g+1];d??=Fa(i,t,o),sh(i,t,y,b,r,d)}if(f&&f.length)for(let g of f)d??=Fa(i,t,o),sh(i,t,g,r,r,d)}}function x(e=1){return R1(e)}function o9(e,t){let n=null,i=$5(e);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){n=r;continue}if(i===null?Qh(e,o,!0):G5(i,o))return r}return n}function mp(e){let t=G()[ct][lt];if(!t.projection){let n=e?e.length:1,i=t.projection=l1(n,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let a=e?o9(o,e):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function hp(e,t=0,n,i,r,o){let a=G(),c=Ue(),d=i?e+1:null;d!==null&&ko(a,c,d,i,r,o,null,n);let f=Dr(c,Ie+e,16,null,n||null);f.projection===null&&(f.projection=t),Zu();let g=!a[vi]||Hu();a[ct][lt].projection[f.projection]===null&&d!==null?s9(a,c,d):g&&!ol(f)&&b8(c,a,f)}function s9(e,t,n){let i=Ie+n,r=t.data[i],o=e[i],a=Ya(o,r.tView.ssrId),c=Po(e,r,void 0,{dehydratedView:a});Fo(o,c,0,yr(r,a))}function wn(e){let t=M1();return Ru(t,Ie+e)}function La(e,t){return e<<17|t<<2}function Ti(e){return e>>17&32767}function a9(e){return(e&2)==2}function l9(e,t){return e&131071|t<<17}function Ld(e){return e|2}function _r(e){return(e&131068)>>2}function ad(e,t){return e&-131069|t<<2}function c9(e){return(e&1)===1}function Od(e){return e|1}function u9(e,t,n,i,r,o){let a=o?t.classBindings:t.styleBindings,c=Ti(a),d=_r(a);e[i]=n;let f=!1,h;if(Array.isArray(n)){let g=n;h=g[1],(h===null||sr(g,h)>0)&&(f=!0)}else h=n;if(r)if(d!==0){let y=Ti(e[c+1]);e[i+1]=La(y,c),y!==0&&(e[y+1]=ad(e[y+1],i)),e[c+1]=l9(e[c+1],i)}else e[i+1]=La(c,0),c!==0&&(e[c+1]=ad(e[c+1],i)),c=i;else e[i+1]=La(d,0),c===0?c=i:e[d+1]=ad(e[d+1],i),d=i;f&&(e[i+1]=Ld(e[i+1])),ph(e,h,i,!0),ph(e,h,i,!1),d9(t,h,e,i,o),a=La(c,d),o?t.classBindings=a:t.styleBindings=a}function d9(e,t,n,i,r){let o=r?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&sr(o,t)>=0&&(n[i+1]=Od(n[i+1]))}function ph(e,t,n,i){let r=e[n+1],o=t===null,a=i?Ti(r):_r(r),c=!1;for(;a!==0&&(c===!1||o);){let d=e[a],f=e[a+1];p9(d,t)&&(c=!0,e[a+1]=i?Od(f):Ld(f)),a=i?Ti(f):_r(f)}c&&(e[n+1]=i?Ld(r):Od(r))}function p9(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?sr(e,t)>=0:!1}var jt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function f9(e){return e.substring(jt.key,jt.keyEnd)}function m9(e){return h9(e),G0(e,Y0(e,0,jt.textEnd))}function G0(e,t){let n=jt.textEnd;return n===t?-1:(t=jt.keyEnd=g9(e,jt.key=t,n),Y0(e,t,n))}function h9(e){jt.key=0,jt.keyEnd=0,jt.value=0,jt.valueEnd=0,jt.textEnd=e.length}function Y0(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function g9(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Gn(e,t,n){return q0(e,t,n,!1),Gn}function wl(e,t){return q0(e,t,null,!0),wl}function gp(e){b9(E9,v9,e,!0)}function v9(e,t){for(let n=m9(t);n>=0;n=G0(t,n))ba(e,f9(t),!0)}function q0(e,t,n,i){let r=G(),o=Ue(),a=Yu(2);if(o.firstUpdatePass&&X0(o,e,a,i),t!==Ct&&ft(r,a,t)){let c=o.data[vn()];K0(o,c,r,r[be],e,r[a+1]=M9(t,n),i,a)}}function b9(e,t,n,i){let r=Ue(),o=Yu(2);r.firstUpdatePass&&X0(r,null,o,i);let a=G();if(n!==Ct&&ft(a,o,n)){let c=r.data[vn()];if(J0(c,i)&&!Q0(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;d!==null&&(n=pa(d,n||"")),Nd(r,c,a,n,i)}else x9(r,c,a,a[be],a[o+1],a[o+1]=D9(e,t,n),i,o)}}function Q0(e,t){return t>=e.expandoStartIndex}function X0(e,t,n,i){let r=e.data;if(r[n+1]===null){let o=r[vn()],a=Q0(e,n);J0(o,i)&&t===null&&!a&&(t=!1),t=y9(r,o,t,i),u9(r,o,t,n,a,i)}}function y9(e,t,n,i){let r=A1(e),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(n=ld(null,e,t,n,i),n=Ao(n,t.attrs,i),o=null);else{let a=t.directiveStylingLast;if(a===-1||e[a]!==r)if(n=ld(r,e,t,n,i),o===null){let d=_9(e,t,i);d!==void 0&&Array.isArray(d)&&(d=ld(null,e,t,d[1],i),d=Ao(d,t.attrs,i),C9(e,t,i,d))}else o=w9(e,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),n}function _9(e,t,n){let i=n?t.classBindings:t.styleBindings;if(_r(i)!==0)return e[Ti(i)]}function C9(e,t,n,i){let r=n?t.classBindings:t.styleBindings;e[Ti(r)]=i}function w9(e,t,n){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let a=e[o].hostAttrs;i=Ao(i,a,n)}return Ao(i,t.attrs,n)}function ld(e,t,n,i,r){let o=null,a=n.directiveEnd,c=n.directiveStylingLast;for(c===-1?c=n.directiveStart:c++;c<a&&(o=t[c],i=Ao(i,o.hostAttrs,r),o!==e);)c++;return e!==null&&(n.directiveStylingLast=c),i}function Ao(e,t,n){let i=n?1:2,r=-1;if(t!==null)for(let o=0;o<t.length;o++){let a=t[o];typeof a=="number"?r=a:r===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ba(e,a,n?!0:t[++o]))}return e===void 0?null:e}function D9(e,t,n){if(n==null||n==="")return at;let i=[],r=sl(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else typeof r=="string"&&t(i,r);return i}function E9(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&ba(e,i,n)}function x9(e,t,n,i,r,o,a,c){r===Ct&&(r=at);let d=0,f=0,h=0<r.length?r[0]:null,g=0<o.length?o[0]:null;for(;h!==null||g!==null;){let y=d<r.length?r[d+1]:void 0,b=f<o.length?o[f+1]:void 0,_=null,A;h===g?(d+=2,f+=2,y!==b&&(_=g,A=b)):g===null||h!==null&&h<g?(d+=2,_=h):(f+=2,_=g,A=b),_!==null&&K0(e,t,n,i,_,A,a,c),h=d<r.length?r[d]:null,g=f<o.length?o[f]:null}}function K0(e,t,n,i,r,o,a,c){if(!(t.type&3))return;let d=e.data,f=d[c+1],h=c9(f)?fh(d,t,n,r,_r(f),a):void 0;if(!el(h)){el(o)||a9(f)&&(o=fh(d,null,n,r,c,a));let g=Ou(vn(),n);_8(i,a,g,r,o)}}function fh(e,t,n,i,r,o){let a=t===null,c;for(;r>0;){let d=e[r],f=Array.isArray(d),h=f?d[1]:d,g=h===null,y=n[r+1];y===Ct&&(y=g?at:void 0);let b=g?ya(y,i):h===i?y:void 0;if(f&&!el(b)&&(b=ya(d,i)),el(b)&&(c=b,a))return c;let _=e[r+1];r=a?Ti(_):_r(_)}if(t!==null){let d=o?t.residualClasses:t.residualStyles;d!=null&&(c=ya(d,i))}return c}function el(e){return e!==void 0}function M9(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ln(sl(e)))),e}function J0(e,t){return(e.flags&(t?8:16))!==0}function X(e,t=""){let n=G(),i=Ue(),r=e+Ie,o=i.firstCreatePass?Dr(i,r,1,t,null):i.data[r],a=I9(i,n,o,t,e);n[r]=a,Aa()&&Xd(i,n,a,o),fr(o,!1)}var I9=(e,t,n,i,r)=>(_o(!0),L5(t[be],i));function S9(e,t,n,i=""){return ft(e,Hn(),n)?t+or(n)+i:Ct}function Ke(e){return xe("",e),Ke}function xe(e,t,n){let i=G(),r=S9(i,e,t,n);return r!==Ct&&T9(i,vn(),r),xe}function T9(e,t,n){let i=Ou(t,e);O5(e[be],i,n)}function fe(e){return ft(G(),Hn(),e)?or(e):Ct}function k9(e,t,n){let i=Ue();if(i.firstCreatePass){let r=Kt(e);Rd(n,i.data,i.blueprint,r,!0),Rd(t,i.data,i.blueprint,r,!1)}}function Rd(e,t,n,i,r){if(e=Xe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Rd(e[o],t,n,i,r);else{let o=Ue(),a=G(),c=tt(),d=pi(e)?e:Xe(e.provide),f=Tu(e),h=c.providerIndexes&1048575,g=c.directiveStart,y=c.providerIndexes>>20;if(pi(e)||!e.multi){let b=new Mi(f,r,$e,null),_=ud(d,t,r?h:h+y,g);_===-1?(pd(Ua(c,a),o,d),cd(o,e,t.length),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(b),a.push(b)):(n[_]=b,a[_]=b)}else{let b=ud(d,t,h+y,g),_=ud(d,t,h,h+y),A=b>=0&&n[b],k=_>=0&&n[_];if(r&&!k||!r&&!A){pd(Ua(c,a),o,d);let I=L9(r?N9:A9,n.length,r,i,f,e);!r&&k&&(n[_].providerFactory=I),cd(o,e,t.length,0),t.push(d),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(I),a.push(I)}else{let I=eg(n[r?_:b],f,!r&&i);cd(o,e,b>-1?b:_,I)}!r&&i&&k&&n[_].componentProviders++}}}function cd(e,t,n,i){let r=pi(t),o=f1(t);if(r||o){let d=(o?Xe(t.useClass):t).prototype.ngOnDestroy;if(d){let f=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let h=f.indexOf(n);h===-1?f.push(n,[i,d]):f[h+1].push(i,d)}else f.push(n,d)}}}function eg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ud(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function A9(e,t,n,i,r){return Pd(this.multi,[])}function N9(e,t,n,i,r){let o=this.multi,a;if(this.providerFactory){let c=this.providerFactory.componentProviders,d=za(i,i[H],this.providerFactory.index,r);a=d.slice(0,c),Pd(o,a);for(let f=c;f<d.length;f++)a.push(d[f])}else a=[],Pd(o,a);return a}function Pd(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function L9(e,t,n,i,r,o){let a=new Mi(e,n,$e,null);return a.multi=[],a.index=t,a.componentProviders=0,eg(a,r,i&&!n),a}function Fe(e,t=[]){return n=>{n.providersResolver=(i,r)=>k9(i,r?r(e):e,t)}}function ut(e,t,n,i){return tg(G(),mr(),e,t,n,i)}function Oi(e,t,n,i,r){return O9(G(),mr(),e,t,n,i,r)}function Dn(e,t,n,i,r,o){return R9(G(),mr(),e,t,n,i,r,o)}function vp(e,t,n,i,r,o,a,c){let d=mr()+e,f=G(),h=v_(f,d,n,i,r,o);return ft(f,d+4,a)||h?ml(f,d+5,c?t.call(c,n,i,r,o,a):t(n,i,r,o,a)):h_(f,d+5)}function bp(e,t){let n=e[t];return n===Ct?void 0:n}function tg(e,t,n,i,r,o){let a=t+n;return ft(e,a,r)?ml(e,a+1,o?i.call(o,r):i(r)):bp(e,a+1)}function O9(e,t,n,i,r,o,a){let c=t+n;return Qa(e,c,r,o)?ml(e,c+2,a?i.call(a,r,o):i(r,o)):bp(e,c+2)}function R9(e,t,n,i,r,o,a,c){let d=t+n;return g_(e,d,r,o,a)?ml(e,d+3,c?i.call(c,r,o,a):i(r,o,a)):bp(e,d+3)}function ye(e,t){let n=Ue(),i,r=e+Ie;n.firstCreatePass?(i=P9(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??=[]).push(r,i.onDestroy)):i=n.data[r];let o=i.factory||(i.factory=On(i.type,!0)),a,c=st($e);try{let d=Ba(!1),f=o();return Ba(d),Pu(n,G(),r,f),f}finally{st(c)}}function P9(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function _e(e,t,n){let i=e+Ie,r=G(),o=Ru(r,i);return F9(r,i)?tg(r,mr(),t,o.transform,n,o):o.transform(n)}function F9(e,t){return e[H].data[t].pure}function xr(e,t){return M0(e,t)}var V9=(()=>{class e{zone=R(ze);changeDetectionScheduler=R(qt);applicationRef=R(Li);applicationErrorHandler=R(Jt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ng({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ze(it(Oe({},ig()),{scheduleInRootZone:n})),[{provide:ze,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{let i=R(V9,{optional:!0});return()=>i.initialize()}},{provide:hi,multi:!0,useFactory:()=>{let i=R(j9);return()=>{i.initialize()}}},t===!0?{provide:Ku,useValue:!0}:[],{provide:Ju,useValue:n??e0},{provide:Jt,useFactory:()=>{let i=R(ze),r=R(pt),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Yt),o.handleError(a))})}}}]}function ig(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var j9=(()=>{class e{subscription=new rt;initialized=!1;zone=R(ze);pendingTasks=R(zn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ze.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ze.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rg=(()=>{class e{applicationErrorHandler=R(Jt);appRef=R(Li);taskService=R(zn);ngZone=R(ze);zonelessEnabled=R(Na);tracing=R(Oo,{optional:!0});disableScheduling=R(Ku,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new rt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(R(Ju,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ga||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let i=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?Q1:t0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Wa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(n),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Q1(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function H9(){return typeof $localize<"u"&&$localize.locale||Bo}var Dl=new $("",{providedIn:"root",factory:()=>R(Dl,{optional:!0,skipSelf:!0})||H9()});function El(e,t){return Ps(e,t?.equal)}var og=class{[dt];constructor(t){this[dt]=t}destroy(){this[dt].destroy()}};var ug=Symbol("InputSignalNode#UNSET"),tC=it(Oe({},Fs),{transformFn:void 0,applyValueToInputSignal(e,t){to(e,t)}});function dg(e,t){let n=Object.create(tC);n.value=e,n.transformFn=t?.transform;function i(){if(Kr(n),n.value===ug){let r=null;throw new V(-950,r)}return n.value}return i[dt]=n,i}var nC=new $("");nC.__NG_ELEMENT_ID__=e=>{let t=tt();if(t===null)throw new V(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new V(204,!1)};function sg(e,t){return dg(e,t)}function iC(e){return dg(ug,e)}var zo=(sg.required=iC,sg);var yp=new $(""),rC=new $("");function Uo(e){return!e.moduleRef}function oC(e){let t=Uo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ze);return n.run(()=>{Uo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(Jt),r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:i})}),Uo(e)){let o=()=>t.destroy(),a=e.platformInjector.get(yp);a.add(o),t.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(yp);a.add(o),e.moduleRef.onDestroy(()=>{Eo(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return aC(i,n,()=>{let o=t.get(zn),a=o.add(),c=t.get(pp);return c.runInitializers(),c.donePromise.then(()=>{let d=t.get(Dl,Bo);if(W0(d||Bo),!t.get(rC,!0))return Uo(e)?t.get(Li):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Uo(e)){let h=t.get(Li);return e.rootComponent!==void 0&&h.bootstrap(e.rootComponent),h}else return sC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void o.remove(a))})})}var sC;function aC(e,t,n){try{let i=n();return gl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}var xl=null;function lC(e=[],t){return Gt.create({name:t,providers:[{provide:po,useValue:"platform"},{provide:yp,useValue:new Set([()=>xl=null])},...e]})}function cC(e=[]){if(xl)return xl;let t=lC(e);return xl=t,z0(),uC(t),t}function uC(e){let t=e.get(il,null);ar(e,()=>{t?.forEach(n=>n())})}var Ip=(()=>{class e{static __NG_ELEMENT_ID__=dC}return e})();function dC(e){return pC(tt(),G(),(e&16)===16)}function pC(e,t,n){if(jn(e)&&!n){let i=It(e.index,t);return new $n(i,i)}else if(e.type&175){let i=t[ct];return new $n(i,t)}return null}var _p=class{constructor(){}supports(t){return cp(t)}create(t){return new Cp(t)}},fC=(e,t)=>t,Cp=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||fC}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){let a=!i||n&&n.currentIndex<ag(i,r,o)?n:i,c=ag(a,r,o),d=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(n=n._next,a.previousIndex==null)r++;else{o||(o=[]);let f=c-r,h=d-r;if(f!=h){for(let y=0;y<f;y++){let b=y<o.length?o[y]:o[y]=0,_=b+y;h<=_&&_<f&&(o[y]=b+1)}let g=a.previousIndex;o[g]=h-f}}c!==d&&t(a,c,d)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!cp(t))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,i=!1,r,o,a;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)o=t[c],a=this._trackByFn(c,o),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,o,a,c),i=!0):(i&&(n=this._verifyReinsertion(n,o,a,c)),Object.is(n.item,o)||this._addIdentityChange(n,o)),n=n._next}else r=0,N0(t,c=>{a=this._trackByFn(r,c),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,c,a,r),i=!0):(i&&(n=this._verifyReinsertion(n,c,a,r)),Object.is(n.item,c)||this._addIdentityChange(n,c)),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new wp(n,i),o,r)),t}_verifyReinsertion(t,n,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){let r=n===null?this._itHead:n._next;return t._next=r,t._prev=n,r===null?this._itTail=t:r._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ml),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,i=t._next;return n===null?this._itHead=i:n._next=i,i===null?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ml),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},wp=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Dp=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;i!==null;i=i._nextDup)if((n===null||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let n=t._prevDup,i=t._nextDup;return n===null?this._head=i:n._nextDup=i,i===null?this._tail=n:i._prevDup=n,this._head===null}},Ml=class{map=new Map;put(t){let n=t.trackById,i=this.map.get(n);i||(i=new Dp,this.map.set(n,i)),i.add(t)}get(t,n){let i=t,r=this.map.get(i);return r?r.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ag(e,t,n){let i=e.previousIndex;if(i===null)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Ep=class{constructor(){}supports(t){return t instanceof Map||fl(t)}create(){return new xp}},xp=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||fl(t)))throw new V(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let r=this._records.get(t);this._maybeAddToChanges(r,n);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let i=new Mp(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}},Mp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function lg(){return new Sp([new _p])}var Sp=(()=>{class e{factories;static \u0275prov=q({token:e,providedIn:"root",factory:lg});constructor(n){this.factories=n}static create(n,i){if(i!=null){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let i=R(e,{optional:!0,skipSelf:!0});return e.create(n,i||lg())}}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;throw new V(901,!1)}}return e})();function cg(){return new Tp([new Ep])}var Tp=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:cg});factories;constructor(n){this.factories=n}static create(n,i){if(i){let r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let i=R(e,{optional:!0,skipSelf:!0});return e.create(n,i||cg())}}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new V(901,!1)}}return e})();function pg(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:r}=e;ge(8);try{let o=r?.injector??cC(i),a=[ng({}),{provide:qt,useExisting:rg},j1,...n||[]],c=new To({providers:a,parent:o,debugName:"",runEnvironmentInitializers:!1});return oC({r3Injector:c.injector,platformInjector:o,rootComponent:t})}catch(o){return Promise.reject(o)}finally{ge(9)}}function M(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var mC={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function hC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function gC(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var kp;function vC(e,t){if(!kp){let n=Element.prototype;kp=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?kp.call(e,t):!1}function bC(e){let t={};return e.forEach(({propName:n,templateName:i,transform:r})=>{t[hC(i)]=[n,r]}),t}function yC(e,t){return t.get(Ai).resolveComponentFactory(e).inputs}function _C(e,t){let n=e.childNodes,i=t.map(()=>[]),r=-1;t.some((o,a)=>o==="*"?(r=a,!0):!1);for(let o=0,a=n.length;o<a;++o){let c=n[o],d=CC(c,t,r);d!==-1&&i[d].push(c)}return i}function CC(e,t,n){let i=n;return gC(e)&&t.some((r,o)=>r!=="*"&&vC(e,r)?(i=o,!0):!1),i}var wC=10,Ap=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Ai).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Np(this.componentFactory,t,this.inputMap)}},Np=class{componentFactory;injector;inputMap;eventEmitters=new An(1);events=this.eventEmitters.pipe(Nn(t=>eu(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,i){this.componentFactory=t,this.injector=n,this.inputMap=i,this.ngZone=this.injector.get(ze),this.appRef=this.injector.get(Li),this.cdScheduler=n.get(qt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=mC.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},wC))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),op(this.componentRef.hostView)&&(sp(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=Gt.create({providers:[],parent:this.injector}),i=_C(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=t.instance[i];return new oe(a=>{let c=o.subscribe(d=>a.next({name:r,value:d}));return()=>c.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Lp=class extends HTMLElement{ngElementEventsSubscription=null};function mt(e,t){let n=yC(e,t.injector),i=t.strategyFactory||new Ap(e,t.injector),r=bC(n);class o extends Lp{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:f})=>{if(!this.hasOwnProperty(d))return;let h=this[d];delete this[d],c.setInputValue(d,h,f)})}return this._ngElementStrategy}_ngElementStrategy;constructor(c){super(),this.injector=c}attributeChangedCallback(c,d,f,h){let[g,y]=r[c];this.ngElementStrategy.setInputValue(g,f,y)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return n.forEach(({propName:a,transform:c})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(d){this.ngElementStrategy.setInputValue(a,d,c)},configurable:!0,enumerable:!0})}),o}var fg=null;function Zo(){return fg}function Op(e){fg??=e}var $o=class{};var Rp=/\s+/,mg=[],je=(()=>{class e{_ngEl;_renderer;initialClasses=mg;rawClass;stateMap=new Map;constructor(n,i){this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Rp):mg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Rp):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Rp).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)($e(Zn),$e(pl))};static \u0275dir=Wn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Il=class{$implicit;ngForOf;index;count;constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ht=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Il(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let c=i.get(o);i.move(c,a),hg(c,r)}});for(let r=0,o=i.length;r<o;r++){let c=i.get(r).context;c.index=r,c.count=o,c.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);hg(o,r)})}static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)($e(Er),$e(Vo),$e(Sp))};static \u0275dir=Wn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function hg(e,t){e.context.$implicit=t.item}var Wo=(()=>{class e{_viewContainer;_context=new Sl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,i){this._viewContainer=n,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){gg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){gg(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,i){return!0}static \u0275fac=function(i){return new(i||e)($e(Er),$e(Vo))};static \u0275dir=Wn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Sl=class{$implicit=null;ngIf=null};function gg(e,t){if(e&&!e.createEmbeddedView)throw new V(2020,!1)}var Pp=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,i,r){this._ngEl=n,this._differs=i,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[r,o]=n.split("."),a=r.indexOf("-")===-1?void 0:Ht.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)($e(Zn),$e(Tp),$e(pl))};static \u0275dir=Wn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Go=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)($e(Er))};static \u0275dir=Wn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Bt]})}return e})();var me=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ni({type:e});static \u0275inj=Pn({})}return e})();function Yo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[r,o]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var Ri=class{};var vg="browser";var qo=class{_doc;constructor(t){this._doc=t}manager},Tl=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r,o){return n.addEventListener(i,r,o),()=>this.removeEventListener(n,i,r,o)}removeEventListener(n,i,r,o){return n.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(j(_t))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Al=new $(""),Bp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,i){this._zone=i,n.forEach(a=>{a.manager=this});let r=n.filter(a=>!(a instanceof Tl));this._plugins=r.slice().reverse();let o=n.find(a=>a instanceof Tl);o&&this._plugins.push(o)}addEventListener(n,i,r,o){return this._findPluginFor(i).addEventListener(n,i,r,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new V(5101,!1);return this._eventNameToPlugin.set(n,i),i}static \u0275fac=function(i){return new(i||e)(j(Al),j(ze))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fp="ng-app-id";function bg(e){for(let t of e)t.remove()}function yg(e,t){let n=t.createElement("style");return n.textContent=e,n}function DC(e,t,n,i){let r=e.head?.querySelectorAll(`style[${Fp}="${t}"],link[${Fp}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Fp),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function jp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Up=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,i,r,o={}){this.doc=n,this.appId=i,this.nonce=r,DC(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,yg);i?.forEach(r=>this.addUsage(r,this.external,jp))}removeStyles(n,i){for(let r of n)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,i,r){let o=i.get(n);o?o.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(n,this.doc)))})}removeUsage(n,i){let r=i.get(n);r&&(r.usage--,r.usage<=0&&(bg(r.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])bg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(n,yg(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,jp(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),n.appendChild(i)}static \u0275fac=function(i){return new(i||e)(j(_t),j(nl),j(rl,8),j(Lo))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Vp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},zp=/%COMP%/g;var Cg="%COMP%",EC=`_nghost-${Cg}`,xC=`_ngcontent-${Cg}`,MC=!0,IC=new $("",{providedIn:"root",factory:()=>MC});function SC(e){return xC.replace(zp,e)}function TC(e){return EC.replace(zp,e)}function wg(e,t){return t.map(n=>n.replace(zp,e))}var $p=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,i,r,o,a,c,d=null,f=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=c,this.nonce=d,this.tracingService=f,this.platformIsServer=!1,this.defaultRenderer=new Qo(n,a,c,this.platformIsServer,this.tracingService)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(n,i);return r instanceof kl?r.applyToHost(n):r instanceof Xo&&r.applyStyles(),r}getOrCreateRenderer(n,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,c=this.ngZone,d=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,g=this.platformIsServer,y=this.tracingService;switch(i.encapsulation){case bn.Emulated:o=new kl(d,f,i,this.appId,h,a,c,g,y);break;case bn.ShadowDom:return new Hp(d,f,n,i,a,c,this.nonce,g,y);default:o=new Xo(d,f,i,h,a,c,g,y);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(i){return new(i||e)(j(Bp),j(Up),j(nl),j(IC),j(_t),j(ze),j(rl),j(Oo,8))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Qo=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,i,r,o){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Vp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(_g(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(_g(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){n.remove()}selectRootElement(t,n){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new V(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;let o=Vp[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){let r=Vp[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(Ht.DashCase|Ht.Important)?t.style.setProperty(n,i,r&Ht.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Ht.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t!=null&&(t[n]=i)}setValue(t,n){t.nodeValue=n}listen(t,n,i,r){if(typeof t=="string"&&(t=Zo().getGlobalEventTarget(this.doc,t),!t))throw new V(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,r)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function _g(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Hp=class extends Qo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,d,f),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=wg(r.id,h);for(let y of h){let b=document.createElement("style");c&&b.setAttribute("nonce",c),b.textContent=y,this.shadowRoot.appendChild(b)}let g=r.getExternalStyles?.();if(g)for(let y of g){let b=jp(y,o);c&&b.setAttribute("nonce",c),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xo=class extends Qo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,i,r,o,a,c,d,f){super(t,o,a,c,d),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=f?wg(f,h):h,this.styleUrls=i.getExternalStyles?.(f)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ii.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kl=class extends Xo{contentAttr;hostAttr;constructor(t,n,i,r,o,a,c,d,f){let h=r+"-"+i.id;super(t,n,i,o,a,c,d,f,h),this.contentAttr=SC(h),this.hostAttr=TC(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}};var Nl=class e extends $o{supportsDOMEvents=!0;static makeCurrent(){Op(new e)}onAndCancel(t,n,i,r){return t.addEventListener(n,i,r),()=>{t.removeEventListener(n,i,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=kC();return n==null?null:AC(n)}resetBaseElement(){Ko=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Yo(document.cookie,t)}},Ko=null;function kC(){return Ko=Ko||document.head.querySelector("base"),Ko?Ko.getAttribute("href"):null}function AC(e){return new URL(e,document.baseURI).pathname}var NC=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Dg=["alt","control","meta","shift"],LC={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},OC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Eg=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,r,o){let a=e.parseEventName(i),c=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zo().onAndCancel(n,a.domEventName,c,o))}static parseEventName(n){let i=n.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Dg.forEach(f=>{let h=i.indexOf(f);h>-1&&(i.splice(h,1),a+=f+".")}),a+=o,i.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let r=LC[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Dg.forEach(a=>{if(a!==r){let c=OC[a];c(n)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(i){return new(i||e)(j(_t))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function Zp(e){return pg(RC(e))}function RC(e){return{appProviders:[...HC,...e?.providers??[]],platformProviders:jC}}function PC(){Nl.makeCurrent()}function FC(){return new Yt}function VC(){return jd(document),document}var jC=[{provide:Lo,useValue:vg},{provide:il,useValue:PC,multi:!0},{provide:_t,useFactory:VC}];var HC=[{provide:po,useValue:"root"},{provide:Yt,useFactory:FC},{provide:Al,useClass:Tl,multi:!0,deps:[_t]},{provide:Al,useClass:Eg,multi:!0,deps:[_t]},$p,Up,Bp,{provide:Si,useExisting:$p},{provide:Ri,useClass:NC},[]];var Sr=class{},Jo=class{},Yn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
8
|
+
`).forEach(n=>{let i=n.indexOf(":");if(i>0){let r=n.slice(0,i),o=n.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.addHeaderEntry(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let r=(t.op==="a"?this.headers.get(n):void 0)||[];r.push(...i),this.headers.set(n,r);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let a=this.headers.get(n);if(!a)return;a=a.filter(c=>o.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(n):this.headers.set(i,[n])}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ol=class{encodeKey(t){return xg(t)}encodeValue(t){return xg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function BC(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,c]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],d=n.get(a)||[];d.push(c),n.set(a,d)}),n}var UC=/%(\d[a-f0-9])/gi,zC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xg(e){return encodeURIComponent(e).replace(UC,(t,n)=>zC[n]??t)}function Ll(e){return`${e}`}var En=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ol,t.fromString){if(t.fromObject)throw new V(2805,!1);this.map=BC(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],r=Array.isArray(i)?i.map(Ll):[Ll(i)];this.map.set(n,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{n.push({param:i,value:o,op:"a"})}):n.push({param:i,value:r,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ll(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(Ll(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Rl=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function $C(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Mg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ig(e){return typeof Blob<"u"&&e instanceof Blob}function Sg(e){return typeof FormData<"u"&&e instanceof FormData}function ZC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Tg="Content-Type",kg="Accept",Ag="X-Request-URL",Ng="text/plain",Lg="application/json",WC=`${Lg}, ${Ng}, */*`,Mr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,i,r){this.url=n,this.method=t.toUpperCase();let o;if($C(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new V(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new Yn,this.context??=new Rl,!this.params)this.params=new En,this.urlWithParams=n;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=n;else{let c=n.indexOf("?"),d=c===-1?"?":c<n.length-1?"&":"";this.urlWithParams=n+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Mg(this.body)||Ig(this.body)||Sg(this.body)||ZC(this.body)?this.body:this.body instanceof En?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Sg(this.body)?null:Ig(this.body)?this.body.type||null:Mg(this.body)?null:typeof this.body=="string"?Ng:this.body instanceof En?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Lg:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=t.keepalive??this.keepalive,a=t.priority||this.priority,c=t.cache||this.cache,d=t.mode||this.mode,f=t.redirect||this.redirect,h=t.credentials||this.credentials,g=t.referrer||this.referrer,y=t.integrity||this.integrity,b=t.transferCache??this.transferCache,_=t.timeout??this.timeout,A=t.body!==void 0?t.body:this.body,k=t.withCredentials??this.withCredentials,I=t.reportProgress??this.reportProgress,Z=t.headers||this.headers,He=t.params||this.params,ue=t.context??this.context;return t.setHeaders!==void 0&&(Z=Object.keys(t.setHeaders).reduce((Ce,N)=>Ce.set(N,t.setHeaders[N]),Z)),t.setParams&&(He=Object.keys(t.setParams).reduce((Ce,N)=>Ce.set(N,t.setParams[N]),He)),new e(n,i,A,{params:He,headers:Z,context:ue,reportProgress:I,responseType:r,withCredentials:k,transferCache:b,keepalive:o,cache:c,priority:a,timeout:_,mode:d,redirect:f,credentials:h,referrer:g,integrity:y})}},Pi=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Pi||{}),Tr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,i="OK"){this.headers=t.headers||new Yn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Pl=class e extends Tr{constructor(t={}){super(t)}type=Pi.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},es=class e extends Tr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Pi.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Ir=class extends Tr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},GC=200,YC=204;function Wp(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var kr=(()=>{class e{handler;constructor(n){this.handler=n}request(n,i,r={}){let o;if(n instanceof Mr)o=n;else{let d;r.headers instanceof Yn?d=r.headers:d=new Yn(r.headers);let f;r.params&&(r.params instanceof En?f=r.params:f=new En({fromObject:r.params})),o=new Mr(n,i,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:f,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let a=mn(o).pipe(ro(d=>this.handler.handle(d)));if(n instanceof Mr||r.observe==="events")return a;let c=a.pipe(tu(d=>d instanceof es));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(ot(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new V(2806,!1);return d.body}));case"blob":return c.pipe(ot(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new V(2807,!1);return d.body}));case"text":return c.pipe(ot(d=>{if(d.body!==null&&typeof d.body!="string")throw new V(2808,!1);return d.body}));case"json":default:return c.pipe(ot(d=>d.body))}case"response":return c;default:throw new V(2809,!1)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new En().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,r={}){return this.request("PATCH",n,Wp(r,i))}post(n,i,r={}){return this.request("POST",n,Wp(r,i))}put(n,i,r={}){return this.request("PUT",n,Wp(r,i))}static \u0275fac=function(i){return new(i||e)(j(Sr))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var qC=new $("");function QC(e,t){return t(e)}function XC(e,t,n){return(i,r)=>ar(n,()=>t(i,o=>e(o,r)))}var Og=new $(""),Rg=new $(""),Pg=new $("",{providedIn:"root",factory:()=>!0});var Fl=(()=>{class e extends Sr{backend;injector;chain=null;pendingTasks=R(Co);contributeToStability=R(Pg);constructor(n,i){super(),this.backend=n,this.injector=i}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Og),...this.injector.get(Rg,[])]));this.chain=i.reduceRight((r,o)=>XC(r,o,this.injector),QC)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,r=>this.backend.handle(r)).pipe(nu(i))}else return this.chain(n,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(j(Jo),j(pt))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var KC=/^\)\]\}',?\n/,JC=RegExp(`^${Ag}:`,"m");function e6(e){return"responseURL"in e&&e.responseURL?e.responseURL:JC.test(e.getAllResponseHeaders())?e.getResponseHeader(Ag):null}var Gp=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new V(-2800,!1);let i=this.xhrFactory;return mn(null).pipe(Nn(()=>new oe(o=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((k,I)=>a.setRequestHeader(k,I.join(","))),n.headers.has(kg)||a.setRequestHeader(kg,WC),!n.headers.has(Tg)){let k=n.detectContentTypeHeader();k!==null&&a.setRequestHeader(Tg,k)}if(n.timeout&&(a.timeout=n.timeout),n.responseType){let k=n.responseType.toLowerCase();a.responseType=k!=="json"?k:"text"}let c=n.serializeBody(),d=null,f=()=>{if(d!==null)return d;let k=a.statusText||"OK",I=new Yn(a.getAllResponseHeaders()),Z=e6(a)||n.url;return d=new Pl({headers:I,status:a.status,statusText:k,url:Z}),d},h=()=>{let{headers:k,status:I,statusText:Z,url:He}=f(),ue=null;I!==YC&&(ue=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=ue?GC:0);let Ce=I>=200&&I<300;if(n.responseType==="json"&&typeof ue=="string"){let N=ue;ue=ue.replace(KC,"");try{ue=ue!==""?JSON.parse(ue):null}catch(ve){ue=N,Ce&&(Ce=!1,ue={error:ve,text:ue})}}Ce?(o.next(new es({body:ue,headers:k,status:I,statusText:Z,url:He||void 0})),o.complete()):o.error(new Ir({error:ue,headers:k,status:I,statusText:Z,url:He||void 0}))},g=k=>{let{url:I}=f(),Z=new Ir({error:k,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});o.error(Z)},y=g;n.timeout&&(y=k=>{let{url:I}=f(),Z=new Ir({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:I||void 0});o.error(Z)});let b=!1,_=k=>{b||(o.next(f()),b=!0);let I={type:Pi.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(I.total=k.total),n.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),o.next(I)},A=k=>{let I={type:Pi.UploadProgress,loaded:k.loaded};k.lengthComputable&&(I.total=k.total),o.next(I)};return a.addEventListener("load",h),a.addEventListener("error",g),a.addEventListener("timeout",y),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",_),c!==null&&a.upload&&a.upload.addEventListener("progress",A)),a.send(c),o.next({type:Pi.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",h),a.removeEventListener("timeout",y),n.reportProgress&&(a.removeEventListener("progress",_),c!==null&&a.upload&&a.upload.removeEventListener("progress",A)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||e)(j(Ri))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fg=new $(""),t6="XSRF-TOKEN",n6=new $("",{providedIn:"root",factory:()=>t6}),i6="X-XSRF-TOKEN",r6=new $("",{providedIn:"root",factory:()=>i6}),ts=class{},o6=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,i){this.doc=n,this.cookieName=i}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(i){return new(i||e)(j(_t),j(n6))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),s6=/^(?:https?:)?\/\//i;function a6(e,t){if(!R(Fg)||e.method==="GET"||e.method==="HEAD"||s6.test(e.url))return t(e);let n=R(ts).getToken(),i=R(r6);return n!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,n)})),t(e)}function Yp(...e){let t=[kr,Gp,Fl,{provide:Sr,useExisting:Fl},{provide:Jo,useFactory:()=>R(qC,{optional:!0})??R(Gp)},{provide:Og,useValue:a6,multi:!0},{provide:Fg,useValue:!0},{provide:ts,useClass:o6}];for(let n of e)t.push(...n.\u0275providers);return uo(t)}var Qn=class{},Vg=(()=>{class e extends Qn{getTranslation(n){return mn({})}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Fi=class{},jg=(()=>{class e{handle(n){return n.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function jl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,i=typeof t,r,o,a;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(o=0;o<r;o++)if(!jl(e[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;a=Object.create(null);for(o in e){if(!jl(e[o],t[o]))return!1;a[o]=!0}for(o in t)if(!(o in a)&&typeof t[o]<"u")return!1;return!0}return!1}function qn(e){return typeof e<"u"&&e!==null}function rs(e){return Vl(e)&&!tf(e)&&e!==null}function Vl(e){return typeof e=="object"}function tf(e){return Array.isArray(e)}function nf(e){return typeof e=="string"}function c6(e){return typeof e=="function"}function qp(e,t){let n=Object.assign({},e);return Vl(e)?(Vl(e)&&Vl(t)&&Object.keys(t).forEach(i=>{rs(t[i])?i in e?n[i]=qp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):qp({},t)}function Qp(e,t){let n=t.split(".");t="";do t+=n.shift(),qn(e)&&qn(e[t])&&(rs(e[t])||tf(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function u6(e,t,n){let i=t.split("."),r=e;for(let o=0;o<i.length;o++){let a=i[o];o===i.length-1?r[a]=n:((!r[a]||!rs(r[a]))&&(r[a]={}),r=r[a])}}var Ar=class{},Hg=(()=>{class e extends Ar{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,i){if(nf(n))return this.interpolateString(n,i);if(c6(n))return this.interpolateFunction(n,i)}interpolateFunction(n,i){return n(i)}interpolateString(n,i){return i?n.replace(this.templateMatcher,(r,o)=>{let a=Qp(i,o);return qn(a)?a:r}):n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Nr=class{},Bg=(()=>{class e extends Nr{compile(n,i){return n}compileTranslations(n,i){return n}static \u0275fac=(()=>{let n;return function(r){return(n||(n=ki(e)))(r||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),is=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new J;onLangChange=new J;onDefaultLangChange=new J},Xp=new $("ISOLATE_TRANSLATE_SERVICE"),Kp=new $("USE_DEFAULT_LANG"),Jp=new $("DEFAULT_LANGUAGE"),ef=new $("USE_EXTEND"),ns=e=>ci(e)?e:mn(e),Se=(()=>{class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}constructor(n,i,r,o,a,c=!0,d=!1,f=!1,h){this.store=n,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=c,this.extend=f,d&&(this.store=new is),h&&this.setDefaultLang(h)}setDefaultLang(n){if(n===this.defaultLang)return;let i=this.retrieveTranslations(n);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=n),i.pipe(ir(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return mn(this.translations[n]);this.currentLang||(this.currentLang=n);let i=this.retrieveTranslations(n);return ci(i)?(i.pipe(ir(1)).subscribe(()=>{this.changeLang(n)}),i):(this.changeLang(n),mn(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let i=this.currentLoader.getTranslation(n).pipe(aa(1),ir(1));return this.loadingTranslations=i.pipe(ot(r=>this.compiler.compileTranslations(r,n)),aa(1),ir(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?Oe(Oe({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(n,i,r=!1){let o=this.compiler.compileTranslations(i,n);(r||this.extend)&&this.translations[n]?this.translations[n]=qp(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let i=n.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,i,r){let o;if(n&&(o=this.runInterpolation(Qp(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Qp(this.translations[this.defaultLang],i),r)),o===void 0){let a={key:i,translateService:this};typeof r<"u"&&(a.interpolateParams=r),o=this.missingTranslationHandler.handle(a)}return o!==void 0?o:i}runInterpolation(n,i){if(tf(n))return n.map(r=>this.runInterpolation(r,i));if(rs(n)){let r={};for(let o in n){let a=this.runInterpolation(n[o],i);a!==void 0&&(r[o]=a)}return r}else return this.parser.interpolate(n,i)}getParsedResult(n,i,r){if(i instanceof Array){let o={},a=!1;for(let d of i)o[d]=this.getParsedResultForKey(n,d,r),a=a||ci(o[d]);if(!a)return o;let c=i.map(d=>ns(o[d]));return Jc(c).pipe(ot(d=>{let f={};return d.forEach((h,g)=>{f[i[g]]=h}),f}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ro(r=>ns(this.getParsedResult(r,n,i)))):ns(this.getParsedResult(this.translations[this.currentLang],n,i))}getStreamOnTranslationChange(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return oa(sa(()=>this.get(n,i)),this.onTranslationChange.pipe(Nn(r=>{let o=this.getParsedResult(r.translations,n,i);return ns(o)})))}stream(n,i){if(!qn(n)||!n.length)throw new Error('Parameter "key" required');return oa(sa(()=>this.get(n,i)),this.onLangChange.pipe(Nn(r=>{let o=this.getParsedResult(r.translations,n,i);return ns(o)})))}instant(n,i){if(!qn(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,i);return ci(r)?Array.isArray(n)?n.reduce((o,a)=>(o[a]=a,o),{}):n:r}set(n,i,r=this.currentLang){u6(this.translations[r],n,nf(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||e)(j(is),j(Qn),j(Nr),j(Ar),j(Fi),j(Kp),j(Xp),j(ef),j(Jp))};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qe=(()=>{class e{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(n,i){this.translate=n,this._ref=i}updateValue(n,i,r){let o=a=>{this.value=a!==void 0?a:n,this.lastKey=n,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(r,n,i);ci(a)?a.subscribe(o):o(a)}this.translate.get(n,i).subscribe(o)}transform(n,...i){if(!n||!n.length)return n;if(jl(n,this.lastKey)&&jl(i,this.lastParams))return this.value;let r;if(qn(i[0])&&i.length)if(nf(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else rs(i[0])&&(r=i[0]);return this.lastKey=n,this.lastParams=i,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)($e(Se,16),$e(Ip,16))};static \u0275pipe=hl({name:"translate",type:e,pure:!1});static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var Ne=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Qn,useClass:Vg},n.compiler||{provide:Nr,useClass:Bg},n.parser||{provide:Ar,useClass:Hg},n.missingTranslationHandler||{provide:Fi,useClass:jg},is,{provide:Xp,useValue:n.isolate},{provide:Kp,useValue:n.useDefaultLang},{provide:ef,useValue:n.extend},{provide:Jp,useValue:n.defaultLanguage},Se]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Qn,useClass:Vg},n.compiler||{provide:Nr,useClass:Bg},n.parser||{provide:Ar,useClass:Hg},n.missingTranslationHandler||{provide:Fi,useClass:jg},{provide:Xp,useValue:n.isolate},{provide:Kp,useValue:n.useDefaultLang},{provide:ef,useValue:n.extend},{provide:Jp,useValue:n.defaultLanguage},Se]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ni({type:e});static \u0275inj=Pn({})}return e})();var Qe=(()=>{let t=class t{constructor(){this.translateService=R(Se),this._selectedLanguage=Un("en"),this._localizedStrings=Un({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(i){this._selectedLanguage.set(i),this.translateService.use(i);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(r){console.error(r)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(i){this._localizedStrings.set(i),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,i)}catch(r){console.error(r)}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},features:[Fe([Se])],decls:2,vars:0,template:function(r,o){r&1&&(_n(0,"p"),X(1," localized widget works! "),Cn())},dependencies:[me,Ne],encapsulation:3});let e=t;return e})();function he(e,t,n=null){if(!t){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let i="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;i&&typeof i[t]=="function"&&i[t]({detail:n});let r=e;t in r&&r[t].emit(n)}var Hl=(()=>{let t=class t extends Qe{constructor(){super(),this.bimplusContactClicked=new J}_contactClicked(){he(this,"bimplusContactClicked","contact")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},features:[Fe([Se]),Ze],decls:3,vars:3,consts:[["href","https://connect.allplan.com/support/contact.ct?SSO=1&autolang","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(r,o){r&1&&(_n(0,"a",0),ye(1,"translate"),Cl("click",function(){return o._contactClicked()}),yl(2,"div",1),Cn()),r&2&&_l("title",_e(1,1,"_BimplusContactTitle"))},dependencies:[me,Ne,qe],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
|
|
9
|
+
`],encapsulation:3});let e=t;return e})();var d6=(e,t)=>({open:e,"expand-up":t});function p6(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._switchLanguage(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._switchLanguage(r.symbol))}),E(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",i.selectedLanguage===n.symbol?"selected":""),yn("data-test","langmenu_item_"+n.text),w(2),Ke(n.text)}}var Bl=(()=>{let t=class t{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new J}_switchLanguage(i){he(this,"bimplusLanguageSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",M],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",M]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},decls:7,vars:8,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",2),re(3,"div",3)(4,"span",4),T(),E(5,"ul",5),ae(6,p6,3,3,"li",6),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),w(),D("ngClass",o._menuOpened?"open":"")("ngClass",o.isTouch?"is-touch":""),w(4),D("ngClass",Oi(5,d6,o._menuOpened,o.expandUp)),w(),D("ngForOf",o._languagesList))},dependencies:[me,je,ht],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--language-menu-dropdown-open-text-color-enabled);background-color:var(--language-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--language-menu-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--language-menu-dropdown-menu-background-color-enabled);border:thin solid var(--language-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--language-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--language-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--language-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}
|
|
10
|
+
`],encapsulation:3});let e=t;return e})();var f6=(e,t,n)=>({collapsed:e,"mini-mode":t,"is-touch":n}),Ug=(e,t)=>t.id;function m6(e,t){if(e&1){let n=Ee();E(0,"div",4),ye(1,"translate"),F("dblclick",function(r){B(n);let o=x(3);return U(o._menuItemIgnoreAction(r))})("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))}),re(2,"div",5),E(3,"div",6),F("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=x().$implicit,i=x(2);D("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",_e(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),D("ngClass",i._getPrjIconClassAttributes(n))}}function h6(e,t){if(e&1&&ke(0,m6,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Ae(i._isHidden(n)?-1:0)}}function g6(e,t){if(e&1&&vl(0,h6,1,1,null,null,Ug),e&2){let n=x();bl(n.menuItems)}}function v6(e,t){if(e&1){let n=Ee();E(0,"div",4),ye(1,"translate"),F("dblclick",function(r){B(n);let o=x(3);return U(o._menuItemIgnoreAction(r))})("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"normal",r))}),re(2,"div",5),E(3,"div",6),F("click",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x(2);return U(a._menuItemClicked(o,"info",r))}),T()()}if(e&2){let n=x().$implicit,i=x(2);D("ngClass",i._getPrjItemClassAttributes(n,i.isTouch))("title",_e(1,3,i._isDisabled(n)&&n.textIdDisabled?n.textIdDisabled:n.textId)),w(2),D("ngClass",i._getPrjIconClassAttributes(n))}}function b6(e,t){if(e&1&&ke(0,v6,4,5,"div",3),e&2){let n=t.$implicit,i=x(2);Ae(!i._isHidden(n)&&(i.isCollapsed||n.action!=="processes")?0:-1)}}function y6(e,t){if(e&1&&vl(0,b6,1,1,null,null,Ug),e&2){let n=x();bl(n.menuItems)}}function _6(e,t){e&1&&tn(0)}function C6(e,t){if(e&1&&ae(0,_6,1,0,"ng-container",13),e&2){x(2);let n=wn(1);D("ngTemplateOutlet",n)}}function w6(e,t){if(e&1&&(E(0,"div",7)(1,"div",8),re(2,"div",9),T(),E(3,"div",10),X(4),T()(),E(5,"div",11)(6,"div",12),ke(7,C6,1,1,"ng-container"),T()()),e&2){let n=x();w(),D("ngStyle",n.prjImageOverlayStyle),w(),D("ngStyle",n.prjImageStyle),w(2),xe(" ",n.projectName," "),w(),D("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Ae(n.showHorizontalMenuIcons?7:-1)}}function D6(e,t){e&1&&tn(0)}function E6(e,t){if(e&1&&ae(0,D6,1,0,"ng-container",13),e&2){x(2);let n=wn(3);D("ngTemplateOutlet",n)}}function x6(e,t){e&1&&tn(0)}function M6(e,t){if(e&1&&ae(0,x6,1,0,"ng-container",13),e&2){x(2);let n=wn(1);D("ngTemplateOutlet",n)}}function I6(e,t){if(e&1){let n=Ee();E(0,"a",14),ye(1,"translate"),F("dblclick",function(){B(n);let r=x();return U(r._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){B(n);let r=x();return U(r._projectMenuItemClicked("prjimageclick","normal"))}),E(2,"div",15),re(3,"div",16),E(4,"div",17),ke(5,E6,1,1,"ng-container"),T(),E(6,"div",18),X(7),T()()(),E(8,"div",11)(9,"div",12),ke(10,M6,1,1,"ng-container"),T()()}if(e&2){let n=x();D("href",fe(n.projectExplorerUrl),Cr)("ngStyle",n.prjImageOverlayStyle)("title",_e(1,11,"_ModelThumbnailTooltip")),w(2),D("ngStyle",n.prjImageStyle),w(),D("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),D("ngClass",n.hideMenuIcons||n.showHorizontalMenuIcons?"hidden":""),w(),Ae(!n.hideMenuIcons&&!n.showHorizontalMenuIcons?5:-1),w(2),xe(" ",n.projectName," "),w(),D("ngClass",n.showHorizontalMenuIcons?"":"hidden"),w(2),Ae(n.showHorizontalMenuIcons?10:-1)}}var Ul=(()=>{let t=class t extends Qe{constructor(){super(),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.menuItemsOrder=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/@bimplus/navigation/assets/bimplus_Components_Project_Pic_Default.webp"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((i,r)=>this.menuItemsOrder.indexOf(i.id)-this.menuItemsOrder.indexOf(r.id))}_isHidden(i){if(i){let r=`${i.action?i.action:i.id}Visible`;return!this[r]}return!1}_isDisabled(i){if(i){let r=`${i.action?i.action:i.id}Disabled`;return!!this[r]}return!1}_projectMenuItemClicked(i,r){console.log(i,r)}_menuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),console.log(i,r,o),r!="info"&&this._isDisabled(i))return;let a=i.action;he(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=ce({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],isCollapsed:[2,"isCollapsed","isCollapsed",M],isMiniMode:[2,"isMiniMode","isMiniMode",M],isTouch:[2,"isTouch","isTouch",M],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],menuItemsOrder:"menuItemsOrder"},features:[Fe([Se]),Ze],decls:7,vars:6,consts:[["navigationPrjList",""],["navigationPrjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(r,o){r&1&&(ae(0,g6,2,0,"ng-template",null,0,xr)(2,y6,2,0,"ng-template",null,1,xr),E(4,"div",2),ke(5,w6,8,5)(6,I6,11,13),T()),r&2&&(w(4),D("ngClass",Dn(2,f6,o.isCollapsed,o.isMiniMode,o.isTouch)),w(),Ae(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[me,je,Go,Pp,Ne,qe],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:var(--project-menu-project-container-background-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid var(--project-menu-project-container-mini-mode-border-color-enabled)}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:var(--project-menu-project-details-background-color-enabled);background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{color:var(--project-menu-project-name-text-color);background-color:var(--project-menu-project-name-background-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:var(--project-menu-item-overlay-background-color-enabled);width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid var(--project-menu-project-items-horizontal-border-color-enabled)}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center}
|
|
11
|
+
`],encapsulation:3});let e=t;return e})();var rf=e=>({$implicit:e});function S6(e,t){if(e&1&&re(0,"div",10),e&2){let n=x().$implicit;gp(n.item.class),D("id",n.item.id)}}function T6(e,t){if(e&1){let n=Ee();E(0,"div",14),F("click",function(r){B(n);let o=x(2).$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"info",r))})("keypress",function(r){B(n);let o=x(2).$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"info",r))}),T()}}function k6(e,t){if(e&1){let n=Ee();E(0,"div",9),ye(1,"translate"),E(2,"div",11),F("click",function(r){B(n);let o=x().$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"normal",r))})("keypress",function(r){B(n);let o=x().$implicit,a=x();return U(a._mainMenuItemClicked(o.item,"normal",r))}),re(3,"div",12),E(4,"span"),X(5),ye(6,"translate"),T()(),ke(7,T6,1,0,"div",13),T()}if(e&2){let n=x().$implicit,i=x();D("id",n.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(n.active?"active ":" ")+(n.disabled?"disabled ":" ")+(n.clickable?" ":"not-clickable ")+(n.selected?"selected ":" "))("title",n.disabled?_e(1,7,n.item.disabledTitle):""),w(2),D("ngClass",n.clickable?"":"not-clickable"),w(),D("ngClass",n.item.class+(n.active?" active":"")+(n.disabled?" disabled ":"")),w(2),Ke(_e(6,9,n.isDisabled&&n.item.textIdDisabled!==""?n.item.textIdDisabled:n.item.textId)),w(2),Ae(n.showInfoIcon?7:-1)}}function A6(e,t){if(e&1&&ke(0,S6,1,3,"div",8)(1,k6,8,11,"div",9),e&2){let n=t.$implicit;Ae(n.item.type==="divider"?0:1)}}function N6(e,t){e&1&&tn(0)}function L6(e,t){if(e&1&&ae(0,N6,1,0,"ng-container",15),e&2){let n=x(),i=wn(1);D("ngTemplateOutlet",i)("ngTemplateOutletContext",ut(2,rf,n._getContextData(n._openPrjBtn,n.projectActiveItem==="projectlist",n._isDisabled(n._openPrjBtn),!0,n.projectActiveItem==="projectlist")))}}function O6(e,t){if(e&1&&re(0,"lib-bimplus-project-menu",3),e&2){let n=x();D("projectName",fe(n.projectName))("projectImageUrl",fe(n.projectImageUrl))("projectExplorerUrl",fe(n.projectExplorerUrl))("projectActiveItem",fe(n.projectActiveItem))("projectmembersDisabled",fe(n.projectmembersDisabled))("modelsDisabled",fe(n.modelsDisabled))("documentsDisabled",fe(n.documentsDisabled))("projectsettingsDisabled",fe(n.projectsettingsDisabled))("processesDisabled",fe(n.processesDisabled))("projectmembersVisible",fe(n.projectmembersVisible))("modelsVisible",fe(n.modelsVisible))("documentsVisible",fe(n.documentsVisible))("projectsettingsVisible",fe(n.projectsettingsVisible))("processesVisible",fe(n.processesVisible))("isCollapsed",fe(n.isCollapsed))("isMiniMode",fe(n.isTouch))("isTouch",fe(n.isTouch))("hideMenuIcons",fe(n.hideProjectMenuIcons))("showHorizontalMenuIcons",fe(n.showHorizontalMenuIcons))("menuItemsOrder",n.menuItemsOrder)}}function R6(e,t){e&1&&tn(0)}function P6(e,t){if(e&1&&(E(0,"div"),ae(1,R6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=x(),r=wn(1);w(),D("ngTemplateOutlet",r)("ngTemplateOutletContext",ut(2,rf,i._getContextData(n,!i._isSubscribed(n),i._isDisabled(n),i._isClickable(n),i.menuActiveItem===n.action)))}}function F6(e,t){e&1&&tn(0)}function V6(e,t){if(e&1&&(E(0,"div"),ae(1,F6,1,0,"ng-container",15),T()),e&2){let n=t.$implicit,i=x(),r=wn(1);w(),D("ngTemplateOutlet",r)("ngTemplateOutletContext",ut(2,rf,i._getContextData(n,i.footerActiveItem===n.action,i._isDisabled(n),!0,!1)))}}var le={PORTAL_TEAM_MANAGEMENT_BTN:"portalTeamManagementBtn",PORTAL_PROPERTY_MANAGER_BTN:"portalPropertyManagerBtn",PORTAL_BIM_USERS:"portalBimUsers",PORTAL_BIM_MODELS:"portalBimModels",PORTAL_BIM_DOCUMENTS:"portalBimDocuments",PORTAL_BIM_PROJECT_SETTINGS:"portalBimProjectSettings",PORTAL_BIM_PROCESSES:"portalBimProcesses",DIVIDER_PROJECT_MANAGEMENT:"dividerprojectmanagement",PORTAL_BIM_VIEWER_BTN:"portalBimViewerBtn",PORTAL_CLOUD_VIEWER_BTN:"portalCloudViewerBtn",PORTAL_CONNEXIS_BTN:"portalConnexisBtn",PORTAL_BIM_AUTOCONVERTER_BTN:"portalBimAutoconverterBtn",DIVIDERAPPS:"dividerapps",PORTAL_ADD_INS_BTN:"portalAddInsBtn",PORTAL_SHOP_BTN:"portalShopBtn",PORTAL_GET_YOUR_TEAM_BTN:"portalGetYourTeamBtn",PORTAL_TRY_BIMPLUS_PRO_BTN:"portalTryBimplusProBtn"},zl=(()=>{let t=class t extends Qe{constructor(){super(),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.autoconverterSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.autoconverterDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.addinsDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.autoconverterVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.addinsVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.getYourTeamVisible=!1,this.tryBimplusProVisible=!1,this.cloudviewerVisible=!0,this.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new J,this.bimplusMainMenuOverlayClicked=new J,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:le.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:le.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:le.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:le.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:le.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:le.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:le.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:le.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:le.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"Connexis",textIdDisabled:"Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:le.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"Autoconverter",textIdDisabled:"Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:le.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:le.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:le.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:le.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:le.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:le.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:le.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:le.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!==le.PORTAL_CONNEXIS_BTN)),this.cloudviewerVisible||(i=i.filter(({id:r})=>r!==le.PORTAL_CLOUD_VIEWER_BTN)),this.bimexplorerVisible||(i=i.filter(({id:r})=>r!==le.PORTAL_BIM_VIEWER_BTN)),this.autoconverterVisible||(i=i.filter(({id:r})=>r!==le.PORTAL_BIM_AUTOCONVERTER_BTN)),this.dividerappsVisible||(i=i.filter(({id:r})=>r!==le.DIVIDERAPPS)),this.teammembersDisabled&&(i=i.filter(({id:r})=>r!==le.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(i=i.filter(({id:r})=>r!==le.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(i=i.filter(({id:r})=>r!==le.PORTAL_PROPERTY_MANAGER_BTN&&r!==le.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!==le.DIVIDERAPPS)),this.getYourTeamVisible?i.filter(({id:r})=>r!==le.DIVIDERAPPS):i.filter(({id:r})=>r!==le.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(){he(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(i,r,o){if(o&&(o.stopPropagation(),o.preventDefault()),r!="info"&&this._isDisabled(i))return;let a=i.action;he(this,"bimplusMainMenuClicked",{action:a,type:r})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],isIpadApp:[2,"isIpadApp","isIpadApp",M],isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",M],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",M],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",M],modelsDisabled:[2,"modelsDisabled","modelsDisabled",M],documentsDisabled:[2,"documentsDisabled","documentsDisabled",M],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",M],processesDisabled:[2,"processesDisabled","processesDisabled",M],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",M],showOverlay:[2,"showOverlay","showOverlay",M],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",M],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",M],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",M],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",M],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",M],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",M],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",M],connexisDisabled:[2,"connexisDisabled","connexisDisabled",M],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",M],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",M],shopDisabled:[2,"shopDisabled","shopDisabled",M],addinsDisabled:[2,"addinsDisabled","addinsDisabled",M],openProjectVisible:[2,"openProjectVisible","openProjectVisible",M],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",M],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",M],modelsVisible:[2,"modelsVisible","modelsVisible",M],documentsVisible:[2,"documentsVisible","documentsVisible",M],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",M],processesVisible:[2,"processesVisible","processesVisible",M],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",M],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",M],connexisVisible:[2,"connexisVisible","connexisVisible",M],teammembersVisible:[2,"teammembersVisible","teammembersVisible",M],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",M],shopVisible:[2,"shopVisible","shopVisible",M],addinsVisible:[2,"addinsVisible","addinsVisible",M],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",M],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",M],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",M],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",M],cloudviewerVisible:[2,"cloudviewerVisible","cloudviewerVisible",M],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},features:[Fe([Se]),Ze,Bt],decls:11,vars:6,consts:[["appNavigationItemContent",""],[1,"bim-mm-wrapper",3,"click","keypress","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons","menuItemsOrder"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item-details",3,"click","keypress","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click","keypress"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(r,o){if(r&1){let a=Ee();ae(0,A6,2,1,"ng-template",null,0,xr),E(2,"div",1),F("click",function(){return B(a),U(o._overlayClicked())})("keypress",function(){return B(a),U(o._overlayClicked())}),E(3,"div",2),ke(4,L6,1,4,"ng-container"),ke(5,O6,1,39,"lib-bimplus-project-menu",3),E(6,"div",4)(7,"div",5),ae(8,P6,2,4,"div",6),T(),E(9,"div",7),ae(10,V6,2,4,"div",6),T()()()()}r&2&&(w(2),D("ngClass",o.showOverlay?"bim-mm-overlay":""),w(2),Ae(o._isHidden(o._openPrjBtn)?-1:4),w(),Ae(o.bimplusProjectMenuVisible?5:-1),w(),D("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),w(2),D("ngForOf",o.apps),w(2),D("ngForOf",o.footerList))},dependencies:[me,je,ht,Go,Ne,Ul,qe],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:var(--main-menu-overlay-background-color-enabled)}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:var(--main-menu-app-item-details-text-color-disabled)}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:3px solid var(--item-divider-border-color-enabled);margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:var(--main-menu-app-item-background-color-hovered)}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:var(--main-menu-app-item-text-color-selected)}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-autoconverter,.bim-mm-app-item.selected .bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:var(--main-menu-app-item-background-color-selected)}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:var(--main-menu-select-project-button-background-color-enabled)}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-enabled);text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-disabled)}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:var(--main-menu-app-item-details-text-color-selected)}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:var(--main-menu-container-background-color-enabled);width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:var(--main-menu-apps-container-background-color-enabled);flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/@bimplus/navigation/assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/@bimplus/navigation/assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/@bimplus/navigation/assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
|
|
12
|
+
`],encapsulation:3});let e=t;return e})();var os=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(os||{});var j6=(e,t,n,i,r)=>({"model-viewer":e,"model-viewer-black":t,"connexis-viewer":n,"connexis-viewer-black":i,"burger-menu-not-visible":r}),H6=(e,t,n)=>({active:e,hidden:t,disabled:n}),B6=e=>({hidden:e});function U6(e,t){e&1&&(E(0,"span"),X(1,"\xA0\xA0 -\xA0\xA0"),T())}var $l=(()=>{let t=class t extends Qe{constructor(){super(...arguments),this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this.logoState=zo(os.BimplusViewer),this.isModelViewerActive=zo(!1,{transform:M}),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.bimplusNavbarClicked=new J,this.LogoState=os,this.logoTooltipSignal=El(()=>this.isModelViewerActive()?"_Open_new_file":this.isDashboardTooltipEnabled?"_dashboard_tooltip":""),this.logoStateSignal=El(()=>this.isModelViewerActive()?os.ModelViewerBlack:this.logoState())}_menuClicked(){this.isNavbarMenuEnabled&&he(this,"bimplusNavbarClicked","menu")}_logoClicked(){he(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&he(this,"bimplusNavbarClicked","project")}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=ki(t)))(o||t)}})(),t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",M],isStage:[2,"isStage","isStage",M],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",M],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",M],logoState:[1,"logoState"],isModelViewerActive:[1,"isModelViewerActive"],isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",M],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",M],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",M],isTouch:[2,"isTouch","isTouch",M],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",M]},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},features:[Ze],decls:14,vars:25,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","keypress","ngClass","title"],[1,"bimplus-navbar-menu","icon",3,"click","keypress","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[4,"ngIf"],[1,"project",3,"click","keypress","ngClass"],[1,"bimplus-navbar-slot"]],template:function(r,o){r&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),ye(3,"translate"),F("click",function(){return o._logoClicked()})("keypress",function(){return o._logoClicked()}),T(),E(4,"div",3),F("click",function(){return o._menuClicked()})("keypress",function(){return o._menuClicked()}),T()(),E(5,"div",4)(6,"div",5)(7,"span",6),X(8),T(),ae(9,U6,2,0,"span",7),E(10,"span",8),F("click",function(){return o._projectInfoClicked()})("keypress",function(){return o._projectInfoClicked()}),X(11),T()(),E(12,"div",9),re(13,"slot"),T()()()),r&2&&(D("ngClass",o.isTouch?"is-touch":""),w(2),D("ngClass",vp(13,j6,o.logoStateSignal()===o.LogoState.ModelViewer,o.logoStateSignal()===o.LogoState.ModelViewerBlack,o.logoStateSignal()===o.LogoState.ConnexisViewer,o.logoStateSignal()===o.LogoState.ConnexisViewerBlack,!o.isNavbarMenuVisible))("title",_e(3,11,o.logoTooltipSignal())),w(2),D("ngClass",Dn(19,H6,o.isNavbarMenuActive,!o.isNavbarMenuVisible,!o.isNavbarMenuEnabled)),w(2),Gn("margin-left",o.teamInfoOffset),D("ngClass",ut(23,B6,!o.isNavbarInfoVisible)),w(2),Ke(o.teamInfo),w(),D("ngIf",o.projectInfo&&!o.isTouch),w(),D("ngClass",o.isDev?"clickable":""),w(),xe(" ",o.projectInfo," "))},dependencies:[me,je,Wo,Ne,qe],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:var(--navbar-background-color-enabled);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:var(--navbar-text-color-enabled)}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:var(--navbar-preview-mode-text-color-enabled);font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:var(--navbar-preview-mode-background-color-enabled);letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logo_Black.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Connexis-Logo_black.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:pointer}.bimplus-logo.model-viewer-black{background:url("./assets/@bimplus/navigation/assets/Allplan-Cloud-Viewer-Logo_black.svg") center center / 14em no-repeat;background-position:center;margin-left:.4em;min-width:14em;cursor:pointer}.bimplus-logo.burger-menu-not-visible{margin-left:.4em;margin-right:6.8em}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
|
|
13
|
+
`],encapsulation:3});let e=t;return e})();function z6(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Vi=z6;var $6=typeof global=="object"&&global&&global.Object===Object&&global,zg=$6;var Z6=typeof self=="object"&&self&&self.Object===Object&&self,W6=zg||Z6||Function("return this")(),Zl=W6;var G6=function(){return Zl.Date.now()},Wl=G6;var Y6=/\s/;function q6(e){for(var t=e.length;t--&&Y6.test(e.charAt(t)););return t}var $g=q6;var Q6=/^\s+/;function X6(e){return e&&e.slice(0,$g(e)+1).replace(Q6,"")}var Zg=X6;var K6=Zl.Symbol,Lr=K6;var Wg=Object.prototype,J6=Wg.hasOwnProperty,e7=Wg.toString,ss=Lr?Lr.toStringTag:void 0;function t7(e){var t=J6.call(e,ss),n=e[ss];try{e[ss]=void 0;var i=!0}catch{}var r=e7.call(e);return i&&(t?e[ss]=n:delete e[ss]),r}var Gg=t7;var n7=Object.prototype,i7=n7.toString;function r7(e){return i7.call(e)}var Yg=r7;var o7="[object Null]",s7="[object Undefined]",qg=Lr?Lr.toStringTag:void 0;function a7(e){return e==null?e===void 0?s7:o7:qg&&qg in Object(e)?Gg(e):Yg(e)}var Qg=a7;function l7(e){return e!=null&&typeof e=="object"}var Xg=l7;var c7="[object Symbol]";function u7(e){return typeof e=="symbol"||Xg(e)&&Qg(e)==c7}var Kg=u7;var Jg=NaN,d7=/^[-+]0x[0-9a-f]+$/i,p7=/^0b[01]+$/i,f7=/^0o[0-7]+$/i,m7=parseInt;function h7(e){if(typeof e=="number")return e;if(Kg(e))return Jg;if(Vi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Vi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Zg(e);var n=p7.test(e);return n||f7.test(e)?m7(e.slice(2),n?2:8):d7.test(e)?Jg:+e}var of=h7;var g7="Expected a function",v7=Math.max,b7=Math.min;function y7(e,t,n){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(g7);t=of(t)||0,Vi(n)&&(h=!!n.leading,g="maxWait"in n,o=g?v7(of(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function b(N){var ve=i,ne=r;return i=r=void 0,f=N,a=e.apply(ne,ve),a}function _(N){return f=N,c=setTimeout(I,t),h?b(N):a}function A(N){var ve=N-d,ne=N-f,Mn=t-ve;return g?b7(Mn,o-ne):Mn}function k(N){var ve=N-d,ne=N-f;return d===void 0||ve>=t||ve<0||g&&ne>=o}function I(){var N=Wl();if(k(N))return Z(N);c=setTimeout(I,A(N))}function Z(N){return c=void 0,y&&i?b(N):(i=r=void 0,a)}function He(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ue(){return c===void 0?a:Z(Wl())}function Ce(){var N=Wl(),ve=k(N);if(i=arguments,r=this,d=N,ve){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,t),b(d)}return c===void 0&&(c=setTimeout(I,t)),a}return Ce.cancel=He,Ce.flush=ue,Ce}var Or=y7;var _7="Expected a function";function C7(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(_7);return Vi(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Or(e,t,{leading:i,maxWait:t,trailing:r})}var e2=C7;var Pr=function(){return Pr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Pr.apply(this,arguments)};function i2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function r2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var o2=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,r){var o=r.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(r.value){case"true":i[a]=!0;break;case"false":i[a]=!1;break;case void 0:i[a]=!0;break;default:i[a]=r.value}}return i},t);return n};function s2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function a2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function l2(e){return".".concat(e.split(" ").join("."))}var af=!!(typeof window<"u"&&window.document&&window.document.createElement),w7=Object.freeze({__proto__:null,addClasses:s2,canUseDOM:af,classNamesToQuery:l2,getElementDocument:r2,getElementWindow:i2,getOptions:o2,removeClasses:a2}),Rr=null,t2=null;af&&window.addEventListener("resize",function(){t2!==window.devicePixelRatio&&(t2=window.devicePixelRatio,Rr=null)});function n2(){if(Rr===null){if(typeof document>"u")return Rr=0,Rr;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Rr=n}return Rr}var Xn=i2,sf=r2,D7=o2,Kn=s2,Jn=a2,gt=l2,as=(function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=Xn(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,Kn(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){Jn(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(Kn(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Jn(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var o,a;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(o=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(a=i.isWithinBounds(i.axis.y.track.rect)),(o||a)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(o&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),a&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var o,a,c,d,f,h,g,y,b,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Z=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,He=i.axis[i.draggedAxis].scrollbar,ue=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ce=parseInt((h=(f=i.elStyles)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?k=r.pageY:k=r.pageX;var N=k-((y=(g=I.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;N=i.draggedAxis==="x"&&i.isRtl?((_=(b=I.rect)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-He.size-N:N;var ve=N/(Z-He.size),ne=ve*(ue-Ce);i.draggedAxis==="x"&&i.isRtl&&(ne=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-ne:ne),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ne}},this.onEndDrag=function(r){i.isDragging=!1;var o=sf(i.el),a=Xn(i.el);r.preventDefault(),r.stopPropagation(),Jn(i.el,i.classNames.dragging),i.onStopScrolling(),o.removeEventListener("mousemove",i.drag,!0),o.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",i.preventClick,!0),o.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Pr(Pr({},e.defaultOptions),n),this.classNames=Pr(Pr({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=e2(this._onMouseMove,64),this.onWindowResize=Or(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Or(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Or(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n?.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),o=e.getOffset(i);n.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:n2()}catch{return n2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=sf(t),r=Xn(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){af&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(gt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(gt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(gt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(gt(this.classNames.offset)),this.maskEl=this.el.querySelector(gt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,gt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(gt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(gt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(gt(this.classNames.track)).concat(gt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(gt(this.classNames.track)).concat(gt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(gt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(gt(this.classNames.scrollbar)))||null,this.options.autoHide||(Kn(this.axis.x.scrollbar.el,this.classNames.visible),Kn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=Xn(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,o=i.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Xn(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,f=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&f>n,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,y=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&f>o-y,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],o=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,a=o/r,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,i,r;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];f=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,t==="x"&&this.isRtl&&(f=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?f:-f);var h=f/(a-d),g=~~((c-o.size)*h);g=t==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Kn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Jn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),Kn(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Kn(n.scrollbar.el,this.classNames.hover):Jn(n.scrollbar.el,this.classNames.hover)):(Jn(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Jn(this.axis[t].track.el,this.classNames.hover),Jn(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y"),this.isDragging=!0;var r=sf(this.el),o=Xn(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,Kn(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,r,o,a,c;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var f=Xn(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),b=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?b-y:b+y,I=40,Z=function(){i.contentWrapperEl&&(A===-1?b>k&&(b-=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)):b<k&&(b+=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Xn(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=D7,e.helpers=w7,e})();var cf=function(e,t){return cf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},cf(e,t)};function E7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");cf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var uf=as.helpers,lf=uf.getOptions,Tt=uf.addClasses,x7=uf.canUseDOM,df=(function(e){E7(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!t.instances.has(n)&&new t(n,lf(n.attributes))})},t.removeObserver=function(){var n;(n=t.globalObserver)===null||n===void 0||n.disconnect()},t.prototype.initDOM=function(){var n=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(n.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Tt(this.wrapperEl,this.classNames.wrapper),Tt(this.contentWrapperEl,this.classNames.contentWrapper),Tt(this.offsetEl,this.classNames.offset),Tt(this.maskEl,this.classNames.mask),Tt(this.contentEl,this.classNames.contentEl),Tt(this.placeholderEl,this.classNames.placeholder),Tt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Tt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");Tt(a,this.classNames.track),Tt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),Tt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),Tt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}as.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){as.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(n){n.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,lf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!t.instances.has(o)&&document.documentElement.contains(o)&&new t(o,lf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=t.instances.get(r))===null||o===void 0||o.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=t.instances.get(a))===null||c===void 0||c.unMount())}))})})},t.instances=new WeakMap,t})(as);x7&&df.initHtmlApi();var M7=["*"],Gl=(()=>{let t=class t{constructor(){this.elementRef=R(Zn),this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let i=this._element?.querySelector(this._scrollableContainerClassName);if(!i){console.error("No scrollable container found in the element.");return}this._simpleBar=new df(i)}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){if(!(!this._element||!this._element?.querySelector(this._scrollableContainerClassName))){if(!this._simpleBar){console.error("No scrollable container found in the element.");return}this._simpleBar.recalculate()}}ngAfterViewChecked(){this._recalculateScrollbar()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-scrollable-container"]],ngContentSelectors:M7,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(r,o){r&1&&(mp(),_n(0,"div",0),hp(1),Cn())},styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.scrollable-container{height:100%;max-height:100%;padding-right:var(--scrollable-container-paddin-right, .8rem)}
|
|
14
|
+
`],encapsulation:2});let e=t;return e})();var c2=e=>({capitalize:e}),u2=e=>[e];function I7(e,t){if(e&1){let n=Ee();E(0,"div",22),F("click",function(){let r=B(n).index,o=x(2).$implicit,a=x(2);return U(a._messageAction(o,r))})("keypress",function(){let r=B(n).index,o=x(2).$implicit,a=x(2);return U(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x(2);D("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function S7(e,t){if(e&1&&ae(0,I7,2,2,"div",21),e&2){let n=x().$implicit,i=x(2);D("ngForOf",n.linkText.constructor===i.Array?n.linkText:ut(1,u2,n.linkText))}}function T7(e,t){if(e&1){let n=Ee();E(0,"div",14)(1,"div",15),re(2,"div",16),E(3,"div",17),X(4),T(),E(5,"div",18),F("click",function(r){let o=B(n).$implicit,a=x(2);return U(a._closeMessage(o,!1,r))})("keypress",function(r){let o=B(n).$implicit,a=x(2);return U(a._closeMessage(o,!1,r))}),T()(),E(6,"div",19),X(7),T(),ke(8,S7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),D("ngClass","message-item-icon-"+n.type),w(),D("ngClass",ut(5,c2,n.capitalizedTitle)),w(),xe(" ",n.title," "),w(3),Ke(n.text),w(),Ae(n.linkText?8:-1)}}function k7(e,t){if(e&1&&(E(0,"lib-bimplus-scrollable-container"),ae(1,T7,9,7,"div",13),T()),e&2){let n=x();w(),D("ngForOf",n._messagesList)}}function A7(e,t){e&1&&(E(0,"div",9),re(1,"div",23),E(2,"div",24),X(3),ye(4,"translate"),T()()),e&2&&(w(3),Ke(_e(4,1,"_Notify_No_Messages")))}function N7(e,t){if(e&1){let n=Ee();E(0,"div",22),F("click",function(){let r=B(n).index,o=x(2).$implicit,a=x();return U(a._messageAction(o,r))})("keypress",function(){let r=B(n).index,o=x(2).$implicit,a=x();return U(a._messageAction(o,r))}),X(1),T()}if(e&2){let n=t.$implicit,i=t.index,r=x(2).$implicit,o=x();D("title",o._getItemLinkTitle(r,i)),w(),Ke(n)}}function L7(e,t){if(e&1&&ae(0,N7,2,2,"div",21),e&2){let n=x().$implicit,i=x();D("ngForOf",n.linkText.constructor===i.Array?n.linkText:ut(1,u2,n.linkText))}}function O7(e,t){if(e&1){let n=Ee();E(0,"div",14)(1,"div",15),re(2,"div",16),E(3,"div",17),X(4),T(),E(5,"div",18),F("click",function(r){let o=B(n).$implicit,a=x();return U(a._closeMessage(o,!0,r))})("keypress",function(r){let o=B(n).$implicit,a=x();return U(a._closeMessage(o,!0,r))}),T()(),E(6,"div",19),X(7),T(),ke(8,L7,1,3,"div",20),T()}if(e&2){let n=t.$implicit;w(2),D("ngClass","message-item-icon-"+n.type),w(),D("ngClass",ut(5,c2,n.capitalizedTitle)),w(),xe(" ",n.title," "),w(3),xe(" ",n.text," "),w(),Ae(n.linkText?8:-1)}}var Yl="bimplus-notify-messages",ql=(()=>{let t=class t extends Qe{constructor(){super(),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new J,this.bimplusNotifyDeleteAllMessages=new J,this.bimplusNotifyMessageAction=new J}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(i){if(i.messages){let r=i.messages.currentValue;this.updateMessages(r)}}updateMessages(i){if(!(i&&typeof i=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let o=JSON.parse(i);this._messagesList=o.messages;let a=this._messagesList.filter(c=>this._oldMessagesList.findIndex(d=>d.id===c.id)<0);a=a.filter(c=>this._messageNotReadYet(c)),a.slice().reverse().forEach(c=>{this._previewMessagesList.findIndex(d=>c.id===d.id)<0&&(this._previewMessagesList.unshift(c),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(c.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}_closeMessage(i,r,o){if(r)return this._closePreviewMessage(i.id);o&&(o.stopPropagation(),o.preventDefault()),he(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(){he(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(i,r){i.actionId=r,he(this,"bimplusNotifyMessageAction",JSON.stringify(i))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(i){if(!i?.id)return!0;let r=window.localStorage.getItem(Yl);return r?!r.includes(i.id):!0}storeMessagesAsRead(i){if(!i||i.length<1)return;let r=window.localStorage.getItem(Yl);r??="",i.forEach(o=>{r?.includes(o)||(r+=o+";")}),window.localStorage.setItem(Yl,r)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Yl)}_getItemLinkTitle(i,r){let o=[];return i.linkText&&(i.links||i.link)&&(o=Array.isArray(i.links)?i.links:[i.link]),o[r]??""}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(r,o){r&2&&wl("new-messages",o.newMessages)("bim-notify",o.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",M],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},features:[Fe([Se]),Ze,Bt],decls:19,vars:16,consts:[[1,"dropdown",3,"click","keypress","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click","keypress"],[1,"messages-container"],[1,"message-item-empty"],[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click","keypress"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click","keypress",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","keypress","title"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(r,o){r&1&&(E(0,"div",0),ye(1,"translate"),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",1),re(3,"div",2),T(),E(4,"div",3),re(5,"div",4),E(6,"div",5)(7,"div",6),X(8),T(),E(9,"div",7),F("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),X(10),ye(11,"translate"),T()(),E(12,"div",8),ke(13,k7,2,1,"lib-bimplus-scrollable-container")(14,A7,5,3,"div",9),T()()(),E(15,"div",10),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(16,"div",11)(17,"div",12),ae(18,O7,9,7,"div",13),T()()),r&2&&(D("ngClass",o._menuOpened?"open":"")("title",_e(1,12,"_BimplusNotifyTitle")),w(3),D("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),w(),D("ngClass",o._menuOpened?"open":""),w(4),xe(" (",o._messagesList.length,") "),w(2),xe(" ",_e(11,14,"_Notify_Mark_All")," "),w(3),Ae(o._messagesList.length?13:14),w(2),D("ngClass",o._menuOpened?"open":""),w(),Gn("top",o.previewMessagesOffsetY),D("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),w(2),D("ngForOf",o._previewMessagesList))},dependencies:[me,je,ht,Ne,Gl,qe],styles:[`.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:var(--notify-message-title-text-color-enabled);background-color:var(--notify-message-title-background-color-enabled)}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:var(--notify-dropdown-menu-item-background-color-hovered)}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:var(--notify-messages-container-background-color-enabled);border:thin solid var(--notify-messages-container-border-color-enabled);-webkit-box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--notify-messages-container-box-shadow-color-enabled);text-decoration-color:var(--notify-messages-container-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid var(--notify-message-item-border-color-enabled);padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:var(--text-link-color-default);text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container{position:relative;display:flex;flex:1 1 auto}.bim-notify .messages-container lib-bimplus-scrollable-container{max-height:100%;min-width:100%}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:var(--notify-message-item-background-color-enabled);border:thin solid var(--notify-message-item-border-color-enabled);-webkit-box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);box-shadow:0 .3em .3em var(--notify-message-item-box-shadow-color-enabled);margin-bottom:.5em}.bim-notify .icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Notify_Empty.svg")}
|
|
15
|
+
`],encapsulation:2});let e=t;return e})();var R7=(e,t,n)=>({red:e,yellow:t,green:n}),Ql=(()=>{let t=class t extends Qe{constructor(){super(),this.usedStorage=zo(0),this.bimplusStorageInfoClicked=new J}_infoClicked(i){he(this,"bimplusStorageInfoClicked",i)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:[1,"usedStorage"]},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},features:[Fe([Se]),Ze],decls:8,vars:13,consts:[[1,"storage-info",3,"click","keypress"],[1,"progress-title"],["data-test","used-storage",1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._infoClicked("storageInfo")})("keypress",function(){return o._infoClicked("storageInfo")}),E(1,"span",1),X(2),ye(3,"translate"),E(4,"span",2),X(5),T()(),E(6,"div",3),re(7,"div",4),T()()),r&2&&(w(2),xe(" ",_e(3,7,"_Common_Data_Environment_Quota")," "),w(3),xe(" ",o.usedStorage(),"% "),w(2),Gn("width",o.usedStorage()+"%")("max-width",o.usedStorage()+"%"),D("ngClass",Dn(9,R7,o.usedStorage()>=90,o.usedStorage()>=80&&o.usedStorage()<90,o.usedStorage()<80)))},dependencies:[me,je,Ne,qe],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:var(--storage-info-placeholder-text-color-enabled);flex-direction:column}.storage-info.hovered,.storage-info:hover{color:var(--storage-info-text-color-hovered)}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:var(--storage-info-bar-border-color-hovered)}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:var(--storage-info-bar-container-background-color-enabled);padding:.125em;border:var(--storage-info-bar-container-border-color-enabled) solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:var(--storage-info-bar-background-color-low-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:var(--storage-info-bar-background-color-medium-enabled)}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:var(--storage-info-bar-background-color-high-enabled)}
|
|
16
|
+
`],encapsulation:3});let e=t;return e})();var Xl=(()=>{let t=class t extends Qe{constructor(){super(),this.defaultShopUrl="https://www.bimplus.net/",this.shopUrl=this.defaultShopUrl,this.country="",this.isTouch=!1,this.bimplusUpgradeLinkClicked=new J}_getLangParamValue(i){let o={en:"1",fr:"2",de:"3",cs:"1",es:"1",it:"1",ru:"1",ro:"1",tr:"1"}[i];return`&lang=${o||"1"}`}_getCountryIsoParam(i){let o={en:"gb",us:"us",fr:"fr",de:"de",cs:"cz",es:"es",it:"it",ru:"ru",ro:"ro",tr:"tr"}[i];return o?`&ap_country_iso=${o}`:""}_linkClicked(){let i=this.shopUrl||this.defaultShopUrl;console.debug("Opening upgrade to Bimplus link"),window.open(i,"_blank"),he(this,"bimplusUpgradeLinkClicked",i)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-upgrade-link"]],inputs:{shopUrl:"shopUrl",country:"country",isTouch:[2,"isTouch","isTouch",M]},outputs:{bimplusUpgradeLinkClicked:"bimplusUpgradeLinkClicked"},features:[Fe([Se]),Ze],decls:3,vars:4,consts:[[1,"bimplus-upgrade-link","secondary-button","body-text-mixin",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._linkClicked()})("keypress",function(){return o._linkClicked()}),X(1),ye(2,"translate"),T()),r&2&&(D("ngClass",o.isTouch?"is-touch":""),w(),xe(" ",_e(2,2,"_Upgrade_to_Bimplus")," "))},dependencies:[me,je,Ne,qe],styles:[`.secondary-button{border:solid 2px var(--color-border-input-focus);border-radius:.4rem;padding:.4rem;box-sizing:border-box;line-height:1.2;height:100%;display:inline-block;color:var(--color-border-input-focus);text-transform:uppercase;text-align:center;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:100%;font-weight:var(--font-weight, 700);cursor:pointer}.secondary-button:hover{background-color:var(--color-background-button-secondary-hover)}.secondary-button.hidden{visibility:hidden}.is-touch .secondary-button{padding-left:0}
|
|
17
|
+
`],encapsulation:3});let e=t;return e})();var P7=(e,t)=>({open:e,"is-touch":t}),F7=e=>({open:e}),V7=e=>({selected:e});function j7(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._menuItemClicked(r.mode))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._menuItemClicked(r.mode))}),re(1,"div",8),E(2,"span"),X(3),ye(4,"translate"),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",ut(5,V7,i.selectedMode===n.mode)),w(),D("ngClass",n.class),w(2),Ke(_e(4,3,n.textId))}}var Kl=(()=>{let t=class t extends Qe{constructor(){super(),this._menuItemsList=[{mode:"touch",class:"icon-touch-mode-toolbar",textId:"_Touch_Mode"},{mode:"desktop",class:"icon-desktop-mode-toolbar",textId:"_Desktop_Mode"}],this._menuOpened=!1,this.isTouch=!1,this.selectedMode="desktop",this.bimplusTouchModeSelected=new J}get _selectedItem(){return this._menuItemsList.find(i=>i.mode==this.selectedMode)}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i){he(this,"bimplusTouchModeSelected",i)}_toggleOpened(){this._menuOpened=!this._menuOpened}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",M],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},features:[Fe([Se]),Ze,Bt],decls:7,vars:10,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"],[1,"icon",3,"ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",2),re(3,"div",3)(4,"span",4),T(),E(5,"ul",5),ae(6,j7,5,7,"li",6),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),w(),D("ngClass",Oi(5,P7,o._menuOpened,o.isTouch)),w(2),D("ngClass",o._selectedItem!=null&&o._selectedItem.class?o._selectedItem==null?null:o._selectedItem.class:""),w(2),D("ngClass",ut(8,F7,o._menuOpened)),w(),D("ngForOf",o._menuItemsList))},dependencies:[me,je,ht,Ne,qe],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;width:4em;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--touch-menu-dropdown-open-text-color-enabled);background-color:var(--touch-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:1em;margin-right:.3em;background-size:1.4em 1.4em;padding-top:.31em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--touch-menu-dropdown-toggle-text-color-enabled);min-width:2.8em;min-height:2.81em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .main-icon{padding-top:.1em}.dropdown-toggle .icon{margin:0}.is-touch .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;padding-bottom:.22em;min-width:0;min-height:0;padding-top:0;padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.dropdown-toggle:hover{color:var(--touch-menu-dropdown-toggle-text-color-hovered)}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--touch-menu-dropdown-menu-background-color-enabled);border:thin solid var(--touch-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--touch-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--touch-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 2.2em .2em 2em;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--touch-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--touch-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-touch-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Desktop_Mode.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
18
|
+
`],encapsulation:3});let e=t;return e})();var H7=(e,t,n)=>({divider:e,languageMenuItem:t,"submenu-hidden":n});function B7(e,t){if(e&1&&X(0),e&2){let n=x();xe(" ",n.userName," ")}}function U7(e,t){if(e&1){let n=Ee();E(0,"div",17),F("click",function(){let r=B(n).$implicit,o=x(4);return U(o._switchLanguage(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x(4);return U(o._switchLanguage(r.symbol))}),X(1),T()}if(e&2){let n=t.$implicit,i=x(4);D("id",fe(i._getLangId(n)))("ngClass",n.symbol===i.selectedLanguage?"selected":""),yn("key",i._getLangId(n)),w(),xe(" ",n.text," ")}}function z7(e,t){if(e&1&&(re(0,"div",11)(1,"div",12),E(2,"span",13),X(3),ye(4,"translate"),T(),E(5,"div",14)(6,"div",15),ae(7,U7,2,5,"div",16),T()()),e&2){let n=x(2).$implicit,i=x();w(),D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(4,5,n.textId)," "),w(2),D("ngClass",i._languagesMenuOpened?"open":""),w(2),D("ngForOf",i._languagesList)}}function $7(e,t){if(e&1&&(re(0,"div",12),E(1,"span",13),X(2),ye(3,"translate"),T()),e&2){let n=x(2).$implicit;D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(3,3,n.textId)," ")}}function Z7(e,t){if(e&1&&(E(0,"a",10),re(1,"div",12),E(2,"span",13),X(3),ye(4,"translate"),T()()),e&2){let n=x(2).$implicit,i=x();D("href",fe(i._buildUrl(n)),Cr),w(),D("ngClass",n.class),w(),D("ngClass",n.textClass?n.textClass:""),w(),xe(" ",_e(4,5,n.textId)," ")}}function W7(e,t){if(e&1){let n=Ee();E(0,"li",9),F("click",function(){B(n);let r=x(),o=r.$implicit,a=r.index,c=x();return U(c._menuItemClicked(o,a))})("keypress",function(){B(n);let r=x(),o=r.$implicit,a=r.index,c=x();return U(c._menuItemClicked(o,a))}),ke(1,z7,8,7)(2,$7,4,5)(3,Z7,5,7,"a",10),T()}if(e&2){let n=x().$implicit;D("ngClass",Dn(4,H7,n.type==="divider",n.action==="submenu",(!n.url||n.url.slice(0,2)==="#/")&&n.action!=="submenu")),yn("key",n.id)("role",n.type==="divider"?"separator":""),w(),Ae(n.action==="submenu"?1:!n.url||n.url.slice(0,2)==="#/"?2:!n.type||n.type!=="divider"?3:-1)}}function G7(e,t){if(e&1&&(jo(0),ae(1,W7,4,8,"li",8),Ho()),e&2){let n=t.$implicit;w(),D("ngIf",n)}}var Jl=(()=>{let t=class t extends Qe{constructor(){super(),this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina",lCode:"3"},{symbol:"de",text:"Deutsch",lCode:"1"},{symbol:"en",text:"English (UK)",lCode:"0"},{symbol:"us",text:"English (US)",lCode:void 0},{symbol:"es",text:"Espa\xF1ol",lCode:"18"},{symbol:"fr",text:"Fran\xE7ais",lCode:"4"},{symbol:"it",text:"Italiano",lCode:"2"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",lCode:"14"},{symbol:"ro",text:"Romana",lCode:void 0},{symbol:"tr",text:"T\xFCrk\xE7e",lCode:void 0}],this._menuOpened=!1,this._languagesMenuOpened=!1,this.accountSettingsVisible=!0,this.removeConnectedAppsVisible=!1,this.userGuideVisible=!0,this.contactFormVisible=!0,this.forumVisible=!0,this.releaseNotesVisible=!0,this.submenuVisible=!0,this.clearCacheVisible=!0,this.dividerLoggedInVisible=!0,this.logoutVisible=!0,this.isEmbedded=!1,this.isTouch=!1,this.allowRcaItem=!1,this.buttonTitle="",this.userName="Unknown user",this.userPhotoUrl="",this.userGuideLinkUrl="https://bimplus-help.allplan.com/welcome.htm",this.contactFormLinkUrl="https://www.allplan.com/info/contact",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new J,this.bimplusLanguageSelected=new J,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"contactFormLink",action:"contactForm",class:"icon-contact-form",textId:"_Contact_form",get url(){return this._url?.()??""},_url:()=>this.contactFormLinkUrl,queryParams:"",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"releaseNotesLink",action:"releaseNotes",class:"icon-release-notes",textId:"_Release_notes",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(i){i.localizedStrings&&this._localizedStrings.set(i.localizedStrings.currentValue)}_menuItemClicked(i,r){!i||i.type==="divider"||(i.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,he(this,"bimplusUserMenuClicked",{index:r,action:i.action?i.action:""})))}_switchLanguage(i){this._languagesMenuOpened=!1,this._menuOpened=!1,he(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=ce({type:t,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",M],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",M],userGuideVisible:[2,"userGuideVisible","userGuideVisible",M],contactFormVisible:[2,"contactFormVisible","contactFormVisible",M],forumVisible:[2,"forumVisible","forumVisible",M],releaseNotesVisible:[2,"releaseNotesVisible","releaseNotesVisible",M],submenuVisible:[2,"submenuVisible","submenuVisible",M],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",M],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",M],logoutVisible:[2,"logoutVisible","logoutVisible",M],isEmbedded:[2,"isEmbedded","isEmbedded",M],isTouch:[2,"isTouch","isTouch",M],allowRcaItem:[2,"allowRcaItem","allowRcaItem",M],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",contactFormLinkUrl:"contactFormLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},features:[Fe([Se]),Ze,Bt],decls:9,vars:12,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click","keypress",4,"ngIf"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],["class","languageSubmenuItem",3,"id","ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1)(2,"div",2),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),re(3,"img",3),E(4,"div",4),ke(5,B7,1,1),T(),re(6,"span",5),T(),E(7,"ul",6),ae(8,G7,2,1,"ng-container",7),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),yn("key","bimcompOverlay"),w(),D("ngClass",o._menuOpened?"open":""),yn("key","userMenu"),w(),D("title",o.buttonTitle?o.buttonTitle:""),w(),D("src",fe(o.userPhotoUrl?o.userPhotoUrl:""),Cr)("alt",fe(o.buttonTitle?o.buttonTitle:"")),w(2),Ae(o.isTouch?-1:5),w(2),D("ngClass",o._menuOpened?"open":""),w(),D("ngForOf",o._getMenuItems()))},dependencies:[me,je,ht,Wo,Ne,qe],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Pic_Default.webp") no-repeat center}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .user-name{margin-left:.2em}.dropdown-toggle:hover{color:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-account-settings{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/@bimplus/navigation/assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-contact-form{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Contact_From.svg") no-repeat center}.icon-forum{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Forum.svg") no-repeat center}.icon-release-notes{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Release_Notes.svg") no-repeat center}.icon-clear-cache{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/@bimplus/navigation/assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
|
|
19
|
+
`],encapsulation:3});let e=t;return e})();var Y7=(e,t)=>({open:e,"is-touch":t});function q7(e,t){if(e&1){let n=Ee();E(0,"li",7),F("click",function(){let r=B(n).$implicit,o=x();return U(o._switchZoom(r.symbol))})("keypress",function(){let r=B(n).$implicit,o=x();return U(o._switchZoom(r.symbol))}),E(1,"span"),X(2),T()()}if(e&2){let n=t.$implicit,i=x();D("ngClass",i._getZoomClassObject(n.symbol)),w(2),Ke(n.text)}}var ec=(()=>{let t=class t{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new J}_switchZoom(i){he(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=ce({type:t,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",M],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-zoom"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(r,o){r&1&&(E(0,"div",0),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),T(),E(1,"div",1),F("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),E(2,"div",2),re(3,"div",3)(4,"span",4),T(),E(5,"ul",5),ae(6,q7,3,2,"li",6),T()()),r&2&&(D("ngClass",o._menuOpened?"open":""),w(),D("ngClass",Oi(4,Y7,o._menuOpened,o.isTouch)),w(4),D("ngClass",o._menuOpened?"open":""),w(),D("ngForOf",o._zoomList))},dependencies:[me,je,ht],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--zoom-dropdown-open-text-color-enabled);background-color:var(--zoom-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--zoom-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:6.5em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--zoom-dropdown-menu-background-color-enabled);border:thin solid var(--zoom-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--zoom-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.21em 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--zoom-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-zoom{background-image:url("./assets/@bimplus/navigation/assets/bimplus_Components_Zoom.svg")}
|
|
20
|
+
`],encapsulation:3});let e=t;return e})();var d2=(()=>{class e{http;prefix;suffix;constructor(n,i="/assets/i18n/",r=".json"){this.http=n,this.prefix=i,this.suffix=r}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}static \u0275fac=function(i){return new(i||e)(j(kr),j(String),j(String))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var p2=(()=>{let t=class t{constructor(){this.defaultLang="en",this.currentLanguage$=new kn(this.defaultLang),this.currentLanguageStrings$=new kn({}),this._languageFilesUri="/assets"}set languageFilesUri(i){this._languageFilesUri=i}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(i){this.currentLanguageStrings$.next(i)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(i){return Zt(this,null,function*(){this.currentLanguage$.next(i),yield this.fetchLanguageStrings(i)})}extractLocalizedStrings(i){let r={};for(let[o,a]of Object.entries(this.currentLanguageStrings))typeof a=="string"&&i.find(c=>c===o)&&(r[o]=a);return r}fetchLanguageStrings(i){return Zt(this,null,function*(){let r=yield fetch(`${this._languageFilesUri}/strings_${i}.json`);console.log(`Language strings loaded from: ${this._languageFilesUri}/strings_${i}.json`),console.log(r);let o=yield r.json();if(i!==this.defaultLang){let c=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),d=c&&Object.keys(c);if(d?.length)for(let f in d){let h=d[f];o[h]??=c[h]}}this.currentLanguageStrings$.next(o)})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function pf(e){e||(e=R(Ei));let t=new oe(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(ru(t))}function Q7(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ji=Q7;var X7=typeof global=="object"&&global&&global.Object===Object&&global,f2=X7;var K7=typeof self=="object"&&self&&self.Object===Object&&self,J7=f2||K7||Function("return this")(),tc=J7;var ew=function(){return tc.Date.now()},nc=ew;var tw=/\s/;function nw(e){for(var t=e.length;t--&&tw.test(e.charAt(t)););return t}var m2=nw;var iw=/^\s+/;function rw(e){return e&&e.slice(0,m2(e)+1).replace(iw,"")}var h2=rw;var ow=tc.Symbol,Fr=ow;var g2=Object.prototype,sw=g2.hasOwnProperty,aw=g2.toString,ls=Fr?Fr.toStringTag:void 0;function lw(e){var t=sw.call(e,ls),n=e[ls];try{e[ls]=void 0;var i=!0}catch{}var r=aw.call(e);return i&&(t?e[ls]=n:delete e[ls]),r}var v2=lw;var cw=Object.prototype,uw=cw.toString;function dw(e){return uw.call(e)}var b2=dw;var pw="[object Null]",fw="[object Undefined]",y2=Fr?Fr.toStringTag:void 0;function mw(e){return e==null?e===void 0?fw:pw:y2&&y2 in Object(e)?v2(e):b2(e)}var _2=mw;function hw(e){return e!=null&&typeof e=="object"}var C2=hw;var gw="[object Symbol]";function vw(e){return typeof e=="symbol"||C2(e)&&_2(e)==gw}var w2=vw;var D2=NaN,bw=/^[-+]0x[0-9a-f]+$/i,yw=/^0b[01]+$/i,_w=/^0o[0-7]+$/i,Cw=parseInt;function ww(e){if(typeof e=="number")return e;if(w2(e))return D2;if(ji(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ji(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=h2(e);var n=yw.test(e);return n||_w.test(e)?Cw(e.slice(2),n?2:8):bw.test(e)?D2:+e}var ff=ww;var Dw="Expected a function",Ew=Math.max,xw=Math.min;function Mw(e,t,n){var i,r,o,a,c,d,f=0,h=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError(Dw);t=ff(t)||0,ji(n)&&(h=!!n.leading,g="maxWait"in n,o=g?Ew(ff(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function b(N){var ve=i,ne=r;return i=r=void 0,f=N,a=e.apply(ne,ve),a}function _(N){return f=N,c=setTimeout(I,t),h?b(N):a}function A(N){var ve=N-d,ne=N-f,Mn=t-ve;return g?xw(Mn,o-ne):Mn}function k(N){var ve=N-d,ne=N-f;return d===void 0||ve>=t||ve<0||g&&ne>=o}function I(){var N=nc();if(k(N))return Z(N);c=setTimeout(I,A(N))}function Z(N){return c=void 0,y&&i?b(N):(i=r=void 0,a)}function He(){c!==void 0&&clearTimeout(c),f=0,i=d=r=c=void 0}function ue(){return c===void 0?a:Z(nc())}function Ce(){var N=nc(),ve=k(N);if(i=arguments,r=this,d=N,ve){if(c===void 0)return _(d);if(g)return clearTimeout(c),c=setTimeout(I,t),b(d)}return c===void 0&&(c=setTimeout(I,t)),a}return Ce.cancel=He,Ce.flush=ue,Ce}var Vr=Mw;var Iw="Expected a function";function Sw(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(Iw);return ji(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Vr(e,t,{leading:i,maxWait:t,trailing:r})}var E2=Sw;var Hr=function(){return Hr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Hr.apply(this,arguments)};function I2(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function S2(e){return!e||!e.ownerDocument?document:e.ownerDocument}var T2=function(e){var t={},n=Array.prototype.reduce.call(e,function(i,r){var o=r.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(c,d){return d.toUpperCase()});switch(r.value){case"true":i[a]=!0;break;case"false":i[a]=!1;break;case void 0:i[a]=!0;break;default:i[a]=r.value}}return i},t);return n};function k2(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function A2(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function N2(e){return".".concat(e.split(" ").join("."))}var hf=!!(typeof window<"u"&&window.document&&window.document.createElement),Tw=Object.freeze({__proto__:null,addClasses:k2,canUseDOM:hf,classNamesToQuery:N2,getElementDocument:S2,getElementWindow:I2,getOptions:T2,removeClasses:A2}),jr=null,x2=null;hf&&window.addEventListener("resize",function(){x2!==window.devicePixelRatio&&(x2=window.devicePixelRatio,jr=null)});function M2(){if(jr===null){if(typeof document>"u")return jr=0,jr;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),jr=n}return jr}var ei=I2,mf=S2,kw=T2,ti=k2,ni=A2,vt=N2,cs=(function(){function e(t,n){n===void 0&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=ei(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,ti(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){ni(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(ti(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ni(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var o,a;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(o=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(a=i.isWithinBounds(i.axis.y.track.rect)),(o||a)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(o&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),a&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var o,a,c,d,f,h,g,y,b,_,A;if(!(!i.draggedAxis||!i.contentWrapperEl)){var k,I=i.axis[i.draggedAxis].track,Z=(a=(o=I.rect)===null||o===void 0?void 0:o[i.axis[i.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,He=i.axis[i.draggedAxis].scrollbar,ue=(d=(c=i.contentWrapperEl)===null||c===void 0?void 0:c[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Ce=parseInt((h=(f=i.elStyles)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?k=r.pageY:k=r.pageX;var N=k-((y=(g=I.rect)===null||g===void 0?void 0:g[i.axis[i.draggedAxis].offsetAttr])!==null&&y!==void 0?y:0)-i.axis[i.draggedAxis].dragOffset;N=i.draggedAxis==="x"&&i.isRtl?((_=(b=I.rect)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&_!==void 0?_:0)-He.size-N:N;var ve=N/(Z-He.size),ne=ve*(ue-Ce);i.draggedAxis==="x"&&i.isRtl&&(ne=!((A=e.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-ne:ne),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ne}},this.onEndDrag=function(r){i.isDragging=!1;var o=mf(i.el),a=ei(i.el);r.preventDefault(),r.stopPropagation(),ni(i.el,i.classNames.dragging),i.onStopScrolling(),o.removeEventListener("mousemove",i.drag,!0),o.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",i.preventClick,!0),o.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Hr(Hr({},e.defaultOptions),n),this.classNames=Hr(Hr({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=E2(this._onMouseMove,64),this.onWindowResize=Vr(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Vr(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Vr(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,i=n?.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),o=e.getOffset(i);n.scrollLeft=-999;var a=e.getOffset(i);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:M2()}catch{return M2()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),i=mf(t),r=ei(t);return{top:n.top+(r.pageYOffset||i.documentElement.scrollTop),left:n.left+(r.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){hf&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(vt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(vt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(vt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(vt(this.classNames.offset)),this.maskEl=this.el.querySelector(vt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,vt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(vt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(vt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(vt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(vt(this.classNames.scrollbar)))||null,this.options.autoHide||(ti(this.axis.x.scrollbar.el,this.classNames.visible),ti(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,i=ei(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,o=i.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=ei(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,f=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||f,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&f>n,this.axis.y.isOverflowing=d>h,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,y=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&f>o-y,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>h-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],o=(i=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,a=o/r,c;return c=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,i,r;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];f=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-f:f,t==="x"&&this.isRtl&&(f=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?f:-f);var h=f/(a-d),g=~~((c-o.size)*h);g=t==="x"&&this.isRtl?-g+(c-o.size):g,o.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!n||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(ti(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(ni(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),ti(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?ti(n.scrollbar.el,this.classNames.hover):ni(n.scrollbar.el,this.classNames.hover)):(ni(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),ni(this.axis[t].track.el,this.classNames.hover),ni(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var i;n===void 0&&(n="y"),this.isDragging=!0;var r=mf(this.el),o=ei(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((i=a.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])||0),this.draggedAxis=n,ti(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var i=this,r,o,a,c;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var f=ei(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(o=(r=h.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&o!==void 0?o:0,y=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),b=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],_=n==="y"?this.mouseY-g:this.mouseX-g,A=_<0?-1:1,k=A===-1?b-y:b+y,I=40,Z=function(){i.contentWrapperEl&&(A===-1?b>k&&(b-=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)):b<k&&(b+=I,i.contentWrapperEl[i.axis[n].scrollOffsetAttr]=b,f.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ei(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=kw,e.helpers=Tw,e})();var vf=function(e,t){return vf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},vf(e,t)};function Aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var bf=cs.helpers,gf=bf.getOptions,kt=bf.addClasses,Nw=bf.canUseDOM,L2=(function(e){Aw(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(n){n.getAttribute("data-simplebar")!=="init"&&!t.instances.has(n)&&new t(n,gf(n.attributes))})},t.removeObserver=function(){var n;(n=t.globalObserver)===null||n===void 0||n.disconnect()},t.prototype.initDOM=function(){var n=this,i,r,o;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(n.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),kt(this.wrapperEl,this.classNames.wrapper),kt(this.contentWrapperEl,this.classNames.contentWrapper),kt(this.offsetEl,this.classNames.offset),kt(this.maskEl,this.classNames.mask),kt(this.contentEl,this.classNames.contentEl),kt(this.placeholderEl,this.classNames.placeholder),kt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),kt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var a=document.createElement("div"),c=document.createElement("div");kt(a,this.classNames.track),kt(c,this.classNames.scrollbar),a.appendChild(c),this.axis.x.track.el=a.cloneNode(!0),kt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=a.cloneNode(!0),kt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}cs.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){cs.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(n){n.forEach(function(i){i.addedNodes.forEach(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,gf(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(o){o.getAttribute("data-simplebar")!=="init"&&!t.instances.has(o)&&document.documentElement.contains(o)&&new t(o,gf(o.attributes))}))}),i.removedNodes.forEach(function(r){var o;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((o=t.instances.get(r))===null||o===void 0||o.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(a){var c;!document.documentElement.contains(a)&&((c=t.instances.get(a))===null||c===void 0||c.unMount())}))})})},t.instances=new WeakMap,t})(cs);Nw&&L2.initHtmlApi();var yf=(function(e){return e.BimplusViewer="bimplusViewer",e.ModelViewerBlack="modelViewerBlack",e.ModelViewer="modelViewer",e.ConnexisViewer="connexisViewer",e.ConnexisViewerBlack="connexisViewerBlack",e})(yf||{});var R2=$y(O2());function Lw(e,t){if(e&1){let n=Ee();E(0,"lib-bimplus-main-menu",11),F("bimplusMainMenuClicked",function(r){B(n);let o=x();return U(o.bimplusMainMenuClicked(r))})("bimplusMainMenuOverlayClicked",function(){B(n);let r=x();return U(r.bimplusMainMenuOverlayClicked())}),T()}if(e&2){let n=x();D("selectedLanguage",n.languageStringsService.currentLanguage)("localizedStrings",n.languageStringsService.currentLanguageStrings)("isTouch",n.isTouch)("showHorizontalMenuIcons",n.isTouch)("appsWithInfo",n.appsWithInfo)("appsOrder",n.appsOrder)("menuItemsOrder",n.menuItemsOrder)}}var P2=(()=>{let t=class t{constructor(){this.translateService=R(Se),this.languageStringsService=R(p2),this.logoState=yf.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuData=[],this.appsWithInfo=["portalSelectProjectBtn","portalBimUsers","portalBimModels"],this.appsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses","dividerprojectmanagement","portalBimViewerBtn","portalCloudViewerBtn","portalConnexisBtn","portalBimAutoconverterBtn","dividerapps","portalTeamManagementBtn","portalPropertyManagerBtn"],this.menuItemsOrder=["portalBimUsers","portalBimModels","portalBimDocuments","portalBimProjectSettings","portalBimProcesses"],this.showDialog=!1,this.activeTab=Un("object-properties"),this.languageStringsService.currentLanguage$.pipe(pf()).subscribe({next:i=>{this.translateService.use(i),R2.default.locale(i)}}),this.languageStringsService.currentLanguageStrings$.pipe(pf()).subscribe({next:i=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,i)}})}log(i,r,o,a){let c=typeof r?.detail=="object"?JSON.stringify(r?.detail):r?.detail,d=`EVENT : ${i}. `+(o?`INDEX: ${r?.detail?.index} ACTION: ${r?.detail?.action}`:`VALUE: ${c}`);(a?()=>window.alert(d):()=>console.log(d))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:i=>{this.log("Navbar clicked",i),i?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages()}bimplusLanguageSelected(i){this.log("bimplusLanguageSelected",{detail:i}),this._switchLanguage(i)}_switchLanguage(i){i&&this.languageStringsService.setCurrentLanguage(i)}bimplusUserMenuClicked(i){this.log("bimplusUserMenuClicked",i,!0)}bimplusTouchModeSelected(i){this.log("bimplusTouchModeSelected",{detail:i}),this.isTouch=i==="touch"}bimplusMainMenuClicked(i){this.log("bimplusMainMenuClicked",{detail:i},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(i){this.log("bimplusStorageInfoClicked",{detail:i},!1,!0)}bimplusUpgradeLinkClicked(i){this.log("bimplusUpgradeLinkClicked",{detail:i},!1,!0)}bimplusContactClicked(i){this.log("bimplusContactClicked",{detail:i},!1,!0)}bimplusZoomSelected(i){this.log("bimplusZoomSelected",{detail:i}),this.selectedZoom=i;let r=62.5*(Number(i)/100),o=document.querySelector("html");o&&(o.style.fontSize=r+"%")}bimplusNotifyDeleteMessage(i){let r=JSON.parse(i),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(a=>a.id!==r.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(i){this.log("This is notify message action handler",{detail:i},!1,!0)}initLanguage(){this.languageStringsService.languageFilesUri="/assets/@bimplus/navigation/languages",this._switchLanguage("en")}initMessages(){this.messages=JSON.stringify({messages:[{id:"ALFA",type:"info",title:"Import successful",text:"kolizia.ifc has been imported",linkText:"Click here to open the project",link:"#/"},{id:"BETA",type:"info",title:"Clash detection done",text:"Clash detection on the project House1 with preset has been done.",linkText:"Click here to open the project"},{id:"OMEGA",type:"info",title:"Model export finished",text:"",linkText:"Click here to download `00 EMPTY__revision_comparison1.ifc` model."},{id:"OMEGA1",type:"info",title:"Model export finished",text:"Structural model included. Reinforcement of Hospital.ifc has been imported.",linkText:["Click here to download `XXXX` model.","Click here to download `YYYYY` model."],links:["#/1","#/2"]},{id:"TEST3",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST4",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST5",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."},{id:"TEST6",type:"info",title:"Clash detection done",text:"Clash detection on the project Bridge with preset has been done."}]})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ce({type:t,selectors:[["app-root"]],features:[Fe([])],decls:11,vars:22,consts:[[1,"bimplus-components-navbar","visible"],["isNavbarMessageVisible","false","teamInfo","test_team","projectInfo","00 Quickstart project and some very very long text","teamInfoOffset","0.9rem","isDev","true","isStage","true","isNavbarInfoVisible","true",3,"logoState","isNavbarMenuVisible","isNavbarMenuActive","isTouch"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],["country","",3,"bimplusUpgradeLinkClicked","selectedLanguage","localizedStrings","isTouch"],[3,"bimplusContactClicked"],[3,"bimplusZoomSelected","selectedZoom"],[3,"bimplusTouchModeSelected","selectedMode","selectedLanguage","localizedStrings"],[3,"bimplusLanguageSelected","selectedLanguage"],["userName","Test User","userPhotoUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","buttonTitle","testuser@allplan.com","allowRcaItem","true",3,"bimplusLanguageSelected","bimplusUserMenuClicked","selectedLanguage","localizedStrings","isTouch"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(r,o){r&1&&(E(0,"div",0)(1,"lib-bimplus-navbar",1)(2,"lib-bimplus-notify",2),F("bimplusNotifyMessageAction",function(c){return o.bimplusNotifyMessageAction(c)})("bimplusNotifyDeleteMessage",function(c){return o.bimplusNotifyDeleteMessage(c)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),T(),E(3,"lib-bimplus-storage-info",3),F("bimplusStorageInfoClicked",function(c){return o.bimplusStorageInfoClicked(c)}),T(),E(4,"lib-bimplus-upgrade-link",4),F("bimplusUpgradeLinkClicked",function(c){return o.bimplusUpgradeLinkClicked(c)}),T(),E(5,"lib-bimplus-contact",5),F("bimplusContactClicked",function(c){return o.bimplusContactClicked(c)}),T(),E(6,"lib-bimplus-zoom",6),F("bimplusZoomSelected",function(c){return o.bimplusZoomSelected(c)}),T(),E(7,"lib-bimplus-touch-menu",7),F("bimplusTouchModeSelected",function(c){return o.bimplusTouchModeSelected(c)}),T(),E(8,"lib-bimplus-language-menu",8),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)}),T(),E(9,"lib-bimplus-user-menu",9),F("bimplusLanguageSelected",function(c){return o.bimplusLanguageSelected(c)})("bimplusUserMenuClicked",function(c){return o.bimplusUserMenuClicked(c)}),T()()(),ke(10,Lw,1,7,"lib-bimplus-main-menu",10)),r&2&&(w(),D("logoState",o.logoState)("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(2),D("selectedZoom",o.selectedZoom),w(),D("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),w(),D("selectedLanguage",o.languageStringsService.currentLanguage),w(),D("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),w(),Ae(o.isNavbarMenuActive?10:-1))},dependencies:[Hl,Bl,zl,$l,ql,Ql,Xl,Jl,ec,Kl,me],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
21
|
`],encapsulation:2});let e=t;return e})();var Ow=e=>new d2(e,"./assets/@bimplus/navigation/languages/strings_",".json"),Cf=class{handle(t){return console.warn("Missing translation string "+t.key),t.key}};Zt(null,null,function*(){let e=yield Zp({providers:[Yp(),_a(Ne.forRoot({missingTranslationHandler:{provide:Fi,useClass:Cf},isolate:!0,defaultLanguage:"en",loader:{provide:Qn,useFactory:Ow,deps:[kr]}}))]}),t=mt(Hl,{injector:e.injector});customElements.define("bimplus-navigation-contact",t);let n=mt(Bl,{injector:e.injector});customElements.define("bimplus-navigation-language-menu",n);let i=mt(zl,{injector:e.injector});customElements.define("bimplus-navigation-main-menu",i);let r=mt($l,{injector:e.injector});customElements.define("bimplus-navigation-navbar",r);let o=mt(ql,{injector:e.injector});customElements.define("bimplus-navigation-notify",o);let a=mt(Ul,{injector:e.injector});customElements.define("bimplus-navigation-project-menu",a);let c=mt(Ql,{injector:e.injector});customElements.define("bimplus-navigation-storage-info",c);let d=mt(Xl,{injector:e.injector});customElements.define("bimplus-navigation-upgrade-link",d);let f=mt(Kl,{injector:e.injector});customElements.define("bimplus-navigation-touch-menu",f);let h=mt(Jl,{injector:e.injector});customElements.define("bimplus-navigation-user-menu",h);let g=mt(ec,{injector:e.injector});customElements.define("bimplus-navigation-zoom",g);let y=mt(Gl,{injector:e.injector});customElements.define("bimplus-navigation-scrollable-container-element",y);let b=mt(P2,{injector:e.injector});customElements.define("bimplus-navigation-app-wrapper-internal-element",b)});export{Cf as BimplusMissingTranslationHandler};
|