bimplus-webcomponents 0.0.158 → 0.0.159
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.
- package/dist/bimplus-components/main.js +23 -23
- package/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
var Z6=Object.create;var Au=Object.defineProperty,$6=Object.defineProperties,U6=Object.getOwnPropertyDescriptor,W6=Object.getOwnPropertyDescriptors,G6=Object.getOwnPropertyNames,vg=Object.getOwnPropertySymbols,Y6=Object.getPrototypeOf,Cg=Object.prototype.hasOwnProperty,q6=Object.prototype.propertyIsEnumerable;var _g=(t,n,e)=>n in t?Au(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,ue=(t,n)=>{for(var e in n||={})Cg.call(n,e)&&_g(t,e,n[e]);if(vg)for(var e of vg(n))q6.call(n,e)&&_g(t,e,n[e]);return t},ot=(t,n)=>$6(t,W6(n));var wg=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(n,e)=>(typeof require<"u"?require:n)[e]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var X6=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var Q6=(t,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of G6(n))!Cg.call(t,o)&&o!==e&&Au(t,o,{get:()=>n[o],enumerable:!(i=U6(n,o))||i.enumerable});return t};var Eu=(t,n,e)=>(e=t!=null?Z6(Y6(t)):{},Q6(n||!t||!t.__esModule?Au(e,"default",{value:t,enumerable:!0}):e,t));var Bn=(t,n,e)=>new Promise((i,o)=>{var r=d=>{try{l(e.next(d))}catch(p){o(p)}},s=d=>{try{l(e.throw(d))}catch(p){o(p)}},l=d=>d.done?i(d.value):Promise.resolve(d.value).then(r,s);l((e=e.apply(t,n)).next())});var Xd=X6((f0,ds)=>{"use strict";(function(t,n){typeof f0=="object"&&typeof ds<"u"?ds.exports=n():typeof define=="function"&&define.amd?define(n):t.moment=n()})(f0,function(){"use strict";var t;function n(){return t.apply(null,arguments)}function e(a){t=a}function i(a){return a instanceof Array||Object.prototype.toString.call(a)==="[object Array]"}function o(a){return a!=null&&Object.prototype.toString.call(a)==="[object Object]"}function r(a,c){return Object.prototype.hasOwnProperty.call(a,c)}function s(a){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(a).length===0;var c;for(c in a)if(r(a,c))return!1;return!0}function l(a){return a===void 0}function d(a){return typeof a=="number"||Object.prototype.toString.call(a)==="[object Number]"}function p(a){return a instanceof Date||Object.prototype.toString.call(a)==="[object Date]"}function f(a,c){var u=[],m,h=a.length;for(m=0;m<h;++m)u.push(c(a[m],m));return u}function w(a,c){for(var u in c)r(c,u)&&(a[u]=c[u]);return r(c,"toString")&&(a.toString=c.toString),r(c,"valueOf")&&(a.valueOf=c.valueOf),a}function D(a,c,u,m){return q0(a,c,u,m,!0).utc()}function x(){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 A(a){return a._pf==null&&(a._pf=x()),a._pf}var V;Array.prototype.some?V=Array.prototype.some:V=function(a){var c=Object(this),u=c.length>>>0,m;for(m=0;m<u;m++)if(m in c&&a.call(this,c[m],m,c))return!0;return!1};function R(a){var c=null,u=!1,m=a._d&&!isNaN(a._d.getTime());if(m&&(c=A(a),u=V.call(c.parsedDateParts,function(h){return h!=null}),m=c.overflow<0&&!c.empty&&!c.invalidEra&&!c.invalidMonth&&!c.invalidWeekday&&!c.weekdayMismatch&&!c.nullInput&&!c.invalidFormat&&!c.userInvalidated&&(!c.meridiem||c.meridiem&&u),a._strict&&(m=m&&c.charsLeftOver===0&&c.unusedTokens.length===0&&c.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(a))a._isValid=m;else return m;return a._isValid}function H(a){var c=D(NaN);return a!=null?w(A(c),a):A(c).userInvalidated=!0,c}var K=n.momentProperties=[],ge=!1;function ze(a,c){var u,m,h,y=K.length;if(l(c._isAMomentObject)||(a._isAMomentObject=c._isAMomentObject),l(c._i)||(a._i=c._i),l(c._f)||(a._f=c._f),l(c._l)||(a._l=c._l),l(c._strict)||(a._strict=c._strict),l(c._tzm)||(a._tzm=c._tzm),l(c._isUTC)||(a._isUTC=c._isUTC),l(c._offset)||(a._offset=c._offset),l(c._pf)||(a._pf=A(c)),l(c._locale)||(a._locale=c._locale),y>0)for(u=0;u<y;u++)m=K[u],h=c[m],l(h)||(a[m]=h);return a}function Te(a){ze(this,a),this._d=new Date(a._d!=null?a._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ge===!1&&(ge=!0,n.updateOffset(this),ge=!1)}function $(a){return a instanceof Te||a!=null&&a._isAMomentObject!=null}function Le(a){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+a)}function De(a,c){var u=!0;return w(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,a),u){var m=[],h,y,P,J=arguments.length;for(y=0;y<J;y++){if(h="",typeof arguments[y]=="object"){h+=`
|
|
2
2
|
[`+y+"] ";for(P in arguments[0])r(arguments[0],P)&&(h+=P+": "+arguments[0][P]+", ");h=h.slice(0,-2)}else h=arguments[y];m.push(h)}Le(a+`
|
|
3
3
|
Arguments: `+Array.prototype.slice.call(m).join("")+`
|
|
4
|
-
`+new Error().stack),u=!1}return c.apply(this,arguments)},c)}var hn={};function Pa(a,c){n.deprecationHandler!=null&&n.deprecationHandler(a,c),hn[a]||(Le(c),hn[a]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function fn(a){return typeof Function<"u"&&a instanceof Function||Object.prototype.toString.call(a)==="[object Function]"}function nu(a){var c,u;for(u in a)r(a,u)&&(c=a[u],fn(c)?this[u]=c:this["_"+u]=c);this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function hs(a,c){var u=w({},a),m;for(m in c)r(c,m)&&(o(a[m])&&o(c[m])?(u[m]={},w(u[m],a[m]),w(u[m],c[m])):c[m]!=null?u[m]=c[m]:delete u[m]);for(m in a)r(a,m)&&!r(c,m)&&o(a[m])&&(u[m]=w({},u[m]));return u}function fs(a){a!=null&&this.set(a)}var iu;Object.keys?iu=Object.keys:iu=function(a){var c,u=[];for(c in a)r(a,c)&&u.push(c);return u};var W_={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function G_(a,c,u){var m=this._calendar[a]||this._calendar.sameElse;return fn(m)?m.call(c,u):m}function Hn(a,c,u){var m=""+Math.abs(a),h=c-m.length,y=a>=0;return(y?u?"+":"":"-")+Math.pow(10,Math.max(0,h)).toString().substr(1)+m}var ou=/(\[[^\[]*\])|(\\)?([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,Ta=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ru={},Xo={};function ae(a,c,u,m){var h=m;typeof m=="string"&&(h=function(){return this[m]()}),a&&(Xo[a]=h),c&&(Xo[c[0]]=function(){return Hn(h.apply(this,arguments),c[1],c[2])}),u&&(Xo[u]=function(){return this.localeData().ordinal(h.apply(this,arguments),a)})}function Y_(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function q_(a){var c=a.match(ou),u,m;for(u=0,m=c.length;u<m;u++)Xo[c[u]]?c[u]=Xo[c[u]]:c[u]=Y_(c[u]);return function(h){var y="",P;for(P=0;P<m;P++)y+=fn(c[P])?c[P].call(h,a):c[P];return y}}function Va(a,c){return a.isValid()?(c=O0(c,a.localeData()),ru[c]=ru[c]||q_(c),ru[c](a)):a.localeData().invalidDate()}function O0(a,c){var u=5;function m(h){return c.longDateFormat(h)||h}for(Ta.lastIndex=0;u>=0&&Ta.test(a);)a=a.replace(Ta,m),Ta.lastIndex=0,u-=1;return a}var X_={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 Q_(a){var c=this._longDateFormat[a],u=this._longDateFormat[a.toUpperCase()];return c||!u?c:(this._longDateFormat[a]=u.match(ou).map(function(m){return m==="MMMM"||m==="MM"||m==="DD"||m==="dddd"?m.slice(1):m}).join(""),this._longDateFormat[a])}var K_="Invalid date";function J_(){return this._invalidDate}var e5="%d",t5=/\d{1,2}/;function n5(a){return this._ordinal.replace("%d",a)}var i5={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 o5(a,c,u,m){var h=this._relativeTime[u];return fn(h)?h(a,c,u,m):h.replace(/%d/i,a)}function r5(a,c){var u=this._relativeTime[a>0?"future":"past"];return fn(u)?u(c):u.replace(/%s/i,c)}var S0={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 bn(a){return typeof a=="string"?S0[a]||S0[a.toLowerCase()]:void 0}function su(a){var c={},u,m;for(m in a)r(a,m)&&(u=bn(m),u&&(c[u]=a[m]));return c}var s5={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 a5(a){var c=[],u;for(u in a)r(a,u)&&c.push({unit:u,priority:s5[u]});return c.sort(function(m,h){return m.priority-h.priority}),c}var A0=/\d/,sn=/\d\d/,E0=/\d{3}/,au=/\d{4}/,Fa=/[+-]?\d{6}/,dt=/\d\d?/,I0=/\d\d\d\d?/,L0=/\d\d\d\d\d\d?/,Na=/\d{1,3}/,lu=/\d{1,4}/,ja=/[+-]?\d{1,6}/,Qo=/\d+/,Ha=/[+-]?\d+/,l5=/Z|[+-]\d\d:?\d\d/gi,Ra=/Z|[+-]\d\d(?::?\d\d)?/gi,c5=/[+-]?\d+(\.\d{1,3})?/,bs=/[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,Ko=/^[1-9]\d?/,cu=/^([1-9]\d|\d)/,Ba;Ba={};function ee(a,c,u){Ba[a]=fn(c)?c:function(m,h){return m&&u?u:c}}function d5(a,c){return r(Ba,a)?Ba[a](c._strict,c._locale):new RegExp(u5(a))}function u5(a){return ri(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(c,u,m,h,y){return u||m||h||y}))}function ri(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function vn(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function Fe(a){var c=+a,u=0;return c!==0&&isFinite(c)&&(u=vn(c)),u}var du={};function tt(a,c){var u,m=c,h;for(typeof a=="string"&&(a=[a]),d(c)&&(m=function(y,P){P[c]=Fe(y)}),h=a.length,u=0;u<h;u++)du[a[u]]=m}function vs(a,c){tt(a,function(u,m,h,y){h._w=h._w||{},c(u,h._w,h,y)})}function p5(a,c,u){c!=null&&r(du,a)&&du[a](c,u._a,u,a)}function za(a){return a%4===0&&a%100!==0||a%400===0}var Ht=0,si=1,Rn=2,At=3,An=4,ai=5,uo=6,m5=7,g5=8;ae("Y",0,0,function(){var a=this.year();return a<=9999?Hn(a,4):"+"+a}),ae(0,["YY",2],0,function(){return this.year()%100}),ae(0,["YYYY",4],0,"year"),ae(0,["YYYYY",5],0,"year"),ae(0,["YYYYYY",6,!0],0,"year"),ee("Y",Ha),ee("YY",dt,sn),ee("YYYY",lu,au),ee("YYYYY",ja,Fa),ee("YYYYYY",ja,Fa),tt(["YYYYY","YYYYYY"],Ht),tt("YYYY",function(a,c){c[Ht]=a.length===2?n.parseTwoDigitYear(a):Fe(a)}),tt("YY",function(a,c){c[Ht]=n.parseTwoDigitYear(a)}),tt("Y",function(a,c){c[Ht]=parseInt(a,10)});function _s(a){return za(a)?366:365}n.parseTwoDigitYear=function(a){return Fe(a)+(Fe(a)>68?1900:2e3)};var P0=Jo("FullYear",!0);function h5(){return za(this.year())}function Jo(a,c){return function(u){return u!=null?(T0(this,a,u),n.updateOffset(this,c),this):Cs(this,a)}}function Cs(a,c){if(!a.isValid())return NaN;var u=a._d,m=a._isUTC;switch(c){case"Milliseconds":return m?u.getUTCMilliseconds():u.getMilliseconds();case"Seconds":return m?u.getUTCSeconds():u.getSeconds();case"Minutes":return m?u.getUTCMinutes():u.getMinutes();case"Hours":return m?u.getUTCHours():u.getHours();case"Date":return m?u.getUTCDate():u.getDate();case"Day":return m?u.getUTCDay():u.getDay();case"Month":return m?u.getUTCMonth():u.getMonth();case"FullYear":return m?u.getUTCFullYear():u.getFullYear();default:return NaN}}function T0(a,c,u){var m,h,y,P,J;if(!(!a.isValid()||isNaN(u))){switch(m=a._d,h=a._isUTC,c){case"Milliseconds":return void(h?m.setUTCMilliseconds(u):m.setMilliseconds(u));case"Seconds":return void(h?m.setUTCSeconds(u):m.setSeconds(u));case"Minutes":return void(h?m.setUTCMinutes(u):m.setMinutes(u));case"Hours":return void(h?m.setUTCHours(u):m.setHours(u));case"Date":return void(h?m.setUTCDate(u):m.setDate(u));case"FullYear":break;default:return}y=u,P=a.month(),J=a.date(),J=J===29&&P===1&&!za(y)?28:J,h?m.setUTCFullYear(y,P,J):m.setFullYear(y,P,J)}}function f5(a){return a=bn(a),fn(this[a])?this[a]():this}function b5(a,c){if(typeof a=="object"){a=su(a);var u=a5(a),m,h=u.length;for(m=0;m<h;m++)this[u[m].unit](a[u[m].unit])}else if(a=bn(a),fn(this[a]))return this[a](c);return this}function v5(a,c){return(a%c+c)%c}var wt;Array.prototype.indexOf?wt=Array.prototype.indexOf:wt=function(a){var c;for(c=0;c<this.length;++c)if(this[c]===a)return c;return-1};function uu(a,c){if(isNaN(a)||isNaN(c))return NaN;var u=v5(c,12);return a+=(c-u)/12,u===1?za(a)?29:28:31-u%7%2}ae("M",["MM",2],"Mo",function(){return this.month()+1}),ae("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),ae("MMMM",0,0,function(a){return this.localeData().months(this,a)}),ee("M",dt,Ko),ee("MM",dt,sn),ee("MMM",function(a,c){return c.monthsShortRegex(a)}),ee("MMMM",function(a,c){return c.monthsRegex(a)}),tt(["M","MM"],function(a,c){c[si]=Fe(a)-1}),tt(["MMM","MMMM"],function(a,c,u,m){var h=u._locale.monthsParse(a,m,u._strict);h!=null?c[si]=h:A(u).invalidMonth=a});var _5="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),V0="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),F0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,C5=bs,w5=bs;function y5(a,c){return a?i(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||F0).test(c)?"format":"standalone"][a.month()]:i(this._months)?this._months:this._months.standalone}function x5(a,c){return a?i(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[F0.test(c)?"format":"standalone"][a.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function M5(a,c,u){var m,h,y,P=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],m=0;m<12;++m)y=D([2e3,m]),this._shortMonthsParse[m]=this.monthsShort(y,"").toLocaleLowerCase(),this._longMonthsParse[m]=this.months(y,"").toLocaleLowerCase();return u?c==="MMM"?(h=wt.call(this._shortMonthsParse,P),h!==-1?h:null):(h=wt.call(this._longMonthsParse,P),h!==-1?h:null):c==="MMM"?(h=wt.call(this._shortMonthsParse,P),h!==-1?h:(h=wt.call(this._longMonthsParse,P),h!==-1?h:null)):(h=wt.call(this._longMonthsParse,P),h!==-1?h:(h=wt.call(this._shortMonthsParse,P),h!==-1?h:null))}function D5(a,c,u){var m,h,y;if(this._monthsParseExact)return M5.call(this,a,c,u);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),m=0;m<12;m++){if(h=D([2e3,m]),u&&!this._longMonthsParse[m]&&(this._longMonthsParse[m]=new RegExp("^"+this.months(h,"").replace(".","")+"$","i"),this._shortMonthsParse[m]=new RegExp("^"+this.monthsShort(h,"").replace(".","")+"$","i")),!u&&!this._monthsParse[m]&&(y="^"+this.months(h,"")+"|^"+this.monthsShort(h,""),this._monthsParse[m]=new RegExp(y.replace(".",""),"i")),u&&c==="MMMM"&&this._longMonthsParse[m].test(a))return m;if(u&&c==="MMM"&&this._shortMonthsParse[m].test(a))return m;if(!u&&this._monthsParse[m].test(a))return m}}function N0(a,c){if(!a.isValid())return a;if(typeof c=="string"){if(/^\d+$/.test(c))c=Fe(c);else if(c=a.localeData().monthsParse(c),!d(c))return a}var u=c,m=a.date();return m=m<29?m:Math.min(m,uu(a.year(),u)),a._isUTC?a._d.setUTCMonth(u,m):a._d.setMonth(u,m),a}function j0(a){return a!=null?(N0(this,a),n.updateOffset(this,!0),this):Cs(this,"Month")}function k5(){return uu(this.year(),this.month())}function O5(a){return this._monthsParseExact?(r(this,"_monthsRegex")||H0.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=C5),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function S5(a){return this._monthsParseExact?(r(this,"_monthsRegex")||H0.call(this),a?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=w5),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function H0(){function a(Ce,je){return je.length-Ce.length}var c=[],u=[],m=[],h,y,P,J;for(h=0;h<12;h++)y=D([2e3,h]),P=ri(this.monthsShort(y,"")),J=ri(this.months(y,"")),c.push(P),u.push(J),m.push(J),m.push(P);c.sort(a),u.sort(a),m.sort(a),this._monthsRegex=new RegExp("^("+m.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+c.join("|")+")","i")}function A5(a,c,u,m,h,y,P){var J;return a<100&&a>=0?(J=new Date(a+400,c,u,m,h,y,P),isFinite(J.getFullYear())&&J.setFullYear(a)):J=new Date(a,c,u,m,h,y,P),J}function ws(a){var c,u;return a<100&&a>=0?(u=Array.prototype.slice.call(arguments),u[0]=a+400,c=new Date(Date.UTC.apply(null,u)),isFinite(c.getUTCFullYear())&&c.setUTCFullYear(a)):c=new Date(Date.UTC.apply(null,arguments)),c}function Za(a,c,u){var m=7+c-u,h=(7+ws(a,0,m).getUTCDay()-c)%7;return-h+m-1}function R0(a,c,u,m,h){var y=(7+u-m)%7,P=Za(a,m,h),J=1+7*(c-1)+y+P,Ce,je;return J<=0?(Ce=a-1,je=_s(Ce)+J):J>_s(a)?(Ce=a+1,je=J-_s(a)):(Ce=a,je=J),{year:Ce,dayOfYear:je}}function ys(a,c,u){var m=Za(a.year(),c,u),h=Math.floor((a.dayOfYear()-m-1)/7)+1,y,P;return h<1?(P=a.year()-1,y=h+li(P,c,u)):h>li(a.year(),c,u)?(y=h-li(a.year(),c,u),P=a.year()+1):(P=a.year(),y=h),{week:y,year:P}}function li(a,c,u){var m=Za(a,c,u),h=Za(a+1,c,u);return(_s(a)-m+h)/7}ae("w",["ww",2],"wo","week"),ae("W",["WW",2],"Wo","isoWeek"),ee("w",dt,Ko),ee("ww",dt,sn),ee("W",dt,Ko),ee("WW",dt,sn),vs(["w","ww","W","WW"],function(a,c,u,m){c[m.substr(0,1)]=Fe(a)});function E5(a){return ys(a,this._week.dow,this._week.doy).week}var I5={dow:0,doy:6};function L5(){return this._week.dow}function P5(){return this._week.doy}function T5(a){var c=this.localeData().week(this);return a==null?c:this.add((a-c)*7,"d")}function V5(a){var c=ys(this,1,4).week;return a==null?c:this.add((a-c)*7,"d")}ae("d",0,"do","day"),ae("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),ae("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),ae("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),ae("e",0,0,"weekday"),ae("E",0,0,"isoWeekday"),ee("d",dt),ee("e",dt),ee("E",dt),ee("dd",function(a,c){return c.weekdaysMinRegex(a)}),ee("ddd",function(a,c){return c.weekdaysShortRegex(a)}),ee("dddd",function(a,c){return c.weekdaysRegex(a)}),vs(["dd","ddd","dddd"],function(a,c,u,m){var h=u._locale.weekdaysParse(a,m,u._strict);h!=null?c.d=h:A(u).invalidWeekday=a}),vs(["d","e","E"],function(a,c,u,m){c[m]=Fe(a)});function F5(a,c){return typeof a!="string"?a:isNaN(a)?(a=c.weekdaysParse(a),typeof a=="number"?a:null):parseInt(a,10)}function N5(a,c){return typeof a=="string"?c.weekdaysParse(a)%7||7:isNaN(a)?null:a}function pu(a,c){return a.slice(c,7).concat(a.slice(0,c))}var j5="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),B0="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),H5="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),R5=bs,B5=bs,z5=bs;function Z5(a,c){var u=i(this._weekdays)?this._weekdays:this._weekdays[a&&a!==!0&&this._weekdays.isFormat.test(c)?"format":"standalone"];return a===!0?pu(u,this._week.dow):a?u[a.day()]:u}function $5(a){return a===!0?pu(this._weekdaysShort,this._week.dow):a?this._weekdaysShort[a.day()]:this._weekdaysShort}function U5(a){return a===!0?pu(this._weekdaysMin,this._week.dow):a?this._weekdaysMin[a.day()]:this._weekdaysMin}function W5(a,c,u){var m,h,y,P=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],m=0;m<7;++m)y=D([2e3,1]).day(m),this._minWeekdaysParse[m]=this.weekdaysMin(y,"").toLocaleLowerCase(),this._shortWeekdaysParse[m]=this.weekdaysShort(y,"").toLocaleLowerCase(),this._weekdaysParse[m]=this.weekdays(y,"").toLocaleLowerCase();return u?c==="dddd"?(h=wt.call(this._weekdaysParse,P),h!==-1?h:null):c==="ddd"?(h=wt.call(this._shortWeekdaysParse,P),h!==-1?h:null):(h=wt.call(this._minWeekdaysParse,P),h!==-1?h:null):c==="dddd"?(h=wt.call(this._weekdaysParse,P),h!==-1||(h=wt.call(this._shortWeekdaysParse,P),h!==-1)?h:(h=wt.call(this._minWeekdaysParse,P),h!==-1?h:null)):c==="ddd"?(h=wt.call(this._shortWeekdaysParse,P),h!==-1||(h=wt.call(this._weekdaysParse,P),h!==-1)?h:(h=wt.call(this._minWeekdaysParse,P),h!==-1?h:null)):(h=wt.call(this._minWeekdaysParse,P),h!==-1||(h=wt.call(this._weekdaysParse,P),h!==-1)?h:(h=wt.call(this._shortWeekdaysParse,P),h!==-1?h:null))}function G5(a,c,u){var m,h,y;if(this._weekdaysParseExact)return W5.call(this,a,c,u);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),m=0;m<7;m++){if(h=D([2e3,1]).day(m),u&&!this._fullWeekdaysParse[m]&&(this._fullWeekdaysParse[m]=new RegExp("^"+this.weekdays(h,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[m]=new RegExp("^"+this.weekdaysShort(h,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[m]=new RegExp("^"+this.weekdaysMin(h,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[m]||(y="^"+this.weekdays(h,"")+"|^"+this.weekdaysShort(h,"")+"|^"+this.weekdaysMin(h,""),this._weekdaysParse[m]=new RegExp(y.replace(".",""),"i")),u&&c==="dddd"&&this._fullWeekdaysParse[m].test(a))return m;if(u&&c==="ddd"&&this._shortWeekdaysParse[m].test(a))return m;if(u&&c==="dd"&&this._minWeekdaysParse[m].test(a))return m;if(!u&&this._weekdaysParse[m].test(a))return m}}function Y5(a){if(!this.isValid())return a!=null?this:NaN;var c=Cs(this,"Day");return a!=null?(a=F5(a,this.localeData()),this.add(a-c,"d")):c}function q5(a){if(!this.isValid())return a!=null?this:NaN;var c=(this.day()+7-this.localeData()._week.dow)%7;return a==null?c:this.add(a-c,"d")}function X5(a){if(!this.isValid())return a!=null?this:NaN;if(a!=null){var c=N5(a,this.localeData());return this.day(this.day()%7?c:c-7)}else return this.day()||7}function Q5(a){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||mu.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=R5),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function K5(a){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||mu.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=B5),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function J5(a){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||mu.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=z5),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function mu(){function a($t,mi){return mi.length-$t.length}var c=[],u=[],m=[],h=[],y,P,J,Ce,je;for(y=0;y<7;y++)P=D([2e3,1]).day(y),J=ri(this.weekdaysMin(P,"")),Ce=ri(this.weekdaysShort(P,"")),je=ri(this.weekdays(P,"")),c.push(J),u.push(Ce),m.push(je),h.push(J),h.push(Ce),h.push(je);c.sort(a),u.sort(a),m.sort(a),h.sort(a),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+m.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+c.join("|")+")","i")}function gu(){return this.hours()%12||12}function e4(){return this.hours()||24}ae("H",["HH",2],0,"hour"),ae("h",["hh",2],0,gu),ae("k",["kk",2],0,e4),ae("hmm",0,0,function(){return""+gu.apply(this)+Hn(this.minutes(),2)}),ae("hmmss",0,0,function(){return""+gu.apply(this)+Hn(this.minutes(),2)+Hn(this.seconds(),2)}),ae("Hmm",0,0,function(){return""+this.hours()+Hn(this.minutes(),2)}),ae("Hmmss",0,0,function(){return""+this.hours()+Hn(this.minutes(),2)+Hn(this.seconds(),2)});function z0(a,c){ae(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),c)})}z0("a",!0),z0("A",!1);function Z0(a,c){return c._meridiemParse}ee("a",Z0),ee("A",Z0),ee("H",dt,cu),ee("h",dt,Ko),ee("k",dt,Ko),ee("HH",dt,sn),ee("hh",dt,sn),ee("kk",dt,sn),ee("hmm",I0),ee("hmmss",L0),ee("Hmm",I0),ee("Hmmss",L0),tt(["H","HH"],At),tt(["k","kk"],function(a,c,u){var m=Fe(a);c[At]=m===24?0:m}),tt(["a","A"],function(a,c,u){u._isPm=u._locale.isPM(a),u._meridiem=a}),tt(["h","hh"],function(a,c,u){c[At]=Fe(a),A(u).bigHour=!0}),tt("hmm",function(a,c,u){var m=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m)),A(u).bigHour=!0}),tt("hmmss",function(a,c,u){var m=a.length-4,h=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m,2)),c[ai]=Fe(a.substr(h)),A(u).bigHour=!0}),tt("Hmm",function(a,c,u){var m=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m))}),tt("Hmmss",function(a,c,u){var m=a.length-4,h=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m,2)),c[ai]=Fe(a.substr(h))});function t4(a){return(a+"").toLowerCase().charAt(0)==="p"}var n4=/[ap]\.?m?\.?/i,i4=Jo("Hours",!0);function o4(a,c,u){return a>11?u?"pm":"PM":u?"am":"AM"}var $0={calendar:W_,longDateFormat:X_,invalidDate:K_,ordinal:e5,dayOfMonthOrdinalParse:t5,relativeTime:i5,months:_5,monthsShort:V0,week:I5,weekdays:j5,weekdaysMin:H5,weekdaysShort:B0,meridiemParse:n4},ht={},xs={},Ms;function r4(a,c){var u,m=Math.min(a.length,c.length);for(u=0;u<m;u+=1)if(a[u]!==c[u])return u;return m}function U0(a){return a&&a.toLowerCase().replace("_","-")}function s4(a){for(var c=0,u,m,h,y;c<a.length;){for(y=U0(a[c]).split("-"),u=y.length,m=U0(a[c+1]),m=m?m.split("-"):null;u>0;){if(h=$a(y.slice(0,u).join("-")),h)return h;if(m&&m.length>=u&&r4(y,m)>=u-1)break;u--}c++}return Ms}function a4(a){return!!(a&&a.match("^[^/\\\\]*$"))}function $a(a){var c=null,u;if(ht[a]===void 0&&typeof ds<"u"&&ds&&ds.exports&&a4(a))try{c=Ms._abbr,u=wg,u("./locale/"+a),Si(c)}catch{ht[a]=null}return ht[a]}function Si(a,c){var u;return a&&(l(c)?u=ci(a):u=hu(a,c),u?Ms=u:typeof console<"u"&&console.warn&&console.warn("Locale "+a+" not found. Did you forget to load it?")),Ms._abbr}function hu(a,c){if(c!==null){var u,m=$0;if(c.abbr=a,ht[a]!=null)Pa("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."),m=ht[a]._config;else if(c.parentLocale!=null)if(ht[c.parentLocale]!=null)m=ht[c.parentLocale]._config;else if(u=$a(c.parentLocale),u!=null)m=u._config;else return xs[c.parentLocale]||(xs[c.parentLocale]=[]),xs[c.parentLocale].push({name:a,config:c}),null;return ht[a]=new fs(hs(m,c)),xs[a]&&xs[a].forEach(function(h){hu(h.name,h.config)}),Si(a),ht[a]}else return delete ht[a],null}function l4(a,c){if(c!=null){var u,m,h=$0;ht[a]!=null&&ht[a].parentLocale!=null?ht[a].set(hs(ht[a]._config,c)):(m=$a(a),m!=null&&(h=m._config),c=hs(h,c),m==null&&(c.abbr=a),u=new fs(c),u.parentLocale=ht[a],ht[a]=u),Si(a)}else ht[a]!=null&&(ht[a].parentLocale!=null?(ht[a]=ht[a].parentLocale,a===Si()&&Si(a)):ht[a]!=null&&delete ht[a]);return ht[a]}function ci(a){var c;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Ms;if(!i(a)){if(c=$a(a),c)return c;a=[a]}return s4(a)}function c4(){return iu(ht)}function fu(a){var c,u=a._a;return u&&A(a).overflow===-2&&(c=u[si]<0||u[si]>11?si:u[Rn]<1||u[Rn]>uu(u[Ht],u[si])?Rn:u[At]<0||u[At]>24||u[At]===24&&(u[An]!==0||u[ai]!==0||u[uo]!==0)?At:u[An]<0||u[An]>59?An:u[ai]<0||u[ai]>59?ai:u[uo]<0||u[uo]>999?uo:-1,A(a)._overflowDayOfYear&&(c<Ht||c>Rn)&&(c=Rn),A(a)._overflowWeeks&&c===-1&&(c=m5),A(a)._overflowWeekday&&c===-1&&(c=g5),A(a).overflow=c),a}var d4=/^\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)?)?$/,u4=/^\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)?)?$/,p4=/Z|[+-]\d\d(?::?\d\d)?/,Ua=[["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]],bu=[["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/]],m4=/^\/?Date\((-?\d+)/i,g4=/^(?:(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}))$/,h4={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function W0(a){var c,u,m=a._i,h=d4.exec(m)||u4.exec(m),y,P,J,Ce,je=Ua.length,$t=bu.length;if(h){for(A(a).iso=!0,c=0,u=je;c<u;c++)if(Ua[c][1].exec(h[1])){P=Ua[c][0],y=Ua[c][2]!==!1;break}if(P==null){a._isValid=!1;return}if(h[3]){for(c=0,u=$t;c<u;c++)if(bu[c][1].exec(h[3])){J=(h[2]||" ")+bu[c][0];break}if(J==null){a._isValid=!1;return}}if(!y&&J!=null){a._isValid=!1;return}if(h[4])if(p4.exec(h[4]))Ce="Z";else{a._isValid=!1;return}a._f=P+(J||"")+(Ce||""),_u(a)}else a._isValid=!1}function f4(a,c,u,m,h,y){var P=[b4(a),V0.indexOf(c),parseInt(u,10),parseInt(m,10),parseInt(h,10)];return y&&P.push(parseInt(y,10)),P}function b4(a){var c=parseInt(a,10);return c<=49?2e3+c:c<=999?1900+c:c}function v4(a){return a.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function _4(a,c,u){if(a){var m=B0.indexOf(a),h=new Date(c[0],c[1],c[2]).getDay();if(m!==h)return A(u).weekdayMismatch=!0,u._isValid=!1,!1}return!0}function C4(a,c,u){if(a)return h4[a];if(c)return 0;var m=parseInt(u,10),h=m%100,y=(m-h)/100;return y*60+h}function G0(a){var c=g4.exec(v4(a._i)),u;if(c){if(u=f4(c[4],c[3],c[2],c[5],c[6],c[7]),!_4(c[1],u,a))return;a._a=u,a._tzm=C4(c[8],c[9],c[10]),a._d=ws.apply(null,a._a),a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),A(a).rfc2822=!0}else a._isValid=!1}function w4(a){var c=m4.exec(a._i);if(c!==null){a._d=new Date(+c[1]);return}if(W0(a),a._isValid===!1)delete a._isValid;else return;if(G0(a),a._isValid===!1)delete a._isValid;else return;a._strict?a._isValid=!1:n.createFromInputFallback(a)}n.createFromInputFallback=De("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(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))});function er(a,c,u){return a??c??u}function y4(a){var c=new Date(n.now());return a._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function vu(a){var c,u,m=[],h,y,P;if(!a._d){for(h=y4(a),a._w&&a._a[Rn]==null&&a._a[si]==null&&x4(a),a._dayOfYear!=null&&(P=er(a._a[Ht],h[Ht]),(a._dayOfYear>_s(P)||a._dayOfYear===0)&&(A(a)._overflowDayOfYear=!0),u=ws(P,0,a._dayOfYear),a._a[si]=u.getUTCMonth(),a._a[Rn]=u.getUTCDate()),c=0;c<3&&a._a[c]==null;++c)a._a[c]=m[c]=h[c];for(;c<7;c++)a._a[c]=m[c]=a._a[c]==null?c===2?1:0:a._a[c];a._a[At]===24&&a._a[An]===0&&a._a[ai]===0&&a._a[uo]===0&&(a._nextDay=!0,a._a[At]=0),a._d=(a._useUTC?ws:A5).apply(null,m),y=a._useUTC?a._d.getUTCDay():a._d.getDay(),a._tzm!=null&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[At]=24),a._w&&typeof a._w.d<"u"&&a._w.d!==y&&(A(a).weekdayMismatch=!0)}}function x4(a){var c,u,m,h,y,P,J,Ce,je;c=a._w,c.GG!=null||c.W!=null||c.E!=null?(y=1,P=4,u=er(c.GG,a._a[Ht],ys(ut(),1,4).year),m=er(c.W,1),h=er(c.E,1),(h<1||h>7)&&(Ce=!0)):(y=a._locale._week.dow,P=a._locale._week.doy,je=ys(ut(),y,P),u=er(c.gg,a._a[Ht],je.year),m=er(c.w,je.week),c.d!=null?(h=c.d,(h<0||h>6)&&(Ce=!0)):c.e!=null?(h=c.e+y,(c.e<0||c.e>6)&&(Ce=!0)):h=y),m<1||m>li(u,y,P)?A(a)._overflowWeeks=!0:Ce!=null?A(a)._overflowWeekday=!0:(J=R0(u,m,h,y,P),a._a[Ht]=J.year,a._dayOfYear=J.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function _u(a){if(a._f===n.ISO_8601){W0(a);return}if(a._f===n.RFC_2822){G0(a);return}a._a=[],A(a).empty=!0;var c=""+a._i,u,m,h,y,P,J=c.length,Ce=0,je,$t;for(h=O0(a._f,a._locale).match(ou)||[],$t=h.length,u=0;u<$t;u++)y=h[u],m=(c.match(d5(y,a))||[])[0],m&&(P=c.substr(0,c.indexOf(m)),P.length>0&&A(a).unusedInput.push(P),c=c.slice(c.indexOf(m)+m.length),Ce+=m.length),Xo[y]?(m?A(a).empty=!1:A(a).unusedTokens.push(y),p5(y,m,a)):a._strict&&!m&&A(a).unusedTokens.push(y);A(a).charsLeftOver=J-Ce,c.length>0&&A(a).unusedInput.push(c),a._a[At]<=12&&A(a).bigHour===!0&&a._a[At]>0&&(A(a).bigHour=void 0),A(a).parsedDateParts=a._a.slice(0),A(a).meridiem=a._meridiem,a._a[At]=M4(a._locale,a._a[At],a._meridiem),je=A(a).era,je!==null&&(a._a[Ht]=a._locale.erasConvertYear(je,a._a[Ht])),vu(a),fu(a)}function M4(a,c,u){var m;return u==null?c:a.meridiemHour!=null?a.meridiemHour(c,u):(a.isPM!=null&&(m=a.isPM(u),m&&c<12&&(c+=12),!m&&c===12&&(c=0)),c)}function D4(a){var c,u,m,h,y,P,J=!1,Ce=a._f.length;if(Ce===0){A(a).invalidFormat=!0,a._d=new Date(NaN);return}for(h=0;h<Ce;h++)y=0,P=!1,c=ze({},a),a._useUTC!=null&&(c._useUTC=a._useUTC),c._f=a._f[h],_u(c),R(c)&&(P=!0),y+=A(c).charsLeftOver,y+=A(c).unusedTokens.length*10,A(c).score=y,J?y<m&&(m=y,u=c):(m==null||y<m||P)&&(m=y,u=c,P&&(J=!0));w(a,u||c)}function k4(a){if(!a._d){var c=su(a._i),u=c.day===void 0?c.date:c.day;a._a=f([c.year,c.month,u,c.hour,c.minute,c.second,c.millisecond],function(m){return m&&parseInt(m,10)}),vu(a)}}function O4(a){var c=new Te(fu(Y0(a)));return c._nextDay&&(c.add(1,"d"),c._nextDay=void 0),c}function Y0(a){var c=a._i,u=a._f;return a._locale=a._locale||ci(a._l),c===null||u===void 0&&c===""?H({nullInput:!0}):(typeof c=="string"&&(a._i=c=a._locale.preparse(c)),$(c)?new Te(fu(c)):(p(c)?a._d=c:i(u)?D4(a):u?_u(a):S4(a),R(a)||(a._d=null),a))}function S4(a){var c=a._i;l(c)?a._d=new Date(n.now()):p(c)?a._d=new Date(c.valueOf()):typeof c=="string"?w4(a):i(c)?(a._a=f(c.slice(0),function(u){return parseInt(u,10)}),vu(a)):o(c)?k4(a):d(c)?a._d=new Date(c):n.createFromInputFallback(a)}function q0(a,c,u,m,h){var y={};return(c===!0||c===!1)&&(m=c,c=void 0),(u===!0||u===!1)&&(m=u,u=void 0),(o(a)&&s(a)||i(a)&&a.length===0)&&(a=void 0),y._isAMomentObject=!0,y._useUTC=y._isUTC=h,y._l=u,y._i=a,y._f=c,y._strict=m,O4(y)}function ut(a,c,u,m){return q0(a,c,u,m,!1)}var A4=De("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=ut.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:H()}),E4=De("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=ut.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:H()});function X0(a,c){var u,m;if(c.length===1&&i(c[0])&&(c=c[0]),!c.length)return ut();for(u=c[0],m=1;m<c.length;++m)(!c[m].isValid()||c[m][a](u))&&(u=c[m]);return u}function I4(){var a=[].slice.call(arguments,0);return X0("isBefore",a)}function L4(){var a=[].slice.call(arguments,0);return X0("isAfter",a)}var P4=function(){return Date.now?Date.now():+new Date},Ds=["year","quarter","month","week","day","hour","minute","second","millisecond"];function T4(a){var c,u=!1,m,h=Ds.length;for(c in a)if(r(a,c)&&!(wt.call(Ds,c)!==-1&&(a[c]==null||!isNaN(a[c]))))return!1;for(m=0;m<h;++m)if(a[Ds[m]]){if(u)return!1;parseFloat(a[Ds[m]])!==Fe(a[Ds[m]])&&(u=!0)}return!0}function V4(){return this._isValid}function F4(){return En(NaN)}function Wa(a){var c=su(a),u=c.year||0,m=c.quarter||0,h=c.month||0,y=c.week||c.isoWeek||0,P=c.day||0,J=c.hour||0,Ce=c.minute||0,je=c.second||0,$t=c.millisecond||0;this._isValid=T4(c),this._milliseconds=+$t+je*1e3+Ce*6e4+J*1e3*60*60,this._days=+P+y*7,this._months=+h+m*3+u*12,this._data={},this._locale=ci(),this._bubble()}function Ga(a){return a instanceof Wa}function Cu(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function N4(a,c,u){var m=Math.min(a.length,c.length),h=Math.abs(a.length-c.length),y=0,P;for(P=0;P<m;P++)(u&&a[P]!==c[P]||!u&&Fe(a[P])!==Fe(c[P]))&&y++;return y+h}function Q0(a,c){ae(a,0,0,function(){var u=this.utcOffset(),m="+";return u<0&&(u=-u,m="-"),m+Hn(~~(u/60),2)+c+Hn(~~u%60,2)})}Q0("Z",":"),Q0("ZZ",""),ee("Z",Ra),ee("ZZ",Ra),tt(["Z","ZZ"],function(a,c,u){u._useUTC=!0,u._tzm=wu(Ra,a)});var j4=/([\+\-]|\d\d)/gi;function wu(a,c){var u=(c||"").match(a),m,h,y;return u===null?null:(m=u[u.length-1]||[],h=(m+"").match(j4)||["-",0,0],y=+(h[1]*60)+Fe(h[2]),y===0?0:h[0]==="+"?y:-y)}function yu(a,c){var u,m;return c._isUTC?(u=c.clone(),m=($(a)||p(a)?a.valueOf():ut(a).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+m),n.updateOffset(u,!1),u):ut(a).local()}function xu(a){return-Math.round(a._d.getTimezoneOffset())}n.updateOffset=function(){};function H4(a,c,u){var m=this._offset||0,h;if(!this.isValid())return a!=null?this:NaN;if(a!=null){if(typeof a=="string"){if(a=wu(Ra,a),a===null)return this}else Math.abs(a)<16&&!u&&(a=a*60);return!this._isUTC&&c&&(h=xu(this)),this._offset=a,this._isUTC=!0,h!=null&&this.add(h,"m"),m!==a&&(!c||this._changeInProgress?tg(this,En(a-m,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?m:xu(this)}function R4(a,c){return a!=null?(typeof a!="string"&&(a=-a),this.utcOffset(a,c),this):-this.utcOffset()}function B4(a){return this.utcOffset(0,a)}function z4(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(xu(this),"m")),this}function Z4(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var a=wu(l5,this._i);a!=null?this.utcOffset(a):this.utcOffset(0,!0)}return this}function $4(a){return this.isValid()?(a=a?ut(a).utcOffset():0,(this.utcOffset()-a)%60===0):!1}function U4(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function W4(){if(!l(this._isDSTShifted))return this._isDSTShifted;var a={},c;return ze(a,this),a=Y0(a),a._a?(c=a._isUTC?D(a._a):ut(a._a),this._isDSTShifted=this.isValid()&&N4(a._a,c.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function G4(){return this.isValid()?!this._isUTC:!1}function Y4(){return this.isValid()?this._isUTC:!1}function K0(){return this.isValid()?this._isUTC&&this._offset===0:!1}var q4=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,X4=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function En(a,c){var u=a,m=null,h,y,P;return Ga(a)?u={ms:a._milliseconds,d:a._days,M:a._months}:d(a)||!isNaN(+a)?(u={},c?u[c]=+a:u.milliseconds=+a):(m=q4.exec(a))?(h=m[1]==="-"?-1:1,u={y:0,d:Fe(m[Rn])*h,h:Fe(m[At])*h,m:Fe(m[An])*h,s:Fe(m[ai])*h,ms:Fe(Cu(m[uo]*1e3))*h}):(m=X4.exec(a))?(h=m[1]==="-"?-1:1,u={y:po(m[2],h),M:po(m[3],h),w:po(m[4],h),d:po(m[5],h),h:po(m[6],h),m:po(m[7],h),s:po(m[8],h)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(P=Q4(ut(u.from),ut(u.to)),u={},u.ms=P.milliseconds,u.M=P.months),y=new Wa(u),Ga(a)&&r(a,"_locale")&&(y._locale=a._locale),Ga(a)&&r(a,"_isValid")&&(y._isValid=a._isValid),y}En.fn=Wa.prototype,En.invalid=F4;function po(a,c){var u=a&&parseFloat(a.replace(",","."));return(isNaN(u)?0:u)*c}function J0(a,c){var u={};return u.months=c.month()-a.month()+(c.year()-a.year())*12,a.clone().add(u.months,"M").isAfter(c)&&--u.months,u.milliseconds=+c-+a.clone().add(u.months,"M"),u}function Q4(a,c){var u;return a.isValid()&&c.isValid()?(c=yu(c,a),a.isBefore(c)?u=J0(a,c):(u=J0(c,a),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function eg(a,c){return function(u,m){var h,y;return m!==null&&!isNaN(+m)&&(Pa(c,"moment()."+c+"(period, number) is deprecated. Please use moment()."+c+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),y=u,u=m,m=y),h=En(u,m),tg(this,h,a),this}}function tg(a,c,u,m){var h=c._milliseconds,y=Cu(c._days),P=Cu(c._months);a.isValid()&&(m=m??!0,P&&N0(a,Cs(a,"Month")+P*u),y&&T0(a,"Date",Cs(a,"Date")+y*u),h&&a._d.setTime(a._d.valueOf()+h*u),m&&n.updateOffset(a,y||P))}var K4=eg(1,"add"),J4=eg(-1,"subtract");function ng(a){return typeof a=="string"||a instanceof String}function e8(a){return $(a)||p(a)||ng(a)||d(a)||n8(a)||t8(a)||a===null||a===void 0}function t8(a){var c=o(a)&&!s(a),u=!1,m=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],h,y,P=m.length;for(h=0;h<P;h+=1)y=m[h],u=u||r(a,y);return c&&u}function n8(a){var c=i(a),u=!1;return c&&(u=a.filter(function(m){return!d(m)&&ng(a)}).length===0),c&&u}function i8(a){var c=o(a)&&!s(a),u=!1,m=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],h,y;for(h=0;h<m.length;h+=1)y=m[h],u=u||r(a,y);return c&&u}function o8(a,c){var u=a.diff(c,"days",!0);return u<-6?"sameElse":u<-1?"lastWeek":u<0?"lastDay":u<1?"sameDay":u<2?"nextDay":u<7?"nextWeek":"sameElse"}function r8(a,c){arguments.length===1&&(arguments[0]?e8(arguments[0])?(a=arguments[0],c=void 0):i8(arguments[0])&&(c=arguments[0],a=void 0):(a=void 0,c=void 0));var u=a||ut(),m=yu(u,this).startOf("day"),h=n.calendarFormat(this,m)||"sameElse",y=c&&(fn(c[h])?c[h].call(this,u):c[h]);return this.format(y||this.localeData().calendar(h,this,ut(u)))}function s8(){return new Te(this)}function a8(a,c){var u=$(a)?a:ut(a);return this.isValid()&&u.isValid()?(c=bn(c)||"millisecond",c==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(c).valueOf()):!1}function l8(a,c){var u=$(a)?a:ut(a);return this.isValid()&&u.isValid()?(c=bn(c)||"millisecond",c==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(c).valueOf()<u.valueOf()):!1}function c8(a,c,u,m){var h=$(a)?a:ut(a),y=$(c)?c:ut(c);return this.isValid()&&h.isValid()&&y.isValid()?(m=m||"()",(m[0]==="("?this.isAfter(h,u):!this.isBefore(h,u))&&(m[1]===")"?this.isBefore(y,u):!this.isAfter(y,u))):!1}function d8(a,c){var u=$(a)?a:ut(a),m;return this.isValid()&&u.isValid()?(c=bn(c)||"millisecond",c==="millisecond"?this.valueOf()===u.valueOf():(m=u.valueOf(),this.clone().startOf(c).valueOf()<=m&&m<=this.clone().endOf(c).valueOf())):!1}function u8(a,c){return this.isSame(a,c)||this.isAfter(a,c)}function p8(a,c){return this.isSame(a,c)||this.isBefore(a,c)}function m8(a,c,u){var m,h,y;if(!this.isValid())return NaN;if(m=yu(a,this),!m.isValid())return NaN;switch(h=(m.utcOffset()-this.utcOffset())*6e4,c=bn(c),c){case"year":y=Ya(this,m)/12;break;case"month":y=Ya(this,m);break;case"quarter":y=Ya(this,m)/3;break;case"second":y=(this-m)/1e3;break;case"minute":y=(this-m)/6e4;break;case"hour":y=(this-m)/36e5;break;case"day":y=(this-m-h)/864e5;break;case"week":y=(this-m-h)/6048e5;break;default:y=this-m}return u?y:vn(y)}function Ya(a,c){if(a.date()<c.date())return-Ya(c,a);var u=(c.year()-a.year())*12+(c.month()-a.month()),m=a.clone().add(u,"months"),h,y;return c-m<0?(h=a.clone().add(u-1,"months"),y=(c-m)/(m-h)):(h=a.clone().add(u+1,"months"),y=(c-m)/(h-m)),-(u+y)||0}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function g8(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function h8(a){if(!this.isValid())return null;var c=a!==!0,u=c?this.clone().utc():this;return u.year()<0||u.year()>9999?Va(u,c?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fn(Date.prototype.toISOString)?c?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Va(u,"Z")):Va(u,c?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function f8(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",c="",u,m,h,y;return this.isLocal()||(a=this.utcOffset()===0?"moment.utc":"moment.parseZone",c="Z"),u="["+a+'("]',m=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",h="-MM-DD[T]HH:mm:ss.SSS",y=c+'[")]',this.format(u+m+h+y)}function b8(a){a||(a=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var c=Va(this,a);return this.localeData().postformat(c)}function v8(a,c){return this.isValid()&&($(a)&&a.isValid()||ut(a).isValid())?En({to:this,from:a}).locale(this.locale()).humanize(!c):this.localeData().invalidDate()}function _8(a){return this.from(ut(),a)}function C8(a,c){return this.isValid()&&($(a)&&a.isValid()||ut(a).isValid())?En({from:this,to:a}).locale(this.locale()).humanize(!c):this.localeData().invalidDate()}function w8(a){return this.to(ut(),a)}function ig(a){var c;return a===void 0?this._locale._abbr:(c=ci(a),c!=null&&(this._locale=c),this)}var og=De("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return a===void 0?this.localeData():this.locale(a)});function rg(){return this._locale}var qa=1e3,tr=60*qa,Xa=60*tr,sg=(365*400+97)*24*Xa;function nr(a,c){return(a%c+c)%c}function ag(a,c,u){return a<100&&a>=0?new Date(a+400,c,u)-sg:new Date(a,c,u).valueOf()}function lg(a,c,u){return a<100&&a>=0?Date.UTC(a+400,c,u)-sg:Date.UTC(a,c,u)}function y8(a){var c,u;if(a=bn(a),a===void 0||a==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?lg:ag,a){case"year":c=u(this.year(),0,1);break;case"quarter":c=u(this.year(),this.month()-this.month()%3,1);break;case"month":c=u(this.year(),this.month(),1);break;case"week":c=u(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":c=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":c=u(this.year(),this.month(),this.date());break;case"hour":c=this._d.valueOf(),c-=nr(c+(this._isUTC?0:this.utcOffset()*tr),Xa);break;case"minute":c=this._d.valueOf(),c-=nr(c,tr);break;case"second":c=this._d.valueOf(),c-=nr(c,qa);break}return this._d.setTime(c),n.updateOffset(this,!0),this}function x8(a){var c,u;if(a=bn(a),a===void 0||a==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?lg:ag,a){case"year":c=u(this.year()+1,0,1)-1;break;case"quarter":c=u(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":c=u(this.year(),this.month()+1,1)-1;break;case"week":c=u(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":c=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":c=u(this.year(),this.month(),this.date()+1)-1;break;case"hour":c=this._d.valueOf(),c+=Xa-nr(c+(this._isUTC?0:this.utcOffset()*tr),Xa)-1;break;case"minute":c=this._d.valueOf(),c+=tr-nr(c,tr)-1;break;case"second":c=this._d.valueOf(),c+=qa-nr(c,qa)-1;break}return this._d.setTime(c),n.updateOffset(this,!0),this}function M8(){return this._d.valueOf()-(this._offset||0)*6e4}function D8(){return Math.floor(this.valueOf()/1e3)}function k8(){return new Date(this.valueOf())}function O8(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function S8(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function A8(){return this.isValid()?this.toISOString():null}function E8(){return R(this)}function I8(){return w({},A(this))}function L8(){return A(this).overflow}function P8(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ae("N",0,0,"eraAbbr"),ae("NN",0,0,"eraAbbr"),ae("NNN",0,0,"eraAbbr"),ae("NNNN",0,0,"eraName"),ae("NNNNN",0,0,"eraNarrow"),ae("y",["y",1],"yo","eraYear"),ae("y",["yy",2],0,"eraYear"),ae("y",["yyy",3],0,"eraYear"),ae("y",["yyyy",4],0,"eraYear"),ee("N",Mu),ee("NN",Mu),ee("NNN",Mu),ee("NNNN",$8),ee("NNNNN",U8),tt(["N","NN","NNN","NNNN","NNNNN"],function(a,c,u,m){var h=u._locale.erasParse(a,m,u._strict);h?A(u).era=h:A(u).invalidEra=a}),ee("y",Qo),ee("yy",Qo),ee("yyy",Qo),ee("yyyy",Qo),ee("yo",W8),tt(["y","yy","yyy","yyyy"],Ht),tt(["yo"],function(a,c,u,m){var h;u._locale._eraYearOrdinalRegex&&(h=a.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?c[Ht]=u._locale.eraYearOrdinalParse(a,h):c[Ht]=parseInt(a,10)});function T8(a,c){var u,m,h,y=this._eras||ci("en")._eras;for(u=0,m=y.length;u<m;++u){switch(typeof y[u].since){case"string":h=n(y[u].since).startOf("day"),y[u].since=h.valueOf();break}switch(typeof y[u].until){case"undefined":y[u].until=1/0;break;case"string":h=n(y[u].until).startOf("day").valueOf(),y[u].until=h.valueOf();break}}return y}function V8(a,c,u){var m,h,y=this.eras(),P,J,Ce;for(a=a.toUpperCase(),m=0,h=y.length;m<h;++m)if(P=y[m].name.toUpperCase(),J=y[m].abbr.toUpperCase(),Ce=y[m].narrow.toUpperCase(),u)switch(c){case"N":case"NN":case"NNN":if(J===a)return y[m];break;case"NNNN":if(P===a)return y[m];break;case"NNNNN":if(Ce===a)return y[m];break}else if([P,J,Ce].indexOf(a)>=0)return y[m]}function F8(a,c){var u=a.since<=a.until?1:-1;return c===void 0?n(a.since).year():n(a.since).year()+(c-a.offset)*u}function N8(){var a,c,u,m=this.localeData().eras();for(a=0,c=m.length;a<c;++a)if(u=this.clone().startOf("day").valueOf(),m[a].since<=u&&u<=m[a].until||m[a].until<=u&&u<=m[a].since)return m[a].name;return""}function j8(){var a,c,u,m=this.localeData().eras();for(a=0,c=m.length;a<c;++a)if(u=this.clone().startOf("day").valueOf(),m[a].since<=u&&u<=m[a].until||m[a].until<=u&&u<=m[a].since)return m[a].narrow;return""}function H8(){var a,c,u,m=this.localeData().eras();for(a=0,c=m.length;a<c;++a)if(u=this.clone().startOf("day").valueOf(),m[a].since<=u&&u<=m[a].until||m[a].until<=u&&u<=m[a].since)return m[a].abbr;return""}function R8(){var a,c,u,m,h=this.localeData().eras();for(a=0,c=h.length;a<c;++a)if(u=h[a].since<=h[a].until?1:-1,m=this.clone().startOf("day").valueOf(),h[a].since<=m&&m<=h[a].until||h[a].until<=m&&m<=h[a].since)return(this.year()-n(h[a].since).year())*u+h[a].offset;return this.year()}function B8(a){return r(this,"_erasNameRegex")||Du.call(this),a?this._erasNameRegex:this._erasRegex}function z8(a){return r(this,"_erasAbbrRegex")||Du.call(this),a?this._erasAbbrRegex:this._erasRegex}function Z8(a){return r(this,"_erasNarrowRegex")||Du.call(this),a?this._erasNarrowRegex:this._erasRegex}function Mu(a,c){return c.erasAbbrRegex(a)}function $8(a,c){return c.erasNameRegex(a)}function U8(a,c){return c.erasNarrowRegex(a)}function W8(a,c){return c._eraYearOrdinalRegex||Qo}function Du(){var a=[],c=[],u=[],m=[],h,y,P,J,Ce,je=this.eras();for(h=0,y=je.length;h<y;++h)P=ri(je[h].name),J=ri(je[h].abbr),Ce=ri(je[h].narrow),c.push(P),a.push(J),u.push(Ce),m.push(P),m.push(J),m.push(Ce);this._erasRegex=new RegExp("^("+m.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+c.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}ae(0,["gg",2],0,function(){return this.weekYear()%100}),ae(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Qa(a,c){ae(0,[a,a.length],0,c)}Qa("gggg","weekYear"),Qa("ggggg","weekYear"),Qa("GGGG","isoWeekYear"),Qa("GGGGG","isoWeekYear"),ee("G",Ha),ee("g",Ha),ee("GG",dt,sn),ee("gg",dt,sn),ee("GGGG",lu,au),ee("gggg",lu,au),ee("GGGGG",ja,Fa),ee("ggggg",ja,Fa),vs(["gggg","ggggg","GGGG","GGGGG"],function(a,c,u,m){c[m.substr(0,2)]=Fe(a)}),vs(["gg","GG"],function(a,c,u,m){c[m]=n.parseTwoDigitYear(a)});function G8(a){return cg.call(this,a,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Y8(a){return cg.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function q8(){return li(this.year(),1,4)}function X8(){return li(this.isoWeekYear(),1,4)}function Q8(){var a=this.localeData()._week;return li(this.year(),a.dow,a.doy)}function K8(){var a=this.localeData()._week;return li(this.weekYear(),a.dow,a.doy)}function cg(a,c,u,m,h){var y;return a==null?ys(this,m,h).year:(y=li(a,m,h),c>y&&(c=y),J8.call(this,a,c,u,m,h))}function J8(a,c,u,m,h){var y=R0(a,c,u,m,h),P=ws(y.year,0,y.dayOfYear);return this.year(P.getUTCFullYear()),this.month(P.getUTCMonth()),this.date(P.getUTCDate()),this}ae("Q",0,"Qo","quarter"),ee("Q",A0),tt("Q",function(a,c){c[si]=(Fe(a)-1)*3});function e6(a){return a==null?Math.ceil((this.month()+1)/3):this.month((a-1)*3+this.month()%3)}ae("D",["DD",2],"Do","date"),ee("D",dt,Ko),ee("DD",dt,sn),ee("Do",function(a,c){return a?c._dayOfMonthOrdinalParse||c._ordinalParse:c._dayOfMonthOrdinalParseLenient}),tt(["D","DD"],Rn),tt("Do",function(a,c){c[Rn]=Fe(a.match(dt)[0])});var dg=Jo("Date",!0);ae("DDD",["DDDD",3],"DDDo","dayOfYear"),ee("DDD",Na),ee("DDDD",E0),tt(["DDD","DDDD"],function(a,c,u){u._dayOfYear=Fe(a)});function t6(a){var c=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return a==null?c:this.add(a-c,"d")}ae("m",["mm",2],0,"minute"),ee("m",dt,cu),ee("mm",dt,sn),tt(["m","mm"],An);var n6=Jo("Minutes",!1);ae("s",["ss",2],0,"second"),ee("s",dt,cu),ee("ss",dt,sn),tt(["s","ss"],ai);var i6=Jo("Seconds",!1);ae("S",0,0,function(){return~~(this.millisecond()/100)}),ae(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ae(0,["SSS",3],0,"millisecond"),ae(0,["SSSS",4],0,function(){return this.millisecond()*10}),ae(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ae(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ae(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ae(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ae(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ee("S",Na,A0),ee("SS",Na,sn),ee("SSS",Na,E0);var Ai,ug;for(Ai="SSSS";Ai.length<=9;Ai+="S")ee(Ai,Qo);function o6(a,c){c[uo]=Fe(("0."+a)*1e3)}for(Ai="S";Ai.length<=9;Ai+="S")tt(Ai,o6);ug=Jo("Milliseconds",!1),ae("z",0,0,"zoneAbbr"),ae("zz",0,0,"zoneName");function r6(){return this._isUTC?"UTC":""}function s6(){return this._isUTC?"Coordinated Universal Time":""}var B=Te.prototype;B.add=K4,B.calendar=r8,B.clone=s8,B.diff=m8,B.endOf=x8,B.format=b8,B.from=v8,B.fromNow=_8,B.to=C8,B.toNow=w8,B.get=f5,B.invalidAt=L8,B.isAfter=a8,B.isBefore=l8,B.isBetween=c8,B.isSame=d8,B.isSameOrAfter=u8,B.isSameOrBefore=p8,B.isValid=E8,B.lang=og,B.locale=ig,B.localeData=rg,B.max=E4,B.min=A4,B.parsingFlags=I8,B.set=b5,B.startOf=y8,B.subtract=J4,B.toArray=O8,B.toObject=S8,B.toDate=k8,B.toISOString=h8,B.inspect=f8,typeof Symbol<"u"&&Symbol.for!=null&&(B[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),B.toJSON=A8,B.toString=g8,B.unix=D8,B.valueOf=M8,B.creationData=P8,B.eraName=N8,B.eraNarrow=j8,B.eraAbbr=H8,B.eraYear=R8,B.year=P0,B.isLeapYear=h5,B.weekYear=G8,B.isoWeekYear=Y8,B.quarter=B.quarters=e6,B.month=j0,B.daysInMonth=k5,B.week=B.weeks=T5,B.isoWeek=B.isoWeeks=V5,B.weeksInYear=Q8,B.weeksInWeekYear=K8,B.isoWeeksInYear=q8,B.isoWeeksInISOWeekYear=X8,B.date=dg,B.day=B.days=Y5,B.weekday=q5,B.isoWeekday=X5,B.dayOfYear=t6,B.hour=B.hours=i4,B.minute=B.minutes=n6,B.second=B.seconds=i6,B.millisecond=B.milliseconds=ug,B.utcOffset=H4,B.utc=B4,B.local=z4,B.parseZone=Z4,B.hasAlignedHourOffset=$4,B.isDST=U4,B.isLocal=G4,B.isUtcOffset=Y4,B.isUtc=K0,B.isUTC=K0,B.zoneAbbr=r6,B.zoneName=s6,B.dates=De("dates accessor is deprecated. Use date instead.",dg),B.months=De("months accessor is deprecated. Use month instead",j0),B.years=De("years accessor is deprecated. Use year instead",P0),B.zone=De("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",R4),B.isDSTShifted=De("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",W4);function a6(a){return ut(a*1e3)}function l6(){return ut.apply(null,arguments).parseZone()}function pg(a){return a}var Xe=fs.prototype;Xe.calendar=G_,Xe.longDateFormat=Q_,Xe.invalidDate=J_,Xe.ordinal=n5,Xe.preparse=pg,Xe.postformat=pg,Xe.relativeTime=o5,Xe.pastFuture=r5,Xe.set=nu,Xe.eras=T8,Xe.erasParse=V8,Xe.erasConvertYear=F8,Xe.erasAbbrRegex=z8,Xe.erasNameRegex=B8,Xe.erasNarrowRegex=Z8,Xe.months=y5,Xe.monthsShort=x5,Xe.monthsParse=D5,Xe.monthsRegex=S5,Xe.monthsShortRegex=O5,Xe.week=E5,Xe.firstDayOfYear=P5,Xe.firstDayOfWeek=L5,Xe.weekdays=Z5,Xe.weekdaysMin=U5,Xe.weekdaysShort=$5,Xe.weekdaysParse=G5,Xe.weekdaysRegex=Q5,Xe.weekdaysShortRegex=K5,Xe.weekdaysMinRegex=J5,Xe.isPM=t4,Xe.meridiem=o4;function Ka(a,c,u,m){var h=ci(),y=D().set(m,c);return h[u](y,a)}function mg(a,c,u){if(d(a)&&(c=a,a=void 0),a=a||"",c!=null)return Ka(a,c,u,"month");var m,h=[];for(m=0;m<12;m++)h[m]=Ka(a,m,u,"month");return h}function ku(a,c,u,m){typeof a=="boolean"?(d(c)&&(u=c,c=void 0),c=c||""):(c=a,u=c,a=!1,d(c)&&(u=c,c=void 0),c=c||"");var h=ci(),y=a?h._week.dow:0,P,J=[];if(u!=null)return Ka(c,(u+y)%7,m,"day");for(P=0;P<7;P++)J[P]=Ka(c,(P+y)%7,m,"day");return J}function c6(a,c){return mg(a,c,"months")}function d6(a,c){return mg(a,c,"monthsShort")}function u6(a,c,u){return ku(a,c,u,"weekdays")}function p6(a,c,u){return ku(a,c,u,"weekdaysShort")}function m6(a,c,u){return ku(a,c,u,"weekdaysMin")}Si("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(a){var c=a%10,u=Fe(a%100/10)===1?"th":c===1?"st":c===2?"nd":c===3?"rd":"th";return a+u}}),n.lang=De("moment.lang is deprecated. Use moment.locale instead.",Si),n.langData=De("moment.langData is deprecated. Use moment.localeData instead.",ci);var di=Math.abs;function g6(){var a=this._data;return this._milliseconds=di(this._milliseconds),this._days=di(this._days),this._months=di(this._months),a.milliseconds=di(a.milliseconds),a.seconds=di(a.seconds),a.minutes=di(a.minutes),a.hours=di(a.hours),a.months=di(a.months),a.years=di(a.years),this}function gg(a,c,u,m){var h=En(c,u);return a._milliseconds+=m*h._milliseconds,a._days+=m*h._days,a._months+=m*h._months,a._bubble()}function h6(a,c){return gg(this,a,c,1)}function f6(a,c){return gg(this,a,c,-1)}function hg(a){return a<0?Math.floor(a):Math.ceil(a)}function b6(){var a=this._milliseconds,c=this._days,u=this._months,m=this._data,h,y,P,J,Ce;return a>=0&&c>=0&&u>=0||a<=0&&c<=0&&u<=0||(a+=hg(Ou(u)+c)*864e5,c=0,u=0),m.milliseconds=a%1e3,h=vn(a/1e3),m.seconds=h%60,y=vn(h/60),m.minutes=y%60,P=vn(y/60),m.hours=P%24,c+=vn(P/24),Ce=vn(fg(c)),u+=Ce,c-=hg(Ou(Ce)),J=vn(u/12),u%=12,m.days=c,m.months=u,m.years=J,this}function fg(a){return a*4800/146097}function Ou(a){return a*146097/4800}function v6(a){if(!this.isValid())return NaN;var c,u,m=this._milliseconds;if(a=bn(a),a==="month"||a==="quarter"||a==="year")switch(c=this._days+m/864e5,u=this._months+fg(c),a){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(c=this._days+Math.round(Ou(this._months)),a){case"week":return c/7+m/6048e5;case"day":return c+m/864e5;case"hour":return c*24+m/36e5;case"minute":return c*1440+m/6e4;case"second":return c*86400+m/1e3;case"millisecond":return Math.floor(c*864e5)+m;default:throw new Error("Unknown unit "+a)}}function ui(a){return function(){return this.as(a)}}var bg=ui("ms"),_6=ui("s"),C6=ui("m"),w6=ui("h"),y6=ui("d"),x6=ui("w"),M6=ui("M"),D6=ui("Q"),k6=ui("y"),O6=bg;function S6(){return En(this)}function A6(a){return a=bn(a),this.isValid()?this[a+"s"]():NaN}function mo(a){return function(){return this.isValid()?this._data[a]:NaN}}var E6=mo("milliseconds"),I6=mo("seconds"),L6=mo("minutes"),P6=mo("hours"),T6=mo("days"),V6=mo("months"),F6=mo("years");function N6(){return vn(this.days()/7)}var pi=Math.round,ir={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function j6(a,c,u,m,h){return h.relativeTime(c||1,!!u,a,m)}function H6(a,c,u,m){var h=En(a).abs(),y=pi(h.as("s")),P=pi(h.as("m")),J=pi(h.as("h")),Ce=pi(h.as("d")),je=pi(h.as("M")),$t=pi(h.as("w")),mi=pi(h.as("y")),Ei=y<=u.ss&&["s",y]||y<u.s&&["ss",y]||P<=1&&["m"]||P<u.m&&["mm",P]||J<=1&&["h"]||J<u.h&&["hh",J]||Ce<=1&&["d"]||Ce<u.d&&["dd",Ce];return u.w!=null&&(Ei=Ei||$t<=1&&["w"]||$t<u.w&&["ww",$t]),Ei=Ei||je<=1&&["M"]||je<u.M&&["MM",je]||mi<=1&&["y"]||["yy",mi],Ei[2]=c,Ei[3]=+a>0,Ei[4]=m,j6.apply(null,Ei)}function R6(a){return a===void 0?pi:typeof a=="function"?(pi=a,!0):!1}function B6(a,c){return ir[a]===void 0?!1:c===void 0?ir[a]:(ir[a]=c,a==="s"&&(ir.ss=c-1),!0)}function z6(a,c){if(!this.isValid())return this.localeData().invalidDate();var u=!1,m=ir,h,y;return typeof a=="object"&&(c=a,a=!1),typeof a=="boolean"&&(u=a),typeof c=="object"&&(m=Object.assign({},ir,c),c.s!=null&&c.ss==null&&(m.ss=c.s-1)),h=this.localeData(),y=H6(this,!u,m,h),u&&(y=h.pastFuture(+this,y)),h.postformat(y)}var Su=Math.abs;function or(a){return(a>0)-(a<0)||+a}function Ja(){if(!this.isValid())return this.localeData().invalidDate();var a=Su(this._milliseconds)/1e3,c=Su(this._days),u=Su(this._months),m,h,y,P,J=this.asSeconds(),Ce,je,$t,mi;return J?(m=vn(a/60),h=vn(m/60),a%=60,m%=60,y=vn(u/12),u%=12,P=a?a.toFixed(3).replace(/\.?0+$/,""):"",Ce=J<0?"-":"",je=or(this._months)!==or(J)?"-":"",$t=or(this._days)!==or(J)?"-":"",mi=or(this._milliseconds)!==or(J)?"-":"",Ce+"P"+(y?je+y+"Y":"")+(u?je+u+"M":"")+(c?$t+c+"D":"")+(h||m||a?"T":"")+(h?mi+h+"H":"")+(m?mi+m+"M":"")+(a?mi+P+"S":"")):"P0D"}var Ze=Wa.prototype;Ze.isValid=V4,Ze.abs=g6,Ze.add=h6,Ze.subtract=f6,Ze.as=v6,Ze.asMilliseconds=bg,Ze.asSeconds=_6,Ze.asMinutes=C6,Ze.asHours=w6,Ze.asDays=y6,Ze.asWeeks=x6,Ze.asMonths=M6,Ze.asQuarters=D6,Ze.asYears=k6,Ze.valueOf=O6,Ze._bubble=b6,Ze.clone=S6,Ze.get=A6,Ze.milliseconds=E6,Ze.seconds=I6,Ze.minutes=L6,Ze.hours=P6,Ze.days=T6,Ze.weeks=N6,Ze.months=V6,Ze.years=F6,Ze.humanize=z6,Ze.toISOString=Ja,Ze.toString=Ja,Ze.toJSON=Ja,Ze.locale=ig,Ze.localeData=rg,Ze.toIsoString=De("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ja),Ze.lang=og,ae("X",0,0,"unix"),ae("x",0,0,"valueOf"),ee("x",Ha),ee("X",c5),tt("X",function(a,c,u){u._d=new Date(parseFloat(a)*1e3)}),tt("x",function(a,c,u){u._d=new Date(Fe(a))});return n.version="2.30.1",e(ut),n.fn=B,n.min=I4,n.max=L4,n.now=P4,n.utc=D,n.unix=a6,n.months=c6,n.isDate=p,n.locale=Si,n.invalid=H,n.duration=En,n.isMoment=$,n.weekdays=u6,n.parseZone=l6,n.localeData=ci,n.isDuration=Ga,n.monthsShort=d6,n.weekdaysMin=m6,n.defineLocale=hu,n.updateLocale=l4,n.locales=c4,n.weekdaysShort=p6,n.normalizeUnits=bn,n.relativeTimeRounding=R6,n.relativeTimeThreshold=B6,n.calendarFormat=o8,n.prototype=B,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});function yg(t,n){return Object.is(t,n)}var Et=null,el=!1,tl=1,gi=Symbol("SIGNAL");function Ve(t){let n=Et;return Et=t,n}function xg(){return Et}var Os={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Pu(t){if(el)throw new Error("");if(Et===null)return;Et.consumerOnSignalRead(t);let n=Et.nextProducerIndex++;if(rl(Et),n<Et.producerNode.length&&Et.producerNode[n]!==t&&ks(Et)){let e=Et.producerNode[n];ol(e,Et.producerIndexOfThis[n])}Et.producerNode[n]!==t&&(Et.producerNode[n]=t,Et.producerIndexOfThis[n]=ks(Et)?Og(t,Et,n):0),Et.producerLastReadVersion[n]=t.version}function K6(){tl++}function Mg(t){if(!(ks(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===tl)){if(!t.producerMustRecompute(t)&&!Vu(t)){t.dirty=!1,t.lastCleanEpoch=tl;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=tl}}function Dg(t){if(t.liveConsumerNode===void 0)return;let n=el;el=!0;try{for(let e of t.liveConsumerNode)e.dirty||J6(e)}finally{el=n}}function kg(){return Et?.consumerAllowSignalWrites!==!1}function J6(t){t.dirty=!0,Dg(t),t.consumerMarkedDirty?.(t)}function il(t){return t&&(t.nextProducerIndex=0),Ve(t)}function Tu(t,n){if(Ve(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(ks(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)ol(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Vu(t){rl(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(Mg(e),i!==e.version))return!0}return!1}function Fu(t){if(rl(t),ks(t))for(let n=0;n<t.producerNode.length;n++)ol(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Og(t,n,e){if(Sg(t),t.liveConsumerNode.length===0&&Ag(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=Og(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function ol(t,n){if(Sg(t),t.liveConsumerNode.length===1&&Ag(t))for(let i=0;i<t.producerNode.length;i++)ol(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],o=t.liveConsumerNode[n];rl(o),o.producerIndexOfThis[i]=n}}function ks(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function rl(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Sg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ag(t){return t.producerNode!==void 0}function Eg(t){let n=Object.create(e9);n.computation=t;let e=()=>{if(Mg(n),Pu(n),n.value===nl)throw n.error;return n.value};return e[gi]=n,e}var Iu=Symbol("UNSET"),Lu=Symbol("COMPUTING"),nl=Symbol("ERRORED"),e9=ot(ue({},Os),{value:Iu,dirty:!0,error:null,equal:yg,producerMustRecompute(t){return t.value===Iu||t.value===Lu},producerRecomputeValue(t){if(t.value===Lu)throw new Error("Detected cycle in computations.");let n=t.value;t.value=Lu;let e=il(t),i;try{i=t.computation()}catch(o){i=nl,t.error=o}finally{Tu(t,e)}if(n!==Iu&&n!==nl&&i!==nl&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});function t9(){throw new Error}var Ig=t9;function Lg(){Ig()}function Pg(t){Ig=t}var n9=null;function Tg(t){let n=Object.create(Fg);n.value=t;let e=()=>(Pu(n),n.value);return e[gi]=n,e}function Nu(t,n){kg()||Lg(),t.equal(t.value,n)||(t.value=n,i9(t))}function Vg(t,n){kg()||Lg(),Nu(t,n(t.value))}var Fg=ot(ue({},Os),{equal:yg,value:void 0});function i9(t){t.version++,K6(),Dg(t),n9?.()}function he(t){return typeof t=="function"}function sl(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var al=sl(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
4
|
+
`+new Error().stack),u=!1}return c.apply(this,arguments)},c)}var hn={};function Pa(a,c){n.deprecationHandler!=null&&n.deprecationHandler(a,c),hn[a]||(Le(c),hn[a]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function fn(a){return typeof Function<"u"&&a instanceof Function||Object.prototype.toString.call(a)==="[object Function]"}function nu(a){var c,u;for(u in a)r(a,u)&&(c=a[u],fn(c)?this[u]=c:this["_"+u]=c);this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function hs(a,c){var u=w({},a),m;for(m in c)r(c,m)&&(o(a[m])&&o(c[m])?(u[m]={},w(u[m],a[m]),w(u[m],c[m])):c[m]!=null?u[m]=c[m]:delete u[m]);for(m in a)r(a,m)&&!r(c,m)&&o(a[m])&&(u[m]=w({},u[m]));return u}function fs(a){a!=null&&this.set(a)}var iu;Object.keys?iu=Object.keys:iu=function(a){var c,u=[];for(c in a)r(a,c)&&u.push(c);return u};var W_={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function G_(a,c,u){var m=this._calendar[a]||this._calendar.sameElse;return fn(m)?m.call(c,u):m}function Hn(a,c,u){var m=""+Math.abs(a),h=c-m.length,y=a>=0;return(y?u?"+":"":"-")+Math.pow(10,Math.max(0,h)).toString().substr(1)+m}var ou=/(\[[^\[]*\])|(\\)?([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,Ta=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ru={},Xo={};function ae(a,c,u,m){var h=m;typeof m=="string"&&(h=function(){return this[m]()}),a&&(Xo[a]=h),c&&(Xo[c[0]]=function(){return Hn(h.apply(this,arguments),c[1],c[2])}),u&&(Xo[u]=function(){return this.localeData().ordinal(h.apply(this,arguments),a)})}function Y_(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function q_(a){var c=a.match(ou),u,m;for(u=0,m=c.length;u<m;u++)Xo[c[u]]?c[u]=Xo[c[u]]:c[u]=Y_(c[u]);return function(h){var y="",P;for(P=0;P<m;P++)y+=fn(c[P])?c[P].call(h,a):c[P];return y}}function Va(a,c){return a.isValid()?(c=O0(c,a.localeData()),ru[c]=ru[c]||q_(c),ru[c](a)):a.localeData().invalidDate()}function O0(a,c){var u=5;function m(h){return c.longDateFormat(h)||h}for(Ta.lastIndex=0;u>=0&&Ta.test(a);)a=a.replace(Ta,m),Ta.lastIndex=0,u-=1;return a}var X_={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 Q_(a){var c=this._longDateFormat[a],u=this._longDateFormat[a.toUpperCase()];return c||!u?c:(this._longDateFormat[a]=u.match(ou).map(function(m){return m==="MMMM"||m==="MM"||m==="DD"||m==="dddd"?m.slice(1):m}).join(""),this._longDateFormat[a])}var K_="Invalid date";function J_(){return this._invalidDate}var e5="%d",t5=/\d{1,2}/;function n5(a){return this._ordinal.replace("%d",a)}var i5={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 o5(a,c,u,m){var h=this._relativeTime[u];return fn(h)?h(a,c,u,m):h.replace(/%d/i,a)}function r5(a,c){var u=this._relativeTime[a>0?"future":"past"];return fn(u)?u(c):u.replace(/%s/i,c)}var S0={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 bn(a){return typeof a=="string"?S0[a]||S0[a.toLowerCase()]:void 0}function su(a){var c={},u,m;for(m in a)r(a,m)&&(u=bn(m),u&&(c[u]=a[m]));return c}var s5={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 a5(a){var c=[],u;for(u in a)r(a,u)&&c.push({unit:u,priority:s5[u]});return c.sort(function(m,h){return m.priority-h.priority}),c}var A0=/\d/,sn=/\d\d/,E0=/\d{3}/,au=/\d{4}/,Fa=/[+-]?\d{6}/,dt=/\d\d?/,I0=/\d\d\d\d?/,L0=/\d\d\d\d\d\d?/,Na=/\d{1,3}/,lu=/\d{1,4}/,ja=/[+-]?\d{1,6}/,Qo=/\d+/,Ha=/[+-]?\d+/,l5=/Z|[+-]\d\d:?\d\d/gi,Ra=/Z|[+-]\d\d(?::?\d\d)?/gi,c5=/[+-]?\d+(\.\d{1,3})?/,bs=/[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,Ko=/^[1-9]\d?/,cu=/^([1-9]\d|\d)/,Ba;Ba={};function ee(a,c,u){Ba[a]=fn(c)?c:function(m,h){return m&&u?u:c}}function d5(a,c){return r(Ba,a)?Ba[a](c._strict,c._locale):new RegExp(u5(a))}function u5(a){return ri(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(c,u,m,h,y){return u||m||h||y}))}function ri(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function vn(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function Fe(a){var c=+a,u=0;return c!==0&&isFinite(c)&&(u=vn(c)),u}var du={};function tt(a,c){var u,m=c,h;for(typeof a=="string"&&(a=[a]),d(c)&&(m=function(y,P){P[c]=Fe(y)}),h=a.length,u=0;u<h;u++)du[a[u]]=m}function vs(a,c){tt(a,function(u,m,h,y){h._w=h._w||{},c(u,h._w,h,y)})}function p5(a,c,u){c!=null&&r(du,a)&&du[a](c,u._a,u,a)}function za(a){return a%4===0&&a%100!==0||a%400===0}var Ht=0,si=1,Rn=2,At=3,An=4,ai=5,uo=6,m5=7,g5=8;ae("Y",0,0,function(){var a=this.year();return a<=9999?Hn(a,4):"+"+a}),ae(0,["YY",2],0,function(){return this.year()%100}),ae(0,["YYYY",4],0,"year"),ae(0,["YYYYY",5],0,"year"),ae(0,["YYYYYY",6,!0],0,"year"),ee("Y",Ha),ee("YY",dt,sn),ee("YYYY",lu,au),ee("YYYYY",ja,Fa),ee("YYYYYY",ja,Fa),tt(["YYYYY","YYYYYY"],Ht),tt("YYYY",function(a,c){c[Ht]=a.length===2?n.parseTwoDigitYear(a):Fe(a)}),tt("YY",function(a,c){c[Ht]=n.parseTwoDigitYear(a)}),tt("Y",function(a,c){c[Ht]=parseInt(a,10)});function _s(a){return za(a)?366:365}n.parseTwoDigitYear=function(a){return Fe(a)+(Fe(a)>68?1900:2e3)};var P0=Jo("FullYear",!0);function h5(){return za(this.year())}function Jo(a,c){return function(u){return u!=null?(T0(this,a,u),n.updateOffset(this,c),this):Cs(this,a)}}function Cs(a,c){if(!a.isValid())return NaN;var u=a._d,m=a._isUTC;switch(c){case"Milliseconds":return m?u.getUTCMilliseconds():u.getMilliseconds();case"Seconds":return m?u.getUTCSeconds():u.getSeconds();case"Minutes":return m?u.getUTCMinutes():u.getMinutes();case"Hours":return m?u.getUTCHours():u.getHours();case"Date":return m?u.getUTCDate():u.getDate();case"Day":return m?u.getUTCDay():u.getDay();case"Month":return m?u.getUTCMonth():u.getMonth();case"FullYear":return m?u.getUTCFullYear():u.getFullYear();default:return NaN}}function T0(a,c,u){var m,h,y,P,J;if(!(!a.isValid()||isNaN(u))){switch(m=a._d,h=a._isUTC,c){case"Milliseconds":return void(h?m.setUTCMilliseconds(u):m.setMilliseconds(u));case"Seconds":return void(h?m.setUTCSeconds(u):m.setSeconds(u));case"Minutes":return void(h?m.setUTCMinutes(u):m.setMinutes(u));case"Hours":return void(h?m.setUTCHours(u):m.setHours(u));case"Date":return void(h?m.setUTCDate(u):m.setDate(u));case"FullYear":break;default:return}y=u,P=a.month(),J=a.date(),J=J===29&&P===1&&!za(y)?28:J,h?m.setUTCFullYear(y,P,J):m.setFullYear(y,P,J)}}function f5(a){return a=bn(a),fn(this[a])?this[a]():this}function b5(a,c){if(typeof a=="object"){a=su(a);var u=a5(a),m,h=u.length;for(m=0;m<h;m++)this[u[m].unit](a[u[m].unit])}else if(a=bn(a),fn(this[a]))return this[a](c);return this}function v5(a,c){return(a%c+c)%c}var wt;Array.prototype.indexOf?wt=Array.prototype.indexOf:wt=function(a){var c;for(c=0;c<this.length;++c)if(this[c]===a)return c;return-1};function uu(a,c){if(isNaN(a)||isNaN(c))return NaN;var u=v5(c,12);return a+=(c-u)/12,u===1?za(a)?29:28:31-u%7%2}ae("M",["MM",2],"Mo",function(){return this.month()+1}),ae("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),ae("MMMM",0,0,function(a){return this.localeData().months(this,a)}),ee("M",dt,Ko),ee("MM",dt,sn),ee("MMM",function(a,c){return c.monthsShortRegex(a)}),ee("MMMM",function(a,c){return c.monthsRegex(a)}),tt(["M","MM"],function(a,c){c[si]=Fe(a)-1}),tt(["MMM","MMMM"],function(a,c,u,m){var h=u._locale.monthsParse(a,m,u._strict);h!=null?c[si]=h:A(u).invalidMonth=a});var _5="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),V0="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),F0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,C5=bs,w5=bs;function y5(a,c){return a?i(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||F0).test(c)?"format":"standalone"][a.month()]:i(this._months)?this._months:this._months.standalone}function x5(a,c){return a?i(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[F0.test(c)?"format":"standalone"][a.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function M5(a,c,u){var m,h,y,P=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],m=0;m<12;++m)y=D([2e3,m]),this._shortMonthsParse[m]=this.monthsShort(y,"").toLocaleLowerCase(),this._longMonthsParse[m]=this.months(y,"").toLocaleLowerCase();return u?c==="MMM"?(h=wt.call(this._shortMonthsParse,P),h!==-1?h:null):(h=wt.call(this._longMonthsParse,P),h!==-1?h:null):c==="MMM"?(h=wt.call(this._shortMonthsParse,P),h!==-1?h:(h=wt.call(this._longMonthsParse,P),h!==-1?h:null)):(h=wt.call(this._longMonthsParse,P),h!==-1?h:(h=wt.call(this._shortMonthsParse,P),h!==-1?h:null))}function D5(a,c,u){var m,h,y;if(this._monthsParseExact)return M5.call(this,a,c,u);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),m=0;m<12;m++){if(h=D([2e3,m]),u&&!this._longMonthsParse[m]&&(this._longMonthsParse[m]=new RegExp("^"+this.months(h,"").replace(".","")+"$","i"),this._shortMonthsParse[m]=new RegExp("^"+this.monthsShort(h,"").replace(".","")+"$","i")),!u&&!this._monthsParse[m]&&(y="^"+this.months(h,"")+"|^"+this.monthsShort(h,""),this._monthsParse[m]=new RegExp(y.replace(".",""),"i")),u&&c==="MMMM"&&this._longMonthsParse[m].test(a))return m;if(u&&c==="MMM"&&this._shortMonthsParse[m].test(a))return m;if(!u&&this._monthsParse[m].test(a))return m}}function N0(a,c){if(!a.isValid())return a;if(typeof c=="string"){if(/^\d+$/.test(c))c=Fe(c);else if(c=a.localeData().monthsParse(c),!d(c))return a}var u=c,m=a.date();return m=m<29?m:Math.min(m,uu(a.year(),u)),a._isUTC?a._d.setUTCMonth(u,m):a._d.setMonth(u,m),a}function j0(a){return a!=null?(N0(this,a),n.updateOffset(this,!0),this):Cs(this,"Month")}function k5(){return uu(this.year(),this.month())}function O5(a){return this._monthsParseExact?(r(this,"_monthsRegex")||H0.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=C5),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function S5(a){return this._monthsParseExact?(r(this,"_monthsRegex")||H0.call(this),a?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=w5),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function H0(){function a(Ce,je){return je.length-Ce.length}var c=[],u=[],m=[],h,y,P,J;for(h=0;h<12;h++)y=D([2e3,h]),P=ri(this.monthsShort(y,"")),J=ri(this.months(y,"")),c.push(P),u.push(J),m.push(J),m.push(P);c.sort(a),u.sort(a),m.sort(a),this._monthsRegex=new RegExp("^("+m.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+c.join("|")+")","i")}function A5(a,c,u,m,h,y,P){var J;return a<100&&a>=0?(J=new Date(a+400,c,u,m,h,y,P),isFinite(J.getFullYear())&&J.setFullYear(a)):J=new Date(a,c,u,m,h,y,P),J}function ws(a){var c,u;return a<100&&a>=0?(u=Array.prototype.slice.call(arguments),u[0]=a+400,c=new Date(Date.UTC.apply(null,u)),isFinite(c.getUTCFullYear())&&c.setUTCFullYear(a)):c=new Date(Date.UTC.apply(null,arguments)),c}function Za(a,c,u){var m=7+c-u,h=(7+ws(a,0,m).getUTCDay()-c)%7;return-h+m-1}function R0(a,c,u,m,h){var y=(7+u-m)%7,P=Za(a,m,h),J=1+7*(c-1)+y+P,Ce,je;return J<=0?(Ce=a-1,je=_s(Ce)+J):J>_s(a)?(Ce=a+1,je=J-_s(a)):(Ce=a,je=J),{year:Ce,dayOfYear:je}}function ys(a,c,u){var m=Za(a.year(),c,u),h=Math.floor((a.dayOfYear()-m-1)/7)+1,y,P;return h<1?(P=a.year()-1,y=h+li(P,c,u)):h>li(a.year(),c,u)?(y=h-li(a.year(),c,u),P=a.year()+1):(P=a.year(),y=h),{week:y,year:P}}function li(a,c,u){var m=Za(a,c,u),h=Za(a+1,c,u);return(_s(a)-m+h)/7}ae("w",["ww",2],"wo","week"),ae("W",["WW",2],"Wo","isoWeek"),ee("w",dt,Ko),ee("ww",dt,sn),ee("W",dt,Ko),ee("WW",dt,sn),vs(["w","ww","W","WW"],function(a,c,u,m){c[m.substr(0,1)]=Fe(a)});function E5(a){return ys(a,this._week.dow,this._week.doy).week}var I5={dow:0,doy:6};function L5(){return this._week.dow}function P5(){return this._week.doy}function T5(a){var c=this.localeData().week(this);return a==null?c:this.add((a-c)*7,"d")}function V5(a){var c=ys(this,1,4).week;return a==null?c:this.add((a-c)*7,"d")}ae("d",0,"do","day"),ae("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),ae("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),ae("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),ae("e",0,0,"weekday"),ae("E",0,0,"isoWeekday"),ee("d",dt),ee("e",dt),ee("E",dt),ee("dd",function(a,c){return c.weekdaysMinRegex(a)}),ee("ddd",function(a,c){return c.weekdaysShortRegex(a)}),ee("dddd",function(a,c){return c.weekdaysRegex(a)}),vs(["dd","ddd","dddd"],function(a,c,u,m){var h=u._locale.weekdaysParse(a,m,u._strict);h!=null?c.d=h:A(u).invalidWeekday=a}),vs(["d","e","E"],function(a,c,u,m){c[m]=Fe(a)});function F5(a,c){return typeof a!="string"?a:isNaN(a)?(a=c.weekdaysParse(a),typeof a=="number"?a:null):parseInt(a,10)}function N5(a,c){return typeof a=="string"?c.weekdaysParse(a)%7||7:isNaN(a)?null:a}function pu(a,c){return a.slice(c,7).concat(a.slice(0,c))}var j5="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),B0="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),H5="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),R5=bs,B5=bs,z5=bs;function Z5(a,c){var u=i(this._weekdays)?this._weekdays:this._weekdays[a&&a!==!0&&this._weekdays.isFormat.test(c)?"format":"standalone"];return a===!0?pu(u,this._week.dow):a?u[a.day()]:u}function $5(a){return a===!0?pu(this._weekdaysShort,this._week.dow):a?this._weekdaysShort[a.day()]:this._weekdaysShort}function U5(a){return a===!0?pu(this._weekdaysMin,this._week.dow):a?this._weekdaysMin[a.day()]:this._weekdaysMin}function W5(a,c,u){var m,h,y,P=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],m=0;m<7;++m)y=D([2e3,1]).day(m),this._minWeekdaysParse[m]=this.weekdaysMin(y,"").toLocaleLowerCase(),this._shortWeekdaysParse[m]=this.weekdaysShort(y,"").toLocaleLowerCase(),this._weekdaysParse[m]=this.weekdays(y,"").toLocaleLowerCase();return u?c==="dddd"?(h=wt.call(this._weekdaysParse,P),h!==-1?h:null):c==="ddd"?(h=wt.call(this._shortWeekdaysParse,P),h!==-1?h:null):(h=wt.call(this._minWeekdaysParse,P),h!==-1?h:null):c==="dddd"?(h=wt.call(this._weekdaysParse,P),h!==-1||(h=wt.call(this._shortWeekdaysParse,P),h!==-1)?h:(h=wt.call(this._minWeekdaysParse,P),h!==-1?h:null)):c==="ddd"?(h=wt.call(this._shortWeekdaysParse,P),h!==-1||(h=wt.call(this._weekdaysParse,P),h!==-1)?h:(h=wt.call(this._minWeekdaysParse,P),h!==-1?h:null)):(h=wt.call(this._minWeekdaysParse,P),h!==-1||(h=wt.call(this._weekdaysParse,P),h!==-1)?h:(h=wt.call(this._shortWeekdaysParse,P),h!==-1?h:null))}function G5(a,c,u){var m,h,y;if(this._weekdaysParseExact)return W5.call(this,a,c,u);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),m=0;m<7;m++){if(h=D([2e3,1]).day(m),u&&!this._fullWeekdaysParse[m]&&(this._fullWeekdaysParse[m]=new RegExp("^"+this.weekdays(h,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[m]=new RegExp("^"+this.weekdaysShort(h,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[m]=new RegExp("^"+this.weekdaysMin(h,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[m]||(y="^"+this.weekdays(h,"")+"|^"+this.weekdaysShort(h,"")+"|^"+this.weekdaysMin(h,""),this._weekdaysParse[m]=new RegExp(y.replace(".",""),"i")),u&&c==="dddd"&&this._fullWeekdaysParse[m].test(a))return m;if(u&&c==="ddd"&&this._shortWeekdaysParse[m].test(a))return m;if(u&&c==="dd"&&this._minWeekdaysParse[m].test(a))return m;if(!u&&this._weekdaysParse[m].test(a))return m}}function Y5(a){if(!this.isValid())return a!=null?this:NaN;var c=Cs(this,"Day");return a!=null?(a=F5(a,this.localeData()),this.add(a-c,"d")):c}function q5(a){if(!this.isValid())return a!=null?this:NaN;var c=(this.day()+7-this.localeData()._week.dow)%7;return a==null?c:this.add(a-c,"d")}function X5(a){if(!this.isValid())return a!=null?this:NaN;if(a!=null){var c=N5(a,this.localeData());return this.day(this.day()%7?c:c-7)}else return this.day()||7}function Q5(a){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||mu.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=R5),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function K5(a){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||mu.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=B5),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function J5(a){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||mu.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=z5),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function mu(){function a($t,mi){return mi.length-$t.length}var c=[],u=[],m=[],h=[],y,P,J,Ce,je;for(y=0;y<7;y++)P=D([2e3,1]).day(y),J=ri(this.weekdaysMin(P,"")),Ce=ri(this.weekdaysShort(P,"")),je=ri(this.weekdays(P,"")),c.push(J),u.push(Ce),m.push(je),h.push(J),h.push(Ce),h.push(je);c.sort(a),u.sort(a),m.sort(a),h.sort(a),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+m.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+c.join("|")+")","i")}function gu(){return this.hours()%12||12}function e4(){return this.hours()||24}ae("H",["HH",2],0,"hour"),ae("h",["hh",2],0,gu),ae("k",["kk",2],0,e4),ae("hmm",0,0,function(){return""+gu.apply(this)+Hn(this.minutes(),2)}),ae("hmmss",0,0,function(){return""+gu.apply(this)+Hn(this.minutes(),2)+Hn(this.seconds(),2)}),ae("Hmm",0,0,function(){return""+this.hours()+Hn(this.minutes(),2)}),ae("Hmmss",0,0,function(){return""+this.hours()+Hn(this.minutes(),2)+Hn(this.seconds(),2)});function z0(a,c){ae(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),c)})}z0("a",!0),z0("A",!1);function Z0(a,c){return c._meridiemParse}ee("a",Z0),ee("A",Z0),ee("H",dt,cu),ee("h",dt,Ko),ee("k",dt,Ko),ee("HH",dt,sn),ee("hh",dt,sn),ee("kk",dt,sn),ee("hmm",I0),ee("hmmss",L0),ee("Hmm",I0),ee("Hmmss",L0),tt(["H","HH"],At),tt(["k","kk"],function(a,c,u){var m=Fe(a);c[At]=m===24?0:m}),tt(["a","A"],function(a,c,u){u._isPm=u._locale.isPM(a),u._meridiem=a}),tt(["h","hh"],function(a,c,u){c[At]=Fe(a),A(u).bigHour=!0}),tt("hmm",function(a,c,u){var m=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m)),A(u).bigHour=!0}),tt("hmmss",function(a,c,u){var m=a.length-4,h=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m,2)),c[ai]=Fe(a.substr(h)),A(u).bigHour=!0}),tt("Hmm",function(a,c,u){var m=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m))}),tt("Hmmss",function(a,c,u){var m=a.length-4,h=a.length-2;c[At]=Fe(a.substr(0,m)),c[An]=Fe(a.substr(m,2)),c[ai]=Fe(a.substr(h))});function t4(a){return(a+"").toLowerCase().charAt(0)==="p"}var n4=/[ap]\.?m?\.?/i,i4=Jo("Hours",!0);function o4(a,c,u){return a>11?u?"pm":"PM":u?"am":"AM"}var $0={calendar:W_,longDateFormat:X_,invalidDate:K_,ordinal:e5,dayOfMonthOrdinalParse:t5,relativeTime:i5,months:_5,monthsShort:V0,week:I5,weekdays:j5,weekdaysMin:H5,weekdaysShort:B0,meridiemParse:n4},ht={},xs={},Ms;function r4(a,c){var u,m=Math.min(a.length,c.length);for(u=0;u<m;u+=1)if(a[u]!==c[u])return u;return m}function U0(a){return a&&a.toLowerCase().replace("_","-")}function s4(a){for(var c=0,u,m,h,y;c<a.length;){for(y=U0(a[c]).split("-"),u=y.length,m=U0(a[c+1]),m=m?m.split("-"):null;u>0;){if(h=$a(y.slice(0,u).join("-")),h)return h;if(m&&m.length>=u&&r4(y,m)>=u-1)break;u--}c++}return Ms}function a4(a){return!!(a&&a.match("^[^/\\\\]*$"))}function $a(a){var c=null,u;if(ht[a]===void 0&&typeof ds<"u"&&ds&&ds.exports&&a4(a))try{c=Ms._abbr,u=wg,u("./locale/"+a),Si(c)}catch{ht[a]=null}return ht[a]}function Si(a,c){var u;return a&&(l(c)?u=ci(a):u=hu(a,c),u?Ms=u:typeof console<"u"&&console.warn&&console.warn("Locale "+a+" not found. Did you forget to load it?")),Ms._abbr}function hu(a,c){if(c!==null){var u,m=$0;if(c.abbr=a,ht[a]!=null)Pa("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."),m=ht[a]._config;else if(c.parentLocale!=null)if(ht[c.parentLocale]!=null)m=ht[c.parentLocale]._config;else if(u=$a(c.parentLocale),u!=null)m=u._config;else return xs[c.parentLocale]||(xs[c.parentLocale]=[]),xs[c.parentLocale].push({name:a,config:c}),null;return ht[a]=new fs(hs(m,c)),xs[a]&&xs[a].forEach(function(h){hu(h.name,h.config)}),Si(a),ht[a]}else return delete ht[a],null}function l4(a,c){if(c!=null){var u,m,h=$0;ht[a]!=null&&ht[a].parentLocale!=null?ht[a].set(hs(ht[a]._config,c)):(m=$a(a),m!=null&&(h=m._config),c=hs(h,c),m==null&&(c.abbr=a),u=new fs(c),u.parentLocale=ht[a],ht[a]=u),Si(a)}else ht[a]!=null&&(ht[a].parentLocale!=null?(ht[a]=ht[a].parentLocale,a===Si()&&Si(a)):ht[a]!=null&&delete ht[a]);return ht[a]}function ci(a){var c;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Ms;if(!i(a)){if(c=$a(a),c)return c;a=[a]}return s4(a)}function c4(){return iu(ht)}function fu(a){var c,u=a._a;return u&&A(a).overflow===-2&&(c=u[si]<0||u[si]>11?si:u[Rn]<1||u[Rn]>uu(u[Ht],u[si])?Rn:u[At]<0||u[At]>24||u[At]===24&&(u[An]!==0||u[ai]!==0||u[uo]!==0)?At:u[An]<0||u[An]>59?An:u[ai]<0||u[ai]>59?ai:u[uo]<0||u[uo]>999?uo:-1,A(a)._overflowDayOfYear&&(c<Ht||c>Rn)&&(c=Rn),A(a)._overflowWeeks&&c===-1&&(c=m5),A(a)._overflowWeekday&&c===-1&&(c=g5),A(a).overflow=c),a}var d4=/^\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)?)?$/,u4=/^\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)?)?$/,p4=/Z|[+-]\d\d(?::?\d\d)?/,Ua=[["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]],bu=[["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/]],m4=/^\/?Date\((-?\d+)/i,g4=/^(?:(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}))$/,h4={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function W0(a){var c,u,m=a._i,h=d4.exec(m)||u4.exec(m),y,P,J,Ce,je=Ua.length,$t=bu.length;if(h){for(A(a).iso=!0,c=0,u=je;c<u;c++)if(Ua[c][1].exec(h[1])){P=Ua[c][0],y=Ua[c][2]!==!1;break}if(P==null){a._isValid=!1;return}if(h[3]){for(c=0,u=$t;c<u;c++)if(bu[c][1].exec(h[3])){J=(h[2]||" ")+bu[c][0];break}if(J==null){a._isValid=!1;return}}if(!y&&J!=null){a._isValid=!1;return}if(h[4])if(p4.exec(h[4]))Ce="Z";else{a._isValid=!1;return}a._f=P+(J||"")+(Ce||""),_u(a)}else a._isValid=!1}function f4(a,c,u,m,h,y){var P=[b4(a),V0.indexOf(c),parseInt(u,10),parseInt(m,10),parseInt(h,10)];return y&&P.push(parseInt(y,10)),P}function b4(a){var c=parseInt(a,10);return c<=49?2e3+c:c<=999?1900+c:c}function v4(a){return a.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function _4(a,c,u){if(a){var m=B0.indexOf(a),h=new Date(c[0],c[1],c[2]).getDay();if(m!==h)return A(u).weekdayMismatch=!0,u._isValid=!1,!1}return!0}function C4(a,c,u){if(a)return h4[a];if(c)return 0;var m=parseInt(u,10),h=m%100,y=(m-h)/100;return y*60+h}function G0(a){var c=g4.exec(v4(a._i)),u;if(c){if(u=f4(c[4],c[3],c[2],c[5],c[6],c[7]),!_4(c[1],u,a))return;a._a=u,a._tzm=C4(c[8],c[9],c[10]),a._d=ws.apply(null,a._a),a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),A(a).rfc2822=!0}else a._isValid=!1}function w4(a){var c=m4.exec(a._i);if(c!==null){a._d=new Date(+c[1]);return}if(W0(a),a._isValid===!1)delete a._isValid;else return;if(G0(a),a._isValid===!1)delete a._isValid;else return;a._strict?a._isValid=!1:n.createFromInputFallback(a)}n.createFromInputFallback=De("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(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))});function er(a,c,u){return a??c??u}function y4(a){var c=new Date(n.now());return a._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function vu(a){var c,u,m=[],h,y,P;if(!a._d){for(h=y4(a),a._w&&a._a[Rn]==null&&a._a[si]==null&&x4(a),a._dayOfYear!=null&&(P=er(a._a[Ht],h[Ht]),(a._dayOfYear>_s(P)||a._dayOfYear===0)&&(A(a)._overflowDayOfYear=!0),u=ws(P,0,a._dayOfYear),a._a[si]=u.getUTCMonth(),a._a[Rn]=u.getUTCDate()),c=0;c<3&&a._a[c]==null;++c)a._a[c]=m[c]=h[c];for(;c<7;c++)a._a[c]=m[c]=a._a[c]==null?c===2?1:0:a._a[c];a._a[At]===24&&a._a[An]===0&&a._a[ai]===0&&a._a[uo]===0&&(a._nextDay=!0,a._a[At]=0),a._d=(a._useUTC?ws:A5).apply(null,m),y=a._useUTC?a._d.getUTCDay():a._d.getDay(),a._tzm!=null&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[At]=24),a._w&&typeof a._w.d<"u"&&a._w.d!==y&&(A(a).weekdayMismatch=!0)}}function x4(a){var c,u,m,h,y,P,J,Ce,je;c=a._w,c.GG!=null||c.W!=null||c.E!=null?(y=1,P=4,u=er(c.GG,a._a[Ht],ys(ut(),1,4).year),m=er(c.W,1),h=er(c.E,1),(h<1||h>7)&&(Ce=!0)):(y=a._locale._week.dow,P=a._locale._week.doy,je=ys(ut(),y,P),u=er(c.gg,a._a[Ht],je.year),m=er(c.w,je.week),c.d!=null?(h=c.d,(h<0||h>6)&&(Ce=!0)):c.e!=null?(h=c.e+y,(c.e<0||c.e>6)&&(Ce=!0)):h=y),m<1||m>li(u,y,P)?A(a)._overflowWeeks=!0:Ce!=null?A(a)._overflowWeekday=!0:(J=R0(u,m,h,y,P),a._a[Ht]=J.year,a._dayOfYear=J.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function _u(a){if(a._f===n.ISO_8601){W0(a);return}if(a._f===n.RFC_2822){G0(a);return}a._a=[],A(a).empty=!0;var c=""+a._i,u,m,h,y,P,J=c.length,Ce=0,je,$t;for(h=O0(a._f,a._locale).match(ou)||[],$t=h.length,u=0;u<$t;u++)y=h[u],m=(c.match(d5(y,a))||[])[0],m&&(P=c.substr(0,c.indexOf(m)),P.length>0&&A(a).unusedInput.push(P),c=c.slice(c.indexOf(m)+m.length),Ce+=m.length),Xo[y]?(m?A(a).empty=!1:A(a).unusedTokens.push(y),p5(y,m,a)):a._strict&&!m&&A(a).unusedTokens.push(y);A(a).charsLeftOver=J-Ce,c.length>0&&A(a).unusedInput.push(c),a._a[At]<=12&&A(a).bigHour===!0&&a._a[At]>0&&(A(a).bigHour=void 0),A(a).parsedDateParts=a._a.slice(0),A(a).meridiem=a._meridiem,a._a[At]=M4(a._locale,a._a[At],a._meridiem),je=A(a).era,je!==null&&(a._a[Ht]=a._locale.erasConvertYear(je,a._a[Ht])),vu(a),fu(a)}function M4(a,c,u){var m;return u==null?c:a.meridiemHour!=null?a.meridiemHour(c,u):(a.isPM!=null&&(m=a.isPM(u),m&&c<12&&(c+=12),!m&&c===12&&(c=0)),c)}function D4(a){var c,u,m,h,y,P,J=!1,Ce=a._f.length;if(Ce===0){A(a).invalidFormat=!0,a._d=new Date(NaN);return}for(h=0;h<Ce;h++)y=0,P=!1,c=ze({},a),a._useUTC!=null&&(c._useUTC=a._useUTC),c._f=a._f[h],_u(c),R(c)&&(P=!0),y+=A(c).charsLeftOver,y+=A(c).unusedTokens.length*10,A(c).score=y,J?y<m&&(m=y,u=c):(m==null||y<m||P)&&(m=y,u=c,P&&(J=!0));w(a,u||c)}function k4(a){if(!a._d){var c=su(a._i),u=c.day===void 0?c.date:c.day;a._a=f([c.year,c.month,u,c.hour,c.minute,c.second,c.millisecond],function(m){return m&&parseInt(m,10)}),vu(a)}}function O4(a){var c=new Te(fu(Y0(a)));return c._nextDay&&(c.add(1,"d"),c._nextDay=void 0),c}function Y0(a){var c=a._i,u=a._f;return a._locale=a._locale||ci(a._l),c===null||u===void 0&&c===""?H({nullInput:!0}):(typeof c=="string"&&(a._i=c=a._locale.preparse(c)),$(c)?new Te(fu(c)):(p(c)?a._d=c:i(u)?D4(a):u?_u(a):S4(a),R(a)||(a._d=null),a))}function S4(a){var c=a._i;l(c)?a._d=new Date(n.now()):p(c)?a._d=new Date(c.valueOf()):typeof c=="string"?w4(a):i(c)?(a._a=f(c.slice(0),function(u){return parseInt(u,10)}),vu(a)):o(c)?k4(a):d(c)?a._d=new Date(c):n.createFromInputFallback(a)}function q0(a,c,u,m,h){var y={};return(c===!0||c===!1)&&(m=c,c=void 0),(u===!0||u===!1)&&(m=u,u=void 0),(o(a)&&s(a)||i(a)&&a.length===0)&&(a=void 0),y._isAMomentObject=!0,y._useUTC=y._isUTC=h,y._l=u,y._i=a,y._f=c,y._strict=m,O4(y)}function ut(a,c,u,m){return q0(a,c,u,m,!1)}var A4=De("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=ut.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:H()}),E4=De("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=ut.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:H()});function X0(a,c){var u,m;if(c.length===1&&i(c[0])&&(c=c[0]),!c.length)return ut();for(u=c[0],m=1;m<c.length;++m)(!c[m].isValid()||c[m][a](u))&&(u=c[m]);return u}function I4(){var a=[].slice.call(arguments,0);return X0("isBefore",a)}function L4(){var a=[].slice.call(arguments,0);return X0("isAfter",a)}var P4=function(){return Date.now?Date.now():+new Date},Ds=["year","quarter","month","week","day","hour","minute","second","millisecond"];function T4(a){var c,u=!1,m,h=Ds.length;for(c in a)if(r(a,c)&&!(wt.call(Ds,c)!==-1&&(a[c]==null||!isNaN(a[c]))))return!1;for(m=0;m<h;++m)if(a[Ds[m]]){if(u)return!1;parseFloat(a[Ds[m]])!==Fe(a[Ds[m]])&&(u=!0)}return!0}function V4(){return this._isValid}function F4(){return En(NaN)}function Wa(a){var c=su(a),u=c.year||0,m=c.quarter||0,h=c.month||0,y=c.week||c.isoWeek||0,P=c.day||0,J=c.hour||0,Ce=c.minute||0,je=c.second||0,$t=c.millisecond||0;this._isValid=T4(c),this._milliseconds=+$t+je*1e3+Ce*6e4+J*1e3*60*60,this._days=+P+y*7,this._months=+h+m*3+u*12,this._data={},this._locale=ci(),this._bubble()}function Ga(a){return a instanceof Wa}function Cu(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function N4(a,c,u){var m=Math.min(a.length,c.length),h=Math.abs(a.length-c.length),y=0,P;for(P=0;P<m;P++)(u&&a[P]!==c[P]||!u&&Fe(a[P])!==Fe(c[P]))&&y++;return y+h}function Q0(a,c){ae(a,0,0,function(){var u=this.utcOffset(),m="+";return u<0&&(u=-u,m="-"),m+Hn(~~(u/60),2)+c+Hn(~~u%60,2)})}Q0("Z",":"),Q0("ZZ",""),ee("Z",Ra),ee("ZZ",Ra),tt(["Z","ZZ"],function(a,c,u){u._useUTC=!0,u._tzm=wu(Ra,a)});var j4=/([\+\-]|\d\d)/gi;function wu(a,c){var u=(c||"").match(a),m,h,y;return u===null?null:(m=u[u.length-1]||[],h=(m+"").match(j4)||["-",0,0],y=+(h[1]*60)+Fe(h[2]),y===0?0:h[0]==="+"?y:-y)}function yu(a,c){var u,m;return c._isUTC?(u=c.clone(),m=($(a)||p(a)?a.valueOf():ut(a).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+m),n.updateOffset(u,!1),u):ut(a).local()}function xu(a){return-Math.round(a._d.getTimezoneOffset())}n.updateOffset=function(){};function H4(a,c,u){var m=this._offset||0,h;if(!this.isValid())return a!=null?this:NaN;if(a!=null){if(typeof a=="string"){if(a=wu(Ra,a),a===null)return this}else Math.abs(a)<16&&!u&&(a=a*60);return!this._isUTC&&c&&(h=xu(this)),this._offset=a,this._isUTC=!0,h!=null&&this.add(h,"m"),m!==a&&(!c||this._changeInProgress?tg(this,En(a-m,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?m:xu(this)}function R4(a,c){return a!=null?(typeof a!="string"&&(a=-a),this.utcOffset(a,c),this):-this.utcOffset()}function B4(a){return this.utcOffset(0,a)}function z4(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(xu(this),"m")),this}function Z4(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var a=wu(l5,this._i);a!=null?this.utcOffset(a):this.utcOffset(0,!0)}return this}function $4(a){return this.isValid()?(a=a?ut(a).utcOffset():0,(this.utcOffset()-a)%60===0):!1}function U4(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function W4(){if(!l(this._isDSTShifted))return this._isDSTShifted;var a={},c;return ze(a,this),a=Y0(a),a._a?(c=a._isUTC?D(a._a):ut(a._a),this._isDSTShifted=this.isValid()&&N4(a._a,c.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function G4(){return this.isValid()?!this._isUTC:!1}function Y4(){return this.isValid()?this._isUTC:!1}function K0(){return this.isValid()?this._isUTC&&this._offset===0:!1}var q4=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,X4=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function En(a,c){var u=a,m=null,h,y,P;return Ga(a)?u={ms:a._milliseconds,d:a._days,M:a._months}:d(a)||!isNaN(+a)?(u={},c?u[c]=+a:u.milliseconds=+a):(m=q4.exec(a))?(h=m[1]==="-"?-1:1,u={y:0,d:Fe(m[Rn])*h,h:Fe(m[At])*h,m:Fe(m[An])*h,s:Fe(m[ai])*h,ms:Fe(Cu(m[uo]*1e3))*h}):(m=X4.exec(a))?(h=m[1]==="-"?-1:1,u={y:po(m[2],h),M:po(m[3],h),w:po(m[4],h),d:po(m[5],h),h:po(m[6],h),m:po(m[7],h),s:po(m[8],h)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(P=Q4(ut(u.from),ut(u.to)),u={},u.ms=P.milliseconds,u.M=P.months),y=new Wa(u),Ga(a)&&r(a,"_locale")&&(y._locale=a._locale),Ga(a)&&r(a,"_isValid")&&(y._isValid=a._isValid),y}En.fn=Wa.prototype,En.invalid=F4;function po(a,c){var u=a&&parseFloat(a.replace(",","."));return(isNaN(u)?0:u)*c}function J0(a,c){var u={};return u.months=c.month()-a.month()+(c.year()-a.year())*12,a.clone().add(u.months,"M").isAfter(c)&&--u.months,u.milliseconds=+c-+a.clone().add(u.months,"M"),u}function Q4(a,c){var u;return a.isValid()&&c.isValid()?(c=yu(c,a),a.isBefore(c)?u=J0(a,c):(u=J0(c,a),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function eg(a,c){return function(u,m){var h,y;return m!==null&&!isNaN(+m)&&(Pa(c,"moment()."+c+"(period, number) is deprecated. Please use moment()."+c+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),y=u,u=m,m=y),h=En(u,m),tg(this,h,a),this}}function tg(a,c,u,m){var h=c._milliseconds,y=Cu(c._days),P=Cu(c._months);a.isValid()&&(m=m??!0,P&&N0(a,Cs(a,"Month")+P*u),y&&T0(a,"Date",Cs(a,"Date")+y*u),h&&a._d.setTime(a._d.valueOf()+h*u),m&&n.updateOffset(a,y||P))}var K4=eg(1,"add"),J4=eg(-1,"subtract");function ng(a){return typeof a=="string"||a instanceof String}function e8(a){return $(a)||p(a)||ng(a)||d(a)||n8(a)||t8(a)||a===null||a===void 0}function t8(a){var c=o(a)&&!s(a),u=!1,m=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],h,y,P=m.length;for(h=0;h<P;h+=1)y=m[h],u=u||r(a,y);return c&&u}function n8(a){var c=i(a),u=!1;return c&&(u=a.filter(function(m){return!d(m)&&ng(a)}).length===0),c&&u}function i8(a){var c=o(a)&&!s(a),u=!1,m=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],h,y;for(h=0;h<m.length;h+=1)y=m[h],u=u||r(a,y);return c&&u}function o8(a,c){var u=a.diff(c,"days",!0);return u<-6?"sameElse":u<-1?"lastWeek":u<0?"lastDay":u<1?"sameDay":u<2?"nextDay":u<7?"nextWeek":"sameElse"}function r8(a,c){arguments.length===1&&(arguments[0]?e8(arguments[0])?(a=arguments[0],c=void 0):i8(arguments[0])&&(c=arguments[0],a=void 0):(a=void 0,c=void 0));var u=a||ut(),m=yu(u,this).startOf("day"),h=n.calendarFormat(this,m)||"sameElse",y=c&&(fn(c[h])?c[h].call(this,u):c[h]);return this.format(y||this.localeData().calendar(h,this,ut(u)))}function s8(){return new Te(this)}function a8(a,c){var u=$(a)?a:ut(a);return this.isValid()&&u.isValid()?(c=bn(c)||"millisecond",c==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(c).valueOf()):!1}function l8(a,c){var u=$(a)?a:ut(a);return this.isValid()&&u.isValid()?(c=bn(c)||"millisecond",c==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(c).valueOf()<u.valueOf()):!1}function c8(a,c,u,m){var h=$(a)?a:ut(a),y=$(c)?c:ut(c);return this.isValid()&&h.isValid()&&y.isValid()?(m=m||"()",(m[0]==="("?this.isAfter(h,u):!this.isBefore(h,u))&&(m[1]===")"?this.isBefore(y,u):!this.isAfter(y,u))):!1}function d8(a,c){var u=$(a)?a:ut(a),m;return this.isValid()&&u.isValid()?(c=bn(c)||"millisecond",c==="millisecond"?this.valueOf()===u.valueOf():(m=u.valueOf(),this.clone().startOf(c).valueOf()<=m&&m<=this.clone().endOf(c).valueOf())):!1}function u8(a,c){return this.isSame(a,c)||this.isAfter(a,c)}function p8(a,c){return this.isSame(a,c)||this.isBefore(a,c)}function m8(a,c,u){var m,h,y;if(!this.isValid())return NaN;if(m=yu(a,this),!m.isValid())return NaN;switch(h=(m.utcOffset()-this.utcOffset())*6e4,c=bn(c),c){case"year":y=Ya(this,m)/12;break;case"month":y=Ya(this,m);break;case"quarter":y=Ya(this,m)/3;break;case"second":y=(this-m)/1e3;break;case"minute":y=(this-m)/6e4;break;case"hour":y=(this-m)/36e5;break;case"day":y=(this-m-h)/864e5;break;case"week":y=(this-m-h)/6048e5;break;default:y=this-m}return u?y:vn(y)}function Ya(a,c){if(a.date()<c.date())return-Ya(c,a);var u=(c.year()-a.year())*12+(c.month()-a.month()),m=a.clone().add(u,"months"),h,y;return c-m<0?(h=a.clone().add(u-1,"months"),y=(c-m)/(m-h)):(h=a.clone().add(u+1,"months"),y=(c-m)/(h-m)),-(u+y)||0}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function g8(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function h8(a){if(!this.isValid())return null;var c=a!==!0,u=c?this.clone().utc():this;return u.year()<0||u.year()>9999?Va(u,c?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fn(Date.prototype.toISOString)?c?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Va(u,"Z")):Va(u,c?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function f8(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",c="",u,m,h,y;return this.isLocal()||(a=this.utcOffset()===0?"moment.utc":"moment.parseZone",c="Z"),u="["+a+'("]',m=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",h="-MM-DD[T]HH:mm:ss.SSS",y=c+'[")]',this.format(u+m+h+y)}function b8(a){a||(a=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var c=Va(this,a);return this.localeData().postformat(c)}function v8(a,c){return this.isValid()&&($(a)&&a.isValid()||ut(a).isValid())?En({to:this,from:a}).locale(this.locale()).humanize(!c):this.localeData().invalidDate()}function _8(a){return this.from(ut(),a)}function C8(a,c){return this.isValid()&&($(a)&&a.isValid()||ut(a).isValid())?En({from:this,to:a}).locale(this.locale()).humanize(!c):this.localeData().invalidDate()}function w8(a){return this.to(ut(),a)}function ig(a){var c;return a===void 0?this._locale._abbr:(c=ci(a),c!=null&&(this._locale=c),this)}var og=De("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return a===void 0?this.localeData():this.locale(a)});function rg(){return this._locale}var qa=1e3,tr=60*qa,Xa=60*tr,sg=(365*400+97)*24*Xa;function nr(a,c){return(a%c+c)%c}function ag(a,c,u){return a<100&&a>=0?new Date(a+400,c,u)-sg:new Date(a,c,u).valueOf()}function lg(a,c,u){return a<100&&a>=0?Date.UTC(a+400,c,u)-sg:Date.UTC(a,c,u)}function y8(a){var c,u;if(a=bn(a),a===void 0||a==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?lg:ag,a){case"year":c=u(this.year(),0,1);break;case"quarter":c=u(this.year(),this.month()-this.month()%3,1);break;case"month":c=u(this.year(),this.month(),1);break;case"week":c=u(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":c=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":c=u(this.year(),this.month(),this.date());break;case"hour":c=this._d.valueOf(),c-=nr(c+(this._isUTC?0:this.utcOffset()*tr),Xa);break;case"minute":c=this._d.valueOf(),c-=nr(c,tr);break;case"second":c=this._d.valueOf(),c-=nr(c,qa);break}return this._d.setTime(c),n.updateOffset(this,!0),this}function x8(a){var c,u;if(a=bn(a),a===void 0||a==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?lg:ag,a){case"year":c=u(this.year()+1,0,1)-1;break;case"quarter":c=u(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":c=u(this.year(),this.month()+1,1)-1;break;case"week":c=u(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":c=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":c=u(this.year(),this.month(),this.date()+1)-1;break;case"hour":c=this._d.valueOf(),c+=Xa-nr(c+(this._isUTC?0:this.utcOffset()*tr),Xa)-1;break;case"minute":c=this._d.valueOf(),c+=tr-nr(c,tr)-1;break;case"second":c=this._d.valueOf(),c+=qa-nr(c,qa)-1;break}return this._d.setTime(c),n.updateOffset(this,!0),this}function M8(){return this._d.valueOf()-(this._offset||0)*6e4}function D8(){return Math.floor(this.valueOf()/1e3)}function k8(){return new Date(this.valueOf())}function O8(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function S8(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function A8(){return this.isValid()?this.toISOString():null}function E8(){return R(this)}function I8(){return w({},A(this))}function L8(){return A(this).overflow}function P8(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ae("N",0,0,"eraAbbr"),ae("NN",0,0,"eraAbbr"),ae("NNN",0,0,"eraAbbr"),ae("NNNN",0,0,"eraName"),ae("NNNNN",0,0,"eraNarrow"),ae("y",["y",1],"yo","eraYear"),ae("y",["yy",2],0,"eraYear"),ae("y",["yyy",3],0,"eraYear"),ae("y",["yyyy",4],0,"eraYear"),ee("N",Mu),ee("NN",Mu),ee("NNN",Mu),ee("NNNN",$8),ee("NNNNN",U8),tt(["N","NN","NNN","NNNN","NNNNN"],function(a,c,u,m){var h=u._locale.erasParse(a,m,u._strict);h?A(u).era=h:A(u).invalidEra=a}),ee("y",Qo),ee("yy",Qo),ee("yyy",Qo),ee("yyyy",Qo),ee("yo",W8),tt(["y","yy","yyy","yyyy"],Ht),tt(["yo"],function(a,c,u,m){var h;u._locale._eraYearOrdinalRegex&&(h=a.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?c[Ht]=u._locale.eraYearOrdinalParse(a,h):c[Ht]=parseInt(a,10)});function T8(a,c){var u,m,h,y=this._eras||ci("en")._eras;for(u=0,m=y.length;u<m;++u){switch(typeof y[u].since){case"string":h=n(y[u].since).startOf("day"),y[u].since=h.valueOf();break}switch(typeof y[u].until){case"undefined":y[u].until=1/0;break;case"string":h=n(y[u].until).startOf("day").valueOf(),y[u].until=h.valueOf();break}}return y}function V8(a,c,u){var m,h,y=this.eras(),P,J,Ce;for(a=a.toUpperCase(),m=0,h=y.length;m<h;++m)if(P=y[m].name.toUpperCase(),J=y[m].abbr.toUpperCase(),Ce=y[m].narrow.toUpperCase(),u)switch(c){case"N":case"NN":case"NNN":if(J===a)return y[m];break;case"NNNN":if(P===a)return y[m];break;case"NNNNN":if(Ce===a)return y[m];break}else if([P,J,Ce].indexOf(a)>=0)return y[m]}function F8(a,c){var u=a.since<=a.until?1:-1;return c===void 0?n(a.since).year():n(a.since).year()+(c-a.offset)*u}function N8(){var a,c,u,m=this.localeData().eras();for(a=0,c=m.length;a<c;++a)if(u=this.clone().startOf("day").valueOf(),m[a].since<=u&&u<=m[a].until||m[a].until<=u&&u<=m[a].since)return m[a].name;return""}function j8(){var a,c,u,m=this.localeData().eras();for(a=0,c=m.length;a<c;++a)if(u=this.clone().startOf("day").valueOf(),m[a].since<=u&&u<=m[a].until||m[a].until<=u&&u<=m[a].since)return m[a].narrow;return""}function H8(){var a,c,u,m=this.localeData().eras();for(a=0,c=m.length;a<c;++a)if(u=this.clone().startOf("day").valueOf(),m[a].since<=u&&u<=m[a].until||m[a].until<=u&&u<=m[a].since)return m[a].abbr;return""}function R8(){var a,c,u,m,h=this.localeData().eras();for(a=0,c=h.length;a<c;++a)if(u=h[a].since<=h[a].until?1:-1,m=this.clone().startOf("day").valueOf(),h[a].since<=m&&m<=h[a].until||h[a].until<=m&&m<=h[a].since)return(this.year()-n(h[a].since).year())*u+h[a].offset;return this.year()}function B8(a){return r(this,"_erasNameRegex")||Du.call(this),a?this._erasNameRegex:this._erasRegex}function z8(a){return r(this,"_erasAbbrRegex")||Du.call(this),a?this._erasAbbrRegex:this._erasRegex}function Z8(a){return r(this,"_erasNarrowRegex")||Du.call(this),a?this._erasNarrowRegex:this._erasRegex}function Mu(a,c){return c.erasAbbrRegex(a)}function $8(a,c){return c.erasNameRegex(a)}function U8(a,c){return c.erasNarrowRegex(a)}function W8(a,c){return c._eraYearOrdinalRegex||Qo}function Du(){var a=[],c=[],u=[],m=[],h,y,P,J,Ce,je=this.eras();for(h=0,y=je.length;h<y;++h)P=ri(je[h].name),J=ri(je[h].abbr),Ce=ri(je[h].narrow),c.push(P),a.push(J),u.push(Ce),m.push(P),m.push(J),m.push(Ce);this._erasRegex=new RegExp("^("+m.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+c.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}ae(0,["gg",2],0,function(){return this.weekYear()%100}),ae(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Qa(a,c){ae(0,[a,a.length],0,c)}Qa("gggg","weekYear"),Qa("ggggg","weekYear"),Qa("GGGG","isoWeekYear"),Qa("GGGGG","isoWeekYear"),ee("G",Ha),ee("g",Ha),ee("GG",dt,sn),ee("gg",dt,sn),ee("GGGG",lu,au),ee("gggg",lu,au),ee("GGGGG",ja,Fa),ee("ggggg",ja,Fa),vs(["gggg","ggggg","GGGG","GGGGG"],function(a,c,u,m){c[m.substr(0,2)]=Fe(a)}),vs(["gg","GG"],function(a,c,u,m){c[m]=n.parseTwoDigitYear(a)});function G8(a){return cg.call(this,a,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Y8(a){return cg.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function q8(){return li(this.year(),1,4)}function X8(){return li(this.isoWeekYear(),1,4)}function Q8(){var a=this.localeData()._week;return li(this.year(),a.dow,a.doy)}function K8(){var a=this.localeData()._week;return li(this.weekYear(),a.dow,a.doy)}function cg(a,c,u,m,h){var y;return a==null?ys(this,m,h).year:(y=li(a,m,h),c>y&&(c=y),J8.call(this,a,c,u,m,h))}function J8(a,c,u,m,h){var y=R0(a,c,u,m,h),P=ws(y.year,0,y.dayOfYear);return this.year(P.getUTCFullYear()),this.month(P.getUTCMonth()),this.date(P.getUTCDate()),this}ae("Q",0,"Qo","quarter"),ee("Q",A0),tt("Q",function(a,c){c[si]=(Fe(a)-1)*3});function e6(a){return a==null?Math.ceil((this.month()+1)/3):this.month((a-1)*3+this.month()%3)}ae("D",["DD",2],"Do","date"),ee("D",dt,Ko),ee("DD",dt,sn),ee("Do",function(a,c){return a?c._dayOfMonthOrdinalParse||c._ordinalParse:c._dayOfMonthOrdinalParseLenient}),tt(["D","DD"],Rn),tt("Do",function(a,c){c[Rn]=Fe(a.match(dt)[0])});var dg=Jo("Date",!0);ae("DDD",["DDDD",3],"DDDo","dayOfYear"),ee("DDD",Na),ee("DDDD",E0),tt(["DDD","DDDD"],function(a,c,u){u._dayOfYear=Fe(a)});function t6(a){var c=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return a==null?c:this.add(a-c,"d")}ae("m",["mm",2],0,"minute"),ee("m",dt,cu),ee("mm",dt,sn),tt(["m","mm"],An);var n6=Jo("Minutes",!1);ae("s",["ss",2],0,"second"),ee("s",dt,cu),ee("ss",dt,sn),tt(["s","ss"],ai);var i6=Jo("Seconds",!1);ae("S",0,0,function(){return~~(this.millisecond()/100)}),ae(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ae(0,["SSS",3],0,"millisecond"),ae(0,["SSSS",4],0,function(){return this.millisecond()*10}),ae(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ae(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ae(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ae(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ae(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ee("S",Na,A0),ee("SS",Na,sn),ee("SSS",Na,E0);var Ai,ug;for(Ai="SSSS";Ai.length<=9;Ai+="S")ee(Ai,Qo);function o6(a,c){c[uo]=Fe(("0."+a)*1e3)}for(Ai="S";Ai.length<=9;Ai+="S")tt(Ai,o6);ug=Jo("Milliseconds",!1),ae("z",0,0,"zoneAbbr"),ae("zz",0,0,"zoneName");function r6(){return this._isUTC?"UTC":""}function s6(){return this._isUTC?"Coordinated Universal Time":""}var B=Te.prototype;B.add=K4,B.calendar=r8,B.clone=s8,B.diff=m8,B.endOf=x8,B.format=b8,B.from=v8,B.fromNow=_8,B.to=C8,B.toNow=w8,B.get=f5,B.invalidAt=L8,B.isAfter=a8,B.isBefore=l8,B.isBetween=c8,B.isSame=d8,B.isSameOrAfter=u8,B.isSameOrBefore=p8,B.isValid=E8,B.lang=og,B.locale=ig,B.localeData=rg,B.max=E4,B.min=A4,B.parsingFlags=I8,B.set=b5,B.startOf=y8,B.subtract=J4,B.toArray=O8,B.toObject=S8,B.toDate=k8,B.toISOString=h8,B.inspect=f8,typeof Symbol<"u"&&Symbol.for!=null&&(B[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),B.toJSON=A8,B.toString=g8,B.unix=D8,B.valueOf=M8,B.creationData=P8,B.eraName=N8,B.eraNarrow=j8,B.eraAbbr=H8,B.eraYear=R8,B.year=P0,B.isLeapYear=h5,B.weekYear=G8,B.isoWeekYear=Y8,B.quarter=B.quarters=e6,B.month=j0,B.daysInMonth=k5,B.week=B.weeks=T5,B.isoWeek=B.isoWeeks=V5,B.weeksInYear=Q8,B.weeksInWeekYear=K8,B.isoWeeksInYear=q8,B.isoWeeksInISOWeekYear=X8,B.date=dg,B.day=B.days=Y5,B.weekday=q5,B.isoWeekday=X5,B.dayOfYear=t6,B.hour=B.hours=i4,B.minute=B.minutes=n6,B.second=B.seconds=i6,B.millisecond=B.milliseconds=ug,B.utcOffset=H4,B.utc=B4,B.local=z4,B.parseZone=Z4,B.hasAlignedHourOffset=$4,B.isDST=U4,B.isLocal=G4,B.isUtcOffset=Y4,B.isUtc=K0,B.isUTC=K0,B.zoneAbbr=r6,B.zoneName=s6,B.dates=De("dates accessor is deprecated. Use date instead.",dg),B.months=De("months accessor is deprecated. Use month instead",j0),B.years=De("years accessor is deprecated. Use year instead",P0),B.zone=De("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",R4),B.isDSTShifted=De("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",W4);function a6(a){return ut(a*1e3)}function l6(){return ut.apply(null,arguments).parseZone()}function pg(a){return a}var qe=fs.prototype;qe.calendar=G_,qe.longDateFormat=Q_,qe.invalidDate=J_,qe.ordinal=n5,qe.preparse=pg,qe.postformat=pg,qe.relativeTime=o5,qe.pastFuture=r5,qe.set=nu,qe.eras=T8,qe.erasParse=V8,qe.erasConvertYear=F8,qe.erasAbbrRegex=z8,qe.erasNameRegex=B8,qe.erasNarrowRegex=Z8,qe.months=y5,qe.monthsShort=x5,qe.monthsParse=D5,qe.monthsRegex=S5,qe.monthsShortRegex=O5,qe.week=E5,qe.firstDayOfYear=P5,qe.firstDayOfWeek=L5,qe.weekdays=Z5,qe.weekdaysMin=U5,qe.weekdaysShort=$5,qe.weekdaysParse=G5,qe.weekdaysRegex=Q5,qe.weekdaysShortRegex=K5,qe.weekdaysMinRegex=J5,qe.isPM=t4,qe.meridiem=o4;function Ka(a,c,u,m){var h=ci(),y=D().set(m,c);return h[u](y,a)}function mg(a,c,u){if(d(a)&&(c=a,a=void 0),a=a||"",c!=null)return Ka(a,c,u,"month");var m,h=[];for(m=0;m<12;m++)h[m]=Ka(a,m,u,"month");return h}function ku(a,c,u,m){typeof a=="boolean"?(d(c)&&(u=c,c=void 0),c=c||""):(c=a,u=c,a=!1,d(c)&&(u=c,c=void 0),c=c||"");var h=ci(),y=a?h._week.dow:0,P,J=[];if(u!=null)return Ka(c,(u+y)%7,m,"day");for(P=0;P<7;P++)J[P]=Ka(c,(P+y)%7,m,"day");return J}function c6(a,c){return mg(a,c,"months")}function d6(a,c){return mg(a,c,"monthsShort")}function u6(a,c,u){return ku(a,c,u,"weekdays")}function p6(a,c,u){return ku(a,c,u,"weekdaysShort")}function m6(a,c,u){return ku(a,c,u,"weekdaysMin")}Si("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(a){var c=a%10,u=Fe(a%100/10)===1?"th":c===1?"st":c===2?"nd":c===3?"rd":"th";return a+u}}),n.lang=De("moment.lang is deprecated. Use moment.locale instead.",Si),n.langData=De("moment.langData is deprecated. Use moment.localeData instead.",ci);var di=Math.abs;function g6(){var a=this._data;return this._milliseconds=di(this._milliseconds),this._days=di(this._days),this._months=di(this._months),a.milliseconds=di(a.milliseconds),a.seconds=di(a.seconds),a.minutes=di(a.minutes),a.hours=di(a.hours),a.months=di(a.months),a.years=di(a.years),this}function gg(a,c,u,m){var h=En(c,u);return a._milliseconds+=m*h._milliseconds,a._days+=m*h._days,a._months+=m*h._months,a._bubble()}function h6(a,c){return gg(this,a,c,1)}function f6(a,c){return gg(this,a,c,-1)}function hg(a){return a<0?Math.floor(a):Math.ceil(a)}function b6(){var a=this._milliseconds,c=this._days,u=this._months,m=this._data,h,y,P,J,Ce;return a>=0&&c>=0&&u>=0||a<=0&&c<=0&&u<=0||(a+=hg(Ou(u)+c)*864e5,c=0,u=0),m.milliseconds=a%1e3,h=vn(a/1e3),m.seconds=h%60,y=vn(h/60),m.minutes=y%60,P=vn(y/60),m.hours=P%24,c+=vn(P/24),Ce=vn(fg(c)),u+=Ce,c-=hg(Ou(Ce)),J=vn(u/12),u%=12,m.days=c,m.months=u,m.years=J,this}function fg(a){return a*4800/146097}function Ou(a){return a*146097/4800}function v6(a){if(!this.isValid())return NaN;var c,u,m=this._milliseconds;if(a=bn(a),a==="month"||a==="quarter"||a==="year")switch(c=this._days+m/864e5,u=this._months+fg(c),a){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(c=this._days+Math.round(Ou(this._months)),a){case"week":return c/7+m/6048e5;case"day":return c+m/864e5;case"hour":return c*24+m/36e5;case"minute":return c*1440+m/6e4;case"second":return c*86400+m/1e3;case"millisecond":return Math.floor(c*864e5)+m;default:throw new Error("Unknown unit "+a)}}function ui(a){return function(){return this.as(a)}}var bg=ui("ms"),_6=ui("s"),C6=ui("m"),w6=ui("h"),y6=ui("d"),x6=ui("w"),M6=ui("M"),D6=ui("Q"),k6=ui("y"),O6=bg;function S6(){return En(this)}function A6(a){return a=bn(a),this.isValid()?this[a+"s"]():NaN}function mo(a){return function(){return this.isValid()?this._data[a]:NaN}}var E6=mo("milliseconds"),I6=mo("seconds"),L6=mo("minutes"),P6=mo("hours"),T6=mo("days"),V6=mo("months"),F6=mo("years");function N6(){return vn(this.days()/7)}var pi=Math.round,ir={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function j6(a,c,u,m,h){return h.relativeTime(c||1,!!u,a,m)}function H6(a,c,u,m){var h=En(a).abs(),y=pi(h.as("s")),P=pi(h.as("m")),J=pi(h.as("h")),Ce=pi(h.as("d")),je=pi(h.as("M")),$t=pi(h.as("w")),mi=pi(h.as("y")),Ei=y<=u.ss&&["s",y]||y<u.s&&["ss",y]||P<=1&&["m"]||P<u.m&&["mm",P]||J<=1&&["h"]||J<u.h&&["hh",J]||Ce<=1&&["d"]||Ce<u.d&&["dd",Ce];return u.w!=null&&(Ei=Ei||$t<=1&&["w"]||$t<u.w&&["ww",$t]),Ei=Ei||je<=1&&["M"]||je<u.M&&["MM",je]||mi<=1&&["y"]||["yy",mi],Ei[2]=c,Ei[3]=+a>0,Ei[4]=m,j6.apply(null,Ei)}function R6(a){return a===void 0?pi:typeof a=="function"?(pi=a,!0):!1}function B6(a,c){return ir[a]===void 0?!1:c===void 0?ir[a]:(ir[a]=c,a==="s"&&(ir.ss=c-1),!0)}function z6(a,c){if(!this.isValid())return this.localeData().invalidDate();var u=!1,m=ir,h,y;return typeof a=="object"&&(c=a,a=!1),typeof a=="boolean"&&(u=a),typeof c=="object"&&(m=Object.assign({},ir,c),c.s!=null&&c.ss==null&&(m.ss=c.s-1)),h=this.localeData(),y=H6(this,!u,m,h),u&&(y=h.pastFuture(+this,y)),h.postformat(y)}var Su=Math.abs;function or(a){return(a>0)-(a<0)||+a}function Ja(){if(!this.isValid())return this.localeData().invalidDate();var a=Su(this._milliseconds)/1e3,c=Su(this._days),u=Su(this._months),m,h,y,P,J=this.asSeconds(),Ce,je,$t,mi;return J?(m=vn(a/60),h=vn(m/60),a%=60,m%=60,y=vn(u/12),u%=12,P=a?a.toFixed(3).replace(/\.?0+$/,""):"",Ce=J<0?"-":"",je=or(this._months)!==or(J)?"-":"",$t=or(this._days)!==or(J)?"-":"",mi=or(this._milliseconds)!==or(J)?"-":"",Ce+"P"+(y?je+y+"Y":"")+(u?je+u+"M":"")+(c?$t+c+"D":"")+(h||m||a?"T":"")+(h?mi+h+"H":"")+(m?mi+m+"M":"")+(a?mi+P+"S":"")):"P0D"}var Ze=Wa.prototype;Ze.isValid=V4,Ze.abs=g6,Ze.add=h6,Ze.subtract=f6,Ze.as=v6,Ze.asMilliseconds=bg,Ze.asSeconds=_6,Ze.asMinutes=C6,Ze.asHours=w6,Ze.asDays=y6,Ze.asWeeks=x6,Ze.asMonths=M6,Ze.asQuarters=D6,Ze.asYears=k6,Ze.valueOf=O6,Ze._bubble=b6,Ze.clone=S6,Ze.get=A6,Ze.milliseconds=E6,Ze.seconds=I6,Ze.minutes=L6,Ze.hours=P6,Ze.days=T6,Ze.weeks=N6,Ze.months=V6,Ze.years=F6,Ze.humanize=z6,Ze.toISOString=Ja,Ze.toString=Ja,Ze.toJSON=Ja,Ze.locale=ig,Ze.localeData=rg,Ze.toIsoString=De("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ja),Ze.lang=og,ae("X",0,0,"unix"),ae("x",0,0,"valueOf"),ee("x",Ha),ee("X",c5),tt("X",function(a,c,u){u._d=new Date(parseFloat(a)*1e3)}),tt("x",function(a,c,u){u._d=new Date(Fe(a))});return n.version="2.30.1",e(ut),n.fn=B,n.min=I4,n.max=L4,n.now=P4,n.utc=D,n.unix=a6,n.months=c6,n.isDate=p,n.locale=Si,n.invalid=H,n.duration=En,n.isMoment=$,n.weekdays=u6,n.parseZone=l6,n.localeData=ci,n.isDuration=Ga,n.monthsShort=d6,n.weekdaysMin=m6,n.defineLocale=hu,n.updateLocale=l4,n.locales=c4,n.weekdaysShort=p6,n.normalizeUnits=bn,n.relativeTimeRounding=R6,n.relativeTimeThreshold=B6,n.calendarFormat=o8,n.prototype=B,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});function yg(t,n){return Object.is(t,n)}var Et=null,el=!1,tl=1,gi=Symbol("SIGNAL");function Ve(t){let n=Et;return Et=t,n}function xg(){return Et}var Os={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Pu(t){if(el)throw new Error("");if(Et===null)return;Et.consumerOnSignalRead(t);let n=Et.nextProducerIndex++;if(rl(Et),n<Et.producerNode.length&&Et.producerNode[n]!==t&&ks(Et)){let e=Et.producerNode[n];ol(e,Et.producerIndexOfThis[n])}Et.producerNode[n]!==t&&(Et.producerNode[n]=t,Et.producerIndexOfThis[n]=ks(Et)?Og(t,Et,n):0),Et.producerLastReadVersion[n]=t.version}function K6(){tl++}function Mg(t){if(!(ks(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===tl)){if(!t.producerMustRecompute(t)&&!Vu(t)){t.dirty=!1,t.lastCleanEpoch=tl;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=tl}}function Dg(t){if(t.liveConsumerNode===void 0)return;let n=el;el=!0;try{for(let e of t.liveConsumerNode)e.dirty||J6(e)}finally{el=n}}function kg(){return Et?.consumerAllowSignalWrites!==!1}function J6(t){t.dirty=!0,Dg(t),t.consumerMarkedDirty?.(t)}function il(t){return t&&(t.nextProducerIndex=0),Ve(t)}function Tu(t,n){if(Ve(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(ks(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)ol(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Vu(t){rl(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(Mg(e),i!==e.version))return!0}return!1}function Fu(t){if(rl(t),ks(t))for(let n=0;n<t.producerNode.length;n++)ol(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Og(t,n,e){if(Sg(t),t.liveConsumerNode.length===0&&Ag(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=Og(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function ol(t,n){if(Sg(t),t.liveConsumerNode.length===1&&Ag(t))for(let i=0;i<t.producerNode.length;i++)ol(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],o=t.liveConsumerNode[n];rl(o),o.producerIndexOfThis[i]=n}}function ks(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function rl(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Sg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ag(t){return t.producerNode!==void 0}function Eg(t){let n=Object.create(eC);n.computation=t;let e=()=>{if(Mg(n),Pu(n),n.value===nl)throw n.error;return n.value};return e[gi]=n,e}var Iu=Symbol("UNSET"),Lu=Symbol("COMPUTING"),nl=Symbol("ERRORED"),eC=ot(ue({},Os),{value:Iu,dirty:!0,error:null,equal:yg,producerMustRecompute(t){return t.value===Iu||t.value===Lu},producerRecomputeValue(t){if(t.value===Lu)throw new Error("Detected cycle in computations.");let n=t.value;t.value=Lu;let e=il(t),i;try{i=t.computation()}catch(o){i=nl,t.error=o}finally{Tu(t,e)}if(n!==Iu&&n!==nl&&i!==nl&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});function tC(){throw new Error}var Ig=tC;function Lg(){Ig()}function Pg(t){Ig=t}var nC=null;function Tg(t){let n=Object.create(Fg);n.value=t;let e=()=>(Pu(n),n.value);return e[gi]=n,e}function Nu(t,n){kg()||Lg(),t.equal(t.value,n)||(t.value=n,iC(t))}function Vg(t,n){kg()||Lg(),Nu(t,n(t.value))}var Fg=ot(ue({},Os),{equal:yg,value:void 0});function iC(t){t.version++,K6(),Dg(t),nC?.()}function he(t){return typeof t=="function"}function sl(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var al=sl(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
5
5
|
${e.map((i,o)=>`${o+1}) ${i.toString()}`).join(`
|
|
6
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function go(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var ft=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(he(i))try{i()}catch(r){n=r instanceof al?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{Ng(r)}catch(s){n=n??[],s instanceof al?n=[...n,...s.errors]:n.push(s)}}if(n)throw new al(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Ng(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&go(e,n)}remove(n){let{_finalizers:e}=this;e&&go(e,n),n instanceof t&&n._removeParent(this)}};ft.EMPTY=(()=>{let t=new ft;return t.closed=!0,t})();var ju=ft.EMPTY;function ll(t){return t instanceof ft||t&&"closed"in t&&he(t.remove)&&he(t.add)&&he(t.unsubscribe)}function Ng(t){he(t)?t():t.unsubscribe()}var In={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var rr={setTimeout(t,n,...e){let{delegate:i}=rr;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=rr;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function cl(t){rr.setTimeout(()=>{let{onUnhandledError:n}=In;if(n)n(t);else throw t})}function Ss(){}var jg=Hu("C",void 0,void 0);function Hg(t){return Hu("E",void 0,t)}function Rg(t){return Hu("N",t,void 0)}function Hu(t,n,e){return{kind:t,value:n,error:e}}var ho=null;function sr(t){if(In.useDeprecatedSynchronousErrorHandling){let n=!ho;if(n&&(ho={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=ho;if(ho=null,e)throw i}}else t()}function Bg(t){In.useDeprecatedSynchronousErrorHandling&&ho&&(ho.errorThrown=!0,ho.error=t)}var fo=class extends ft{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ll(n)&&n.add(this)):this.destination=s9}static create(n,e,i){return new hi(n,e,i)}next(n){this.isStopped?Bu(Rg(n),this):this._next(n)}error(n){this.isStopped?Bu(Hg(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Bu(jg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},o9=Function.prototype.bind;function Ru(t,n){return o9.call(t,n)}var zu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){dl(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){dl(i)}else dl(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){dl(e)}}},hi=class extends fo{constructor(n,e,i){super();let o;if(he(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&In.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ru(n.next,r),error:n.error&&Ru(n.error,r),complete:n.complete&&Ru(n.complete,r)}):o=n}this.destination=new zu(o)}};function dl(t){In.useDeprecatedSynchronousErrorHandling?Bg(t):cl(t)}function r9(t){throw t}function Bu(t,n){let{onStoppedNotification:e}=In;e&&rr.setTimeout(()=>e(t,n))}var s9={closed:!0,next:Ss,error:r9,complete:Ss};var ar=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ln(t){return t}function zg(t){return t.length===0?Ln:t.length===1?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}var Ae=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){let r=l9(e)?e:new hi(e,i,o);return sr(()=>{let{operator:s,source:l}=this;r.add(s?s.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=Zg(i),new i((o,r)=>{let s=new hi({next:l=>{try{e(l)}catch(d){r(d),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[ar](){return this}pipe(...e){return zg(e)(this)}toPromise(e){return e=Zg(e),new e((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function Zg(t){var n;return(n=t??In.Promise)!==null&&n!==void 0?n:Promise}function a9(t){return t&&he(t.next)&&he(t.error)&&he(t.complete)}function l9(t){return t&&t instanceof fo||a9(t)&&ll(t)}function Zu(t){return he(t?.lift)}function $e(t){return n=>{if(Zu(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function He(t,n,e,i,o){return new $u(t,n,e,i,o)}var $u=class extends fo{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(l){try{e(l)}catch(d){n.error(d)}}:super._next,this._error=o?function(l){try{o(l)}catch(d){n.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function $g(){return $e((t,n)=>{let e=null;t._refCount++;let i=He(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var As=class extends Ae{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Zu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new ft;let e=this.getSubject();n.add(this.source.subscribe(He(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=ft.EMPTY)}return n}refCount(){return $g()(this)}};var lr={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=lr;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let o=n(r=>{e=void 0,t(r)});return new ft(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=lr;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=lr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Ug=sl(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Pe=(()=>{class t extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new ul(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Ug}next(e){sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:o,observers:r}=this;return i||o?ju:(this.currentObservers=null,r.push(e),new ft(()=>{this.currentObservers=null,go(r,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){let e=new Ae;return e.source=this,e}}return t.create=(n,e)=>new ul(n,e),t})(),ul=class extends Pe{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:ju}};var Ye=class extends Pe{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var Es={now(){return(Es.delegate||Date).now()},delegate:void 0};var Ii=class extends Pe{constructor(n=1/0,e=1/0,i=Es){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){let s=e.now(),l=0;for(let d=1;d<i.length&&i[d]<=s;d+=2)l=d;l&&i.splice(0,l+1)}}};var pl=class extends ft{constructor(n,e){super()}schedule(n,e=0){return this}};var Is={setInterval(t,n,...e){let{delegate:i}=Is;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Is;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Li=class extends pl{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return Is.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Is.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,o;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,go(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var c9=1,Uu,Wu={};function Wg(t){return t in Wu?(delete Wu[t],!0):!1}var Gg={setImmediate(t){let n=c9++;return Wu[n]=!0,Uu||(Uu=Promise.resolve()),Uu.then(()=>Wg(n)&&t()),n},clearImmediate(t){Wg(t)}};var{setImmediate:d9,clearImmediate:u9}=Gg,Ls={setImmediate(...t){let{delegate:n}=Ls;return(n?.setImmediate||d9)(...t)},clearImmediate(t){let{delegate:n}=Ls;return(n?.clearImmediate||u9)(t)},delegate:void 0};var ml=class extends Li{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ls.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(Ls.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var cr=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};cr.now=Es.now;var Pi=class extends cr{constructor(n,e=cr.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var gl=class extends Pi{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var Gu=new gl(ml);var Ps=new Pi(Li),Yg=Ps;var hl=class extends Li{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=lr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(lr.cancelAnimationFrame(e),n._scheduled=void 0)}};var fl=class extends Pi{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var Yu=new fl(hl);var bo=new Ae(t=>t.complete());function bl(t){return t&&he(t.schedule)}function qu(t){return t[t.length-1]}function vl(t){return he(qu(t))?t.pop():void 0}function zn(t){return bl(qu(t))?t.pop():void 0}function qg(t,n){return typeof qu(t)=="number"?t.pop():n}function Qg(t,n,e,i){function o(r){return r instanceof e?r:new e(function(s){s(r)})}return new(e||(e=Promise))(function(r,s){function l(f){try{p(i.next(f))}catch(w){s(w)}}function d(f){try{p(i.throw(f))}catch(w){s(w)}}function p(f){f.done?r(f.value):o(f.value).then(l,d)}p((i=i.apply(t,n||[])).next())})}function Xg(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function vo(t){return this instanceof vo?(this.v=t,this):new vo(t)}function Kg(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(x){return function(A){return Promise.resolve(A).then(x,w)}}function l(x,A){i[x]&&(o[x]=function(V){return new Promise(function(R,H){r.push([x,V,R,H])>1||d(x,V)})},A&&(o[x]=A(o[x])))}function d(x,A){try{p(i[x](A))}catch(V){D(r[0][3],V)}}function p(x){x.value instanceof vo?Promise.resolve(x.value.v).then(f,w):D(r[0][2],x)}function f(x){d("next",x)}function w(x){d("throw",x)}function D(x,A){x(A),r.shift(),r.length&&d(r[0][0],r[0][1])}}function Jg(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof Xg=="function"?Xg(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(l,d){s=t[r](s),o(l,d,s.done,s.value)})}}function o(r,s,l,d){Promise.resolve(d).then(function(p){r({value:p,done:l})},s)}}var dr=t=>t&&typeof t.length=="number"&&typeof t!="function";function _l(t){return he(t?.then)}function Cl(t){return he(t[ar])}function wl(t){return Symbol.asyncIterator&&he(t?.[Symbol.asyncIterator])}function yl(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function p9(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xl=p9();function Ml(t){return he(t?.[xl])}function Dl(t){return Kg(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:o}=yield vo(e.read());if(o)return yield vo(void 0);yield yield vo(i)}}finally{e.releaseLock()}})}function kl(t){return he(t?.getReader)}function rt(t){if(t instanceof Ae)return t;if(t!=null){if(Cl(t))return m9(t);if(dr(t))return g9(t);if(_l(t))return h9(t);if(wl(t))return eh(t);if(Ml(t))return f9(t);if(kl(t))return b9(t)}throw yl(t)}function m9(t){return new Ae(n=>{let e=t[ar]();if(he(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function g9(t){return new Ae(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function h9(t){return new Ae(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,cl)})}function f9(t){return new Ae(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function eh(t){return new Ae(n=>{v9(t,n).catch(e=>n.error(e))})}function b9(t){return eh(Dl(t))}function v9(t,n){var e,i,o,r;return Qg(this,void 0,void 0,function*(){try{for(e=Jg(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})}function Gt(t,n,e,i=0,o=!1){let r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function Ol(t,n=0){return $e((e,i)=>{e.subscribe(He(i,o=>Gt(i,t,()=>i.next(o),n),()=>Gt(i,t,()=>i.complete(),n),o=>Gt(i,t,()=>i.error(o),n)))})}function Sl(t,n=0){return $e((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function th(t,n){return rt(t).pipe(Sl(n),Ol(n))}function nh(t,n){return rt(t).pipe(Sl(n),Ol(n))}function ih(t,n){return new Ae(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function oh(t,n){return new Ae(e=>{let i;return Gt(e,n,()=>{i=t[xl](),Gt(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){e.error(s);return}r?e.complete():e.next(o)},0,!0)}),()=>he(i?.return)&&i.return()})}function Al(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ae(e=>{Gt(e,n,()=>{let i=t[Symbol.asyncIterator]();Gt(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function rh(t,n){return Al(Dl(t),n)}function sh(t,n){if(t!=null){if(Cl(t))return th(t,n);if(dr(t))return ih(t,n);if(_l(t))return nh(t,n);if(wl(t))return Al(t,n);if(Ml(t))return oh(t,n);if(kl(t))return rh(t,n)}throw yl(t)}function ct(t,n){return n?sh(t,n):rt(t)}function Qe(...t){let n=zn(t);return ct(t,n)}function Yt(t){return!!t&&(t instanceof Ae||he(t.lift)&&he(t.subscribe))}function ah(t){return t instanceof Date&&!isNaN(t)}function ke(t,n){return $e((e,i)=>{let o=0;e.subscribe(He(i,r=>{i.next(t.call(n,r,o++))}))})}var{isArray:_9}=Array;function C9(t,n){return _9(n)?t(...n):t(n)}function ur(t){return ke(n=>C9(t,n))}var{isArray:w9}=Array,{getPrototypeOf:y9,prototype:x9,keys:M9}=Object;function El(t){if(t.length===1){let n=t[0];if(w9(n))return{args:n,keys:null};if(D9(n)){let e=M9(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function D9(t){return t&&typeof t=="object"&&y9(t)===x9}function Il(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function _o(...t){let n=zn(t),e=vl(t),{args:i,keys:o}=El(t);if(i.length===0)return ct([],n);let r=new Ae(k9(i,n,o?s=>Il(o,s):Ln));return e?r.pipe(ur(e)):r}function k9(t,n,e=Ln){return i=>{lh(n,()=>{let{length:o}=t,r=new Array(o),s=o,l=o;for(let d=0;d<o;d++)lh(n,()=>{let p=ct(t[d],n),f=!1;p.subscribe(He(i,w=>{r[d]=w,f||(f=!0,l--),l||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}function lh(t,n,e){t?Gt(e,t,n):n()}function ch(t,n,e,i,o,r,s,l){let d=[],p=0,f=0,w=!1,D=()=>{w&&!d.length&&!p&&n.complete()},x=V=>p<i?A(V):d.push(V),A=V=>{r&&n.next(V),p++;let R=!1;rt(e(V,f++)).subscribe(He(n,H=>{o?.(H),r?x(H):n.next(H)},()=>{R=!0},void 0,()=>{if(R)try{for(p--;d.length&&p<i;){let H=d.shift();s?Gt(n,s,()=>A(H)):A(H)}D()}catch(H){n.error(H)}}))};return t.subscribe(He(n,x,()=>{w=!0,D()})),()=>{l?.()}}function Ti(t,n,e=1/0){return he(n)?Ti((i,o)=>ke((r,s)=>n(i,r,o,s))(rt(t(i,o))),e):(typeof n=="number"&&(e=n),$e((i,o)=>ch(i,o,t,e)))}function Ll(t=1/0){return Ti(Ln,t)}function dh(){return Ll(1)}function _n(...t){return dh()(ct(t,zn(t)))}function Pl(t){return new Ae(n=>{rt(t()).subscribe(n)})}function Ts(...t){let n=vl(t),{args:e,keys:i}=El(t),o=new Ae(r=>{let{length:s}=e;if(!s){r.complete();return}let l=new Array(s),d=s,p=s;for(let f=0;f<s;f++){let w=!1;rt(e[f]).subscribe(He(r,D=>{w||(w=!0,p--),l[f]=D},()=>d--,void 0,()=>{(!d||!w)&&(p||r.next(i?Il(i,l):l),r.complete())}))}});return n?o.pipe(ur(n)):o}var O9=["addListener","removeListener"],S9=["addEventListener","removeEventListener"],A9=["on","off"];function Vi(t,n,e,i){if(he(e)&&(i=e,e=void 0),i)return Vi(t,n,e).pipe(ur(i));let[o,r]=L9(t)?S9.map(s=>l=>t[s](n,l,e)):E9(t)?O9.map(uh(t,n)):I9(t)?A9.map(uh(t,n)):[];if(!o&&dr(t))return Ti(s=>Vi(s,n,e))(rt(t));if(!o)throw new TypeError("Invalid event target");return new Ae(s=>{let l=(...d)=>s.next(1<d.length?d:d[0]);return o(l),()=>r(l)})}function uh(t,n){return e=>i=>t[e](n,i)}function E9(t){return he(t.addListener)&&he(t.removeListener)}function I9(t){return he(t.on)&&he(t.off)}function L9(t){return he(t.addEventListener)&&he(t.removeEventListener)}function ph(t=0,n,e=Yg){let i=-1;return n!=null&&(bl(n)?e=n:i=n),new Ae(o=>{let r=ah(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function fi(...t){let n=zn(t),e=qg(t,1/0),i=t;return i.length?i.length===1?rt(i[0]):Ll(e)(ct(i,n)):bo}function Zn(t,n){return $e((e,i)=>{let o=0;e.subscribe(He(i,r=>t.call(n,r,o++)&&i.next(r)))})}function mh(t){return $e((n,e)=>{let i=!1,o=null,r=null,s=!1,l=()=>{if(r?.unsubscribe(),r=null,i){i=!1;let p=o;o=null,e.next(p)}s&&e.complete()},d=()=>{r=null,s&&e.complete()};n.subscribe(He(e,p=>{i=!0,o=p,r||rt(t(p)).subscribe(r=He(e,l,d))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}function Xu(t,n=Ps){return mh(()=>ph(t,n))}function gh(t,n,e,i,o){return(r,s)=>{let l=e,d=n,p=0;r.subscribe(He(s,f=>{let w=p++;d=l?t(d,f,w):(l=!0,f),i&&s.next(d)},o&&(()=>{l&&s.next(d),s.complete()})))}}function Tl(t,n){return $e(gh(t,n,arguments.length>=2,!1,!0))}function an(t,n){return he(n)?Ti(t,n,1):Ti(t,1)}function Co(t,n=Ps){return $e((e,i)=>{let o=null,r=null,s=null,l=()=>{if(o){o.unsubscribe(),o=null;let p=r;r=null,i.next(p)}};function d(){let p=s+t,f=n.now();if(f<p){o=this.schedule(void 0,p-f),i.add(o);return}l()}e.subscribe(He(i,p=>{r=p,s=n.now(),o||(o=n.schedule(d,t),i.add(o))},()=>{l(),i.complete()},void 0,()=>{r=o=null}))})}function Lt(t){return t<=0?()=>bo:$e((n,e)=>{let i=0;n.subscribe(He(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function Vs(t,n=Ln){return t=t??P9,$e((e,i)=>{let o,r=!0;e.subscribe(He(i,s=>{let l=n(s);(r||!t(o,l))&&(r=!1,o=l,i.next(s))}))})}function P9(t,n){return t===n}function Qu(t){return $e((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function hh(t={}){let{connector:n=()=>new Pe,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,l,d,p=0,f=!1,w=!1,D=()=>{l?.unsubscribe(),l=void 0},x=()=>{D(),s=d=void 0,f=w=!1},A=()=>{let V=s;x(),V?.unsubscribe()};return $e((V,R)=>{p++,!w&&!f&&D();let H=d=d??n();R.add(()=>{p--,p===0&&!w&&!f&&(l=Ku(A,o))}),H.subscribe(R),!s&&p>0&&(s=new hi({next:K=>H.next(K),error:K=>{w=!0,D(),l=Ku(x,e,K),H.error(K)},complete:()=>{f=!0,D(),l=Ku(x,i),H.complete()}}),rt(V).subscribe(s))})(r)}}function Ku(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new hi({next:()=>{i.unsubscribe(),t()}});return rt(n(...e)).subscribe(i)}function Vl(t,n,e){let i,o=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:i=t??1/0,hh({connector:()=>new Ii(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Fs(t){return Zn((n,e)=>t<=e)}function Fi(...t){let n=zn(t);return $e((e,i)=>{(n?_n(t,e,n):_n(t,e)).subscribe(i)})}function ln(t,n){return $e((e,i)=>{let o=null,r=0,s=!1,l=()=>s&&!o&&i.complete();e.subscribe(He(i,d=>{o?.unsubscribe();let p=0,f=r++;rt(t(d,f)).subscribe(o=He(i,w=>i.next(n?n(d,w,f,p++):w),()=>{o=null,l()}))},()=>{s=!0,l()}))})}function It(t){return $e((n,e)=>{rt(t).subscribe(He(e,()=>e.complete(),Ss)),!e.closed&&n.subscribe(e)})}function Pn(t,n,e){let i=he(t)||n||e?{next:t,error:n,complete:e}:t;return i?$e((o,r)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let l=!0;o.subscribe(He(r,d=>{var p;(p=i.next)===null||p===void 0||p.call(i,d),r.next(d)},()=>{var d;l=!1,(d=i.complete)===null||d===void 0||d.call(i),r.complete()},d=>{var p;l=!1,(p=i.error)===null||p===void 0||p.call(i,d),r.error(d)},()=>{var d,p;l&&((d=i.unsubscribe)===null||d===void 0||d.call(i)),(p=i.finalize)===null||p===void 0||p.call(i)}))}):Ln}var rf="https://g.co/ng/security#xss",Oe=class extends Error{constructor(n,e){super(wc(n,e)),this.code=n}};function wc(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function Ks(t){return{toString:t}.toString()}var Fl="__parameters__";function T9(t){return function(...e){if(t){let i=t(...e);for(let o in i)this[o]=i[o]}}}function sf(t,n,e){return Ks(()=>{let i=T9(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;let s=new o(...r);return l.annotation=s,l;function l(d,p,f){let w=d.hasOwnProperty(Fl)?d[Fl]:Object.defineProperty(d,Fl,{value:[]})[Fl];for(;w.length<=f;)w.push(null);return(w[f]=w[f]||[]).push(s),d}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var Rs=globalThis;function pt(t){for(let n in t)if(t[n]===pt)return n;throw Error("Could not find renamed property on target object.")}function V9(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function cn(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(cn).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
|
|
7
|
-
`);return e===-1?n:n.substring(0,e)}function mp(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var
|
|
8
|
-
`+t.message,o,e,i),t[
|
|
9
|
-
`&&t.charAt(1)==
|
|
10
|
-
`)}`}var bm=mf(sf("Optional"),8);var gf=mf(sf("SkipSelf"),4);function yo(t,n){let e=t.hasOwnProperty(ql);return e?t[ql]:null}function J9(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function eC(t){return t.flat(Number.POSITIVE_INFINITY)}function vm(t,n){t.forEach(e=>Array.isArray(e)?vm(e,n):n(e))}function hf(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ql(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function tC(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function nC(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function _m(t,n,e){let i=Js(t,n);return i>=0?t[i|1]=e:(i=~i,nC(t,i,n,e)),i}function Ju(t,n){let e=Js(t,n);if(e>=0)return t[e|1]}function Js(t,n){return iC(t,n,1)}function iC(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var br={},Xt=[],zs=new ie(""),ff=new ie("",-1),bf=new ie(""),Kl=class{get(n,e=Bs){if(e===Bs){let i=new Error(`NullInjectorError: No provider for ${cn(n)}!`);throw i.name="NullInjectorError",i}return e}},vf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(vf||{}),Gn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Gn||{}),Ri=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Ri||{});function oC(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function bp(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],l=e[i++];t.setAttribute(n,s,l,r)}else{let r=o,s=e[++i];rC(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function _f(t){return t===3||t===4||t===6}function rC(t){return t.charCodeAt(0)===64}function Zs(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?wh(t,e,o,null,n[++i]):wh(t,e,o,null,null))}}return t}function wh(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let l=t[r++];if(typeof l=="number"){if(l===n){s=-1;break}else if(l>n){s=r-1;break}}}for(;r<t.length;){let l=t[r];if(typeof l=="number")break;if(l===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var Cf="ng-template";function sC(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&oC(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(Cm(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function Cm(t){return t.type===4&&t.value!==Cf}function aC(t,n,e){let i=t.type===4&&!e?Cf:t.value;return n===i}function lC(t,n,e){let i=4,o=t.attrs,r=o!==null?uC(o):0,s=!1;for(let l=0;l<n.length;l++){let d=n[l];if(typeof d=="number"){if(!s&&!Tn(i)&&!Tn(d))return!1;if(s&&Tn(d))continue;s=!1,i=d|i&1;continue}if(!s)if(i&4){if(i=2|i&1,d!==""&&!aC(t,d,e)||d===""&&n.length===1){if(Tn(i))return!1;s=!0}}else if(i&8){if(o===null||!sC(t,o,d,e)){if(Tn(i))return!1;s=!0}}else{let p=n[++l],f=cC(d,o,Cm(t),e);if(f===-1){if(Tn(i))return!1;s=!0;continue}if(p!==""){let w;if(f>r?w="":w=o[f+1].toLowerCase(),i&2&&p!==w){if(Tn(i))return!1;s=!0}}}}return Tn(i)||s}function Tn(t){return(t&1)===0}function cC(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=n[++o];for(;typeof l=="string";)l=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return pC(n,t)}function wf(t,n,e=!1){for(let i=0;i<n.length;i++)if(lC(t,n[i],e))return!0;return!1}function dC(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function uC(t){for(let n=0;n<t.length;n++){let e=t[n];if(_f(e))return n}return t.length}function pC(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function mC(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function yh(t,n){return t?":not("+n.trim()+")":n}function gC(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let l=t[++e];o+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!Tn(s)&&(n+=yh(r,o),o=""),i=s,r=r||!Tn(i);e++}return o!==""&&(n+=yh(r,o)),n}function hC(t){return t.map(gC).join(",")}function fC(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!Tn(o))break;o=r}i++}return{attrs:n,classes:e}}function N(t){return Ks(()=>{let n=Mf(t),e=ot(ue({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===vf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Gn.Emulated,styles:t.styles||Xt,_:null,schemas:t.schemas||null,tView:null,id:""});Df(e);let i=t.dependencies;return e.directiveDefs=Mh(i,!1),e.pipeDefs=Mh(i,!0),e.id=CC(e),e})}function bC(t){return xo(t)||yf(t)}function vC(t){return t!==null}function at(t){return Ks(()=>({type:t.type,bootstrap:t.bootstrap||Xt,declarations:t.declarations||Xt,imports:t.imports||Xt,exports:t.exports||Xt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function xh(t,n){if(t==null)return br;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,l=Ri.None;Array.isArray(o)?(l=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=l!==Ri.None?[i,l]:i,n[r]=s):e[r]=i}return e}function ce(t){return Ks(()=>{let n=Mf(t);return Df(n),n})}function vi(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function xo(t){return t[H9]||null}function yf(t){return t[R9]||null}function xf(t){return t[B9]||null}function _C(t){let n=xo(t)||yf(t)||xf(t);return n!==null?n.standalone:!1}function Mf(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||br,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Xt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xh(t.inputs,n),outputs:xh(t.outputs),debugInfo:null}}function Df(t){t.features?.forEach(n=>n(t))}function Mh(t,n){if(!t)return null;let e=n?xf:bC;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(vC)}function CC(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function xc(t){return{\u0275providers:t}}function wm(...t){return{\u0275providers:kf(!0,t),\u0275fromNgModule:!0}}function kf(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return vm(n,s=>{let l=s;vp(l,r,[],i)&&(o||=[],o.push(l))}),o!==void 0&&Of(o,r),e}function Of(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];ym(o,r=>{n(r,i)})}}function vp(t,n,e,i){if(t=Ut(t),!t)return!1;let o=null,r=bh(t),s=!r&&xo(t);if(!r&&!s){let d=t.ngModule;if(r=bh(d),r)o=d;else return!1}else{if(s&&!s.standalone)return!1;o=t}let l=i.has(o);if(s){if(l)return!1;if(i.add(o),s.dependencies){let d=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let p of d)vp(p,n,e,i)}}else if(r){if(r.imports!=null&&!l){i.add(o);let p;try{vm(r.imports,f=>{vp(f,n,e,i)&&(p||=[],p.push(f))})}finally{}p!==void 0&&Of(p,n)}if(!l){let p=yo(o)||(()=>new o);n({provide:o,useFactory:p,deps:Xt},o),n({provide:bf,useValue:o,multi:!0},o),n({provide:zs,useValue:()=>q(o),multi:!0},o)}let d=r.providers;if(d!=null&&!l){let p=t;ym(d,f=>{n(f,p)})}}else return!1;return o!==t&&t.providers!==void 0}function ym(t,n){for(let e of t)df(e)&&(e=e.\u0275providers),Array.isArray(e)?ym(e,n):n(e)}var wC=pt({provide:String,useValue:pt});function Sf(t){return t!==null&&typeof t=="object"&&wC in t}function yC(t){return!!(t&&t.useExisting)}function xC(t){return!!(t&&t.useFactory)}function vr(t){return typeof t=="function"}function MC(t){return!!t.useClass}var Mc=new ie(""),Zl={},DC={},ep;function Dc(){return ep===void 0&&(ep=new Kl),ep}var wn=class{},$s=class extends wn{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cp(n,s=>this.processProvider(s)),this.records.set(ff,pr(void 0,this)),o.has("environment")&&this.records.set(wn,pr(void 0,this));let r=this.records.get(Mc);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(bf,Xt,Ne.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=Ve(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ve(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=Ni(this),i=qt(void 0),o;try{return n()}finally{Ni(e),qt(i)}}get(n,e=Bs,i=Ne.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(_h))return n[_h](this);i=yc(i);let o,r=Ni(this),s=qt(void 0);try{if(!(i&Ne.SkipSelf)){let d=this.records.get(n);if(d===void 0){let p=EC(n)&&hm(n);p&&this.injectableDefInScope(p)?d=pr(_p(n),Zl):d=null,this.records.set(n,d)}if(d!=null)return this.hydrate(n,d)}let l=i&Ne.Self?Dc():this.parent;return e=i&Ne.Optional&&e===Bs?null:e,l.get(n,e)}catch(l){if(l.name==="NullInjectorError"){if((l[Xl]=l[Xl]||[]).unshift(cn(n)),r)throw l;return Q9(l,n,"R3InjectorError",this.source)}else throw l}finally{qt(s),Ni(r)}}resolveInjectorInitializers(){let n=Ve(null),e=Ni(this),i=qt(void 0),o;try{let r=this.get(zs,Xt,Ne.Self);for(let s of r)s()}finally{Ni(e),qt(i),Ve(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(cn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Oe(205,!1)}processProvider(n){n=Ut(n);let e=vr(n)?n:Ut(n&&n.provide),i=OC(n);if(!vr(n)&&n.multi===!0){let o=this.records.get(e);o||(o=pr(void 0,Zl,!0),o.factory=()=>fp(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=Ve(null);try{return e.value===Zl&&(e.value=DC,e.value=e.factory()),typeof e.value=="object"&&e.value&&AC(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Ve(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Ut(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function _p(t){let n=hm(t),e=n!==null?n.factory:yo(t);if(e!==null)return e;if(t instanceof ie)throw new Oe(204,!1);if(t instanceof Function)return kC(t);throw new Oe(204,!1)}function kC(t){if(t.length>0)throw new Oe(204,!1);let e=N9(t);return e!==null?()=>e.factory(t):()=>new t}function OC(t){if(Sf(t))return pr(void 0,t.useValue);{let n=Af(t);return pr(n,Zl)}}function Af(t,n,e){let i;if(vr(t)){let o=Ut(t);return yo(o)||_p(o)}else if(Sf(t))i=()=>Ut(t.useValue);else if(xC(t))i=()=>t.useFactory(...fp(t.deps||[]));else if(yC(t))i=()=>q(Ut(t.useExisting));else{let o=Ut(t&&(t.useClass||t.provide));if(SC(t))i=()=>new o(...fp(t.deps));else return yo(o)||_p(o)}return i}function pr(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function SC(t){return!!t.deps}function AC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function EC(t){return typeof t=="function"||typeof t=="object"&&t instanceof ie}function Cp(t,n){for(let e of t)Array.isArray(e)?Cp(e,n):e&&df(e)?Cp(e.\u0275providers,n):n(e)}function Ef(t,n){t instanceof $s&&t.assertNotDestroyed();let e,i=Ni(t),o=qt(void 0);try{return n()}finally{Ni(i),qt(o)}}function If(){return uf()!==void 0||Y9()!=null}function Lf(t){if(!If())throw new Oe(-203,!1)}function IC(t){return typeof t=="function"}var _i=0,ye=1,we=2,Bt=3,Fn=4,Jt=5,_r=6,Jl=7,Tt=8,Cr=9,Yn=10,bt=11,Us=12,Dh=13,Sr=14,Qt=15,Mo=16,mr=17,bi=18,kc=19,Pf=20,ji=21,tp=22,Cn=23,Vt=25,Tf=1;var Do=7,ec=8,wr=9,Rt=10,tc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(tc||{});function Hi(t){return Array.isArray(t)&&typeof t[Tf]=="object"}function Ci(t){return Array.isArray(t)&&t[Tf]===!0}function xm(t){return(t.flags&4)!==0}function Oc(t){return t.componentOffset>-1}function Sc(t){return(t.flags&1)===1}function Bi(t){return!!t.template}function wp(t){return(t[we]&512)!==0}var Ws=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Vf(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function mt(){return Ff}function Ff(t){return t.type.prototype.ngOnChanges&&(t.setInput=PC),LC}mt.ngInherit=!0;function LC(){let t=jf(this),n=t?.current;if(n){let e=t.previous;if(e===br)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function PC(t,n,e,i,o){let r=this.declaredInputs[i],s=jf(t)||TC(t,{previous:br,current:null}),l=s.current||(s.current={}),d=s.previous,p=d[r];l[r]=new Ws(p&&p.currentValue,e,d===br),Vf(t,n,o,e)}var Nf="__ngSimpleChanges__";function jf(t){return t[Nf]||null}function TC(t,n){return t[Nf]=n}var kh=null;var $n=function(t,n,e){kh?.(t,n,e)},Hf="svg",VC="math";function qn(t){for(;Array.isArray(t);)t=t[_i];return t}function Rf(t,n){return qn(n[t])}function yn(t,n){return qn(n[t.index])}function Mm(t,n){return t.data[n]}function Bf(t,n){return t[n]}function Ui(t,n){let e=n[t];return Hi(e)?e:e[_i]}function FC(t){return(t[we]&4)===4}function Dm(t){return(t[we]&128)===128}function NC(t){return Ci(t[Bt])}function zi(t,n){return n==null?null:t[n]}function zf(t){t[mr]=0}function Zf(t){t[we]&1024||(t[we]|=1024,Dm(t)&&Ec(t))}function jC(t,n){for(;t>0;)n=n[Sr],t--;return n}function Ac(t){return!!(t[we]&9216||t[Cn]?.dirty)}function yp(t){t[Yn].changeDetectionScheduler?.notify(8),t[we]&64&&(t[we]|=1024),Ac(t)&&Ec(t)}function Ec(t){t[Yn].changeDetectionScheduler?.notify(0);let n=ko(t);for(;n!==null&&!(n[we]&8192||(n[we]|=8192,!Dm(n)));)n=ko(n)}function $f(t,n){if((t[we]&256)===256)throw new Oe(911,!1);t[ji]===null&&(t[ji]=[]),t[ji].push(n)}function HC(t,n){if(t[ji]===null)return;let e=t[ji].indexOf(n);e!==-1&&t[ji].splice(e,1)}function ko(t){let n=t[Bt];return Ci(n)?n[Bt]:n}var Se={lFrame:eb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Uf=!1;function RC(){return Se.lFrame.elementDepthCount}function BC(){Se.lFrame.elementDepthCount++}function zC(){Se.lFrame.elementDepthCount--}function Wf(){return Se.bindingsEnabled}function Gf(){return Se.skipHydrationRootTNode!==null}function ZC(t){return Se.skipHydrationRootTNode===t}function $C(){Se.skipHydrationRootTNode=null}function fe(){return Se.lFrame.lView}function vt(){return Se.lFrame.tView}function O(t){return Se.lFrame.contextLView=t,t[Tt]}function S(t){return Se.lFrame.contextLView=null,t}function Ft(){let t=Yf();for(;t!==null&&t.type===64;)t=t.parent;return t}function Yf(){return Se.lFrame.currentTNode}function UC(){let t=Se.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Po(t,n){let e=Se.lFrame;e.currentTNode=t,e.isParent=n}function km(){return Se.lFrame.isParent}function Om(){Se.lFrame.isParent=!1}function WC(){return Se.lFrame.contextLView}function qf(){return Uf}function Oh(t){Uf=t}function Ar(){let t=Se.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Xf(){return Se.lFrame.bindingIndex}function GC(t){return Se.lFrame.bindingIndex=t}function To(){return Se.lFrame.bindingIndex++}function Ic(t){let n=Se.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function YC(){return Se.lFrame.inI18n}function qC(t,n){let e=Se.lFrame;e.bindingIndex=e.bindingRootIndex=t,xp(n)}function XC(){return Se.lFrame.currentDirectiveIndex}function xp(t){Se.lFrame.currentDirectiveIndex=t}function QC(t){let n=Se.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Qf(){return Se.lFrame.currentQueryIndex}function Sm(t){Se.lFrame.currentQueryIndex=t}function KC(t){let n=t[ye];return n.type===2?n.declTNode:n.type===1?t[Jt]:null}function Kf(t,n,e){if(e&Ne.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&Ne.Host);)if(o=KC(r),o===null||(r=r[Sr],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=Se.lFrame=Jf();return i.currentTNode=n,i.lView=t,!0}function Am(t){let n=Jf(),e=t[ye];Se.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Jf(){let t=Se.lFrame,n=t===null?null:t.child;return n===null?eb(t):n}function eb(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function tb(){let t=Se.lFrame;return Se.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var nb=tb;function Em(){let t=tb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function JC(t){return(Se.lFrame.contextLView=jC(t,Se.lFrame.contextLView))[Tt]}function Jn(){return Se.lFrame.selectedIndex}function Oo(t){Se.lFrame.selectedIndex=t}function ea(){let t=Se.lFrame;return Mm(t.tView,t.selectedIndex)}function ib(){Se.lFrame.currentNamespace=Hf}function e7(){return Se.lFrame.currentNamespace}var ob=!0;function Lc(){return ob}function Pc(t){ob=t}function t7(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=Ff(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function Tc(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:l,ngAfterViewInit:d,ngAfterViewChecked:p,ngOnDestroy:f}=r;s&&(t.contentHooks??=[]).push(-e,s),l&&((t.contentHooks??=[]).push(e,l),(t.contentCheckHooks??=[]).push(e,l)),d&&(t.viewHooks??=[]).push(-e,d),p&&((t.viewHooks??=[]).push(e,p),(t.viewCheckHooks??=[]).push(e,p)),f!=null&&(t.destroyHooks??=[]).push(e,f)}}function $l(t,n,e){rb(t,n,3,e)}function Ul(t,n,e,i){(t[we]&3)===e&&rb(t,n,e,i)}function np(t,n){let e=t[we];(e&3)===n&&(e&=16383,e+=1,t[we]=e)}function rb(t,n,e,i){let o=i!==void 0?t[mr]&65535:0,r=i??-1,s=n.length-1,l=0;for(let d=o;d<s;d++)if(typeof n[d+1]=="number"){if(l=n[d],i!=null&&l>=i)break}else n[d]<0&&(t[mr]+=65536),(l<r||r==-1)&&(n7(t,e,n,d),t[mr]=(t[mr]&4294901760)+d+2),d++}function Sh(t,n){$n(4,t,n);let e=Ve(null);try{n.call(t)}finally{Ve(e),$n(5,t,n)}}function n7(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],l=t[s];o?t[we]>>14<t[mr]>>16&&(t[we]&3)===n&&(t[we]+=16384,Sh(l,r)):Sh(l,r)}var fr=-1,So=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function i7(t){return t instanceof So}function o7(t){return(t.flags&8)!==0}function r7(t){return(t.flags&16)!==0}var ip={},Mp=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=yc(i);let o=this.injector.get(n,ip,i);return o!==ip||e===ip?o:this.parentInjector.get(n,e,i)}};function sb(t){return t!==fr}function nc(t){return t&32767}function s7(t){return t>>16}function ic(t,n){let e=s7(t),i=n;for(;e>0;)i=i[Sr],e--;return i}var Dp=!0;function oc(t){let n=Dp;return Dp=t,n}var a7=256,ab=a7-1,lb=5,l7=0,Un={};function c7(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Hs)&&(i=e[Hs]),i==null&&(i=e[Hs]=l7++);let o=i&ab,r=1<<o;n.data[t+(o>>lb)]|=r}function rc(t,n){let e=cb(t,n);if(e!==-1)return e;let i=n[ye];i.firstCreatePass&&(t.injectorIndex=n.length,op(i.data,t),op(n,null),op(i.blueprint,null));let o=Im(t,n),r=t.injectorIndex;if(sb(o)){let s=nc(o),l=ic(o,n),d=l[ye].data;for(let p=0;p<8;p++)n[r+p]=l[s+p]|d[s+p]}return n[r+8]=o,r}function op(t,n){t.push(0,0,0,0,0,0,0,0,n)}function cb(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Im(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=gb(o),i===null)return fr;if(e++,o=o[Sr],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return fr}function kp(t,n,e){c7(t,n,e)}function d7(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(_f(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function db(t,n,e){if(e&Ne.Optional||t!==void 0)return t;fm(n,"NodeInjector")}function ub(t,n,e,i){if(e&Ne.Optional&&i===void 0&&(i=null),!(e&(Ne.Self|Ne.Host))){let o=t[Cr],r=qt(void 0);try{return o?o.get(n,i,e&Ne.Optional):pf(n,i,e&Ne.Optional)}finally{qt(r)}}return db(i,n,e)}function pb(t,n,e,i=Ne.Default,o){if(t!==null){if(n[we]&2048&&!(i&Ne.Self)){let s=g7(t,n,e,i,Un);if(s!==Un)return s}let r=mb(t,n,e,i,Un);if(r!==Un)return r}return ub(n,e,i,o)}function mb(t,n,e,i,o){let r=p7(e);if(typeof r=="function"){if(!Kf(n,t,i))return i&Ne.Host?db(o,e,i):ub(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&Ne.Optional))fm(e);else return s}finally{nb()}}else if(typeof r=="number"){let s=null,l=cb(t,n),d=fr,p=i&Ne.Host?n[Qt][Jt]:null;for((l===-1||i&Ne.SkipSelf)&&(d=l===-1?Im(t,n):n[l+8],d===fr||!Eh(i,!1)?l=-1:(s=n[ye],l=nc(d),n=ic(d,n)));l!==-1;){let f=n[ye];if(Ah(r,l,f.data)){let w=u7(l,n,e,s,i,p);if(w!==Un)return w}d=n[l+8],d!==fr&&Eh(i,n[ye].data[l+8]===p)&&Ah(r,l,n)?(s=f,l=nc(d),n=ic(d,n)):l=-1}}return o}function u7(t,n,e,i,o,r){let s=n[ye],l=s.data[t+8],d=i==null?Oc(l)&&Dp:i!=s&&(l.type&3)!==0,p=o&Ne.Host&&r===l,f=Wl(l,s,e,d,p);return f!==null?Ao(n,s,f,l):Un}function Wl(t,n,e,i,o){let r=t.providerIndexes,s=n.data,l=r&1048575,d=t.directiveStart,p=t.directiveEnd,f=r>>20,w=i?l:l+f,D=o?l+f:p;for(let x=w;x<D;x++){let A=s[x];if(x<d&&e===A||x>=d&&A.type===e)return x}if(o){let x=s[d];if(x&&Bi(x)&&x.type===e)return d}return null}function Ao(t,n,e,i){let o=t[e],r=n.data;if(i7(o)){let s=o;s.resolving&&Z9(z9(r[e]));let l=oc(s.canSeeViewProviders);s.resolving=!0;let d,p=s.injectImpl?qt(s.injectImpl):null,f=Kf(t,i,Ne.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&t7(e,r[e],n)}finally{p!==null&&qt(p),oc(l),s.resolving=!1,nb()}}return o}function p7(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Hs)?t[Hs]:void 0;return typeof n=="number"?n>=0?n&ab:m7:n}function Ah(t,n,e){let i=1<<t;return!!(e[n+(t>>lb)]&i)}function Eh(t,n){return!(t&Ne.Self)&&!(t&Ne.Host&&n)}var wo=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return pb(this._tNode,this._lView,n,yc(i),e)}};function m7(){return new wo(Ft(),fe())}function xn(t){return Ks(()=>{let n=t.prototype.constructor,e=n[ql]||Op(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[ql]||Op(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Op(t){return af(t)?()=>{let n=Op(Ut(t));return n&&n()}:yo(t)}function g7(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[we]&2048&&!(s[we]&512);){let l=mb(r,s,e,i|Ne.Self,Un);if(l!==Un)return l;let d=r.parent;if(!d){let p=s[Pf];if(p){let f=p.get(e,Un,i);if(f!==Un)return f}d=gb(s),s=s[Sr]}r=d}return o}function gb(t){let n=t[ye],e=n.type;return e===2?n.declTNode:e===1?t[Jt]:null}function Er(t){return d7(Ft(),t)}function Ih(t,n=null,e=null,i){let o=h7(t,n,e,i);return o.resolveInjectorInitializers(),o}function h7(t,n=null,e=null,i,o=new Set){let r=[e||Xt,wm(t)];return i=i||(typeof t=="object"?void 0:cn(t)),new $s(r,n||Dc(),i||null,o)}var Xn=class t{static{this.THROW_IF_NOT_FOUND=Bs}static{this.NULL=new Kl}static create(n,e){if(Array.isArray(n))return Ih({name:""},e,n,"");{let i=n.name??"";return Ih({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=te({token:t,providedIn:"any",factory:()=>q(ff)})}static{this.__NG_ELEMENT_ID__=-1}};var f7=new ie("");f7.__NG_ELEMENT_ID__=t=>{let n=Ft();if(n===null)throw new Oe(204,!1);if(n.type&2)return n.value;if(t&Ne.Optional)return null;throw new Oe(204,!1)};var b7="ngOriginalError";function rp(t){return t[b7]}var hb=!0,Ir=(()=>{class t{static{this.__NG_ELEMENT_ID__=v7}static{this.__NG_ENV_ID__=e=>e}}return t})(),Sp=class extends Ir{constructor(n){super(),this._lView=n}onDestroy(n){return $f(this._lView,n),()=>HC(this._lView,n)}};function v7(){return new Sp(fe())}var Lr=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ye(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>new t})}}return t})();var Ap=class extends Pe{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,If()&&(this.destroyRef=ne(Ir,{optional:!0})??void 0,this.pendingTasks=ne(Lr,{optional:!0})??void 0)}emit(n){let e=Ve(null);try{super.next(n)}finally{Ve(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let d=n;o=d.next?.bind(d),r=d.error?.bind(d),s=d.complete?.bind(d)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:o,error:r,complete:s});return n instanceof ft&&n.add(l),l}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},I=Ap;function sc(...t){}function fb(t){let n,e;function i(){t=sc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Lh(t){return queueMicrotask(()=>t()),()=>{t=sc}}var Lm="isAngularZone",ac=Lm+"_ID",_7=0,Re=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new I(!1),this.onMicrotaskEmpty=new I(!1),this.onStable=new I(!1),this.onError=new I(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=hb}=n;if(typeof Zone>"u")throw new Oe(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,y7(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Lm)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new Oe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new Oe(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,C7,sc,sc);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},C7={};function Pm(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function w7(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){fb(()=>{t.callbackScheduled=!1,Ep(t),t.isCheckStableRunning=!0,Pm(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Ep(t)}function y7(t){let n=()=>{w7(t)},e=_7++;t._inner=t._inner.fork({name:"angular",properties:{[Lm]:!0,[ac]:e,[ac+e]:!0},onInvokeTask:(i,o,r,s,l,d)=>{if(x7(d))return i.invokeTask(r,s,l,d);try{return Ph(t),i.invokeTask(r,s,l,d)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Th(t)}},onInvoke:(i,o,r,s,l,d,p)=>{try{return Ph(t),i.invoke(r,s,l,d,p)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!M7(d)&&n(),Th(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ep(t),Pm(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ep(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ph(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Th(t){t._nesting--,Pm(t)}var Ip=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new I,this.onMicrotaskEmpty=new I,this.onStable=new I,this.onError=new I}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}};function x7(t){return bb(t,"__ignore_ng_zone__")}function M7(t){return bb(t,"__scheduler_tick__")}function bb(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Qn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&rp(n);for(;e&&rp(e);)e=rp(e);return e||null}},D7=new ie("",{providedIn:"root",factory:()=>{let t=ne(Re),n=ne(Qn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function k7(){return Pr(Ft(),fe())}function Pr(t,n){return new oe(yn(t,n))}var oe=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=k7}}return t})();function O7(t){return t instanceof oe?t.nativeElement:t}function S7(){return this._results[Symbol.iterator]()}var Gs=class t{get changes(){return this._changes??=new I}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=S7)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=eC(n);(this._changesDetected=!J9(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function vb(t){return(t.flags&128)===128}var _b=new Map,A7=0;function E7(){return A7++}function I7(t){_b.set(t[kc],t)}function Lp(t){_b.delete(t[kc])}var Vh="__ngContext__";function Zi(t,n){Hi(n)?(t[Vh]=n[kc],I7(n)):t[Vh]=n}function Cb(t){return yb(t[Us])}function wb(t){return yb(t[Fn])}function yb(t){for(;t!==null&&!Ci(t);)t=t[Fn];return t}var Pp;function xb(t){Pp=t}function Mb(){if(Pp!==void 0)return Pp;if(typeof document<"u")return document;throw new Oe(210,!1)}var Vc=new ie("",{providedIn:"root",factory:()=>L7}),L7="ng",Tm=new ie(""),ei=new ie("",{providedIn:"platform",factory:()=>"unknown"});var ta=new ie(""),na=new ie("",{providedIn:"root",factory:()=>Mb().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var P7="h",T7="b";var V7=()=>null;function Vm(t,n,e=!1){return V7(t,n,e)}var Db=!1,F7=new ie("",{providedIn:"root",factory:()=>Db});var Nl;function N7(){if(Nl===void 0&&(Nl=null,Rs.trustedTypes))try{Nl=Rs.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Nl}function Fc(t){return N7()?.createHTML(t)||t}var jl;function j7(){if(jl===void 0&&(jl=null,Rs.trustedTypes))try{jl=Rs.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jl}function Fh(t){return j7()?.createHTML(t)||t}var lc=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${rf})`}};function Tr(t){return t instanceof lc?t.changingThisBreaksApplicationSecurity:t}function Fm(t,n){let e=H7(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${rf})`)}return e===n}function H7(t){return t instanceof lc&&t.getTypeName()||null}function R7(t){let n=new Vp(t);return B7()?new Tp(n):n}var Tp=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Fc(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Vp=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Fc(n),e}};function B7(){try{return!!new window.DOMParser().parseFromString(Fc(""),"text/html")}catch{return!1}}var z7=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nm(t){return t=String(t),t.match(z7)?t:"unsafe:"+t}function wi(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function ia(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var kb=wi("area,br,col,hr,img,wbr"),Ob=wi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sb=wi("rp,rt"),Z7=ia(Sb,Ob),$7=ia(Ob,wi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),U7=ia(Sb,wi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Nh=ia(kb,$7,U7,Z7),Ab=wi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),W7=wi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),G7=wi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Y7=ia(Ab,W7,G7),q7=wi("script,style,template"),Fp=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){o.push(e),e=K7(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=Q7(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=jh(n).toLowerCase();if(!Nh.hasOwnProperty(e))return this.sanitizedSomething=!0,!q7.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,l=s.toLowerCase();if(!Y7.hasOwnProperty(l)){this.sanitizedSomething=!0;continue}let d=r.value;Ab[l]&&(d=Nm(d)),this.buf.push(" ",s,'="',Hh(d),'"')}return this.buf.push(">"),!0}endElement(n){let e=jh(n).toLowerCase();Nh.hasOwnProperty(e)&&!kb.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Hh(n))}};function X7(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Q7(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw Eb(n);return n}function K7(t){let n=t.firstChild;if(n&&X7(t,n))throw Eb(n);return n}function jh(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function Eb(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var J7=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ew=/([^\#-~ |!])/g;function Hh(t){return t.replace(/&/g,"&").replace(J7,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(ew,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Hl;function Ib(t,n){let e=null;try{Hl=Hl||R7(t);let i=n?String(n):"";e=Hl.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=Hl.getInertBodyElement(i)}while(i!==r);let l=new Fp().sanitizeChildren(Rh(e)||e);return Fc(l)}finally{if(e){let i=Rh(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function Rh(t){return"content"in t&&tw(t)?t.content:null}function tw(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Nc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Nc||{});function jm(t){let n=Lb();return n?Fh(n.sanitize(Nc.HTML,t)||""):Fm(t,"HTML")?Fh(Tr(t)):Ib(Mb(),Wn(t))}function oa(t){let n=Lb();return n?n.sanitize(Nc.URL,t)||"":Fm(t,"URL")?Tr(t):Nm(Wn(t))}function Lb(){let t=fe();return t&&t[Yn].sanitizer}var nw=/^>|^->|<!--|-->|--!>|<!-$/g,iw=/(<|>)/g,ow="\u200B$1\u200B";function rw(t){return t.replace(nw,n=>n.replace(iw,ow))}function dn(t){return t.ownerDocument}var Kn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Kn||{}),sw;function Hm(t,n){return sw(t,n)}function gr(t,n,e,i,o){if(i!=null){let r,s=!1;Ci(i)?r=i:Hi(i)&&(s=!0,i=i[_i]);let l=qn(i);t===0&&e!==null?o==null?Nb(n,e,l):cc(n,e,l,o||null,!0):t===1&&e!==null?cc(n,e,l,o||null,!0):t===2?Cw(n,l,s):t===3&&n.destroyNode(l),r!=null&&yw(n,t,r,e,o)}}function aw(t,n){return t.createText(n)}function lw(t,n,e){t.setValue(n,e)}function cw(t,n){return t.createComment(rw(n))}function Pb(t,n,e){return t.createElement(n,e)}function dw(t,n){Tb(t,n),n[_i]=null,n[Jt]=null}function uw(t,n,e,i,o,r){i[_i]=o,i[Jt]=n,Rc(t,i,e,1,o,r)}function Tb(t,n){n[Yn].changeDetectionScheduler?.notify(9),Rc(t,n,n[bt],2,null,null)}function pw(t){let n=t[Us];if(!n)return sp(t[ye],t);for(;n;){let e=null;if(Hi(n))e=n[Us];else{let i=n[Rt];i&&(e=i)}if(!e){for(;n&&!n[Fn]&&n!==t;)Hi(n)&&sp(n[ye],n),n=n[Bt];n===null&&(n=t),Hi(n)&&sp(n[ye],n),e=n&&n[Fn]}n=e}}function mw(t,n,e,i){let o=Rt+i,r=e.length;i>0&&(e[o-1][Fn]=n),i<r-Rt?(n[Fn]=e[o],hf(e,Rt+i,n)):(e.push(n),n[Fn]=null),n[Bt]=e;let s=n[Mo];s!==null&&e!==s&&Vb(s,n);let l=n[bi];l!==null&&l.insertView(t),yp(n),n[we]|=128}function Vb(t,n){let e=t[wr],i=n[Bt];if(Hi(i))t[we]|=tc.HasTransplantedViews;else{let o=i[Bt][Qt];n[Qt]!==o&&(t[we]|=tc.HasTransplantedViews)}e===null?t[wr]=[n]:e.push(n)}function Rm(t,n){let e=t[wr],i=e.indexOf(n);e.splice(i,1)}function Ys(t,n){if(t.length<=Rt)return;let e=Rt+n,i=t[e];if(i){let o=i[Mo];o!==null&&o!==t&&Rm(o,i),n>0&&(t[e-1][Fn]=i[Fn]);let r=Ql(t,Rt+n);dw(i[ye],i);let s=r[bi];s!==null&&s.detachView(r[ye]),i[Bt]=null,i[Fn]=null,i[we]&=-129}return i}function jc(t,n){if(!(n[we]&256)){let e=n[bt];e.destroyNode&&Rc(t,n,e,3,null,null),pw(n)}}function sp(t,n){if(n[we]&256)return;let e=Ve(null);try{n[we]&=-129,n[we]|=256,n[Cn]&&Fu(n[Cn]),hw(t,n),gw(t,n),n[ye].type===1&&n[bt].destroy();let i=n[Mo];if(i!==null&&Ci(n[Bt])){i!==n[Bt]&&Rm(i,n);let o=n[bi];o!==null&&o.detachView(t)}Lp(n)}finally{Ve(e)}}function gw(t,n){let e=t.cleanup,i=n[Jl];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[Jl]=null);let o=n[ji];if(o!==null){n[ji]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function hw(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof So)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=o[r[s]],d=r[s+1];$n(4,l,d);try{d.call(l)}finally{$n(5,l,d)}}else{$n(4,o,r);try{r.call(o)}finally{$n(5,o,r)}}}}}function Fb(t,n,e){return fw(t,n.parent,e)}function fw(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[_i];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===Gn.None||r===Gn.Emulated)return null}return yn(i,e)}}function cc(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Nb(t,n,e){t.appendChild(n,e)}function Bh(t,n,e,i,o){i!==null?cc(t,n,e,i,o):Nb(t,n,e)}function jb(t,n){return t.parentNode(n)}function bw(t,n){return t.nextSibling(n)}function Hb(t,n,e){return _w(t,n,e)}function vw(t,n,e){return t.type&40?yn(t,e):null}var _w=vw,zh;function Hc(t,n,e,i){let o=Fb(t,i,n),r=n[bt],s=i.parent||n[Jt],l=Hb(s,i,n);if(o!=null)if(Array.isArray(e))for(let d=0;d<e.length;d++)Bh(r,o,e[d],l,!1);else Bh(r,o,e,l,!1);zh!==void 0&&zh(r,i,n,e,o)}function Ns(t,n){if(n!==null){let e=n.type;if(e&3)return yn(n,t);if(e&4)return Np(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Ns(t,i);{let o=t[n.index];return Ci(o)?Np(-1,o):qn(o)}}else{if(e&128)return Ns(t,n.next);if(e&32)return Hm(n,t)()||qn(t[n.index]);{let i=Rb(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=ko(t[Qt]);return Ns(o,i)}else return Ns(t,n.next)}}}return null}function Rb(t,n){if(n!==null){let i=t[Qt][Jt],o=n.projection;return i.projection[o]}return null}function Np(t,n){let e=Rt+t+1;if(e<n.length){let i=n[e],o=i[ye].firstChild;if(o!==null)return Ns(i,o)}return n[Do]}function Cw(t,n,e){t.removeChild(null,n,e)}function Bm(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let l=i[e.index],d=e.type;if(s&&n===0&&(l&&Zi(qn(l),i),e.flags|=2),(e.flags&32)!==32)if(d&8)Bm(t,n,e.child,i,o,r,!1),gr(n,t,o,l,r);else if(d&32){let p=Hm(e,i),f;for(;f=p();)gr(n,t,o,f,r);gr(n,t,o,l,r)}else d&16?Bb(t,n,i,e,o,r):gr(n,t,o,l,r);e=s?e.projectionNext:e.next}}function Rc(t,n,e,i,o,r){Bm(e,i,t.firstChild,n,o,r,!1)}function ww(t,n,e){let i=n[bt],o=Fb(t,e,n),r=e.parent||n[Jt],s=Hb(r,e,n);Bb(i,0,n,e,o,s)}function Bb(t,n,e,i,o,r){let s=e[Qt],d=s[Jt].projection[i.projection];if(Array.isArray(d))for(let p=0;p<d.length;p++){let f=d[p];gr(n,t,o,f,r)}else{let p=d,f=s[Bt];vb(i)&&(p.flags|=128),Bm(t,n,p,f,o,r,!0)}}function yw(t,n,e,i,o){let r=e[Do],s=qn(e);r!==s&&gr(n,t,i,r,o);for(let l=Rt;l<e.length;l++){let d=e[l];Rc(d[ye],d,t,n,i,r)}}function xw(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:Kn.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Kn.Important),t.setStyle(e,i,o,r))}}function Mw(t,n,e){t.setAttribute(n,"style",e)}function zb(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Zb(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&bp(t,n,i),o!==null&&zb(t,n,o),r!==null&&Mw(t,n,r)}var Wt={};function g(t=1){$b(vt(),fe(),Jn()+t,!1)}function $b(t,n,e,i){if(!i)if((n[we]&3)===3){let r=t.preOrderCheckHooks;r!==null&&$l(n,r,e)}else{let r=t.preOrderHooks;r!==null&&Ul(n,r,0,e)}Oo(e)}function M(t,n=Ne.Default){let e=fe();if(e===null)return q(t,n);let i=Ft();return pb(i,e,Ut(t),n)}function Ub(){let t="invalid";throw new Error(t)}function Wb(t,n,e,i,o,r){let s=Ve(null);try{let l=null;o&Ri.SignalBased&&(l=n[i][gi]),l!==null&&l.transformFn!==void 0&&(r=l.transformFn(r)),o&Ri.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,l,r,e,i):Vf(n,l,i,r)}finally{Ve(s)}}function Dw(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)Oo(~o);else{let r=o,s=e[++i],l=e[++i];qC(s,r);let d=n[r];l(2,d)}}}finally{Oo(-1)}}function Bc(t,n,e,i,o,r,s,l,d,p,f){let w=n.blueprint.slice();return w[_i]=o,w[we]=i|4|128|8|64,(p!==null||t&&t[we]&2048)&&(w[we]|=2048),zf(w),w[Bt]=w[Sr]=t,w[Tt]=e,w[Yn]=s||t&&t[Yn],w[bt]=l||t&&t[bt],w[Cr]=d||t&&t[Cr]||null,w[Jt]=r,w[kc]=E7(),w[_r]=f,w[Pf]=p,w[Qt]=n.type==2?t[Qt]:w,w}function Vr(t,n,e,i,o){let r=t.data[n];if(r===null)r=kw(t,n,e,i,o),YC()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=UC();r.injectorIndex=s===null?-1:s.injectorIndex}return Po(r,!0),r}function kw(t,n,e,i,o){let r=Yf(),s=km(),l=s?r:r&&r.parent,d=t.data[n]=Lw(t,l,e,n,i,o);return t.firstChild===null&&(t.firstChild=d),r!==null&&(s?r.child==null&&d.parent!==null&&(r.child=d):r.next===null&&(r.next=d,d.prev=r)),d}function Gb(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Yb(t,n,e,i,o){let r=Jn(),s=i&2;try{Oo(-1),s&&n.length>Vt&&$b(t,n,Vt,!1),$n(s?2:0,o),e(i,o)}finally{Oo(r),$n(s?3:1,o)}}function zm(t,n,e){if(xm(n)){let i=Ve(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let l=t.data[s];if(l.contentQueries){let d=e[s];l.contentQueries(1,d,s)}}}finally{Ve(i)}}}function Zm(t,n,e){Wf()&&(jw(t,n,e,yn(e,n)),(e.flags&64)===64&&Qb(t,n,e))}function $m(t,n,e=yn){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],l=s===-1?e(n,t):t[s];t[o++]=l}}}function qb(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Um(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Um(t,n,e,i,o,r,s,l,d,p,f){let w=Vt+i,D=w+o,x=Ow(w,D),A=typeof p=="function"?p():p;return x[ye]={type:t,blueprint:x,template:e,queries:null,viewQuery:l,declTNode:n,data:x.slice().fill(null,w),bindingStartIndex:w,expandoStartIndex:D,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 r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:d,consts:A,incompleteFirstPass:!1,ssrId:f}}function Ow(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Wt);return e}function Sw(t,n,e,i){let r=i.get(F7,Db)||e===Gn.ShadowDom,s=t.selectRootElement(n,r);return Aw(s),s}function Aw(t){Ew(t)}var Ew=()=>null;function Iw(t,n,e,i){let o=e2(n);o.push(e),t.firstCreatePass&&t2(t).push(i,o.length-1)}function Lw(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,l=0;return Gf()&&(l|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Zh(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let l,d=Ri.None;Array.isArray(s)?(l=s[0],d=s[1]):l=s;let p=r;if(o!==null){if(!o.hasOwnProperty(r))continue;p=o[r]}t===0?$h(i,e,p,l,d):$h(i,e,p,l)}return i}function $h(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function Pw(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,l=[],d=null,p=null;for(let f=i;f<o;f++){let w=r[f],D=e?e.get(w):null,x=D?D.inputs:null,A=D?D.outputs:null;d=Zh(0,w.inputs,f,d,x),p=Zh(1,w.outputs,f,p,A);let V=d!==null&&s!==null&&!Cm(n)?qw(d,f,s):null;l.push(V)}d!==null&&(d.hasOwnProperty("class")&&(n.flags|=8),d.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=l,n.inputs=d,n.outputs=p}function Tw(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function zc(t,n,e,i,o,r,s,l){let d=yn(n,e),p=n.inputs,f;!l&&p!=null&&(f=p[i])?(Gm(t,e,f,i,o),Oc(n)&&Vw(e,n.index)):n.type&3?(i=Tw(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(d,i,o)):n.type&12}function Vw(t,n){let e=Ui(n,t);e[we]&16||(e[we]|=64)}function Wm(t,n,e,i){if(Wf()){let o=i===null?null:{"":-1},r=Rw(t,e),s,l;r===null?s=l=null:[s,l]=r,s!==null&&Xb(t,n,e,s,o,l),o&&Bw(e,i,o)}e.mergedAttrs=Zs(e.mergedAttrs,e.attrs)}function Xb(t,n,e,i,o,r){for(let p=0;p<i.length;p++)kp(rc(e,n),t,i[p].type);Zw(e,t.data.length,i.length);for(let p=0;p<i.length;p++){let f=i[p];f.providersResolver&&f.providersResolver(f)}let s=!1,l=!1,d=Gb(t,n,i.length,null);for(let p=0;p<i.length;p++){let f=i[p];e.mergedAttrs=Zs(e.mergedAttrs,f.hostAttrs),$w(t,e,n,d,f),zw(d,f,o),f.contentQueries!==null&&(e.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(e.flags|=64);let w=f.type.prototype;!s&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!l&&(w.ngOnChanges||w.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),l=!0),d++}Pw(t,e,r)}function Fw(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let l=~n.index;Nw(s)!=l&&s.push(l),s.push(e,i,r)}}function Nw(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function jw(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;Oc(e)&&Uw(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||rc(e,n),Zi(i,n);let s=e.initialInputs;for(let l=o;l<r;l++){let d=t.data[l],p=Ao(n,t,l,e);if(Zi(p,n),s!==null&&Yw(n,l-o,p,d,e,s),Bi(d)){let f=Ui(e.index,n);f[Tt]=Ao(n,t,l,e)}}}function Qb(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=XC();try{Oo(r);for(let l=i;l<o;l++){let d=t.data[l],p=n[l];xp(l),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&Hw(d,p)}}finally{Oo(-1),xp(s)}}function Hw(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Rw(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(wf(n,s.selectors,!1))if(i||(i=[]),Bi(s))if(s.findHostDirectiveDefs!==null){let l=[];o=o||new Map,s.findHostDirectiveDefs(s,l,o),i.unshift(...l,s);let d=l.length;jp(t,n,d)}else i.unshift(s),jp(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function jp(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function Bw(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new Oe(-301,!1);i.push(n[o],r)}}}function zw(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Bi(n)&&(e[""]=t)}}function Zw(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function $w(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=yo(o.type,!0)),s=new So(r,Bi(o),M);t.blueprint[i]=s,e[i]=s,Fw(t,n,i,Gb(t,e,o.hostVars,Wt),o)}function Uw(t,n,e){let i=yn(n,t),o=qb(e),r=t[Yn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let l=Zc(t,Bc(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=l}function Ww(t,n,e,i,o,r){let s=yn(t,n);Gw(n[bt],s,r,t.value,e,i,o)}function Gw(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let l=s==null?Wn(r):s(r,i||"",o);t.setAttribute(n,o,l,e)}}function Yw(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let l=0;l<s.length;){let d=s[l++],p=s[l++],f=s[l++],w=s[l++];Wb(i,e,d,p,f,w)}}function qw(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let l=0;l<s.length;l+=3)if(s[l]===n){i.push(r,s[l+1],s[l+2],e[o+1]);break}}o+=2}return i}function Kb(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function Jb(t,n){let e=t.contentQueries;if(e!==null){let i=Ve(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let l=t.data[s];Sm(r),l.contentQueries(2,n[s],s)}}}finally{Ve(i)}}}function Zc(t,n){return t[Us]?t[Dh][Fn]=n:t[Us]=n,t[Dh]=n,n}function Hp(t,n,e){Sm(0);let i=Ve(null);try{n(t,e)}finally{Ve(i)}}function e2(t){return t[Jl]??=[]}function t2(t){return t.cleanup??=[]}function n2(t,n){let e=t[Cr],i=e?e.get(Qn,null):null;i&&i.handleError(n)}function Gm(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],l=e[r++],d=e[r++],p=n[s],f=t.data[s];Wb(f,p,i,l,d,o)}}function Ym(t,n,e){let i=Rf(n,t);lw(t[bt],i,e)}function Xw(t,n){let e=Ui(n,t),i=e[ye];Qw(i,e);let o=e[_i];o!==null&&e[_r]===null&&(e[_r]=Vm(o,e[Cr])),qm(i,e,e[Tt])}function Qw(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function qm(t,n,e){Am(n);try{let i=t.viewQuery;i!==null&&Hp(1,i,e);let o=t.template;o!==null&&Yb(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[bi]?.finishViewCreation(t),t.staticContentQueries&&Jb(t,n),t.staticViewQueries&&Hp(2,t.viewQuery,e);let r=t.components;r!==null&&Kw(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[we]&=-5,Em()}}function Kw(t,n){for(let e=0;e<n.length;e++)Xw(t,n[e])}function ra(t,n,e,i){let o=Ve(null);try{let r=n.tView,l=t[we]&4096?4096:16,d=Bc(t,r,e,l,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),p=t[n.index];d[Mo]=p;let f=t[bi];return f!==null&&(d[bi]=f.createEmbeddedView(r)),qm(r,d,e),d}finally{Ve(o)}}function i2(t,n){let e=Rt+n;if(e<t.length)return t[e]}function yr(t,n){return!n||n.firstChild===null||vb(t)}function sa(t,n,e,i=!0){let o=n[ye];if(mw(o,n,t,e),i){let s=Np(e,t),l=n[bt],d=jb(l,t[Do]);d!==null&&uw(o,t[Jt],l,n,d,s)}let r=n[_r];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function o2(t,n){let e=Ys(t,n);return e!==void 0&&jc(e[ye],e),e}function dc(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(qn(r)),Ci(r)&&Jw(r,i);let s=e.type;if(s&8)dc(t,n,e.child,i);else if(s&32){let l=Hm(e,n),d;for(;d=l();)i.push(d)}else if(s&16){let l=Rb(n,e);if(Array.isArray(l))i.push(...l);else{let d=ko(n[Qt]);dc(d[ye],d,l,i,!0)}}e=o?e.projectionNext:e.next}return i}function Jw(t,n){for(let e=Rt;e<t.length;e++){let i=t[e],o=i[ye].firstChild;o!==null&&dc(i[ye],i,o,n)}t[Do]!==t[_i]&&n.push(t[Do])}var r2=[];function ey(t){return t[Cn]??ty(t)}function ty(t){let n=r2.pop()??Object.create(iy);return n.lView=t,n}function ny(t){t.lView[Cn]!==t&&(t.lView=null,r2.push(t))}var iy=ot(ue({},Os),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ec(t.lView)},consumerOnSignalRead(){this.lView[Cn]=this}});function oy(t){let n=t[Cn]??Object.create(ry);return n.lView=t,n}var ry=ot(ue({},Os),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=ko(t.lView);for(;n&&!s2(n[ye]);)n=ko(n);n&&Zf(n)},consumerOnSignalRead(){this.lView[Cn]=this}});function s2(t){return t.type!==2}var sy=100;function a2(t,n=!0,e=0){let i=t[Yn],o=i.rendererFactory,r=!1;r||o.begin?.();try{ay(t,e)}catch(s){throw n&&n2(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function ay(t,n){let e=qf();try{Oh(!0),Rp(t,n);let i=0;for(;Ac(t);){if(i===sy)throw new Oe(103,!1);i++,Rp(t,1)}}finally{Oh(e)}}function ly(t,n,e,i){let o=n[we];if((o&256)===256)return;let r=!1,s=!1;!r&&n[Yn].inlineEffectRunner?.flush(),Am(n);let l=!0,d=null,p=null;r||(s2(t)?(p=ey(n),d=il(p)):xg()===null?(l=!1,p=oy(n),d=il(p)):n[Cn]&&(Fu(n[Cn]),n[Cn]=null));try{zf(n),GC(t.bindingStartIndex),e!==null&&Yb(t,n,e,2,i);let f=(o&3)===3;if(!r)if(f){let x=t.preOrderCheckHooks;x!==null&&$l(n,x,null)}else{let x=t.preOrderHooks;x!==null&&Ul(n,x,0,null),np(n,0)}if(s||cy(n),l2(n,0),t.contentQueries!==null&&Jb(t,n),!r)if(f){let x=t.contentCheckHooks;x!==null&&$l(n,x)}else{let x=t.contentHooks;x!==null&&Ul(n,x,1),np(n,1)}Dw(t,n);let w=t.components;w!==null&&d2(n,w,0);let D=t.viewQuery;if(D!==null&&Hp(2,D,i),!r)if(f){let x=t.viewCheckHooks;x!==null&&$l(n,x)}else{let x=t.viewHooks;x!==null&&Ul(n,x,2),np(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[tp]){for(let x of n[tp])x();n[tp]=null}r||(n[we]&=-73)}catch(f){throw r||Ec(n),f}finally{p!==null&&(Tu(p,d),l&&ny(p)),Em()}}function l2(t,n){for(let e=Cb(t);e!==null;e=wb(e))for(let i=Rt;i<e.length;i++){let o=e[i];c2(o,n)}}function cy(t){for(let n=Cb(t);n!==null;n=wb(n)){if(!(n[we]&tc.HasTransplantedViews))continue;let e=n[wr];for(let i=0;i<e.length;i++){let o=e[i];Zf(o)}}}function dy(t,n,e){let i=Ui(n,t);c2(i,e)}function c2(t,n){Dm(t)&&Rp(t,n)}function Rp(t,n){let i=t[ye],o=t[we],r=t[Cn],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&Vu(r)),s||=!1,r&&(r.dirty=!1),t[we]&=-9217,s)ly(i,t,i.template,t[Tt]);else if(o&8192){l2(t,1);let l=i.components;l!==null&&d2(t,l,1)}}function d2(t,n,e){for(let i=0;i<n.length;i++)dy(t,n[i],e)}function Xm(t,n){let e=qf()?64:1088;for(t[Yn].changeDetectionScheduler?.notify(n);t;){t[we]|=e;let i=ko(t);if(wp(t)&&!i)return t;t=i}return null}var Eo=class{get rootNodes(){let n=this._lView,e=n[ye];return dc(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Tt]}set context(n){this._lView[Tt]=n}get destroyed(){return(this._lView[we]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Bt];if(Ci(n)){let e=n[ec],i=e?e.indexOf(this):-1;i>-1&&(Ys(n,i),Ql(e,i))}this._attachedToViewContainer=!1}jc(this._lView[ye],this._lView)}onDestroy(n){$f(this._lView,n)}markForCheck(){Xm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[we]&=-129}reattach(){yp(this._lView),this._lView[we]|=128}detectChanges(){this._lView[we]|=1024,a2(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Oe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=wp(this._lView),e=this._lView[Mo];e!==null&&!n&&Rm(e,this._lView),Tb(this._lView[ye],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Oe(902,!1);this._appRef=n;let e=wp(this._lView),i=this._lView[Mo];i!==null&&!e&&Vb(i,this._lView),yp(this._lView)}},Be=(()=>{class t{static{this.__NG_ELEMENT_ID__=my}}return t})(),uy=Be,py=class extends uy{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=ra(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Eo(o)}};function my(){return $c(Ft(),fe())}function $c(t,n){return t.type&4?new py(n,t,Pr(t,n)):null}var kH=new RegExp(`^(\\d+)*(${T7}|${P7})*(.*)`);var gy=()=>null;function xr(t,n){return gy(t,n)}var Mr=class{},Qm=new ie("",{providedIn:"root",factory:()=>!1});var u2=new ie(""),p2=new ie(""),Bp=class{},uc=class{};function hy(t){let n=Error(`No component factory found for ${cn(t)}.`);return n[fy]=t,n}var fy="ngComponent";var zp=class{resolveComponentFactory(n){throw hy(n)}},$i=class{static{this.NULL=new zp}},Dr=class{},Nn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>by()}}return t})();function by(){let t=fe(),n=Ft(),e=Ui(n.index,t);return(Hi(e)?e:t)[bt]}var vy=(()=>{class t{static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>null})}}return t})();function pc(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let l=n[s];if(typeof l=="number")r=l;else if(r==1)o=mp(o,l);else if(r==2){let d=l,p=n[++s];i=mp(i,d+": "+p+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var Zp=class extends $i{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=xo(n);return new qs(e,this.ngModule)}};function Uh(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,l=r?o[1]:Ri.None;n?e.push({propName:s,templateName:i,isSignal:(l&Ri.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function _y(t){let n=t.toLowerCase();return n==="svg"?Hf:n==="math"?VC:null}var qs=class extends uc{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=Uh(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return Uh(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=hC(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=Ve(null);try{o=o||this.ngModule;let s=o instanceof wn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let l=s?new Mp(n,s):n,d=l.get(Dr,null);if(d===null)throw new Oe(407,!1);let p=l.get(vy,null),f=l.get(Mr,null),w={rendererFactory:d,sanitizer:p,inlineEffectRunner:null,changeDetectionScheduler:f},D=d.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",A=i?Sw(D,i,this.componentDef.encapsulation,l):Pb(D,x,_y(x)),V=512;this.componentDef.signals?V|=4096:this.componentDef.onPush||(V|=16);let R=null;A!==null&&(R=Vm(A,l,!0));let H=Um(0,null,null,1,0,null,null,null,null,null,null),K=Bc(null,H,null,V,null,null,w,D,l,null,R);Am(K);let ge,ze,Te=null;try{let $=this.componentDef,Le,De=null;$.findHostDirectiveDefs?(Le=[],De=new Map,$.findHostDirectiveDefs($,Le,De),Le.push($)):Le=[$];let hn=Cy(K,A);Te=wy(hn,A,$,Le,K,w,D),ze=Mm(H,Vt),A&&My(D,$,A,i),e!==void 0&&Dy(ze,this.ngContentSelectors,e),ge=xy(Te,$,Le,De,K,[ky]),qm(H,K,null)}catch($){throw Te!==null&&Lp(Te),Lp(K),$}finally{Em()}return new $p(this.componentType,ge,Pr(ze,K),K,ze)}finally{Ve(r)}}},$p=class extends Bp{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Eo(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;Gm(r[ye],r,o,n,e),this.previousInputValues.set(n,e);let s=Ui(this._tNode.index,r);Xm(s,1)}}get injector(){return new wo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Cy(t,n){let e=t[ye],i=Vt;return t[i]=n,Vr(e,i,2,"#host",null)}function wy(t,n,e,i,o,r,s){let l=o[ye];yy(i,t,n,s);let d=null;n!==null&&(d=Vm(n,o[Cr]));let p=r.rendererFactory.createRenderer(n,e),f=16;e.signals?f=4096:e.onPush&&(f=64);let w=Bc(o,qb(e),null,f,o[t.index],t,r,p,null,null,d);return l.firstCreatePass&&jp(l,t,i.length-1),Zc(o,w),o[t.index]=w}function yy(t,n,e,i){for(let o of t)n.mergedAttrs=Zs(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(pc(n,n.mergedAttrs,!0),e!==null&&Zb(i,e,n))}function xy(t,n,e,i,o,r){let s=Ft(),l=o[ye],d=yn(s,o);Xb(l,o,s,e,null,i);for(let f=0;f<e.length;f++){let w=s.directiveStart+f,D=Ao(o,l,w,s);Zi(D,o)}Qb(l,o,s),d&&Zi(d,o);let p=Ao(o,l,s.directiveStart+s.componentOffset,s);if(t[Tt]=o[Tt]=p,r!==null)for(let f of r)f(p,n);return zm(l,s,o),p}function My(t,n,e,i){if(i)bp(t,e,["ng-version","18.2.12"]);else{let{attrs:o,classes:r}=fC(n.selectors[0]);o&&bp(t,e,o),r&&r.length>0&&zb(t,e,r.join(" "))}}function Dy(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function ky(){let t=Ft();Tc(fe()[ye],t)}var ti=(()=>{class t{static{this.__NG_ELEMENT_ID__=Oy}}return t})();function Oy(){let t=Ft();return g2(t,fe())}var Sy=ti,m2=class extends Sy{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new wo(this._hostTNode,this._hostLView)}get parentInjector(){let n=Im(this._hostTNode,this._hostLView);if(sb(n)){let e=ic(n,this._hostLView),i=nc(n),o=e[ye].data[i+8];return new wo(o,e)}else return new wo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Wh(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Rt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=xr(this._lContainer,n.ssrId),l=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(l,o,yr(this._hostTNode,s)),l}createComponent(n,e,i,o,r){let s=n&&!IC(n),l;if(s)l=e;else{let A=e||{};l=A.index,i=A.injector,o=A.projectableNodes,r=A.environmentInjector||A.ngModuleRef}let d=s?n:new qs(xo(n)),p=i||this.parentInjector;if(!r&&d.ngModule==null){let V=(s?p:this.parentInjector).get(wn,null);V&&(r=V)}let f=xo(d.componentType??{}),w=xr(this._lContainer,f?.id??null),D=w?.firstChild??null,x=d.create(p,o,D,r);return this.insertImpl(x.hostView,l,yr(this._hostTNode,w)),x}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(NC(o)){let l=this.indexOf(n);if(l!==-1)this.detach(l);else{let d=o[Bt],p=new m2(d,d[Jt],d[Bt]);p.detach(p.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return sa(s,o,r,i),n.attachToViewContainerRef(),hf(ap(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Wh(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Ys(this._lContainer,e);i&&(Ql(ap(this._lContainer),e),jc(i[ye],i))}detach(n){let e=this._adjustIndex(n,-1),i=Ys(this._lContainer,e);return i&&Ql(ap(this._lContainer),e)!=null?new Eo(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Wh(t){return t[ec]}function ap(t){return t[ec]||(t[ec]=[])}function g2(t,n){let e,i=n[t.index];return Ci(i)?e=i:(e=Kb(i,n,null,t),n[t.index]=e,Zc(n,e)),Ey(e,n,t,i),new m2(e,t,n)}function Ay(t,n){let e=t[bt],i=e.createComment(""),o=yn(n,t),r=jb(e,o);return cc(e,r,i,bw(e,o),!1),i}var Ey=Py,Iy=()=>!1;function Ly(t,n,e){return Iy(t,n,e)}function Py(t,n,e,i){if(t[Do])return;let o;e.type&8?o=qn(i):o=Ay(n,e),t[Do]=o}var Up=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Wp=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),l=this.queries[s.indexInDeclarationView];o.push(l.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)Km(n,e).matches!==null&&this.queries[e].setDirty()}},mc=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=By(n):this.predicate=n}},Gp=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Yp=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,Ty(e,r)),this.matchTNodeWithReadOption(n,e,Wl(e,n,r,!1,!1))}else i===Be?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Wl(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===oe||o===ti||o===Be&&e.type&4)this.addMatch(e.index,-2);else{let r=Wl(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function Ty(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Vy(t,n){return t.type&11?Pr(t,n):t.type&4?$c(t,n):null}function Fy(t,n,e,i){return e===-1?Vy(n,t):e===-2?Ny(t,n,i):Ao(t,t[ye],e,n)}function Ny(t,n,e){if(e===oe)return Pr(n,t);if(e===Be)return $c(n,t);if(e===ti)return g2(n,t)}function h2(t,n,e,i){let o=n[bi].queries[i];if(o.matches===null){let r=t.data,s=e.matches,l=[];for(let d=0;s!==null&&d<s.length;d+=2){let p=s[d];if(p<0)l.push(null);else{let f=r[p];l.push(Fy(n,f,s[d+1],e.metadata.read))}}o.matches=l}return o.matches}function qp(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=h2(t,n,o,e);for(let l=0;l<r.length;l+=2){let d=r[l];if(d>0)i.push(s[l/2]);else{let p=r[l+1],f=n[-d];for(let w=Rt;w<f.length;w++){let D=f[w];D[Mo]===D[Bt]&&qp(D[ye],D,p,i)}if(f[wr]!==null){let w=f[wr];for(let D=0;D<w.length;D++){let x=w[D];qp(x[ye],x,p,i)}}}}}return i}function jy(t,n){return t[bi].queries[n].queryList}function f2(t,n,e){let i=new Gs((e&4)===4);return Iw(t,n,i,i.destroy),(n[bi]??=new Wp).queries.push(new Up(i))-1}function Hy(t,n,e){let i=vt();return i.firstCreatePass&&(b2(i,new mc(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),f2(i,fe(),n)}function Ry(t,n,e,i){let o=vt();if(o.firstCreatePass){let r=Ft();b2(o,new mc(n,e,i),r.index),zy(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return f2(o,fe(),e)}function By(t){return t.split(",").map(n=>n.trim())}function b2(t,n,e){t.queries===null&&(t.queries=new Gp),t.queries.track(new Yp(n,e))}function zy(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function Km(t,n){return t.queries.getByIndex(n)}function Zy(t,n){let e=t[ye],i=Km(e,n);return i.crossesNgTemplate?qp(e,t,n,[]):h2(e,t,i,n)}var Gh=new Set;function Vo(t){Gh.has(t)||(Gh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function v2(t){return typeof t=="function"&&t[gi]!==void 0}function pe(t,n){Vo("NgSignals");let e=Tg(t),i=e[gi];return n?.equal&&(i.equal=n.equal),e.set=o=>Nu(i,o),e.update=o=>Vg(i,o),e.asReadonly=$y.bind(e),e}function $y(){let t=this[gi];if(t.readonlyFn===void 0){let n=()=>this();n[gi]=t,t.readonlyFn=n}return t.readonlyFn}function _2(t){return v2(t)&&typeof t.set=="function"}function Uy(t){return Object.getPrototypeOf(t.prototype).constructor}function re(t){let n=Uy(t.type),e=!0,i=[t];for(;n;){let o;if(Bi(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new Oe(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=Rl(t.inputs),s.inputTransforms=Rl(t.inputTransforms),s.declaredInputs=Rl(t.declaredInputs),s.outputs=Rl(t.outputs);let l=o.hostBindings;l&&Xy(t,l);let d=o.viewQuery,p=o.contentQueries;if(d&&Yy(t,d),p&&qy(t,p),Wy(t,o),V9(t.outputs,o.outputs),Bi(o)&&o.data.animation){let f=t.data;f.animation=(f.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(t),l===re&&(e=!1)}}n=Object.getPrototypeOf(n)}Gy(i)}function Wy(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function Gy(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Zs(o.hostAttrs,e=Zs(e,o.hostAttrs))}}function Rl(t){return t===br?{}:t===Xt?[]:t}function Yy(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function qy(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function Xy(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function Ee(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var kr=class{};var gc=class extends kr{constructor(n){super(),this.componentFactoryResolver=new Zp(this),this.instance=null;let e=new $s([...n.providers,{provide:kr,useValue:this},{provide:$i,useValue:this.componentFactoryResolver}],n.parent||Dc(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Qy(t,n,e=null){return new gc({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function C2(t){return Jm(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Ky(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function Jm(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function aa(t,n,e){return t[n]=e}function Jy(t,n){return t[n]}function Kt(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Xs(t,n,e,i){let o=Kt(t,n,e);return Kt(t,n+1,i)||o}function w2(t,n,e,i,o){let r=Xs(t,n,e,i);return Kt(t,n+2,o)||r}function y2(t,n,e,i,o,r){let s=Xs(t,n,e,i);return Xs(t,n+2,o,r)||s}function ex(t){return(t.flags&32)===32}function tx(t,n,e,i,o,r,s,l,d){let p=n.consts,f=Vr(n,t,4,s||null,l||null);Wm(n,e,f,zi(p,d)),Tc(n,f);let w=f.tView=Um(2,f,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,p,null);return n.queries!==null&&(n.queries.template(n,f),w.queries=n.queries.embeddedTView(f)),f}function hc(t,n,e,i,o,r,s,l,d,p){let f=e+Vt,w=n.firstCreatePass?tx(f,n,t,i,o,r,s,l,d):n.data[f];Po(w,!1);let D=nx(n,t,w,e);Lc()&&Hc(n,t,D,w),Zi(D,t);let x=Kb(D,t,D,w);return t[f]=x,Zc(t,x),Ly(x,w,t),Sc(w)&&Zm(n,t,w),d!=null&&$m(t,w,p),w}function E(t,n,e,i,o,r,s,l){let d=fe(),p=vt(),f=zi(p.consts,r);return hc(d,p,t,n,e,i,o,f,s,l),E}var nx=ix;function ix(t,n,e,i){return Pc(!0),n[bt].createComment("")}var js=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(js||{}),ox=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>new t})}}return t})(),Yh=class t{constructor(){this.ngZone=ne(Re),this.scheduler=ne(Mr),this.errorHandler=ne(Qn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[js.EarlyRead,js.Write,js.MixedReadWrite,js.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>new t})}};function de(t,n,e,i){let o=fe(),r=To();if(Kt(o,r,n)){let s=vt(),l=ea();Ww(l,o,t,n,e,i)}return de}function x2(t,n,e,i){return Kt(t,To(),e)?n+Wn(e)+i:Wt}function rx(t,n,e,i,o,r){let s=Xf(),l=Xs(t,s,e,o);return Ic(2),l?n+Wn(e)+i+Wn(o)+r:Wt}function sx(t,n,e,i,o,r,s,l){let d=Xf(),p=w2(t,d,e,o,s);return Ic(3),p?n+Wn(e)+i+Wn(o)+r+Wn(s)+l:Wt}function Bl(t,n){return t<<17|n<<2}function Io(t){return t>>17&32767}function ax(t){return(t&2)==2}function lx(t,n){return t&131071|n<<17}function Xp(t){return t|2}function Or(t){return(t&131068)>>2}function lp(t,n){return t&-131069|n<<2}function cx(t){return(t&1)===1}function Qp(t){return t|1}function dx(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,l=Io(s),d=Or(s);t[i]=e;let p=!1,f;if(Array.isArray(e)){let w=e;f=w[1],(f===null||Js(w,f)>0)&&(p=!0)}else f=e;if(o)if(d!==0){let D=Io(t[l+1]);t[i+1]=Bl(D,l),D!==0&&(t[D+1]=lp(t[D+1],i)),t[l+1]=lx(t[l+1],i)}else t[i+1]=Bl(l,0),l!==0&&(t[l+1]=lp(t[l+1],i)),l=i;else t[i+1]=Bl(d,0),l===0?l=i:t[d+1]=lp(t[d+1],i),d=i;p&&(t[i+1]=Xp(t[i+1])),qh(t,f,i,!0),qh(t,f,i,!1),ux(n,f,t,i,r),s=Bl(l,d),r?n.classBindings=s:n.styleBindings=s}function ux(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&Js(r,n)>=0&&(e[i+1]=Qp(e[i+1]))}function qh(t,n,e,i){let o=t[e+1],r=n===null,s=i?Io(o):Or(o),l=!1;for(;s!==0&&(l===!1||r);){let d=t[s],p=t[s+1];px(d,n)&&(l=!0,t[s+1]=i?Qp(p):Xp(p)),s=i?Io(p):Or(p)}l&&(t[e+1]=i?Xp(o):Qp(o))}function px(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Js(t,n)>=0:!1}var Vn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mx(t){return t.substring(Vn.key,Vn.keyEnd)}function gx(t){return hx(t),M2(t,D2(t,0,Vn.textEnd))}function M2(t,n){let e=Vn.textEnd;return e===n?-1:(n=Vn.keyEnd=fx(t,Vn.key=n,e),D2(t,n,e))}function hx(t){Vn.key=0,Vn.keyEnd=0,Vn.value=0,Vn.valueEnd=0,Vn.textEnd=t.length}function D2(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function fx(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function C(t,n,e){let i=fe(),o=To();if(Kt(i,o,n)){let r=vt(),s=ea();zc(r,s,i,t,n,i[bt],e,!1)}return C}function Kp(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";Gm(t,e,r[s],s,i)}function gt(t,n,e){return k2(t,n,e,!1),gt}function se(t,n){return k2(t,n,null,!0),se}function la(t){vx(Mx,bx,t,!0)}function bx(t,n){for(let e=gx(n);e>=0;e=M2(n,e))_m(t,mx(n),!0)}function k2(t,n,e,i){let o=fe(),r=vt(),s=Ic(2);if(r.firstUpdatePass&&S2(r,t,s,i),n!==Wt&&Kt(o,s,n)){let l=r.data[Jn()];A2(r,l,o,o[bt],t,o[s+1]=kx(n,e),i,s)}}function vx(t,n,e,i){let o=vt(),r=Ic(2);o.firstUpdatePass&&S2(o,null,r,i);let s=fe();if(e!==Wt&&Kt(s,r,e)){let l=o.data[Jn()];if(E2(l,i)&&!O2(o,r)){let d=i?l.classesWithoutHost:l.stylesWithoutHost;d!==null&&(e=mp(d,e||"")),Kp(o,l,s,e,i)}else Dx(o,l,s,s[bt],s[r+1],s[r+1]=xx(t,n,e),i,r)}}function O2(t,n){return n>=t.expandoStartIndex}function S2(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[Jn()],s=O2(t,e);E2(r,i)&&n===null&&!s&&(n=!1),n=_x(o,r,n,i),dx(o,r,n,e,s,i)}}function _x(t,n,e,i){let o=QC(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=cp(null,t,n,e,i),e=Qs(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=cp(o,t,n,e,i),r===null){let d=Cx(t,n,i);d!==void 0&&Array.isArray(d)&&(d=cp(null,t,n,d[1],i),d=Qs(d,n.attrs,i),wx(t,n,i,d))}else r=yx(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function Cx(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Or(i)!==0)return t[Io(i)]}function wx(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[Io(o)]=i}function yx(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=Qs(i,s,e)}return Qs(i,n.attrs,e)}function cp(t,n,e,i,o){let r=null,s=e.directiveEnd,l=e.directiveStylingLast;for(l===-1?l=e.directiveStart:l++;l<s&&(r=n[l],i=Qs(i,r.hostAttrs,o),r!==t);)l++;return t!==null&&(e.directiveStylingLast=l),i}function Qs(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),_m(t,s,e?!0:n[++r]))}return t===void 0?null:t}function xx(t,n,e){if(e==null||e==="")return Xt;let i=[],o=Tr(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function Mx(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&_m(t,i,e)}function Dx(t,n,e,i,o,r,s,l){o===Wt&&(o=Xt);let d=0,p=0,f=0<o.length?o[0]:null,w=0<r.length?r[0]:null;for(;f!==null||w!==null;){let D=d<o.length?o[d+1]:void 0,x=p<r.length?r[p+1]:void 0,A=null,V;f===w?(d+=2,p+=2,D!==x&&(A=w,V=x)):w===null||f!==null&&f<w?(d+=2,A=f):(p+=2,A=w,V=x),A!==null&&A2(t,n,e,i,A,V,s,l),f=d<o.length?o[d]:null,w=p<r.length?r[p]:null}}function A2(t,n,e,i,o,r,s,l){if(!(n.type&3))return;let d=t.data,p=d[l+1],f=cx(p)?Xh(d,n,e,o,Or(p),s):void 0;if(!fc(f)){fc(r)||ax(p)&&(r=Xh(d,null,e,o,l,s));let w=Rf(Jn(),e);xw(i,s,w,o,r)}}function Xh(t,n,e,i,o,r){let s=n===null,l;for(;o>0;){let d=t[o],p=Array.isArray(d),f=p?d[1]:d,w=f===null,D=e[o+1];D===Wt&&(D=w?Xt:void 0);let x=w?Ju(D,i):f===i?D:void 0;if(p&&!fc(x)&&(x=Ju(d,i)),fc(x)&&(l=x,s))return l;let A=t[o+1];o=s?Io(A):Or(A)}if(n!==null){let d=r?n.residualClasses:n.residualStyles;d!=null&&(l=Ju(d,i))}return l}function fc(t){return t!==void 0}function kx(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=cn(Tr(t)))),t}function E2(t,n){return(t.flags&(n?8:16))!==0}function e1(){return fe()[Qt][Tt]}var Jp=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function dp(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function Ox(t,n,e){let i,o,r=0,s=t.length-1,l=void 0;if(Array.isArray(n)){let d=n.length-1;for(;r<=s&&r<=d;){let p=t.at(r),f=n[r],w=dp(r,p,r,f,e);if(w!==0){w<0&&t.updateValue(r,f),r++;continue}let D=t.at(s),x=n[d],A=dp(s,D,d,x,e);if(A!==0){A<0&&t.updateValue(s,x),s--,d--;continue}let V=e(r,p),R=e(s,D),H=e(r,f);if(Object.is(H,R)){let K=e(d,x);Object.is(K,V)?(t.swap(r,s),t.updateValue(s,x),d--,s--):t.move(s,r),t.updateValue(r,f),r++;continue}if(i??=new bc,o??=Kh(t,r,s,e),em(t,i,r,H))t.updateValue(r,f),r++,s++;else if(o.has(H))i.set(V,t.detach(r)),s--;else{let K=t.create(r,n[r]);t.attach(r,K),r++,s++}}for(;r<=d;)Qh(t,i,e,r,n[r]),r++}else if(n!=null){let d=n[Symbol.iterator](),p=d.next();for(;!p.done&&r<=s;){let f=t.at(r),w=p.value,D=dp(r,f,r,w,e);if(D!==0)D<0&&t.updateValue(r,w),r++,p=d.next();else{i??=new bc,o??=Kh(t,r,s,e);let x=e(r,w);if(em(t,i,r,x))t.updateValue(r,w),r++,s++,p=d.next();else if(!o.has(x))t.attach(r,t.create(r,w)),r++,s++,p=d.next();else{let A=e(r,f);i.set(A,t.detach(r)),s--}}}for(;!p.done;)Qh(t,i,e,t.length,p.value),p=d.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(d=>{t.destroy(d)})}function em(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Qh(t,n,e,i,o){if(em(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function Kh(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var bc=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function z(t,n){Vo("NgControlFlow");let e=fe(),i=To(),o=e[i]!==Wt?e[i]:-1,r=o!==-1?vc(e,Vt+o):void 0,s=0;if(Kt(e,i,t)){let l=Ve(null);try{if(r!==void 0&&o2(r,s),t!==-1){let d=Vt+t,p=vc(e,d),f=om(e[ye],d),w=xr(p,f.tView.ssrId),D=ra(e,f,n,{dehydratedView:w});sa(p,D,s,yr(f,w))}}finally{Ve(l)}}else if(r!==void 0){let l=i2(r,s);l!==void 0&&(l[Tt]=n)}}var tm=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Rt}};function en(t,n){return n}var nm=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Mt(t,n,e,i,o,r,s,l,d,p,f,w,D){Vo("NgControlFlow");let x=fe(),A=vt(),V=d!==void 0,R=fe(),H=l?s.bind(R[Qt][Tt]):s,K=new nm(V,H);R[Vt+t]=K,hc(x,A,t+1,n,e,i,o,zi(A.consts,r)),V&&hc(x,A,t+2,d,p,f,w,zi(A.consts,D))}var im=class extends Jp{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Rt}at(n){return this.getLView(n)[Tt].$implicit}attach(n,e){let i=e[_r];this.needsIndexUpdate||=n!==this.length,sa(this.lContainer,e,n,yr(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Sx(this.lContainer,n)}create(n,e){let i=xr(this.lContainer,this.templateTNode.tView.ssrId),o=ra(this.hostLView,this.templateTNode,new tm(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){jc(n[ye],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Tt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Tt].$index=n}getLView(n){return Ax(this.lContainer,n)}};function Dt(t){let n=Ve(null),e=Jn();try{let i=fe(),o=i[ye],r=i[e],s=e+1,l=vc(i,s);if(r.liveCollection===void 0){let p=om(o,s);r.liveCollection=new im(l,i,p)}else r.liveCollection.reset();let d=r.liveCollection;if(Ox(d,t,r.trackByFn),d.updateIndexes(),r.hasEmptyBlock){let p=To(),f=d.length===0;if(Kt(i,p,f)){let w=e+2,D=vc(i,w);if(f){let x=om(o,w),A=xr(D,x.tView.ssrId),V=ra(i,x,void 0,{dehydratedView:A});sa(D,V,0,yr(x,A))}else o2(D,0)}}}finally{Ve(n)}}function vc(t,n){return t[n]}function Sx(t,n){return Ys(t,n)}function Ax(t,n){return i2(t,n)}function om(t,n){return Mm(t,n)}function Ex(t,n,e,i,o,r){let s=n.consts,l=zi(s,o),d=Vr(n,t,2,i,l);return Wm(n,e,d,zi(s,r)),d.attrs!==null&&pc(d,d.attrs,!1),d.mergedAttrs!==null&&pc(d,d.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,d),d}function v(t,n,e,i){let o=fe(),r=vt(),s=Vt+t,l=o[bt],d=r.firstCreatePass?Ex(s,r,o,n,e,i):r.data[s],p=Ix(r,o,d,l,n,t);o[s]=p;let f=Sc(d);return Po(d,!0),Zb(l,p,d),!ex(d)&&Lc()&&Hc(r,o,p,d),RC()===0&&Zi(p,o),BC(),f&&(Zm(r,o,d),zm(r,d,o)),i!==null&&$m(o,d),v}function _(){let t=Ft();km()?Om():(t=t.parent,Po(t,!1));let n=t;ZC(n)&&$C(),zC();let e=vt();return e.firstCreatePass&&(Tc(e,t),xm(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&o7(n)&&Kp(e,n,fe(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&r7(n)&&Kp(e,n,fe(),n.stylesWithoutHost,!1),_}function F(t,n,e,i){return v(t,n,e,i),_(),F}var Ix=(t,n,e,i,o,r)=>(Pc(!0),Pb(i,o,e7()));function Lx(t,n,e,i,o){let r=n.consts,s=zi(r,i),l=Vr(n,t,8,"ng-container",s);s!==null&&pc(l,s,!0);let d=zi(r,o);return Wm(n,e,l,d),n.queries!==null&&n.queries.elementStart(n,l),l}function tn(t,n,e){let i=fe(),o=vt(),r=t+Vt,s=o.firstCreatePass?Lx(r,o,i,n,e):o.data[r];Po(s,!0);let l=Px(o,i,s,t);return i[r]=l,Lc()&&Hc(o,i,l,s),Zi(l,i),Sc(s)&&(Zm(o,i,s),zm(o,s,i)),e!=null&&$m(i,s),tn}function nn(){let t=Ft(),n=vt();return km()?Om():(t=t.parent,Po(t,!1)),n.firstCreatePass&&(Tc(n,t),xm(t)&&n.queries.elementEnd(t)),nn}function Pt(t,n,e){return tn(t,n,e),nn(),Pt}var Px=(t,n,e,i)=>(Pc(!0),cw(n[bt],""));function U(){return fe()}function ca(t,n,e){let i=fe(),o=To();if(Kt(i,o,n)){let r=vt(),s=ea();zc(r,s,i,t,n,i[bt],e,!0)}return ca}var _c="en-US";var Tx=_c;function Vx(t){typeof t=="string"&&(Tx=t.toLowerCase().replace(/_/g,"-"))}var Fx=(t,n,e)=>{};function k(t,n,e,i){let o=fe(),r=vt(),s=Ft();return I2(r,o,o[bt],s,t,n,i),k}function Nx(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let l=n[Jl],d=o[r+2];return l.length>d?l[d]:null}typeof s=="string"&&(r+=2)}return null}function I2(t,n,e,i,o,r,s){let l=Sc(i),p=t.firstCreatePass&&t2(t),f=n[Tt],w=e2(n),D=!0;if(i.type&3||s){let V=yn(i,n),R=s?s(V):V,H=w.length,K=s?ze=>s(qn(ze[i.index])):i.index,ge=null;if(!s&&l&&(ge=Nx(t,n,o,i.index)),ge!==null){let ze=ge.__ngLastListenerFn__||ge;ze.__ngNextListenerFn__=r,ge.__ngLastListenerFn__=r,D=!1}else{r=ef(i,n,f,r),Fx(V,o,r);let ze=e.listen(R,o,r);w.push(r,ze),p&&p.push(o,K,H,H+1)}}else r=ef(i,n,f,r);let x=i.outputs,A;if(D&&x!==null&&(A=x[o])){let V=A.length;if(V)for(let R=0;R<V;R+=2){let H=A[R],K=A[R+1],Te=n[H][K].subscribe(r),$=w.length;w.push(r,Te),p&&p.push(o,i.index,$,-($+1))}}}function Jh(t,n,e,i){let o=Ve(null);try{return $n(6,n,e),e(i)!==!1}catch(r){return n2(t,r),!1}finally{$n(7,n,e),Ve(o)}}function ef(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?Ui(t.index,n):n;Xm(s,5);let l=Jh(n,e,i,r),d=o.__ngNextListenerFn__;for(;d;)l=Jh(n,e,d,r)&&l,d=d.__ngNextListenerFn__;return l}}function b(t=1){return JC(t)}function jx(t,n){let e=null,i=dC(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?wf(t,r,!0):mC(i,r))return o}return e}function lt(t){let n=fe()[Qt][Jt];if(!n.projection){let e=t?t.length:1,i=n.projection=tC(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?jx(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ue(t,n=0,e,i,o,r){let s=fe(),l=vt(),d=i?t+1:null;d!==null&&hc(s,l,d,i,o,r,null,e);let p=Vr(l,Vt+t,16,null,e||null);p.projection===null&&(p.projection=n),Om();let w=!s[_r]||Gf();s[Qt][Jt].projection[p.projection]===null&&d!==null?Hx(s,l,d):w&&(p.flags&32)!==32&&ww(l,s,p)}function Hx(t,n,e){let i=Vt+e,o=n.data[i],r=t[i],s=xr(r,o.tView.ssrId),l=ra(t,o,void 0,{dehydratedView:s});sa(r,l,0,yr(o,s))}function Ie(t,n,e){return L2(t,"",n,"",e),Ie}function L2(t,n,e,i,o){let r=fe(),s=x2(r,n,e,i);if(s!==Wt){let l=vt(),d=ea();zc(l,d,r,t,s,r[bt],o,!1)}return L2}function zt(t,n,e,i){Ry(t,n,e,i)}function kt(t,n,e){Hy(t,n,e)}function We(t){let n=fe(),e=vt(),i=Qf();Sm(i+1);let o=Km(e,i);if(t.dirty&&FC(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=Zy(n,i);t.reset(r,O7),t.notifyOnChanges()}return!0}return!1}function Ge(){return jy(fe(),Qf())}function Rx(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function yt(t){let n=WC();return Bf(n,Vt+t)}function T(t,n=""){let e=fe(),i=vt(),o=t+Vt,r=i.firstCreatePass?Vr(i,o,1,n,null):i.data[o],s=Bx(i,e,r,n,t);e[o]=s,Lc()&&Hc(i,e,s,r),Po(r,!1)}var Bx=(t,n,e,i,o)=>(Pc(!0),aw(n[bt],i));function xe(t){return X("",t,""),xe}function X(t,n,e){let i=fe(),o=x2(i,t,n,e);return o!==Wt&&Ym(i,Jn(),o),X}function Fo(t,n,e,i,o){let r=fe(),s=rx(r,t,n,e,i,o);return s!==Wt&&Ym(r,Jn(),s),Fo}function t1(t,n,e,i,o,r,s){let l=fe(),d=sx(l,t,n,e,i,o,r,s);return d!==Wt&&Ym(l,Jn(),d),t1}function yi(t,n,e){_2(n)&&(n=n());let i=fe(),o=To();if(Kt(i,o,n)){let r=vt(),s=ea();zc(r,s,i,t,n,i[bt],e,!1)}return yi}function Wi(t,n){let e=_2(t);return e&&t.set(n),e}function xi(t,n){let e=fe(),i=vt(),o=Ft();return I2(i,e,e[bt],o,t,n),xi}function zx(t,n,e){let i=vt();if(i.firstCreatePass){let o=Bi(t);rm(e,i.data,i.blueprint,o,!0),rm(n,i.data,i.blueprint,o,!1)}}function rm(t,n,e,i,o){if(t=Ut(t),Array.isArray(t))for(let r=0;r<t.length;r++)rm(t[r],n,e,i,o);else{let r=vt(),s=fe(),l=Ft(),d=vr(t)?t:Ut(t.provide),p=Af(t),f=l.providerIndexes&1048575,w=l.directiveStart,D=l.providerIndexes>>20;if(vr(t)||!t.multi){let x=new So(p,o,M),A=pp(d,n,o?f:f+D,w);A===-1?(kp(rc(l,s),r,d),up(r,t,n.length),n.push(d),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),e.push(x),s.push(x)):(e[A]=x,s[A]=x)}else{let x=pp(d,n,f+D,w),A=pp(d,n,f,f+D),V=x>=0&&e[x],R=A>=0&&e[A];if(o&&!R||!o&&!V){kp(rc(l,s),r,d);let H=Ux(o?$x:Zx,e.length,o,i,p);!o&&R&&(e[A].providerFactory=H),up(r,t,n.length,0),n.push(d),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),e.push(H),s.push(H)}else{let H=P2(e[o?A:x],p,!o&&i);up(r,t,x>-1?x:A,H)}!o&&i&&R&&e[A].componentProviders++}}}function up(t,n,e,i){let o=vr(n),r=MC(n);if(o||r){let d=(r?Ut(n.useClass):n).prototype.ngOnDestroy;if(d){let p=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let f=p.indexOf(e);f===-1?p.push(e,[i,d]):p[f+1].push(i,d)}else p.push(e,d)}}}function P2(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function pp(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function Zx(t,n,e,i){return sm(this.multi,[])}function $x(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=Ao(e,e[ye],this.providerFactory.index,i);r=l.slice(0,s),sm(o,r);for(let d=s;d<l.length;d++)r.push(l[d])}else r=[],sm(o,r);return r}function sm(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function Ux(t,n,e,i,o){let r=new So(t,e,M);return r.multi=[],r.index=n,r.componentProviders=0,P2(r,o,i&&!e),r}function me(t,n=[]){return e=>{e.providersResolver=(i,o)=>zx(i,o?o(t):t,n)}}var Wx=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=kf(!1,e.type),o=i.length>0?Qy([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=te({token:t,providedIn:"environment",factory:()=>new t(q(wn))})}}return t})();function j(t){Vo("NgStandalone"),t.getStandaloneInjector=n=>n.get(Wx).getOrCreateStandaloneInjector(t)}function qe(t,n,e,i){return F2(fe(),Ar(),t,n,e,i)}function Nt(t,n,e,i,o){return Gx(fe(),Ar(),t,n,e,i,o)}function jt(t,n,e,i,o,r){return Yx(fe(),Ar(),t,n,e,i,o,r)}function T2(t,n,e,i,o,r,s){return qx(fe(),Ar(),t,n,e,i,o,r,s)}function V2(t,n,e,i,o,r,s,l){let d=Ar()+t,p=fe(),f=y2(p,d,e,i,o,r);return Kt(p,d+4,s)||f?aa(p,d+5,l?n.call(l,e,i,o,r,s):n(e,i,o,r,s)):Jy(p,d+5)}function Uc(t,n){let e=t[n];return e===Wt?void 0:e}function F2(t,n,e,i,o,r){let s=n+e;return Kt(t,s,o)?aa(t,s+1,r?i.call(r,o):i(o)):Uc(t,s+1)}function Gx(t,n,e,i,o,r,s){let l=n+e;return Xs(t,l,o,r)?aa(t,l+2,s?i.call(s,o,r):i(o,r)):Uc(t,l+2)}function Yx(t,n,e,i,o,r,s,l){let d=n+e;return w2(t,d,o,r,s)?aa(t,d+3,l?i.call(l,o,r,s):i(o,r,s)):Uc(t,d+3)}function qx(t,n,e,i,o,r,s,l,d){let p=n+e;return y2(t,p,o,r,s,l)?aa(t,p+4,d?i.call(d,o,r,s,l):i(o,r,s,l)):Uc(t,p+4)}function W(t,n){let e=vt(),i,o=t+Vt;e.firstCreatePass?(i=Xx(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=yo(i.type,!0)),s,l=qt(M);try{let d=oc(!1),p=r();return oc(d),Rx(e,fe(),o,p),p}finally{qt(l)}}function Xx(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function G(t,n,e){let i=t+Vt,o=fe(),r=Bf(o,i);return Qx(o,i)?F2(o,Ar(),n,r.transform,e,r):r.transform(e)}function Qx(t,n){return t[ye].data[n].pure}function Zt(t,n){return $c(t,n)}var N2=new ie("");function da(t){return!!t&&typeof t.then=="function"}function j2(t){return!!t&&typeof t.subscribe=="function"}var Kx=new ie(""),H2=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=ne(Kx,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(da(r))e.push(r);else if(j2(r)){let s=new Promise((l,d)=>{r.subscribe({complete:l,error:d})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),R2=new ie("");function Jx(){Pg(()=>{throw new Oe(600,!1)})}function eM(t){return t.isBoundToModule}var tM=10;function nM(t,n,e){try{let i=e();return da(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var ni=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ne(D7),this.afterRenderManager=ne(ox),this.zonelessEnabled=ne(Qm),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Pe,this.afterTick=new Pe,this.componentTypes=[],this.components=[],this.isStable=ne(Lr).hasPendingTasks.pipe(ke(e=>!e)),this._injector=ne(wn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof uc;if(!this._injector.get(H2).done){let D=!o&&_C(e),x=!1;throw new Oe(405,x)}let s;o?s=e:s=this._injector.get($i).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let l=eM(s)?void 0:this._injector.get(kr),d=i||s.selector,p=s.create(Xn.NULL,[],d,l),f=p.location.nativeElement,w=p.injector.get(N2,null);return w?.registerApplication(f),p.onDestroy(()=>{this.detachView(p.hostView),Gl(this.components,p),w?.unregisterApplication(f)}),this._loadComponent(p),p}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Oe(101,!1);let e=Ve(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Ve(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(Dr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<tM;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)iM(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Ac(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Gl(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(R2,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Gl(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Oe(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Gl(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function iM(t,n,e,i){if(!e&&!Ac(t))return;a2(t,n,e&&!i?0:1)}var oM=(()=>{class t{constructor(){this.zone=ne(Re),this.changeDetectionScheduler=ne(Mr),this.applicationRef=ne(ni)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function rM({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new Re(ot(ue({},sM()),{scheduleInRootZone:e})),[{provide:Re,useFactory:t},{provide:zs,multi:!0,useFactory:()=>{let i=ne(oM,{optional:!0});return()=>i.initialize()}},{provide:zs,multi:!0,useFactory:()=>{let i=ne(aM);return()=>{i.initialize()}}},n===!0?{provide:u2,useValue:!0}:[],{provide:p2,useValue:e??hb}]}function sM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var aM=(()=>{class t{constructor(){this.subscription=new ft,this.initialized=!1,this.zone=ne(Re),this.pendingTasks=ne(Lr)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Re.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Re.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var lM=(()=>{class t{constructor(){this.appRef=ne(ni),this.taskService=ne(Lr),this.ngZone=ne(Re),this.zonelessEnabled=ne(Qm),this.disableScheduling=ne(u2,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ft,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ac):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(ne(p2,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 Ip||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Lh:fb;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ac+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Lh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function cM(){return typeof $localize<"u"&&$localize.locale||_c}var Wc=new ie("",{providedIn:"root",factory:()=>ne(Wc,Ne.Optional|Ne.SkipSelf)||cM()});var am=new ie("");function zl(t){return!t.moduleRef}function dM(t){let n=zl(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Re);return e.run(()=>{zl(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Qn,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),zl(t)){let r=()=>n.destroy(),s=t.platformInjector.get(am);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(am);s.add(r),t.moduleRef.onDestroy(()=>{Gl(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return nM(i,e,()=>{let r=n.get(H2);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(Wc,_c);if(Vx(s||_c),zl(t)){let l=n.get(ni);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return uM(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function uM(t,n){let e=t.injector.get(ni);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new Oe(-403,!1);n.push(t)}var Yl=null;function pM(t=[],n){return Xn.create({name:n,providers:[{provide:Mc,useValue:"platform"},{provide:am,useValue:new Set([()=>Yl=null])},...t]})}function mM(t=[]){if(Yl)return Yl;let n=pM(t);return Yl=n,Jx(),gM(n),n}function gM(t){t.get(Tm,null)?.forEach(e=>e())}var _t=(()=>{class t{static{this.__NG_ELEMENT_ID__=hM}}return t})();function hM(t){return fM(Ft(),fe(),(t&16)===16)}function fM(t,n,e){if(Oc(t)&&!e){let i=Ui(t.index,n);return new Eo(i,i)}else if(t.type&175){let i=n[Qt];return new Eo(i,n)}return null}var lm=class{constructor(){}supports(n){return C2(n)}create(n){return new cm(n)}},bM=(t,n)=>n,cm=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||bM}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<tf(i,o,r)?e:i,l=tf(s,o,r),d=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let p=l-o,f=d-o;if(p!=f){for(let D=0;D<p;D++){let x=D<r.length?r[D]:r[D]=0,A=x+D;f<=A&&A<p&&(r[D]=x+1)}let w=s.previousIndex;r[w]=f-p}}l!==d&&n(s,l,d)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!C2(n))throw new Oe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let l=0;l<this.length;l++)r=n[l],s=this._trackByFn(l,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,l),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,l)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,Ky(n,l=>{s=this._trackByFn(o,l),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,l,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,l,s,o)),Object.is(e.item,l)||this._addIdentityChange(e,l)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new dm(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Cc),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Cc),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},dm=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},um=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Cc=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new um,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function tf(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var pm=class{constructor(){}supports(n){return n instanceof Map||Jm(n)}create(){return new mm}},mm=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Jm(n)))throw new Oe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new gm(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},gm=class{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function nf(){return new Fr([new lm])}var Fr=(()=>{class t{static{this.\u0275prov=te({token:t,providedIn:"root",factory:nf})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||nf()),deps:[[t,new gf,new bm]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new Oe(901,!1)}}return t})();function of(){return new n1([new pm])}var n1=(()=>{class t{static{this.\u0275prov=te({token:t,providedIn:"root",factory:of})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||of()),deps:[[t,new gf,new bm]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new Oe(901,!1)}}return t})();function B2(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=mM(i),r=[rM({}),{provide:Mr,useExisting:lM},...e||[]],s=new gc({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return dM({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function L(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function un(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function pn(t,n){Vo("NgSignals");let e=Eg(t);return n?.equal&&(e[gi].equal=n.equal),e}function Mi(t){let n=Ve(null);try{return t()}finally{Ve(n)}}function i1(t,n){let e=xo(t),i=n.elementInjector||Dc();return new qs(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}var Gc={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return Gc.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Gc.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function vM(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function _M(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function CM(t){return typeof t=="function"}var o1;function wM(t,n){if(!o1){let e=Element.prototype;o1=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?o1.call(t,n):!1}function yM(t,n){return t===n||t!==t&&n!==n}function xM(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[vM(i)]=[e,o]}),n}function MM(t,n){return n.get($i).resolveComponentFactory(t).inputs}function DM(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let l=e[r],d=kM(l,n,o);d!==-1&&i[d].push(l)}return i}function kM(t,n,e){let i=e;return _M(t)&&n.some((o,r)=>o!=="*"&&wM(t,o)?(i=r,!0):!1),i}var OM=10,r1=class{constructor(n,e){this.componentFactory=e.get($i).resolveComponentFactory(n)}create(n){return new s1(this.componentFactory,n)}},s1=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Ii(1),this.events=this.eventEmitters.pipe(ln(i=>fi(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Re),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Gc.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},OM))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}yM(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=Xn.create({providers:[],parent:this.injector}),i=DM(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(_t),this.implementsOnChanges=CM(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(ni).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(ke(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Gc.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new Ws(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},a1=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ke(t,n){let e=MM(t,n.injector),i=n.strategyFactory||new r1(t,n.injector),o=xM(e);class r extends a1{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:d,transform:p})=>{if(!this.hasOwnProperty(d))return;let f=this[d];delete this[d],l.setInputValue(d,f,p)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,d,p,f){let[w,D]=o[l];this.ngElementStrategy.setInputValue(w,p,D)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let d=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(d)})}}return e.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(d){this.ngElementStrategy.setInputValue(s,d,l)},configurable:!0,enumerable:!0})}),r}var U2=null;function jr(){return U2}function W2(t){U2??=t}var qc=class{};var xt=new ie("");function Xc(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var l1=/\s+/,z2=[],be=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=z2,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(l1):z2}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(l1):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(l1).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(Nn))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var c1=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}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}},Je=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new c1(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let l=i.get(r);i.move(l,s),Z2(l,o)}});for(let o=0,r=i.length;o<r;o++){let l=i.get(o).context;l.index=o,l.count=r,l.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);Z2(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(M(ti),M(Be),M(Fr))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function Z2(t,n){t.context.$implicit=n.item}var Ot=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new d1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){$2("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$2("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(M(ti),M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),d1=class{constructor(){this.$implicit=null,this.ngIf=null}};function $2(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${cn(n)}'.`)}var Hr=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:Kn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(n1),M(Nn))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),Di=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(M(ti))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[mt]})}}return t})();var Q=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})(),u1="browser",AM="server";function G2(t){return t===u1}function Qc(t){return t===AM}var Nr=class{};var pa=class{},Jc=class{},ki=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
11
|
-
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(l=>r.indexOf(l)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var m1=class{encodeKey(n){return Y2(n)}encodeValue(n){return Y2(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function EM(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[s,l]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],d=e.get(s)||[];d.push(l),e.set(s,d)}),e}var IM=/%(\d[a-f0-9])/gi,LM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Y2(t){return encodeURIComponent(t).replace(IM,(n,e)=>LM[e]??n)}function Kc(t){return`${t}`}var Yi=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new m1,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=EM(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],o=Array.isArray(i)?i.map(Kc):[Kc(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Kc(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],o=i.indexOf(Kc(n.value));o!==-1&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var g1=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function PM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function q2(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function X2(t){return typeof Blob<"u"&&t instanceof Blob}function Q2(t){return typeof FormData<"u"&&t instanceof FormData}function TM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ua=class t{constructor(n,e,i,o){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let r;if(PM(this.method)||o?(this.body=i!==void 0?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new ki,this.context??=new g1,!this.params)this.params=new Yi,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let l=e.indexOf("?"),d=l===-1?"?":l<e.length-1?"&":"";this.urlWithParams=e+d+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||q2(this.body)||X2(this.body)||Q2(this.body)||TM(this.body)?this.body:this.body instanceof Yi?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||Q2(this.body)?null:X2(this.body)?this.body.type||null:q2(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Yi?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,l=n.withCredentials??this.withCredentials,d=n.reportProgress??this.reportProgress,p=n.headers||this.headers,f=n.params||this.params,w=n.context??this.context;return n.setHeaders!==void 0&&(p=Object.keys(n.setHeaders).reduce((D,x)=>D.set(x,n.setHeaders[x]),p)),n.setParams&&(f=Object.keys(n.setParams).reduce((D,x)=>D.set(x,n.setParams[x]),f)),new t(e,i,s,{params:f,headers:p,context:w,reportProgress:d,responseType:o,withCredentials:l,transferCache:r})}},qi=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(qi||{}),ma=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new ki,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},ed=class t extends ma{constructor(n={}){super(n),this.type=qi.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ga=class t extends ma{constructor(n={}){super(n),this.type=qi.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Gi=class extends ma{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},t3=200,VM=204;function p1(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var b1=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof ua)r=e;else{let d;o.headers instanceof ki?d=o.headers:d=new ki(o.headers);let p;o.params&&(o.params instanceof Yi?p=o.params:p=new Yi({fromObject:o.params})),r=new ua(e,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:p,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=Qe(r).pipe(an(d=>this.handler.handle(d)));if(e instanceof ua||o.observe==="events")return s;let l=s.pipe(Zn(d=>d instanceof ga));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(ke(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(ke(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(ke(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(ke(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Yi().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,p1(o,i))}post(e,i,o={}){return this.request("POST",e,p1(o,i))}put(e,i,o={}){return this.request("PUT",e,p1(o,i))}static{this.\u0275fac=function(i){return new(i||t)(q(pa))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),FM=/^\)\]\}',?\n/,NM="X-Request-URL";function K2(t){if(t.url)return t.url;let n=NM.toLocaleLowerCase();return t.headers.get(n)}var jM=(()=>{class t{constructor(){this.fetchImpl=ne(h1,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=ne(Re)}handle(e){return new Ae(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(f1,r=>i.error(new Gi({error:r}))),()=>o.abort()})}doRequest(e,i,o){return Bn(this,null,function*(){let r=this.createRequestInit(e),s;try{let x=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,ue({signal:i},r)));HM(x),o.next({type:qi.Sent}),s=yield x}catch(x){o.error(new Gi({error:x,status:x.status??0,statusText:x.statusText,url:e.urlWithParams,headers:x.headers}));return}let l=new ki(s.headers),d=s.statusText,p=K2(s)??e.urlWithParams,f=s.status,w=null;if(e.reportProgress&&o.next(new ed({headers:l,status:f,statusText:d,url:p})),s.body){let x=s.headers.get("content-length"),A=[],V=s.body.getReader(),R=0,H,K,ge=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Bn(this,null,function*(){for(;;){let{done:Te,value:$}=yield V.read();if(Te)break;if(A.push($),R+=$.length,e.reportProgress){K=e.responseType==="text"?(K??"")+(H??=new TextDecoder).decode($,{stream:!0}):void 0;let Le=()=>o.next({type:qi.DownloadProgress,total:x?+x:void 0,loaded:R,partialText:K});ge?ge.run(Le):Le()}}}));let ze=this.concatChunks(A,R);try{let Te=s.headers.get("Content-Type")??"";w=this.parseBody(e,ze,Te)}catch(Te){o.error(new Gi({error:Te,headers:new ki(s.headers),status:s.status,statusText:s.statusText,url:K2(s)??e.urlWithParams}));return}}f===0&&(f=w?t3:0),f>=200&&f<300?(o.next(new ga({body:w,headers:l,status:f,statusText:d,url:p})),o.complete()):o.error(new Gi({error:w,headers:l,status:f,statusText:d,url:p}))})}parseBody(e,i,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(i).replace(FM,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>i[r]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(i["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),r=0;for(let s of e)o.set(s,r),r+=s.length;return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),h1=class{};function f1(){}function HM(t){t.then(f1,f1)}function RM(t,n){return n(t)}function BM(t,n,e){return(i,o)=>Ef(e,()=>n(i,r=>t(r,o)))}var n3=new ie(""),zM=new ie(""),ZM=new ie("",{providedIn:"root",factory:()=>!0});var J2=(()=>{class t extends pa{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=ne(Lr),this.contributeToStability=ne(ZM)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(n3),...this.injector.get(zM,[])]));this.chain=i.reduceRight((o,r)=>BM(o,r,this.injector),RM)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Qu(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(q(Jc),q(wn))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})();var $M=/^\)\]\}',?\n/;function UM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var e3=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Oe(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ct(i.\u0275loadImpl()):Qe(null)).pipe(ln(()=>new Ae(r=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((V,R)=>s.setRequestHeader(V,R.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let V=e.detectContentTypeHeader();V!==null&&s.setRequestHeader("Content-Type",V)}if(e.responseType){let V=e.responseType.toLowerCase();s.responseType=V!=="json"?V:"text"}let l=e.serializeBody(),d=null,p=()=>{if(d!==null)return d;let V=s.statusText||"OK",R=new ki(s.getAllResponseHeaders()),H=UM(s)||e.url;return d=new ed({headers:R,status:s.status,statusText:V,url:H}),d},f=()=>{let{headers:V,status:R,statusText:H,url:K}=p(),ge=null;R!==VM&&(ge=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=ge?t3:0);let ze=R>=200&&R<300;if(e.responseType==="json"&&typeof ge=="string"){let Te=ge;ge=ge.replace($M,"");try{ge=ge!==""?JSON.parse(ge):null}catch($){ge=Te,ze&&(ze=!1,ge={error:$,text:ge})}}ze?(r.next(new ga({body:ge,headers:V,status:R,statusText:H,url:K||void 0})),r.complete()):r.error(new Gi({error:ge,headers:V,status:R,statusText:H,url:K||void 0}))},w=V=>{let{url:R}=p(),H=new Gi({error:V,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});r.error(H)},D=!1,x=V=>{D||(r.next(p()),D=!0);let R={type:qi.DownloadProgress,loaded:V.loaded};V.lengthComputable&&(R.total=V.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),r.next(R)},A=V=>{let R={type:qi.UploadProgress,loaded:V.loaded};V.lengthComputable&&(R.total=V.total),r.next(R)};return s.addEventListener("load",f),s.addEventListener("error",w),s.addEventListener("timeout",w),s.addEventListener("abort",w),e.reportProgress&&(s.addEventListener("progress",x),l!==null&&s.upload&&s.upload.addEventListener("progress",A)),s.send(l),r.next({type:qi.Sent}),()=>{s.removeEventListener("error",w),s.removeEventListener("abort",w),s.removeEventListener("load",f),s.removeEventListener("timeout",w),e.reportProgress&&(s.removeEventListener("progress",x),l!==null&&s.upload&&s.upload.removeEventListener("progress",A)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(q(Nr))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),i3=new ie(""),WM="XSRF-TOKEN",GM=new ie("",{providedIn:"root",factory:()=>WM}),YM="X-XSRF-TOKEN",qM=new ie("",{providedIn:"root",factory:()=>YM}),td=class{},XM=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Xc(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(q(xt),q(ei),q(GM))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})();function QM(t,n){let e=t.url.toLowerCase();if(!ne(i3)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=ne(td).getToken(),o=ne(qM);return i!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}function o3(...t){let n=[b1,e3,J2,{provide:pa,useExisting:J2},{provide:Jc,useFactory:()=>ne(jM,{optional:!0})??ne(e3)},{provide:n3,useValue:QM,multi:!0},{provide:i3,useValue:!0},{provide:td,useClass:XM}];for(let e of t)n.push(...e.\u0275providers);return xc(n)}var C1=class extends qc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},w1=class t extends C1{static makeCurrent(){W2(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=JM();return e==null?null:eD(e)}resetBaseElement(){ha=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Xc(document.cookie,n)}},ha=null;function JM(){return ha=ha||document.querySelector("base"),ha?ha.getAttribute("href"):null}function eD(t){return new URL(t,document.baseURI).pathname}var tD=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),y1=new ie(""),l3=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new Oe(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(q(y1),q(Re))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),nd=class{constructor(n){this._doc=n}},v1="ng-app-id",c3=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Qc(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${v1}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(v1),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(v1,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(q(xt),q(Vc),q(na,8),q(ei))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),_1={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"},M1=/%COMP%/g,d3="%COMP%",nD=`_nghost-${d3}`,iD=`_ngcontent-${d3}`,oD=!0,rD=new ie("",{providedIn:"root",factory:()=>oD});function sD(t){return iD.replace(M1,t)}function aD(t){return nD.replace(M1,t)}function u3(t,n){return n.map(e=>e.replace(M1,t))}var r3=(()=>{class t{constructor(e,i,o,r,s,l,d,p=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=l,this.ngZone=d,this.nonce=p,this.rendererByCompId=new Map,this.platformIsServer=Qc(l),this.defaultRenderer=new fa(e,s,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gn.ShadowDom&&(i=ot(ue({},i),{encapsulation:Gn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof id?o.applyToHost(e):o instanceof ba&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,l=this.ngZone,d=this.eventManager,p=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,w=this.platformIsServer;switch(i.encapsulation){case Gn.Emulated:r=new id(d,p,i,this.appId,f,s,l,w);break;case Gn.ShadowDom:return new x1(d,p,e,i,s,l,this.nonce,w);default:r=new ba(d,p,i,f,s,l,w);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(q(l3),q(c3),q(Vc),q(rD),q(xt),q(ei),q(Re),q(na))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),fa=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(_1[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(s3(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(s3(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new Oe(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;let r=_1[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=_1[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(Kn.DashCase|Kn.Important)?n.style.setProperty(e,i,o&Kn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Kn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=jr().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function s3(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var x1=class extends fa{constructor(n,e,i,o,r,s,l,d){super(n,r,s,d),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let p=u3(o.id,o.styles);for(let f of p){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=f,this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ba=class extends fa{constructor(n,e,i,o,r,s,l,d){super(n,r,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=d?u3(d,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},id=class extends ba{constructor(n,e,i,o,r,s,l,d){let p=o+"-"+i.id;super(n,e,i,r,s,l,d,p),this.contentAttr=sD(p),this.hostAttr=aD(p)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},lD=(()=>{class t extends nd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(q(xt))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),a3=["alt","control","meta","shift"],cD={"\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"},dD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},uD=(()=>{class t extends nd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jr().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),s="code."),a3.forEach(p=>{let f=i.indexOf(p);f>-1&&(i.splice(f,1),s+=p+".")}),s+=r,i.length!=0||r.length===0)return null;let d={};return d.domEventName=o,d.fullKey=s,d}static matchEventFullKeyCode(e,i){let o=cD[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),a3.forEach(s=>{if(s!==o){let l=dD[s];l(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(q(xt))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})();function p3(t){return B2(pD(t))}function pD(t){return{appProviders:[...bD,...t?.providers??[]],platformProviders:fD}}function mD(){w1.makeCurrent()}function gD(){return new Qn}function hD(){return xb(document),document}var fD=[{provide:ei,useValue:u1},{provide:Tm,useValue:mD,multi:!0},{provide:xt,useFactory:hD,deps:[]}];var bD=[{provide:Mc,useValue:"root"},{provide:Qn,useFactory:gD,deps:[]},{provide:y1,useClass:lD,multi:!0,deps:[xt,Re,ei]},{provide:y1,useClass:uD,multi:!0,deps:[xt]},r3,c3,l3,{provide:Dr,useExisting:r3},{provide:Nr,useClass:tD,deps:[]},[]];var C3=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(M(Nn),M(oe))}}static{this.\u0275dir=ce({type:t})}}return t})(),vD=(()=>{class t extends C3{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,features:[re]})}}return t})(),ld=new ie("");var _D={provide:ld,useExisting:Lo(()=>w3),multi:!0};function CD(){let t=jr()?jr().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var wD=new ie(""),w3=(()=>{class t extends C3{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!CD())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(M(Nn),M(oe),M(wD,8))}}static{this.\u0275dir=ce({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&k("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[me([_D]),re]})}}return t})();var yD=new ie(""),xD=new ie("");function y3(t){return t!=null}function x3(t){return da(t)?ct(t):t}function M3(t){let n={};return t.forEach(e=>{n=e!=null?ue(ue({},n),e):n}),Object.keys(n).length===0?null:n}function D3(t,n){return n.map(e=>e(t))}function MD(t){return!t.validate}function k3(t){return t.map(n=>MD(n)?n:e=>n.validate(e))}function DD(t){if(!t)return null;let n=t.filter(y3);return n.length==0?null:function(e){return M3(D3(e,n))}}function O3(t){return t!=null?DD(k3(t)):null}function kD(t){if(!t)return null;let n=t.filter(y3);return n.length==0?null:function(e){let i=D3(e,n).map(x3);return Ts(i).pipe(ke(M3))}}function S3(t){return t!=null?kD(k3(t)):null}function m3(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function OD(t){return t._rawValidators}function SD(t){return t._rawAsyncValidators}function D1(t){return t?Array.isArray(t)?t:[t]:[]}function rd(t,n){return Array.isArray(t)?t.includes(n):t===n}function g3(t,n){let e=D1(n);return D1(t).forEach(o=>{rd(e,o)||e.push(o)}),e}function h3(t,n){return D1(n).filter(e=>!rd(t,e))}var sd=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=O3(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=S3(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},k1=class extends sd{get formDirective(){return null}get path(){return null}},ya=class extends sd{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},O1=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},AD={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},JR=ot(ue({},AD),{"[class.ng-submitted]":"isSubmitted"}),Zr=(()=>{class t extends O1{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(M(ya,2))}}static{this.\u0275dir=ce({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&se("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[re]})}}return t})();var va="VALID",od="INVALID",Rr="PENDING",_a="DISABLED",zr=class{},ad=class extends zr{constructor(n,e){super(),this.value=n,this.source=e}},Ca=class extends zr{constructor(n,e){super(),this.pristine=n,this.source=e}},wa=class extends zr{constructor(n,e){super(),this.touched=n,this.source=e}},Br=class extends zr{constructor(n,e){super(),this.status=n,this.source=e}};function ED(t){return(cd(t)?t.validators:t)||null}function ID(t){return Array.isArray(t)?O3(t):t||null}function LD(t,n){return(cd(n)?n.asyncValidators:t)||null}function PD(t){return Array.isArray(t)?S3(t):t||null}function cd(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var S1=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=pn(()=>this.statusReactive()),this.statusReactive=pe(void 0),this._pristine=pn(()=>this.pristineReactive()),this.pristineReactive=pe(!0),this._touched=pn(()=>this.touchedReactive()),this.touchedReactive=pe(!1),this._events=new Pe,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Mi(this.statusReactive)}set status(n){Mi(()=>this.statusReactive.set(n))}get valid(){return this.status===va}get invalid(){return this.status===od}get pending(){return this.status==Rr}get disabled(){return this.status===_a}get enabled(){return this.status!==_a}get pristine(){return Mi(this.pristineReactive)}set pristine(n){Mi(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Mi(this.touchedReactive)}set touched(n){Mi(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(g3(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(g3(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(h3(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(h3(n,this._rawAsyncValidators))}hasValidator(n){return rd(this._rawValidators,n)}hasAsyncValidator(n){return rd(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ot(ue({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new wa(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new wa(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ot(ue({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Ca(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Ca(!0,i))}markAsPending(n={}){this.status=Rr;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Br(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ot(ue({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=_a,this.errors=null,this._forEachChild(o=>{o.disable(ot(ue({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ad(this.value,i)),this._events.next(new Br(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ot(ue({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=va,this._forEachChild(i=>{i.enable(ot(ue({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ot(ue({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===va||this.status===Rr)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ad(this.value,e)),this._events.next(new Br(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ot(ue({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?_a:va}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Rr,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=x3(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Br(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new I,this.statusChanges=new I}_calculateStatus(){return this._allControlsDisabled()?_a:this.errors?od:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Rr)?Rr:this._anyControlsHaveStatus(od)?od:va}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new Ca(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new wa(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){cd(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=ID(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=PD(this._rawAsyncValidators)}};var A3=new ie("CallSetDisabledState",{providedIn:"root",factory:()=>A1}),A1="always";function TD(t,n){return[...n.path,t]}function VD(t,n,e=A1){ND(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),jD(t,n),RD(t,n),HD(t,n),FD(t,n)}function f3(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function FD(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function ND(t,n){let e=OD(t);n.validator!==null?t.setValidators(m3(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=SD(t);n.asyncValidator!==null?t.setAsyncValidators(m3(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();f3(n._rawValidators,o),f3(n._rawAsyncValidators,o)}function jD(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&E3(t,n)})}function HD(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&E3(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function E3(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function RD(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function BD(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function zD(t){return Object.getPrototypeOf(t.constructor)===vD}function ZD(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===w3?e=r:zD(r)?i=r:o=r}),o||i||e||null}function b3(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function v3(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var $D=class extends S1{constructor(n=null,e,i){super(ED(e),LD(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),cd(e)&&(e.nonNullable||e.initialValueIsDefault)&&(v3(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){b3(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){b3(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){v3(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var UD={provide:ya,useExisting:Lo(()=>No)},_3=Promise.resolve(),No=(()=>{class t extends ya{constructor(e,i,o,r,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new $D,this._registered=!1,this.name="",this.update=new I,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=ZD(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),BD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){VD(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){_3.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&L(i);_3.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?TD(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(M(k1,9),M(yD,10),M(xD,10),M(ld,10),M(_t,8),M(A3,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[me([UD]),re,mt]})}}return t})();var WD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})();var $r=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:A3,useValue:e.callSetDisabledState??A1}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[WD]})}}return t})();var GD=["content"],YD=["scroll"],qD=["padding"],P3=["*"],Ma=t=>({searchTerm:t});function XD(t,n){if(t&1&&(v(0,"div",3),Pt(1,6),_()),t&2){let e=b();g(),C("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",qe(2,Ma,e.filterValue))}}function QD(t,n){if(t&1&&(v(0,"div",5),Pt(1,6),_()),t&2){let e=b();g(),C("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",qe(2,Ma,e.filterValue))}}var KD=["searchInput"],JD=["clearButton"],ek=(t,n,e)=>({item:t,clear:n,label:e}),tk=(t,n)=>({items:t,clear:n}),nk=(t,n,e,i)=>({item:t,item$:n,index:e,searchTerm:i});function ik(t,n){if(t&1&&(v(0,"div",20),T(1),_()),t&2){let e=b(2);g(),xe(e.placeholder)}}function ok(t,n){}function rk(t,n){if(t&1&&E(0,ik,2,1,"ng-template",null,1,Zt)(2,ok,0,0,"ng-template",19),t&2){let e=yt(1),i=b();g(2),C("ngTemplateOutlet",i.placeholderTemplate||e)}}function sk(t,n){if(t&1){let e=U();v(0,"span",23),k("click",function(){O(e);let o=b().$implicit,r=b(2);return S(r.unselect(o))}),T(1,"\xD7"),_(),F(2,"span",24)}if(t&2){let e=b().$implicit,i=b(2);g(2),C("ngItemLabel",e.label)("escape",i.escapeHTML)}}function ak(t,n){}function lk(t,n){if(t&1&&(v(0,"div",22),E(1,sk,3,2,"ng-template",null,2,Zt)(3,ak,0,0,"ng-template",12),_()),t&2){let e=n.$implicit,i=yt(2),o=b(2);se("ng-value-disabled",e.disabled),g(3),C("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",jt(4,ek,e.value,o.clearItem,e.label))}}function ck(t,n){if(t&1&&Mt(0,lk,4,8,"div",21,e1().trackByOption,!0),t&2){let e=b();Dt(e.selectedItems)}}function dk(t,n){}function uk(t,n){if(t&1&&E(0,dk,0,0,"ng-template",12),t&2){let e=b();C("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",Nt(2,tk,e.selectedValues,e.clearItem))}}function pk(t,n){t&1&&F(0,"div",25)}function mk(t,n){}function gk(t,n){if(t&1&&E(0,pk,1,0,"ng-template",null,3,Zt)(2,mk,0,0,"ng-template",19),t&2){let e=yt(1),i=b();g(2),C("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function hk(t,n){if(t&1&&(v(0,"span",15,4)(2,"span",26),T(3,"\xD7"),_()()),t&2){let e=b();Ie("title",e.clearAllText)}}function fk(t,n){if(t&1&&F(0,"span",31),t&2){let e=b().$implicit,i=b(2);C("ngItemLabel",e.label)("escape",i.escapeHTML)}}function bk(t,n){}function vk(t,n){if(t&1){let e=U();v(0,"div",30),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleItem(o))})("mouseover",function(){let o=O(e).$implicit,r=b(2);return S(r.onItemHover(o))}),E(1,fk,1,2,"ng-template",null,5,Zt)(3,bk,0,0,"ng-template",12),_()}if(t&2){let e=n.$implicit,i=yt(2),o=b(2);se("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),de("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),g(3),C("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",T2(17,nk,e.value,e,e.index,o.searchTerm))}}function _k(t,n){if(t&1&&(v(0,"span")(1,"span",33),T(2),_(),T(3),_()),t&2){let e=b(3);g(2),xe(e.addTagText),g(),X('"',e.searchTerm,'"')}}function Ck(t,n){}function wk(t,n){if(t&1){let e=U();v(0,"div",32),k("mouseover",function(){O(e);let o=b(2);return S(o.itemsList.unmarkItem())})("click",function(){O(e);let o=b(2);return S(o.selectTag())}),E(1,_k,4,2,"ng-template",null,6,Zt)(3,Ck,0,0,"ng-template",12),_()}if(t&2){let e=yt(2),i=b(2);se("ng-option-marked",!i.itemsList.markedItem),g(3),C("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",qe(4,Ma,i.searchTerm))}}function yk(t,n){if(t&1&&(v(0,"div",34),T(1),_()),t&2){let e=b(3);g(),xe(e.notFoundText)}}function xk(t,n){}function Mk(t,n){if(t&1&&E(0,yk,2,1,"ng-template",null,7,Zt)(2,xk,0,0,"ng-template",12),t&2){let e=yt(1),i=b(2);g(2),C("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",qe(2,Ma,i.searchTerm))}}function Dk(t,n){if(t&1&&(v(0,"div",34),T(1),_()),t&2){let e=b(3);g(),xe(e.typeToSearchText)}}function kk(t,n){}function Ok(t,n){if(t&1&&E(0,Dk,2,1,"ng-template",null,8,Zt)(2,kk,0,0,"ng-template",19),t&2){let e=yt(1),i=b(2);g(2),C("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function Sk(t,n){if(t&1&&(v(0,"div",34),T(1),_()),t&2){let e=b(3);g(),xe(e.loadingText)}}function Ak(t,n){}function Ek(t,n){if(t&1&&E(0,Sk,2,1,"ng-template",null,9,Zt)(2,Ak,0,0,"ng-template",12),t&2){let e=yt(1),i=b(2);g(2),C("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",qe(2,Ma,i.searchTerm))}}function Ik(t,n){if(t&1){let e=U();v(0,"ng-dropdown-panel",27),k("update",function(o){O(e);let r=b();return S(r.viewPortItems=o)})("scroll",function(o){O(e);let r=b();return S(r.scroll.emit(o))})("scrollToEnd",function(o){O(e);let r=b();return S(r.scrollToEnd.emit(o))})("outsideClick",function(){O(e);let o=b();return S(o.close())}),tn(1),Mt(2,vk,4,22,"div",28,e1().trackByOption,!0),E(4,wk,4,6,"div",29),nn(),E(5,Mk,3,4)(6,Ok,3,1)(7,Ek,3,4),_()}if(t&2){let e=b();se("ng-select-multiple",e.multiple),C("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId),g(2),Dt(e.viewPortItems),g(2),z(e.showAddTag?4:-1),g(),z(e.showNoItemsFound()?5:-1),g(),z(e.showTypeToSearch()?6:-1),g(),z(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}var T3=/[&<>"']/g,Lk=RegExp(T3.source),Pk={"&":"&","<":"<",">":">",'"':""","'":"'"};function Tk(t){return t&&Lk.test(t)?t.replace(T3,n=>Pk[n]):t}function Ct(t){return t!=null}function xa(t){return typeof t=="object"&&Ct(t)}function Vk(t){return t instanceof Promise}function ud(t){return t instanceof Function}var Fk=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?Tk(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[mt]})}}return t})(),Nk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-option-tmp",""]],standalone:!0})}}return t})(),jk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}}return t})(),Hk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-label-tmp",""]],standalone:!0})}}return t})(),Rk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}}return t})(),Bk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-header-tmp",""]],standalone:!0})}}return t})(),zk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-footer-tmp",""]],standalone:!0})}}return t})(),Zk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}}return t})(),$k=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}}return t})(),Uk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}}return t})(),Wk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}}return t})(),Gk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-tag-tmp",""]],standalone:!0})}}return t})(),Yk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}}return t})();function V3(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var qk={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function dd(t){let n=e=>qk[e]||e;return t.replace(/[^\u0000-\u007E]/g,n)}var I1=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&Ct(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?e=i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:e=i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=dd(n).toLocaleLowerCase(),this.filteredItems.find(e=>dd(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:dd(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(i&&(s.parent&&s.parent.selected||s.selected))continue;let l=this._ngSelect.searchFn?s.value:s;e(n,l)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let l=this._items.find(d=>d===s.parent);this._filteredItems.push(l)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!xa(n))return n;if(e.indexOf(".")===-1)return n[e];{let i=e.split("."),o=n;for(let r=0,s=i.length;r<s;++r){if(o==null)return null;o=o[i[r]]}return o}}mapItem(n,e){let i=Ct(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),o=Ct(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:Ct(i)?i.toString():"",value:o,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,o=Ct(i)?this.findItem(i):null;this._selectionModel.unselect(e,n),this._selectionModel.select(o||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return dd(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let i=new Map;if(n.length===0)return i;if(Array.isArray(n[0].value[e])){for(let s of n){let l=(s.value[e]||[]).map((d,p)=>this.mapItem(d,p));i.set(s,l)}return i}let o=ud(this._ngSelect.groupBy),r=s=>{let l=o?e(s.value):s.value[e];return Ct(l)?l:void 0};for(let s of n){let l=r(s),d=i.get(l);d?d.push(s):i.set(l,[s])}return i}_flatten(n){let e=ud(this._ngSelect.groupBy),i=[];for(let o of Array.from(n.keys())){let r=i.length;if(o===void 0){let w=n.get(void 0)||[];i.push(...w.map(D=>(D.index=r++,D)));continue}let s=xa(o),l={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:V3()},d=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,p=this._ngSelect.groupValue||(()=>s?o.value:{[d]:o}),f=n.get(o).map(w=>(w.parent=l,w.children=void 0,w.index=r++,w));l.children=f,l.value=p(o,f.map(w=>w.value)),i.push(l),i.push(...f)}return i}},ii=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(ii||{}),F3=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){let r=this._dimensions,s=r.itemHeight*i,d=Math.max(0,e)/s*i,p=Math.min(i,Math.ceil(d)+(r.itemsPerViewport+1)),w=Math.max(0,p-r.itemsPerViewport),D=Math.min(w,Math.floor(d)),x=r.itemHeight*Math.ceil(D)-r.itemHeight*Math.min(D,o);return x=isNaN(x)?0:x,D=isNaN(D)?-1:D,p=isNaN(p)?-1:p,D-=o,D=Math.max(0,D),p+=o,p=Math.min(i,p),{topPadding:x,scrollHeight:s,start:D,end:p}}setDimensions(e,i){let o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){let{panelHeight:r}=this.dimensions,s=e+i,l=o,d=l+r;return r>=s&&o===e?null:s>d?l+s-d:e<=l?e:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),I3=["top","right","bottom","left"],Xk=typeof requestAnimationFrame<"u"?Yu:Gu,L3=(()=>{class t{constructor(e,i,o,r,s){this._renderer=e,this._zone=i,this._panelService=o,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new I,this.scroll=new I,this.scrollToEnd=new I,this.outsideClick=new I,this._destroy$=new Pe,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let r;if(this.virtualScroll){let s=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(o*s,s,this._lastScrollPosition)}else{let s=this._dropdown.querySelector(`#${e.htmlId}`),l=i?s.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(s.offsetTop,s.clientHeight,l)}Ct(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),I3.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){I3.forEach(o=>{let r=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{Vi(this.scrollElementRef.nativeElement,"scroll").pipe(It(this._destroy$),Xu(0,Xk)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let o=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(o)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{fi(Vi(this._document,"touchstart",{capture:!0}),Vi(this._document,"click",{capture:!0})).pipe(It(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),Ct(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${o*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(o,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,s=i.height,l=e.getBoundingClientRect().height;return r+s+l>o+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.left-i.left;this._dropdown.style.left=o+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{Vi(this._dropdown,"mousedown").pipe(It(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||t)(M(Nn),M(Re),M(F3),M(oe),M(xt,8))}}static{this.\u0275cmp=N({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,o){if(i&1&&(kt(GD,7,oe),kt(YD,7,oe),kt(qD,7,oe)),i&2){let r;We(r=Ge())&&(o.contentElementRef=r.first),We(r=Ge())&&(o.scrollElementRef=r.first),We(r=Ge())&&(o.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",L],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[Ee,mt,j],ngContentSelectors:P3,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(lt(),E(0,XD,2,4,"div",3),v(1,"div",4,0),F(3,"div",null,1),v(5,"div",null,2),Ue(7),_()(),E(8,QD,2,4,"div",5)),i&2&&(z(o.headerTemplate?0:-1),g(3),se("total-padding",o.virtualScroll),g(2),se("scrollable-content",o.virtualScroll&&o.items.length),g(3),z(o.footerTemplate?8:-1))},dependencies:[Di],encapsulation:2,changeDetection:0})}}return t})(),jo=(()=>{class t{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new Pe}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",L]},standalone:!0,features:[Ee,mt,j],ngContentSelectors:P3,decls:1,vars:0,template:function(i,o){i&1&&(lt(),Ue(0))},encapsulation:2,changeDetection:0})}}return t})();function N3(){return new L1}var L1=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){let o=n.parent.children.length,r=n.parent.children.filter(s=>s.selected).length;n.parent.selected=o===r}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),i&&this._activeChildren(n)?this._selected=[...this._selected.filter(o=>o.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},Qk=(()=>{class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Kk=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),j3=new ie("ng-select-selection-model"),Ur=(()=>{class t{constructor(e,i,o,r,s,l,d){this.classes=e,this.autoFocus=i,this.config=o,this._cd=l,this._console=d,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new I,this.focusEvent=new I,this.changeEvent=new I,this.openEvent=new I,this.closeEvent=new I,this.searchEvent=new I,this.clearEvent=new I,this.addEvent=new I,this.removeEvent=new I,this.scroll=new I,this.scrollToEnd=new I,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=V3(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Pe,this._keyPress$=new Pe,this._items=[],this.keyDownFn=p=>!0,this.clearItem=p=>{let f=this.selectedItems.find(w=>w.value===p);this.unselect(f)},this.trackByOption=(p,f)=>this.trackByFn?this.trackByFn(f.value):f,this._onChange=p=>{},this._onTouched=()=>{},this._mergeGlobalConfig(o),this.itemsList=new I1(this,r?r():N3()),this.element=s.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!ud(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return Ct(this._clearSearchOnAdd)?this._clearSearchOnAdd:Ct(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return Ct(this._deselectOnClick)?this._deselectOnClick:Ct(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=Ct(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Ct(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(ii[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case ii.ArrowDown:this._handleArrowDown(e);break;case ii.ArrowUp:this._handleArrowUp(e);break;case ii.Space:this._handleSpace(e);break;case ii.Enter:this._handleEnter(e);break;case ii.Tab:this._handleTab(e);break;case ii.Esc:this.close(),e.preventDefault();break;case ii.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case ii.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;ud(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);Vk(e)?e.then(o=>this.select(i(o))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Ct(i)?!xa(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Ct(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=o=>{this.items=o.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let o=fi(this.ngOptions.changes,this._destroy$);fi(...this.ngOptions.map(r=>r.stateChange$)).pipe(It(o)).subscribe(r=>{let s=this.itemsList.findItem(r.value);s.disabled=r.disabled,s.label=r.label||s.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Fi(this.ngOptions),It(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!Ct(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=o=>!Ct(this.compareWith)&&xa(o)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=o=>{let r=this.itemsList.findItem(o);if(r)this.itemsList.select(r);else{let s=xa(o),l=!s&&!this.bindValue;s||l?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(It(this._destroy$),Pn(e=>this._pressedKeys.push(e)),Co(200),Zn(()=>this._pressedKeys.length>0),ke(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=ue({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue){let r=null;if(o.children){let s=this.groupValue?this.bindValue:this.groupBy;r=o.value[s||this.groupBy]}else r=this.itemsList.resolveNested(o.value,this.bindValue);e.push(r)}else e.push(o.value);let i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(Ct(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey)this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=Ct(this.virtualScroll)?this.virtualScroll:Ct(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=Ct(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}static{this.\u0275fac=function(i){return new(i||t)(Er("class"),Er("autofocus"),M(Qk),M(j3,8),M(oe),M(_t),M(Kk))}}static{this.\u0275cmp=N({type:t,selectors:[["ng-select"]],contentQueries:function(i,o,r){if(i&1&&(zt(r,Nk,5,Be),zt(r,jk,5,Be),zt(r,Hk,5,Be),zt(r,Rk,5,Be),zt(r,Bk,5,Be),zt(r,zk,5,Be),zt(r,Zk,5,Be),zt(r,$k,5,Be),zt(r,Uk,5,Be),zt(r,Wk,5,Be),zt(r,Gk,5,Be),zt(r,Yk,5,Be),zt(r,jo,5)),i&2){let s;We(s=Ge())&&(o.optionTemplate=s.first),We(s=Ge())&&(o.optgroupTemplate=s.first),We(s=Ge())&&(o.labelTemplate=s.first),We(s=Ge())&&(o.multiLabelTemplate=s.first),We(s=Ge())&&(o.headerTemplate=s.first),We(s=Ge())&&(o.footerTemplate=s.first),We(s=Ge())&&(o.notFoundTemplate=s.first),We(s=Ge())&&(o.placeholderTemplate=s.first),We(s=Ge())&&(o.typeToSearchTemplate=s.first),We(s=Ge())&&(o.loadingTextTemplate=s.first),We(s=Ge())&&(o.tagTemplate=s.first),We(s=Ge())&&(o.loadingSpinnerTemplate=s.first),We(s=Ge())&&(o.ngOptions=s)}},viewQuery:function(i,o){if(i&1&&(kt(L3,5),kt(KD,7),kt(JD,5)),i&2){let r;We(r=Ge())&&(o.dropdownPanel=r.first),We(r=Ge())&&(o.searchInput=r.first),We(r=Ge())&&(o.clearButton=r.first)}},hostVars:20,hostBindings:function(i,o){i&1&&k("keydown",function(s){return o.handleKeyDown(s)}),i&2&&se("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-filtered",o.filtered)("ng-select-single",o.single)("ng-select-disabled",o.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",L],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",L],closeOnSelect:[2,"closeOnSelect","closeOnSelect",L],hideSelected:[2,"hideSelected","hideSelected",L],selectOnTab:[2,"selectOnTab","selectOnTab",L],openOnEnter:[2,"openOnEnter","openOnEnter",L],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",un],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",un],virtualScroll:[2,"virtualScroll","virtualScroll",L],selectableGroup:[2,"selectableGroup","selectableGroup",L],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",L],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",L],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",un],readonly:[2,"readonly","readonly",L],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",L],minTermLength:[2,"minTermLength","minTermLength",un],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",L],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",L],addTag:"addTag",searchable:[2,"searchable","searchable",L],clearable:[2,"clearable","clearable",L],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[me([{provide:ld,useExisting:Lo(()=>t),multi:!0},F3]),Ee,mt,j],decls:13,vars:19,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(i,o){if(i&1){let r=U();v(0,"div",10),k("mousedown",function(l){return O(r),S(o.handleMousedown(l))}),v(1,"div",11),E(2,rk,3,1)(3,ck,2,0)(4,uk,1,5,null,12),v(5,"div",13)(6,"input",14,0),k("blur",function(l){return O(r),S(o.onInputBlur(l))})("change",function(l){return O(r),S(l.stopPropagation())})("compositionend",function(){O(r);let l=yt(7);return S(o.onCompositionEnd(l.value))})("compositionstart",function(){return O(r),S(o.onCompositionStart())})("focus",function(l){return O(r),S(o.onInputFocus(l))})("input",function(){O(r);let l=yt(7);return S(o.filter(l.value))}),_()()(),E(8,gk,3,1)(9,hk,4,1,"span",15),v(10,"span",16),F(11,"span",17),_()(),E(12,Ik,8,17,"ng-dropdown-panel",18)}i&2&&(se("ng-appearance-outline",o.appearance==="outline")("ng-has-value",o.hasValue),g(2),z(o.selectedItems.length===0&&!o.searchTerm||o.fixedPlaceholder===!0?2:-1),g(),z((!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0?3:-1),g(),z(o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0?4:-1),g(2),C("disabled",o.disabled)("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("value",o.searchTerm?o.searchTerm:""),de("aria-activedescendant",o.isOpen?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null)("aria-expanded",o.isOpen)("aria-label",o.ariaLabel)("id",o.labelForId)("tabindex",o.tabIndex),g(2),z(o.loading?8:-1),g(),z(o.showClear()?9:-1),g(3),z(o.isOpen?12:-1))},dependencies:[Di,Fk,L3,be],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
12
|
-
`],encapsulation:2,changeDetection:0})}}return t})(),Wr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({providers:[{provide:j3,useValue:N3}]})}}return t})();var Qi=class{},H3=(()=>{class t extends Qi{getTranslation(e){return Qe({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),Ho=class{},R3=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();function md(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,o,r,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(r=0;r<o;r++)if(!md(t[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(r in t){if(!md(t[r],n[r]))return!1;s[r]=!0}for(r in n)if(!(r in s)&&typeof n[r]<"u")return!1;return!0}return!1}function Xi(t){return typeof t<"u"&&t!==null}function ka(t){return pd(t)&&!R1(t)}function pd(t){return typeof t=="object"}function R1(t){return Array.isArray(t)}function B1(t){return typeof t=="string"}function Jk(t){return typeof t=="function"}function T1(t,n){let e=Object.assign({},t);return pd(t)?(pd(t)&&pd(n)&&Object.keys(n).forEach(i=>{ka(n[i])?i in t?e[i]=T1(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):T1({},n)}function V1(t,n){let e=n.split(".");n="";do n+=e.shift(),Xi(t)&&Xi(t[n])&&(ka(t[n])||R1(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function eO(t,n,e){let i=n.split("."),o=t;for(let r=0;r<i.length;r++){let s=i[r];r===i.length-1?o[s]=e:((!o[s]||!ka(o[s]))&&(o[s]={}),o=o[s])}}var Gr=class{},B3=(()=>{class t extends Gr{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(B1(e))return this.interpolateString(e,i);if(Jk(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,r)=>{let s=V1(i,r);return Xi(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),Yr=class{},z3=(()=>{class t extends Yr{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),gd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new I;onLangChange=new I;onDefaultLangChange=new I},F1=new ie("ISOALTE_TRANSLATE_SERVICE"),N1=new ie("USE_DEFAULT_LANG"),j1=new ie("DEFAULT_LANGUAGE"),H1=new ie("USE_EXTEND"),Da=t=>Yt(t)?t:Qe(t),Z=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new I;_onLangChange=new I;_onDefaultLangChange=new I;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,r,s,l=!0,d=!1,p=!1,f){this.store=e,this.currentLoader=i,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=d,this.extend=p,f&&this.setDefaultLang(f)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Lt(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return Qe(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return Yt(i)?(i.pipe(Lt(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),Qe(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Vl(1),Lt(1));return this.loadingTranslations=i.pipe(ke(o=>this.compiler.compileTranslations(o,e)),Vl(1),Lt(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?ue(ue({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){let r=this.compiler.compileTranslations(i,e);(o||this.extend)&&this.translations[e]?this.translations[e]=T1(this.translations[e],r):this.translations[e]=r,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,o){let r;if(e&&(r=this.runInterpolation(V1(e,i),o)),r===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.runInterpolation(V1(this.translations[this.defaultLang],i),o)),r===void 0){let s={key:i,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return r!==void 0?r:i}runInterpolation(e,i){if(R1(e))return e.map(o=>this.runInterpolation(o,i));if(ka(e)){let o={};for(let r in e)o[r]=this.runInterpolation(e[r],i);return o}else return this.parser.interpolate(e,i)}getParsedResult(e,i,o){if(i instanceof Array){let r={},s=!1;for(let d of i)r[d]=this.getParsedResultForKey(e,d,o),s=s||Yt(r[d]);if(!s)return r;let l=i.map(d=>Da(r[d]));return Ts(l).pipe(ke(d=>{let p={};return d.forEach((f,w)=>{p[i[w]]=f}),p}))}return this.getParsedResultForKey(e,i,o)}get(e,i){if(!Xi(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(an(o=>Da(this.getParsedResult(o,e,i)))):Da(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!Xi(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return _n(Pl(()=>this.get(e,i)),this.onTranslationChange.pipe(ln(o=>{let r=this.getParsedResult(o.translations,e,i);return Da(r)})))}stream(e,i){if(!Xi(e)||!e.length)throw new Error('Parameter "key" required');return _n(Pl(()=>this.get(e,i)),this.onLangChange.pipe(ln(o=>{let r=this.getParsedResult(o.translations,e,i);return Da(r)})))}instant(e,i){if(!Xi(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let o=this.getParsedResult(this.translations[this.currentLang],e,i);return Yt(o)?Array.isArray(e)?e.reduce((r,s)=>(r[s]=s,r),{}):e:o}set(e,i,o=this.currentLang){eO(this.translations[o],e,B1(i)?this.compiler.compile(i,o):this.compiler.compileTranslations(i,o)),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.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||t)(q(gd),q(Qi),q(Yr),q(Gr),q(Ho),q(N1),q(F1),q(H1),q(j1))};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Me=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,i);Yt(s)?s.subscribe(r):r(s)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(md(e,this.lastKey)&&md(i,this.lastParams))return this.value;let o;if(Xi(i[0])&&i.length)if(B1(i[0])&&i[0].length){let r=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{o=JSON.parse(r)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ka(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),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||t)(M(Z,16),M(_t,16))};static \u0275pipe=vi({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();var le=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Qi,useClass:H3},e.compiler||{provide:Yr,useClass:z3},e.parser||{provide:Gr,useClass:B3},e.missingTranslationHandler||{provide:Ho,useClass:R3},gd,{provide:F1,useValue:e.isolate},{provide:N1,useValue:e.useDefaultLang},{provide:H1,useValue:e.extend},{provide:j1,useValue:e.defaultLanguage},Z]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Qi,useClass:H3},e.compiler||{provide:Yr,useClass:z3},e.parser||{provide:Gr,useClass:B3},e.missingTranslationHandler||{provide:Ho,useClass:R3},{provide:F1,useValue:e.isolate},{provide:N1,useValue:e.useDefaultLang},{provide:H1,useValue:e.extend},{provide:j1,useValue:e.defaultLanguage},Z]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=at({type:t});static \u0275inj=st({})}return t})();var ve=(()=>{class t{constructor(e){this.translateService=e,this._selectedLanguage=pe("en"),this._localizedStrings=pe({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(e){this._selectedLanguage.set(e),this.translateService.use(e);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(i){console.error(i)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(e){this._localizedStrings.set(e),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,e)}catch(i){console.error(i)}}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[me([Z]),j],decls:2,vars:0,template:function(i,o){i&1&&(v(0,"p"),T(1," localized widget works! "),_())},dependencies:[Q,le],encapsulation:3})}}return t})();function tO(t,n){t&1&&(v(0,"div",3),T(1),_()),t&2&&(g(),X(" ",n," "))}function nO(t,n){if(t&1&&(v(0,"div",5),T(1),_()),t&2){let e=n.$implicit;g(),X(" ",e," ")}}function iO(t,n){if(t&1&&(v(0,"div",4),Mt(1,nO,2,1,"div",5,en),_()),t&2){let e=b();g(),Dt(e.spinnerTexts())}}var hd=(()=>{class t{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=pe(void 0),this.spinnerTexts=pe(void 0),this.isSpinnerTextsArray=pn(()=>{let e=this.spinnerTexts();return!!(e&&typeof e=="object"&&Array.isArray(e)&&e.length)})}set spinnerTextValue(e){this.spinnerText.set(e)}set spinnerTextsValue(e){this.spinnerTexts.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",L],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",L],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",L],spinnerTextValue:[0,"spinnerText","spinnerTextValue"],spinnerTextsValue:[0,"spinnerTexts","spinnerTextsValue"]},standalone:!0,features:[Ee,j],decls:5,vars:8,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["data-test","spinner-text",1,"spinner-text"],["data-test","spinner-texts",1,"spinner-texts"],[1,"spinner-text"]],template:function(i,o){if(i&1&&(v(0,"div",0)(1,"div",1),F(2,"div",2),E(3,tO,2,1,"div",3)(4,iO,3,0,"div",4),_()()),i&2){let r;g(2),se("spinner-spin-active",o.spinnerSpinActive)("spinner-disabled",o.spinnerDisabled)("hover-enabled",o.spinnerHoverEnabled&&!o.spinnerDisabled),g(),z((r=o.spinnerText())?3:-1,r),g(),z(o.isSpinnerTextsArray()?4:-1)}},styles:['.loading-spinner[_ngcontent-%COMP%]{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.4rem);font-weight:var(--font-weight, 400);color:var(--loading-spinner-text-color-enabled);position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-background-color-enabled);display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./assets/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./assets/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./assets/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-texts[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']})}}return t})();var oO=["*"];function rO(t,n){t&1&&(v(0,"div",1)(1,"div",4)(2,"span"),T(3),_()()()),t&2&&(g(3),xe(n))}function sO(t,n){if(t&1&&(v(0,"div",3),F(1,"lib-loading-spinner",5),_()),t&2){let e=b();g(),C("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",e.loadingSpinnerText)}}var qr=(()=>{class t{constructor(){this.header=pe(""),this.isLoading=pe(!1),this.loadingSpinnerText=""}set headerValue(e){this.header.set(e)}set isLoadingValue(e){this.isLoading.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{headerValue:[0,"header","headerValue"],isLoadingValue:[0,"isLoading","isLoadingValue"],loadingSpinnerText:"loadingSpinnerText"},standalone:!0,features:[j],ngContentSelectors:oO,decls:5,vars:2,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-loading-overlay"],[1,"sidenav-drawer-header-title"],[3,"spinnerHoverEnabled","spinnerSpinActive","spinnerDisabled","spinnerText"]],template:function(i,o){if(i&1&&(lt(),v(0,"div",0),E(1,rO,4,1,"div",1),v(2,"div",2),Ue(3),_(),E(4,sO,2,4,"div",3),_()),i&2){let r;g(),z((r=o.header())?1:-1,r),g(3),z(o.isLoading()?4:-1)}},dependencies:[hd],styles:[`.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;width:100%;max-height:100%;min-height:0}.sidenav-drawer-content-layout>.sidenav-drawer-header{flex:0;width:100%;background-color:var(--sidenav-drawer-content-header-background-color-enabled);transition:background-color .7s;display:inline-block}.sidenav-drawer-content-layout>.sidenav-drawer-header>.sidenav-drawer-header-title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout>.sidenav-drawer-content-offset{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0;margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay{position:absolute;top:4.6rem;left:0;min-width:100%;min-height:100%;z-index:4}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay>lib-loading-spinner{--background-color: var(--sidenav-drawer-loading-spinner-background-color-enabled);--loading-spinner-size: 6rem;--loading-spinner-time: 1.8s;--color: var(--sidenav-drawer-loading-spinner-text-color-enabled)}
|
|
6
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function go(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var ft=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(he(i))try{i()}catch(r){n=r instanceof al?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{Ng(r)}catch(s){n=n??[],s instanceof al?n=[...n,...s.errors]:n.push(s)}}if(n)throw new al(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Ng(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&go(e,n)}remove(n){let{_finalizers:e}=this;e&&go(e,n),n instanceof t&&n._removeParent(this)}};ft.EMPTY=(()=>{let t=new ft;return t.closed=!0,t})();var ju=ft.EMPTY;function ll(t){return t instanceof ft||t&&"closed"in t&&he(t.remove)&&he(t.add)&&he(t.unsubscribe)}function Ng(t){he(t)?t():t.unsubscribe()}var In={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var rr={setTimeout(t,n,...e){let{delegate:i}=rr;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=rr;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function cl(t){rr.setTimeout(()=>{let{onUnhandledError:n}=In;if(n)n(t);else throw t})}function Ss(){}var jg=Hu("C",void 0,void 0);function Hg(t){return Hu("E",void 0,t)}function Rg(t){return Hu("N",t,void 0)}function Hu(t,n,e){return{kind:t,value:n,error:e}}var ho=null;function sr(t){if(In.useDeprecatedSynchronousErrorHandling){let n=!ho;if(n&&(ho={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=ho;if(ho=null,e)throw i}}else t()}function Bg(t){In.useDeprecatedSynchronousErrorHandling&&ho&&(ho.errorThrown=!0,ho.error=t)}var fo=class extends ft{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ll(n)&&n.add(this)):this.destination=sC}static create(n,e,i){return new hi(n,e,i)}next(n){this.isStopped?Bu(Rg(n),this):this._next(n)}error(n){this.isStopped?Bu(Hg(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Bu(jg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},oC=Function.prototype.bind;function Ru(t,n){return oC.call(t,n)}var zu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){dl(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){dl(i)}else dl(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){dl(e)}}},hi=class extends fo{constructor(n,e,i){super();let o;if(he(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&In.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ru(n.next,r),error:n.error&&Ru(n.error,r),complete:n.complete&&Ru(n.complete,r)}):o=n}this.destination=new zu(o)}};function dl(t){In.useDeprecatedSynchronousErrorHandling?Bg(t):cl(t)}function rC(t){throw t}function Bu(t,n){let{onStoppedNotification:e}=In;e&&rr.setTimeout(()=>e(t,n))}var sC={closed:!0,next:Ss,error:rC,complete:Ss};var ar=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ln(t){return t}function zg(t){return t.length===0?Ln:t.length===1?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}var Ae=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){let r=lC(e)?e:new hi(e,i,o);return sr(()=>{let{operator:s,source:l}=this;r.add(s?s.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=Zg(i),new i((o,r)=>{let s=new hi({next:l=>{try{e(l)}catch(d){r(d),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[ar](){return this}pipe(...e){return zg(e)(this)}toPromise(e){return e=Zg(e),new e((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function Zg(t){var n;return(n=t??In.Promise)!==null&&n!==void 0?n:Promise}function aC(t){return t&&he(t.next)&&he(t.error)&&he(t.complete)}function lC(t){return t&&t instanceof fo||aC(t)&&ll(t)}function Zu(t){return he(t?.lift)}function $e(t){return n=>{if(Zu(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function He(t,n,e,i,o){return new $u(t,n,e,i,o)}var $u=class extends fo{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(l){try{e(l)}catch(d){n.error(d)}}:super._next,this._error=o?function(l){try{o(l)}catch(d){n.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function $g(){return $e((t,n)=>{let e=null;t._refCount++;let i=He(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var As=class extends Ae{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Zu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new ft;let e=this.getSubject();n.add(this.source.subscribe(He(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=ft.EMPTY)}return n}refCount(){return $g()(this)}};var lr={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=lr;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let o=n(r=>{e=void 0,t(r)});return new ft(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=lr;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=lr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Ug=sl(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Pe=(()=>{class t extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new ul(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Ug}next(e){sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){sr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:o,observers:r}=this;return i||o?ju:(this.currentObservers=null,r.push(e),new ft(()=>{this.currentObservers=null,go(r,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){let e=new Ae;return e.source=this,e}}return t.create=(n,e)=>new ul(n,e),t})(),ul=class extends Pe{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:ju}};var Ye=class extends Pe{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var Es={now(){return(Es.delegate||Date).now()},delegate:void 0};var Ii=class extends Pe{constructor(n=1/0,e=1/0,i=Es){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){let s=e.now(),l=0;for(let d=1;d<i.length&&i[d]<=s;d+=2)l=d;l&&i.splice(0,l+1)}}};var pl=class extends ft{constructor(n,e){super()}schedule(n,e=0){return this}};var Is={setInterval(t,n,...e){let{delegate:i}=Is;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Is;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Li=class extends pl{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return Is.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Is.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,o;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,go(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var cC=1,Uu,Wu={};function Wg(t){return t in Wu?(delete Wu[t],!0):!1}var Gg={setImmediate(t){let n=cC++;return Wu[n]=!0,Uu||(Uu=Promise.resolve()),Uu.then(()=>Wg(n)&&t()),n},clearImmediate(t){Wg(t)}};var{setImmediate:dC,clearImmediate:uC}=Gg,Ls={setImmediate(...t){let{delegate:n}=Ls;return(n?.setImmediate||dC)(...t)},clearImmediate(t){let{delegate:n}=Ls;return(n?.clearImmediate||uC)(t)},delegate:void 0};var ml=class extends Li{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ls.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(Ls.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var cr=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};cr.now=Es.now;var Pi=class extends cr{constructor(n,e=cr.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var gl=class extends Pi{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var Gu=new gl(ml);var Ps=new Pi(Li),Yg=Ps;var hl=class extends Li{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=lr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:r}=n;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(lr.cancelAnimationFrame(e),n._scheduled=void 0)}};var fl=class extends Pi{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,o;n=n||i.shift();do if(o=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}};var Yu=new fl(hl);var bo=new Ae(t=>t.complete());function bl(t){return t&&he(t.schedule)}function qu(t){return t[t.length-1]}function vl(t){return he(qu(t))?t.pop():void 0}function zn(t){return bl(qu(t))?t.pop():void 0}function qg(t,n){return typeof qu(t)=="number"?t.pop():n}function Qg(t,n,e,i){function o(r){return r instanceof e?r:new e(function(s){s(r)})}return new(e||(e=Promise))(function(r,s){function l(f){try{p(i.next(f))}catch(w){s(w)}}function d(f){try{p(i.throw(f))}catch(w){s(w)}}function p(f){f.done?r(f.value):o(f.value).then(l,d)}p((i=i.apply(t,n||[])).next())})}function Xg(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function vo(t){return this instanceof vo?(this.v=t,this):new vo(t)}function Kg(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(x){return function(A){return Promise.resolve(A).then(x,w)}}function l(x,A){i[x]&&(o[x]=function(V){return new Promise(function(R,H){r.push([x,V,R,H])>1||d(x,V)})},A&&(o[x]=A(o[x])))}function d(x,A){try{p(i[x](A))}catch(V){D(r[0][3],V)}}function p(x){x.value instanceof vo?Promise.resolve(x.value.v).then(f,w):D(r[0][2],x)}function f(x){d("next",x)}function w(x){d("throw",x)}function D(x,A){x(A),r.shift(),r.length&&d(r[0][0],r[0][1])}}function Jg(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof Xg=="function"?Xg(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(l,d){s=t[r](s),o(l,d,s.done,s.value)})}}function o(r,s,l,d){Promise.resolve(d).then(function(p){r({value:p,done:l})},s)}}var dr=t=>t&&typeof t.length=="number"&&typeof t!="function";function _l(t){return he(t?.then)}function Cl(t){return he(t[ar])}function wl(t){return Symbol.asyncIterator&&he(t?.[Symbol.asyncIterator])}function yl(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function pC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xl=pC();function Ml(t){return he(t?.[xl])}function Dl(t){return Kg(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:o}=yield vo(e.read());if(o)return yield vo(void 0);yield yield vo(i)}}finally{e.releaseLock()}})}function kl(t){return he(t?.getReader)}function rt(t){if(t instanceof Ae)return t;if(t!=null){if(Cl(t))return mC(t);if(dr(t))return gC(t);if(_l(t))return hC(t);if(wl(t))return eh(t);if(Ml(t))return fC(t);if(kl(t))return bC(t)}throw yl(t)}function mC(t){return new Ae(n=>{let e=t[ar]();if(he(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gC(t){return new Ae(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function hC(t){return new Ae(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,cl)})}function fC(t){return new Ae(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function eh(t){return new Ae(n=>{vC(t,n).catch(e=>n.error(e))})}function bC(t){return eh(Dl(t))}function vC(t,n){var e,i,o,r;return Qg(this,void 0,void 0,function*(){try{for(e=Jg(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})}function Gt(t,n,e,i=0,o=!1){let r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function Ol(t,n=0){return $e((e,i)=>{e.subscribe(He(i,o=>Gt(i,t,()=>i.next(o),n),()=>Gt(i,t,()=>i.complete(),n),o=>Gt(i,t,()=>i.error(o),n)))})}function Sl(t,n=0){return $e((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function th(t,n){return rt(t).pipe(Sl(n),Ol(n))}function nh(t,n){return rt(t).pipe(Sl(n),Ol(n))}function ih(t,n){return new Ae(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function oh(t,n){return new Ae(e=>{let i;return Gt(e,n,()=>{i=t[xl](),Gt(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){e.error(s);return}r?e.complete():e.next(o)},0,!0)}),()=>he(i?.return)&&i.return()})}function Al(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ae(e=>{Gt(e,n,()=>{let i=t[Symbol.asyncIterator]();Gt(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function rh(t,n){return Al(Dl(t),n)}function sh(t,n){if(t!=null){if(Cl(t))return th(t,n);if(dr(t))return ih(t,n);if(_l(t))return nh(t,n);if(wl(t))return Al(t,n);if(Ml(t))return oh(t,n);if(kl(t))return rh(t,n)}throw yl(t)}function ct(t,n){return n?sh(t,n):rt(t)}function Xe(...t){let n=zn(t);return ct(t,n)}function Yt(t){return!!t&&(t instanceof Ae||he(t.lift)&&he(t.subscribe))}function ah(t){return t instanceof Date&&!isNaN(t)}function ke(t,n){return $e((e,i)=>{let o=0;e.subscribe(He(i,r=>{i.next(t.call(n,r,o++))}))})}var{isArray:_C}=Array;function CC(t,n){return _C(n)?t(...n):t(n)}function ur(t){return ke(n=>CC(t,n))}var{isArray:wC}=Array,{getPrototypeOf:yC,prototype:xC,keys:MC}=Object;function El(t){if(t.length===1){let n=t[0];if(wC(n))return{args:n,keys:null};if(DC(n)){let e=MC(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function DC(t){return t&&typeof t=="object"&&yC(t)===xC}function Il(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function _o(...t){let n=zn(t),e=vl(t),{args:i,keys:o}=El(t);if(i.length===0)return ct([],n);let r=new Ae(kC(i,n,o?s=>Il(o,s):Ln));return e?r.pipe(ur(e)):r}function kC(t,n,e=Ln){return i=>{lh(n,()=>{let{length:o}=t,r=new Array(o),s=o,l=o;for(let d=0;d<o;d++)lh(n,()=>{let p=ct(t[d],n),f=!1;p.subscribe(He(i,w=>{r[d]=w,f||(f=!0,l--),l||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}function lh(t,n,e){t?Gt(e,t,n):n()}function ch(t,n,e,i,o,r,s,l){let d=[],p=0,f=0,w=!1,D=()=>{w&&!d.length&&!p&&n.complete()},x=V=>p<i?A(V):d.push(V),A=V=>{r&&n.next(V),p++;let R=!1;rt(e(V,f++)).subscribe(He(n,H=>{o?.(H),r?x(H):n.next(H)},()=>{R=!0},void 0,()=>{if(R)try{for(p--;d.length&&p<i;){let H=d.shift();s?Gt(n,s,()=>A(H)):A(H)}D()}catch(H){n.error(H)}}))};return t.subscribe(He(n,x,()=>{w=!0,D()})),()=>{l?.()}}function Ti(t,n,e=1/0){return he(n)?Ti((i,o)=>ke((r,s)=>n(i,r,o,s))(rt(t(i,o))),e):(typeof n=="number"&&(e=n),$e((i,o)=>ch(i,o,t,e)))}function Ll(t=1/0){return Ti(Ln,t)}function dh(){return Ll(1)}function _n(...t){return dh()(ct(t,zn(t)))}function Pl(t){return new Ae(n=>{rt(t()).subscribe(n)})}function Ts(...t){let n=vl(t),{args:e,keys:i}=El(t),o=new Ae(r=>{let{length:s}=e;if(!s){r.complete();return}let l=new Array(s),d=s,p=s;for(let f=0;f<s;f++){let w=!1;rt(e[f]).subscribe(He(r,D=>{w||(w=!0,p--),l[f]=D},()=>d--,void 0,()=>{(!d||!w)&&(p||r.next(i?Il(i,l):l),r.complete())}))}});return n?o.pipe(ur(n)):o}var OC=["addListener","removeListener"],SC=["addEventListener","removeEventListener"],AC=["on","off"];function Vi(t,n,e,i){if(he(e)&&(i=e,e=void 0),i)return Vi(t,n,e).pipe(ur(i));let[o,r]=LC(t)?SC.map(s=>l=>t[s](n,l,e)):EC(t)?OC.map(uh(t,n)):IC(t)?AC.map(uh(t,n)):[];if(!o&&dr(t))return Ti(s=>Vi(s,n,e))(rt(t));if(!o)throw new TypeError("Invalid event target");return new Ae(s=>{let l=(...d)=>s.next(1<d.length?d:d[0]);return o(l),()=>r(l)})}function uh(t,n){return e=>i=>t[e](n,i)}function EC(t){return he(t.addListener)&&he(t.removeListener)}function IC(t){return he(t.on)&&he(t.off)}function LC(t){return he(t.addEventListener)&&he(t.removeEventListener)}function ph(t=0,n,e=Yg){let i=-1;return n!=null&&(bl(n)?e=n:i=n),new Ae(o=>{let r=ah(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function fi(...t){let n=zn(t),e=qg(t,1/0),i=t;return i.length?i.length===1?rt(i[0]):Ll(e)(ct(i,n)):bo}function Zn(t,n){return $e((e,i)=>{let o=0;e.subscribe(He(i,r=>t.call(n,r,o++)&&i.next(r)))})}function mh(t){return $e((n,e)=>{let i=!1,o=null,r=null,s=!1,l=()=>{if(r?.unsubscribe(),r=null,i){i=!1;let p=o;o=null,e.next(p)}s&&e.complete()},d=()=>{r=null,s&&e.complete()};n.subscribe(He(e,p=>{i=!0,o=p,r||rt(t(p)).subscribe(r=He(e,l,d))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}function Xu(t,n=Ps){return mh(()=>ph(t,n))}function gh(t,n,e,i,o){return(r,s)=>{let l=e,d=n,p=0;r.subscribe(He(s,f=>{let w=p++;d=l?t(d,f,w):(l=!0,f),i&&s.next(d)},o&&(()=>{l&&s.next(d),s.complete()})))}}function Tl(t,n){return $e(gh(t,n,arguments.length>=2,!1,!0))}function an(t,n){return he(n)?Ti(t,n,1):Ti(t,1)}function Co(t,n=Ps){return $e((e,i)=>{let o=null,r=null,s=null,l=()=>{if(o){o.unsubscribe(),o=null;let p=r;r=null,i.next(p)}};function d(){let p=s+t,f=n.now();if(f<p){o=this.schedule(void 0,p-f),i.add(o);return}l()}e.subscribe(He(i,p=>{r=p,s=n.now(),o||(o=n.schedule(d,t),i.add(o))},()=>{l(),i.complete()},void 0,()=>{r=o=null}))})}function Lt(t){return t<=0?()=>bo:$e((n,e)=>{let i=0;n.subscribe(He(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function Vs(t,n=Ln){return t=t??PC,$e((e,i)=>{let o,r=!0;e.subscribe(He(i,s=>{let l=n(s);(r||!t(o,l))&&(r=!1,o=l,i.next(s))}))})}function PC(t,n){return t===n}function Qu(t){return $e((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function hh(t={}){let{connector:n=()=>new Pe,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,l,d,p=0,f=!1,w=!1,D=()=>{l?.unsubscribe(),l=void 0},x=()=>{D(),s=d=void 0,f=w=!1},A=()=>{let V=s;x(),V?.unsubscribe()};return $e((V,R)=>{p++,!w&&!f&&D();let H=d=d??n();R.add(()=>{p--,p===0&&!w&&!f&&(l=Ku(A,o))}),H.subscribe(R),!s&&p>0&&(s=new hi({next:K=>H.next(K),error:K=>{w=!0,D(),l=Ku(x,e,K),H.error(K)},complete:()=>{f=!0,D(),l=Ku(x,i),H.complete()}}),rt(V).subscribe(s))})(r)}}function Ku(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new hi({next:()=>{i.unsubscribe(),t()}});return rt(n(...e)).subscribe(i)}function Vl(t,n,e){let i,o=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:i=t??1/0,hh({connector:()=>new Ii(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Fs(t){return Zn((n,e)=>t<=e)}function Fi(...t){let n=zn(t);return $e((e,i)=>{(n?_n(t,e,n):_n(t,e)).subscribe(i)})}function ln(t,n){return $e((e,i)=>{let o=null,r=0,s=!1,l=()=>s&&!o&&i.complete();e.subscribe(He(i,d=>{o?.unsubscribe();let p=0,f=r++;rt(t(d,f)).subscribe(o=He(i,w=>i.next(n?n(d,w,f,p++):w),()=>{o=null,l()}))},()=>{s=!0,l()}))})}function It(t){return $e((n,e)=>{rt(t).subscribe(He(e,()=>e.complete(),Ss)),!e.closed&&n.subscribe(e)})}function Pn(t,n,e){let i=he(t)||n||e?{next:t,error:n,complete:e}:t;return i?$e((o,r)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let l=!0;o.subscribe(He(r,d=>{var p;(p=i.next)===null||p===void 0||p.call(i,d),r.next(d)},()=>{var d;l=!1,(d=i.complete)===null||d===void 0||d.call(i),r.complete()},d=>{var p;l=!1,(p=i.error)===null||p===void 0||p.call(i,d),r.error(d)},()=>{var d,p;l&&((d=i.unsubscribe)===null||d===void 0||d.call(i)),(p=i.finalize)===null||p===void 0||p.call(i)}))}):Ln}var rf="https://g.co/ng/security#xss",Oe=class extends Error{constructor(n,e){super(wc(n,e)),this.code=n}};function wc(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function Ks(t){return{toString:t}.toString()}var Fl="__parameters__";function TC(t){return function(...e){if(t){let i=t(...e);for(let o in i)this[o]=i[o]}}}function sf(t,n,e){return Ks(()=>{let i=TC(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;let s=new o(...r);return l.annotation=s,l;function l(d,p,f){let w=d.hasOwnProperty(Fl)?d[Fl]:Object.defineProperty(d,Fl,{value:[]})[Fl];for(;w.length<=f;)w.push(null);return(w[f]=w[f]||[]).push(s),d}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var Rs=globalThis;function pt(t){for(let n in t)if(t[n]===pt)return n;throw Error("Could not find renamed property on target object.")}function VC(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function cn(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(cn).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
|
|
7
|
+
`);return e===-1?n:n.substring(0,e)}function mp(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}var FC=pt({__forward_ref__:pt});function Lo(t){return t.__forward_ref__=Lo,t.toString=function(){return cn(this())},t}function Ut(t){return af(t)?t():t}function af(t){return typeof t=="function"&&t.hasOwnProperty(FC)&&t.__forward_ref__===Lo}function te(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function st(t){return{providers:t.providers||[],imports:t.imports||[]}}function hm(t){return fh(t,lf)||fh(t,cf)}function fh(t,n){return t.hasOwnProperty(n)?t[n]:null}function NC(t){let n=t&&(t[lf]||t[cf]);return n||null}function bh(t){return t&&(t.hasOwnProperty(vh)||t.hasOwnProperty(jC))?t[vh]:null}var lf=pt({\u0275prov:pt}),vh=pt({\u0275inj:pt}),cf=pt({ngInjectableDef:pt}),jC=pt({ngInjectorDef:pt}),ie=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=te({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function df(t){return t&&!!t.\u0275providers}var HC=pt({\u0275cmp:pt}),RC=pt({\u0275dir:pt}),BC=pt({\u0275pipe:pt});var ql=pt({\u0275fac:pt}),Hs=pt({__NG_ELEMENT_ID__:pt}),_h=pt({__NG_ENV_ID__:pt});function Wn(t){return typeof t=="string"?t:t==null?"":String(t)}function zC(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Wn(t)}function ZC(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new Oe(-200,t)}function fm(t,n){throw new Oe(-201,!1)}var Ne=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Ne||{}),gp;function uf(){return gp}function qt(t){let n=gp;return gp=t,n}function pf(t,n,e){let i=hm(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&Ne.Optional)return null;if(n!==void 0)return n;fm(t,"Injector")}var $C={},Bs=$C,hp="__NG_DI_FLAG__",Xl="ngTempTokenPath",UC="ngTokenPath",WC=/\n/gm,GC="\u0275",Ch="__source",hr;function YC(){return hr}function Ni(t){let n=hr;return hr=t,n}function qC(t,n=Ne.Default){if(hr===void 0)throw new Oe(-203,!1);return hr===null?pf(t,void 0,n):hr.get(t,n&Ne.Optional?null:void 0,n)}function q(t,n=Ne.Default){return(uf()||qC)(Ut(t),n)}function ne(t,n=Ne.Default){return q(t,yc(n))}function yc(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function fp(t){let n=[];for(let e=0;e<t.length;e++){let i=Ut(t[e]);if(Array.isArray(i)){if(i.length===0)throw new Oe(900,!1);let o,r=Ne.Default;for(let s=0;s<i.length;s++){let l=i[s],d=XC(l);typeof d=="number"?d===-1?o=l.token:r|=d:o=l}n.push(q(o,r))}else n.push(q(i))}return n}function mf(t,n){return t[hp]=n,t.prototype[hp]=n,t}function XC(t){return t[hp]}function QC(t,n,e,i){let o=t[Xl];throw n[Ch]&&o.unshift(n[Ch]),t.message=KC(`
|
|
8
|
+
`+t.message,o,e,i),t[UC]=o,t[Xl]=null,t}function KC(t,n,e,i=null){t=t&&t.charAt(0)===`
|
|
9
|
+
`&&t.charAt(1)==GC?t.slice(2):t;let o=cn(n);if(Array.isArray(n))o=n.map(cn).join(" -> ");else if(typeof n=="object"){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let l=n[s];r.push(s+":"+(typeof l=="string"?JSON.stringify(l):cn(l)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(WC,`
|
|
10
|
+
`)}`}var bm=mf(sf("Optional"),8);var gf=mf(sf("SkipSelf"),4);function yo(t,n){let e=t.hasOwnProperty(ql);return e?t[ql]:null}function JC(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}function e9(t){return t.flat(Number.POSITIVE_INFINITY)}function vm(t,n){t.forEach(e=>Array.isArray(e)?vm(e,n):n(e))}function hf(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ql(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function t9(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function n9(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(o===1)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let r=o-2;t[o]=t[r],o--}t[n]=e,t[n+1]=i}}function _m(t,n,e){let i=Js(t,n);return i>=0?t[i|1]=e:(i=~i,n9(t,i,n,e)),i}function Ju(t,n){let e=Js(t,n);if(e>=0)return t[e|1]}function Js(t,n){return i9(t,n,1)}function i9(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){let r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}var br={},Xt=[],zs=new ie(""),ff=new ie("",-1),bf=new ie(""),Kl=class{get(n,e=Bs){if(e===Bs){let i=new Error(`NullInjectorError: No provider for ${cn(n)}!`);throw i.name="NullInjectorError",i}return e}},vf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(vf||{}),Gn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Gn||{}),Ri=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Ri||{});function o9(t,n,e){let i=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function bp(t,n,e){let i=0;for(;i<e.length;){let o=e[i];if(typeof o=="number"){if(o!==0)break;i++;let r=e[i++],s=e[i++],l=e[i++];t.setAttribute(n,s,l,r)}else{let r=o,s=e[++i];r9(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function _f(t){return t===3||t===4||t===6}function r9(t){return t.charCodeAt(0)===64}function Zs(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let o=n[i];typeof o=="number"?e=o:e===0||(e===-1||e===2?wh(t,e,o,null,n[++i]):wh(t,e,o,null,null))}}return t}function wh(t,n,e,i,o){let r=0,s=t.length;if(n===-1)s=-1;else for(;r<t.length;){let l=t[r++];if(typeof l=="number"){if(l===n){s=-1;break}else if(l>n){s=r-1;break}}}for(;r<t.length;){let l=t[r];if(typeof l=="number")break;if(l===e){if(i===null){o!==null&&(t[r+1]=o);return}else if(i===t[r+1]){t[r+2]=o;return}}r++,i!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),i!==null&&t.splice(r++,0,i),o!==null&&t.splice(r++,0,o)}var Cf="ng-template";function s9(t,n,e,i){let o=0;if(i){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&o9(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(Cm(t))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&typeof(r=n[o])=="string";)if(r.toLowerCase()===e)return!0}return!1}function Cm(t){return t.type===4&&t.value!==Cf}function a9(t,n,e){let i=t.type===4&&!e?Cf:t.value;return n===i}function l9(t,n,e){let i=4,o=t.attrs,r=o!==null?u9(o):0,s=!1;for(let l=0;l<n.length;l++){let d=n[l];if(typeof d=="number"){if(!s&&!Tn(i)&&!Tn(d))return!1;if(s&&Tn(d))continue;s=!1,i=d|i&1;continue}if(!s)if(i&4){if(i=2|i&1,d!==""&&!a9(t,d,e)||d===""&&n.length===1){if(Tn(i))return!1;s=!0}}else if(i&8){if(o===null||!s9(t,o,d,e)){if(Tn(i))return!1;s=!0}}else{let p=n[++l],f=c9(d,o,Cm(t),e);if(f===-1){if(Tn(i))return!1;s=!0;continue}if(p!==""){let w;if(f>r?w="":w=o[f+1].toLowerCase(),i&2&&p!==w){if(Tn(i))return!1;s=!0}}}}return Tn(i)||s}function Tn(t){return(t&1)===0}function c9(t,n,e,i){if(n===null)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=n[++o];for(;typeof l=="string";)l=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return p9(n,t)}function wf(t,n,e=!1){for(let i=0;i<n.length;i++)if(l9(t,n[i],e))return!0;return!1}function d9(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function u9(t){for(let n=0;n<t.length;n++){let e=t[n];if(_f(e))return n}return t.length}function p9(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function m9(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function yh(t,n){return t?":not("+n.trim()+")":n}function g9(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let l=t[++e];o+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else i&8?o+="."+s:i&4&&(o+=" "+s);else o!==""&&!Tn(s)&&(n+=yh(r,o),o=""),i=s,r=r||!Tn(i);e++}return o!==""&&(n+=yh(r,o)),n}function h9(t){return t.map(g9).join(",")}function f9(t){let n=[],e=[],i=1,o=2;for(;i<t.length;){let r=t[i];if(typeof r=="string")o===2?r!==""&&n.push(r,t[++i]):o===8&&e.push(r);else{if(!Tn(o))break;o=r}i++}return{attrs:n,classes:e}}function N(t){return Ks(()=>{let n=Mf(t),e=ot(ue({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===vf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Gn.Emulated,styles:t.styles||Xt,_:null,schemas:t.schemas||null,tView:null,id:""});Df(e);let i=t.dependencies;return e.directiveDefs=Mh(i,!1),e.pipeDefs=Mh(i,!0),e.id=C9(e),e})}function b9(t){return xo(t)||yf(t)}function v9(t){return t!==null}function at(t){return Ks(()=>({type:t.type,bootstrap:t.bootstrap||Xt,declarations:t.declarations||Xt,imports:t.imports||Xt,exports:t.exports||Xt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function xh(t,n){if(t==null)return br;let e={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],r,s,l=Ri.None;Array.isArray(o)?(l=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(e[r]=l!==Ri.None?[i,l]:i,n[r]=s):e[r]=i}return e}function ce(t){return Ks(()=>{let n=Mf(t);return Df(n),n})}function vi(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function xo(t){return t[HC]||null}function yf(t){return t[RC]||null}function xf(t){return t[BC]||null}function _9(t){let n=xo(t)||yf(t)||xf(t);return n!==null?n.standalone:!1}function Mf(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||br,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Xt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xh(t.inputs,n),outputs:xh(t.outputs),debugInfo:null}}function Df(t){t.features?.forEach(n=>n(t))}function Mh(t,n){if(!t)return null;let e=n?xf:b9;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(v9)}function C9(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function xc(t){return{\u0275providers:t}}function wm(...t){return{\u0275providers:kf(!0,t),\u0275fromNgModule:!0}}function kf(t,...n){let e=[],i=new Set,o,r=s=>{e.push(s)};return vm(n,s=>{let l=s;vp(l,r,[],i)&&(o||=[],o.push(l))}),o!==void 0&&Of(o,r),e}function Of(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:o}=t[e];ym(o,r=>{n(r,i)})}}function vp(t,n,e,i){if(t=Ut(t),!t)return!1;let o=null,r=bh(t),s=!r&&xo(t);if(!r&&!s){let d=t.ngModule;if(r=bh(d),r)o=d;else return!1}else{if(s&&!s.standalone)return!1;o=t}let l=i.has(o);if(s){if(l)return!1;if(i.add(o),s.dependencies){let d=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let p of d)vp(p,n,e,i)}}else if(r){if(r.imports!=null&&!l){i.add(o);let p;try{vm(r.imports,f=>{vp(f,n,e,i)&&(p||=[],p.push(f))})}finally{}p!==void 0&&Of(p,n)}if(!l){let p=yo(o)||(()=>new o);n({provide:o,useFactory:p,deps:Xt},o),n({provide:bf,useValue:o,multi:!0},o),n({provide:zs,useValue:()=>q(o),multi:!0},o)}let d=r.providers;if(d!=null&&!l){let p=t;ym(d,f=>{n(f,p)})}}else return!1;return o!==t&&t.providers!==void 0}function ym(t,n){for(let e of t)df(e)&&(e=e.\u0275providers),Array.isArray(e)?ym(e,n):n(e)}var w9=pt({provide:String,useValue:pt});function Sf(t){return t!==null&&typeof t=="object"&&w9 in t}function y9(t){return!!(t&&t.useExisting)}function x9(t){return!!(t&&t.useFactory)}function vr(t){return typeof t=="function"}function M9(t){return!!t.useClass}var Mc=new ie(""),Zl={},D9={},ep;function Dc(){return ep===void 0&&(ep=new Kl),ep}var wn=class{},$s=class extends wn{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cp(n,s=>this.processProvider(s)),this.records.set(ff,pr(void 0,this)),o.has("environment")&&this.records.set(wn,pr(void 0,this));let r=this.records.get(Mc);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(bf,Xt,Ne.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=Ve(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ve(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=Ni(this),i=qt(void 0),o;try{return n()}finally{Ni(e),qt(i)}}get(n,e=Bs,i=Ne.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(_h))return n[_h](this);i=yc(i);let o,r=Ni(this),s=qt(void 0);try{if(!(i&Ne.SkipSelf)){let d=this.records.get(n);if(d===void 0){let p=E9(n)&&hm(n);p&&this.injectableDefInScope(p)?d=pr(_p(n),Zl):d=null,this.records.set(n,d)}if(d!=null)return this.hydrate(n,d)}let l=i&Ne.Self?Dc():this.parent;return e=i&Ne.Optional&&e===Bs?null:e,l.get(n,e)}catch(l){if(l.name==="NullInjectorError"){if((l[Xl]=l[Xl]||[]).unshift(cn(n)),r)throw l;return QC(l,n,"R3InjectorError",this.source)}else throw l}finally{qt(s),Ni(r)}}resolveInjectorInitializers(){let n=Ve(null),e=Ni(this),i=qt(void 0),o;try{let r=this.get(zs,Xt,Ne.Self);for(let s of r)s()}finally{Ni(e),qt(i),Ve(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(cn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Oe(205,!1)}processProvider(n){n=Ut(n);let e=vr(n)?n:Ut(n&&n.provide),i=O9(n);if(!vr(n)&&n.multi===!0){let o=this.records.get(e);o||(o=pr(void 0,Zl,!0),o.factory=()=>fp(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=Ve(null);try{return e.value===Zl&&(e.value=D9,e.value=e.factory()),typeof e.value=="object"&&e.value&&A9(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Ve(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Ut(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function _p(t){let n=hm(t),e=n!==null?n.factory:yo(t);if(e!==null)return e;if(t instanceof ie)throw new Oe(204,!1);if(t instanceof Function)return k9(t);throw new Oe(204,!1)}function k9(t){if(t.length>0)throw new Oe(204,!1);let e=NC(t);return e!==null?()=>e.factory(t):()=>new t}function O9(t){if(Sf(t))return pr(void 0,t.useValue);{let n=Af(t);return pr(n,Zl)}}function Af(t,n,e){let i;if(vr(t)){let o=Ut(t);return yo(o)||_p(o)}else if(Sf(t))i=()=>Ut(t.useValue);else if(x9(t))i=()=>t.useFactory(...fp(t.deps||[]));else if(y9(t))i=()=>q(Ut(t.useExisting));else{let o=Ut(t&&(t.useClass||t.provide));if(S9(t))i=()=>new o(...fp(t.deps));else return yo(o)||_p(o)}return i}function pr(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function S9(t){return!!t.deps}function A9(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function E9(t){return typeof t=="function"||typeof t=="object"&&t instanceof ie}function Cp(t,n){for(let e of t)Array.isArray(e)?Cp(e,n):e&&df(e)?Cp(e.\u0275providers,n):n(e)}function Ef(t,n){t instanceof $s&&t.assertNotDestroyed();let e,i=Ni(t),o=qt(void 0);try{return n()}finally{Ni(i),qt(o)}}function If(){return uf()!==void 0||YC()!=null}function Lf(t){if(!If())throw new Oe(-203,!1)}function I9(t){return typeof t=="function"}var _i=0,ye=1,we=2,Bt=3,Fn=4,Jt=5,_r=6,Jl=7,Tt=8,Cr=9,Yn=10,bt=11,Us=12,Dh=13,Sr=14,Qt=15,Mo=16,mr=17,bi=18,kc=19,Pf=20,ji=21,tp=22,Cn=23,Vt=25,Tf=1;var Do=7,ec=8,wr=9,Rt=10,tc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(tc||{});function Hi(t){return Array.isArray(t)&&typeof t[Tf]=="object"}function Ci(t){return Array.isArray(t)&&t[Tf]===!0}function xm(t){return(t.flags&4)!==0}function Oc(t){return t.componentOffset>-1}function Sc(t){return(t.flags&1)===1}function Bi(t){return!!t.template}function wp(t){return(t[we]&512)!==0}var Ws=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Vf(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function mt(){return Ff}function Ff(t){return t.type.prototype.ngOnChanges&&(t.setInput=P9),L9}mt.ngInherit=!0;function L9(){let t=jf(this),n=t?.current;if(n){let e=t.previous;if(e===br)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function P9(t,n,e,i,o){let r=this.declaredInputs[i],s=jf(t)||T9(t,{previous:br,current:null}),l=s.current||(s.current={}),d=s.previous,p=d[r];l[r]=new Ws(p&&p.currentValue,e,d===br),Vf(t,n,o,e)}var Nf="__ngSimpleChanges__";function jf(t){return t[Nf]||null}function T9(t,n){return t[Nf]=n}var kh=null;var $n=function(t,n,e){kh?.(t,n,e)},Hf="svg",V9="math";function qn(t){for(;Array.isArray(t);)t=t[_i];return t}function Rf(t,n){return qn(n[t])}function yn(t,n){return qn(n[t.index])}function Mm(t,n){return t.data[n]}function Bf(t,n){return t[n]}function Ui(t,n){let e=n[t];return Hi(e)?e:e[_i]}function F9(t){return(t[we]&4)===4}function Dm(t){return(t[we]&128)===128}function N9(t){return Ci(t[Bt])}function zi(t,n){return n==null?null:t[n]}function zf(t){t[mr]=0}function Zf(t){t[we]&1024||(t[we]|=1024,Dm(t)&&Ec(t))}function j9(t,n){for(;t>0;)n=n[Sr],t--;return n}function Ac(t){return!!(t[we]&9216||t[Cn]?.dirty)}function yp(t){t[Yn].changeDetectionScheduler?.notify(8),t[we]&64&&(t[we]|=1024),Ac(t)&&Ec(t)}function Ec(t){t[Yn].changeDetectionScheduler?.notify(0);let n=ko(t);for(;n!==null&&!(n[we]&8192||(n[we]|=8192,!Dm(n)));)n=ko(n)}function $f(t,n){if((t[we]&256)===256)throw new Oe(911,!1);t[ji]===null&&(t[ji]=[]),t[ji].push(n)}function H9(t,n){if(t[ji]===null)return;let e=t[ji].indexOf(n);e!==-1&&t[ji].splice(e,1)}function ko(t){let n=t[Bt];return Ci(n)?n[Bt]:n}var Se={lFrame:eb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Uf=!1;function R9(){return Se.lFrame.elementDepthCount}function B9(){Se.lFrame.elementDepthCount++}function z9(){Se.lFrame.elementDepthCount--}function Wf(){return Se.bindingsEnabled}function Gf(){return Se.skipHydrationRootTNode!==null}function Z9(t){return Se.skipHydrationRootTNode===t}function $9(){Se.skipHydrationRootTNode=null}function fe(){return Se.lFrame.lView}function vt(){return Se.lFrame.tView}function O(t){return Se.lFrame.contextLView=t,t[Tt]}function S(t){return Se.lFrame.contextLView=null,t}function Ft(){let t=Yf();for(;t!==null&&t.type===64;)t=t.parent;return t}function Yf(){return Se.lFrame.currentTNode}function U9(){let t=Se.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Po(t,n){let e=Se.lFrame;e.currentTNode=t,e.isParent=n}function km(){return Se.lFrame.isParent}function Om(){Se.lFrame.isParent=!1}function W9(){return Se.lFrame.contextLView}function qf(){return Uf}function Oh(t){Uf=t}function Ar(){let t=Se.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Xf(){return Se.lFrame.bindingIndex}function G9(t){return Se.lFrame.bindingIndex=t}function To(){return Se.lFrame.bindingIndex++}function Ic(t){let n=Se.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function Y9(){return Se.lFrame.inI18n}function q9(t,n){let e=Se.lFrame;e.bindingIndex=e.bindingRootIndex=t,xp(n)}function X9(){return Se.lFrame.currentDirectiveIndex}function xp(t){Se.lFrame.currentDirectiveIndex=t}function Q9(t){let n=Se.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Qf(){return Se.lFrame.currentQueryIndex}function Sm(t){Se.lFrame.currentQueryIndex=t}function K9(t){let n=t[ye];return n.type===2?n.declTNode:n.type===1?t[Jt]:null}function Kf(t,n,e){if(e&Ne.SkipSelf){let o=n,r=t;for(;o=o.parent,o===null&&!(e&Ne.Host);)if(o=K9(r),o===null||(r=r[Sr],o.type&10))break;if(o===null)return!1;n=o,t=r}let i=Se.lFrame=Jf();return i.currentTNode=n,i.lView=t,!0}function Am(t){let n=Jf(),e=t[ye];Se.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Jf(){let t=Se.lFrame,n=t===null?null:t.child;return n===null?eb(t):n}function eb(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function tb(){let t=Se.lFrame;return Se.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var nb=tb;function Em(){let t=tb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function J9(t){return(Se.lFrame.contextLView=j9(t,Se.lFrame.contextLView))[Tt]}function Jn(){return Se.lFrame.selectedIndex}function Oo(t){Se.lFrame.selectedIndex=t}function ea(){let t=Se.lFrame;return Mm(t.tView,t.selectedIndex)}function ib(){Se.lFrame.currentNamespace=Hf}function e7(){return Se.lFrame.currentNamespace}var ob=!0;function Lc(){return ob}function Pc(t){ob=t}function t7(t,n,e){let{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){let s=Ff(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}function Tc(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:l,ngAfterViewInit:d,ngAfterViewChecked:p,ngOnDestroy:f}=r;s&&(t.contentHooks??=[]).push(-e,s),l&&((t.contentHooks??=[]).push(e,l),(t.contentCheckHooks??=[]).push(e,l)),d&&(t.viewHooks??=[]).push(-e,d),p&&((t.viewHooks??=[]).push(e,p),(t.viewCheckHooks??=[]).push(e,p)),f!=null&&(t.destroyHooks??=[]).push(e,f)}}function $l(t,n,e){rb(t,n,3,e)}function Ul(t,n,e,i){(t[we]&3)===e&&rb(t,n,e,i)}function np(t,n){let e=t[we];(e&3)===n&&(e&=16383,e+=1,t[we]=e)}function rb(t,n,e,i){let o=i!==void 0?t[mr]&65535:0,r=i??-1,s=n.length-1,l=0;for(let d=o;d<s;d++)if(typeof n[d+1]=="number"){if(l=n[d],i!=null&&l>=i)break}else n[d]<0&&(t[mr]+=65536),(l<r||r==-1)&&(n7(t,e,n,d),t[mr]=(t[mr]&4294901760)+d+2),d++}function Sh(t,n){$n(4,t,n);let e=Ve(null);try{n.call(t)}finally{Ve(e),$n(5,t,n)}}function n7(t,n,e,i){let o=e[i]<0,r=e[i+1],s=o?-e[i]:e[i],l=t[s];o?t[we]>>14<t[mr]>>16&&(t[we]&3)===n&&(t[we]+=16384,Sh(l,r)):Sh(l,r)}var fr=-1,So=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function i7(t){return t instanceof So}function o7(t){return(t.flags&8)!==0}function r7(t){return(t.flags&16)!==0}var ip={},Mp=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=yc(i);let o=this.injector.get(n,ip,i);return o!==ip||e===ip?o:this.parentInjector.get(n,e,i)}};function sb(t){return t!==fr}function nc(t){return t&32767}function s7(t){return t>>16}function ic(t,n){let e=s7(t),i=n;for(;e>0;)i=i[Sr],e--;return i}var Dp=!0;function oc(t){let n=Dp;return Dp=t,n}var a7=256,ab=a7-1,lb=5,l7=0,Un={};function c7(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Hs)&&(i=e[Hs]),i==null&&(i=e[Hs]=l7++);let o=i&ab,r=1<<o;n.data[t+(o>>lb)]|=r}function rc(t,n){let e=cb(t,n);if(e!==-1)return e;let i=n[ye];i.firstCreatePass&&(t.injectorIndex=n.length,op(i.data,t),op(n,null),op(i.blueprint,null));let o=Im(t,n),r=t.injectorIndex;if(sb(o)){let s=nc(o),l=ic(o,n),d=l[ye].data;for(let p=0;p<8;p++)n[r+p]=l[s+p]|d[s+p]}return n[r+8]=o,r}function op(t,n){t.push(0,0,0,0,0,0,0,0,n)}function cb(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Im(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;o!==null;){if(i=gb(o),i===null)return fr;if(e++,o=o[Sr],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return fr}function kp(t,n,e){c7(t,n,e)}function d7(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,o=0;for(;o<i;){let r=e[o];if(_f(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<i&&typeof e[o]=="string";)o++;else{if(r===n)return e[o+1];o=o+2}}}return null}function db(t,n,e){if(e&Ne.Optional||t!==void 0)return t;fm(n,"NodeInjector")}function ub(t,n,e,i){if(e&Ne.Optional&&i===void 0&&(i=null),!(e&(Ne.Self|Ne.Host))){let o=t[Cr],r=qt(void 0);try{return o?o.get(n,i,e&Ne.Optional):pf(n,i,e&Ne.Optional)}finally{qt(r)}}return db(i,n,e)}function pb(t,n,e,i=Ne.Default,o){if(t!==null){if(n[we]&2048&&!(i&Ne.Self)){let s=g7(t,n,e,i,Un);if(s!==Un)return s}let r=mb(t,n,e,i,Un);if(r!==Un)return r}return ub(n,e,i,o)}function mb(t,n,e,i,o){let r=p7(e);if(typeof r=="function"){if(!Kf(n,t,i))return i&Ne.Host?db(o,e,i):ub(n,e,i,o);try{let s;if(s=r(i),s==null&&!(i&Ne.Optional))fm(e);else return s}finally{nb()}}else if(typeof r=="number"){let s=null,l=cb(t,n),d=fr,p=i&Ne.Host?n[Qt][Jt]:null;for((l===-1||i&Ne.SkipSelf)&&(d=l===-1?Im(t,n):n[l+8],d===fr||!Eh(i,!1)?l=-1:(s=n[ye],l=nc(d),n=ic(d,n)));l!==-1;){let f=n[ye];if(Ah(r,l,f.data)){let w=u7(l,n,e,s,i,p);if(w!==Un)return w}d=n[l+8],d!==fr&&Eh(i,n[ye].data[l+8]===p)&&Ah(r,l,n)?(s=f,l=nc(d),n=ic(d,n)):l=-1}}return o}function u7(t,n,e,i,o,r){let s=n[ye],l=s.data[t+8],d=i==null?Oc(l)&&Dp:i!=s&&(l.type&3)!==0,p=o&Ne.Host&&r===l,f=Wl(l,s,e,d,p);return f!==null?Ao(n,s,f,l):Un}function Wl(t,n,e,i,o){let r=t.providerIndexes,s=n.data,l=r&1048575,d=t.directiveStart,p=t.directiveEnd,f=r>>20,w=i?l:l+f,D=o?l+f:p;for(let x=w;x<D;x++){let A=s[x];if(x<d&&e===A||x>=d&&A.type===e)return x}if(o){let x=s[d];if(x&&Bi(x)&&x.type===e)return d}return null}function Ao(t,n,e,i){let o=t[e],r=n.data;if(i7(o)){let s=o;s.resolving&&ZC(zC(r[e]));let l=oc(s.canSeeViewProviders);s.resolving=!0;let d,p=s.injectImpl?qt(s.injectImpl):null,f=Kf(t,i,Ne.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&t7(e,r[e],n)}finally{p!==null&&qt(p),oc(l),s.resolving=!1,nb()}}return o}function p7(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Hs)?t[Hs]:void 0;return typeof n=="number"?n>=0?n&ab:m7:n}function Ah(t,n,e){let i=1<<t;return!!(e[n+(t>>lb)]&i)}function Eh(t,n){return!(t&Ne.Self)&&!(t&Ne.Host&&n)}var wo=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return pb(this._tNode,this._lView,n,yc(i),e)}};function m7(){return new wo(Ft(),fe())}function xn(t){return Ks(()=>{let n=t.prototype.constructor,e=n[ql]||Op(n),i=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){let r=o[ql]||Op(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Op(t){return af(t)?()=>{let n=Op(Ut(t));return n&&n()}:yo(t)}function g7(t,n,e,i,o){let r=t,s=n;for(;r!==null&&s!==null&&s[we]&2048&&!(s[we]&512);){let l=mb(r,s,e,i|Ne.Self,Un);if(l!==Un)return l;let d=r.parent;if(!d){let p=s[Pf];if(p){let f=p.get(e,Un,i);if(f!==Un)return f}d=gb(s),s=s[Sr]}r=d}return o}function gb(t){let n=t[ye],e=n.type;return e===2?n.declTNode:e===1?t[Jt]:null}function Er(t){return d7(Ft(),t)}function Ih(t,n=null,e=null,i){let o=h7(t,n,e,i);return o.resolveInjectorInitializers(),o}function h7(t,n=null,e=null,i,o=new Set){let r=[e||Xt,wm(t)];return i=i||(typeof t=="object"?void 0:cn(t)),new $s(r,n||Dc(),i||null,o)}var Xn=class t{static{this.THROW_IF_NOT_FOUND=Bs}static{this.NULL=new Kl}static create(n,e){if(Array.isArray(n))return Ih({name:""},e,n,"");{let i=n.name??"";return Ih({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=te({token:t,providedIn:"any",factory:()=>q(ff)})}static{this.__NG_ELEMENT_ID__=-1}};var f7=new ie("");f7.__NG_ELEMENT_ID__=t=>{let n=Ft();if(n===null)throw new Oe(204,!1);if(n.type&2)return n.value;if(t&Ne.Optional)return null;throw new Oe(204,!1)};var b7="ngOriginalError";function rp(t){return t[b7]}var hb=!0,Ir=(()=>{class t{static{this.__NG_ELEMENT_ID__=v7}static{this.__NG_ENV_ID__=e=>e}}return t})(),Sp=class extends Ir{constructor(n){super(),this._lView=n}onDestroy(n){return $f(this._lView,n),()=>H9(this._lView,n)}};function v7(){return new Sp(fe())}var Lr=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ye(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>new t})}}return t})();var Ap=class extends Pe{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,If()&&(this.destroyRef=ne(Ir,{optional:!0})??void 0,this.pendingTasks=ne(Lr,{optional:!0})??void 0)}emit(n){let e=Ve(null);try{super.next(n)}finally{Ve(e)}}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&typeof n=="object"){let d=n;o=d.next?.bind(d),r=d.error?.bind(d),s=d.complete?.bind(d)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:o,error:r,complete:s});return n instanceof ft&&n.add(l),l}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},I=Ap;function sc(...t){}function fb(t){let n,e;function i(){t=sc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Lh(t){return queueMicrotask(()=>t()),()=>{t=sc}}var Lm="isAngularZone",ac=Lm+"_ID",_7=0,Re=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new I(!1),this.onMicrotaskEmpty=new I(!1),this.onStable=new I(!1),this.onError=new I(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=hb}=n;if(typeof Zone>"u")throw new Oe(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,y7(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Lm)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new Oe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new Oe(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,C7,sc,sc);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},C7={};function Pm(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function w7(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){fb(()=>{t.callbackScheduled=!1,Ep(t),t.isCheckStableRunning=!0,Pm(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Ep(t)}function y7(t){let n=()=>{w7(t)},e=_7++;t._inner=t._inner.fork({name:"angular",properties:{[Lm]:!0,[ac]:e,[ac+e]:!0},onInvokeTask:(i,o,r,s,l,d)=>{if(x7(d))return i.invokeTask(r,s,l,d);try{return Ph(t),i.invokeTask(r,s,l,d)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Th(t)}},onInvoke:(i,o,r,s,l,d,p)=>{try{return Ph(t),i.invoke(r,s,l,d,p)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!M7(d)&&n(),Th(t)}},onHasTask:(i,o,r,s)=>{i.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ep(t),Pm(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,o,r,s)=>(i.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ep(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Ph(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Th(t){t._nesting--,Pm(t)}var Ip=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new I,this.onMicrotaskEmpty=new I,this.onStable=new I,this.onError=new I}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}};function x7(t){return bb(t,"__ignore_ng_zone__")}function M7(t){return bb(t,"__scheduler_tick__")}function bb(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Qn=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&rp(n);for(;e&&rp(e);)e=rp(e);return e||null}},D7=new ie("",{providedIn:"root",factory:()=>{let t=ne(Re),n=ne(Qn);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function k7(){return Pr(Ft(),fe())}function Pr(t,n){return new oe(yn(t,n))}var oe=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=k7}}return t})();function O7(t){return t instanceof oe?t.nativeElement:t}function S7(){return this._results[Symbol.iterator]()}var Gs=class t{get changes(){return this._changes??=new I}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=S7)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=e9(n);(this._changesDetected=!JC(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function vb(t){return(t.flags&128)===128}var _b=new Map,A7=0;function E7(){return A7++}function I7(t){_b.set(t[kc],t)}function Lp(t){_b.delete(t[kc])}var Vh="__ngContext__";function Zi(t,n){Hi(n)?(t[Vh]=n[kc],I7(n)):t[Vh]=n}function Cb(t){return yb(t[Us])}function wb(t){return yb(t[Fn])}function yb(t){for(;t!==null&&!Ci(t);)t=t[Fn];return t}var Pp;function xb(t){Pp=t}function Mb(){if(Pp!==void 0)return Pp;if(typeof document<"u")return document;throw new Oe(210,!1)}var Vc=new ie("",{providedIn:"root",factory:()=>L7}),L7="ng",Tm=new ie(""),ei=new ie("",{providedIn:"platform",factory:()=>"unknown"});var ta=new ie(""),na=new ie("",{providedIn:"root",factory:()=>Mb().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var P7="h",T7="b";var V7=()=>null;function Vm(t,n,e=!1){return V7(t,n,e)}var Db=!1,F7=new ie("",{providedIn:"root",factory:()=>Db});var Nl;function N7(){if(Nl===void 0&&(Nl=null,Rs.trustedTypes))try{Nl=Rs.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Nl}function Fc(t){return N7()?.createHTML(t)||t}var jl;function j7(){if(jl===void 0&&(jl=null,Rs.trustedTypes))try{jl=Rs.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jl}function Fh(t){return j7()?.createHTML(t)||t}var lc=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${rf})`}};function Tr(t){return t instanceof lc?t.changingThisBreaksApplicationSecurity:t}function Fm(t,n){let e=H7(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${rf})`)}return e===n}function H7(t){return t instanceof lc&&t.getTypeName()||null}function R7(t){let n=new Vp(t);return B7()?new Tp(n):n}var Tp=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Fc(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Vp=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Fc(n),e}};function B7(){try{return!!new window.DOMParser().parseFromString(Fc(""),"text/html")}catch{return!1}}var z7=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nm(t){return t=String(t),t.match(z7)?t:"unsafe:"+t}function wi(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function ia(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var kb=wi("area,br,col,hr,img,wbr"),Ob=wi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sb=wi("rp,rt"),Z7=ia(Sb,Ob),$7=ia(Ob,wi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),U7=ia(Sb,wi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Nh=ia(kb,$7,U7,Z7),Ab=wi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),W7=wi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),G7=wi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Y7=ia(Ab,W7,G7),q7=wi("script,style,template"),Fp=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){o.push(e),e=K7(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=Q7(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=jh(n).toLowerCase();if(!Nh.hasOwnProperty(e))return this.sanitizedSomething=!0,!q7.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let o=0;o<i.length;o++){let r=i.item(o),s=r.name,l=s.toLowerCase();if(!Y7.hasOwnProperty(l)){this.sanitizedSomething=!0;continue}let d=r.value;Ab[l]&&(d=Nm(d)),this.buf.push(" ",s,'="',Hh(d),'"')}return this.buf.push(">"),!0}endElement(n){let e=jh(n).toLowerCase();Nh.hasOwnProperty(e)&&!kb.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Hh(n))}};function X7(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Q7(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw Eb(n);return n}function K7(t){let n=t.firstChild;if(n&&X7(t,n))throw Eb(n);return n}function jh(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function Eb(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var J7=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ew=/([^\#-~ |!])/g;function Hh(t){return t.replace(/&/g,"&").replace(J7,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(ew,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Hl;function Ib(t,n){let e=null;try{Hl=Hl||R7(t);let i=n?String(n):"";e=Hl.getInertBodyElement(i);let o=5,r=i;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=Hl.getInertBodyElement(i)}while(i!==r);let l=new Fp().sanitizeChildren(Rh(e)||e);return Fc(l)}finally{if(e){let i=Rh(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function Rh(t){return"content"in t&&tw(t)?t.content:null}function tw(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Nc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Nc||{});function jm(t){let n=Lb();return n?Fh(n.sanitize(Nc.HTML,t)||""):Fm(t,"HTML")?Fh(Tr(t)):Ib(Mb(),Wn(t))}function oa(t){let n=Lb();return n?n.sanitize(Nc.URL,t)||"":Fm(t,"URL")?Tr(t):Nm(Wn(t))}function Lb(){let t=fe();return t&&t[Yn].sanitizer}var nw=/^>|^->|<!--|-->|--!>|<!-$/g,iw=/(<|>)/g,ow="\u200B$1\u200B";function rw(t){return t.replace(nw,n=>n.replace(iw,ow))}function dn(t){return t.ownerDocument}var Kn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Kn||{}),sw;function Hm(t,n){return sw(t,n)}function gr(t,n,e,i,o){if(i!=null){let r,s=!1;Ci(i)?r=i:Hi(i)&&(s=!0,i=i[_i]);let l=qn(i);t===0&&e!==null?o==null?Nb(n,e,l):cc(n,e,l,o||null,!0):t===1&&e!==null?cc(n,e,l,o||null,!0):t===2?Cw(n,l,s):t===3&&n.destroyNode(l),r!=null&&yw(n,t,r,e,o)}}function aw(t,n){return t.createText(n)}function lw(t,n,e){t.setValue(n,e)}function cw(t,n){return t.createComment(rw(n))}function Pb(t,n,e){return t.createElement(n,e)}function dw(t,n){Tb(t,n),n[_i]=null,n[Jt]=null}function uw(t,n,e,i,o,r){i[_i]=o,i[Jt]=n,Rc(t,i,e,1,o,r)}function Tb(t,n){n[Yn].changeDetectionScheduler?.notify(9),Rc(t,n,n[bt],2,null,null)}function pw(t){let n=t[Us];if(!n)return sp(t[ye],t);for(;n;){let e=null;if(Hi(n))e=n[Us];else{let i=n[Rt];i&&(e=i)}if(!e){for(;n&&!n[Fn]&&n!==t;)Hi(n)&&sp(n[ye],n),n=n[Bt];n===null&&(n=t),Hi(n)&&sp(n[ye],n),e=n&&n[Fn]}n=e}}function mw(t,n,e,i){let o=Rt+i,r=e.length;i>0&&(e[o-1][Fn]=n),i<r-Rt?(n[Fn]=e[o],hf(e,Rt+i,n)):(e.push(n),n[Fn]=null),n[Bt]=e;let s=n[Mo];s!==null&&e!==s&&Vb(s,n);let l=n[bi];l!==null&&l.insertView(t),yp(n),n[we]|=128}function Vb(t,n){let e=t[wr],i=n[Bt];if(Hi(i))t[we]|=tc.HasTransplantedViews;else{let o=i[Bt][Qt];n[Qt]!==o&&(t[we]|=tc.HasTransplantedViews)}e===null?t[wr]=[n]:e.push(n)}function Rm(t,n){let e=t[wr],i=e.indexOf(n);e.splice(i,1)}function Ys(t,n){if(t.length<=Rt)return;let e=Rt+n,i=t[e];if(i){let o=i[Mo];o!==null&&o!==t&&Rm(o,i),n>0&&(t[e-1][Fn]=i[Fn]);let r=Ql(t,Rt+n);dw(i[ye],i);let s=r[bi];s!==null&&s.detachView(r[ye]),i[Bt]=null,i[Fn]=null,i[we]&=-129}return i}function jc(t,n){if(!(n[we]&256)){let e=n[bt];e.destroyNode&&Rc(t,n,e,3,null,null),pw(n)}}function sp(t,n){if(n[we]&256)return;let e=Ve(null);try{n[we]&=-129,n[we]|=256,n[Cn]&&Fu(n[Cn]),hw(t,n),gw(t,n),n[ye].type===1&&n[bt].destroy();let i=n[Mo];if(i!==null&&Ci(n[Bt])){i!==n[Bt]&&Rm(i,n);let o=n[bi];o!==null&&o.detachView(t)}Lp(n)}finally{Ve(e)}}function gw(t,n){let e=t.cleanup,i=n[Jl];if(e!==null)for(let r=0;r<e.length-1;r+=2)if(typeof e[r]=="string"){let s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else{let s=i[e[r+1]];e[r].call(s)}i!==null&&(n[Jl]=null);let o=n[ji];if(o!==null){n[ji]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function hw(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let o=n[e[i]];if(!(o instanceof So)){let r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=o[r[s]],d=r[s+1];$n(4,l,d);try{d.call(l)}finally{$n(5,l,d)}}else{$n(4,o,r);try{r.call(o)}finally{$n(5,o,r)}}}}}function Fb(t,n,e){return fw(t,n.parent,e)}function fw(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[_i];{let{componentOffset:o}=i;if(o>-1){let{encapsulation:r}=t.data[i.directiveStart+o];if(r===Gn.None||r===Gn.Emulated)return null}return yn(i,e)}}function cc(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Nb(t,n,e){t.appendChild(n,e)}function Bh(t,n,e,i,o){i!==null?cc(t,n,e,i,o):Nb(t,n,e)}function jb(t,n){return t.parentNode(n)}function bw(t,n){return t.nextSibling(n)}function Hb(t,n,e){return _w(t,n,e)}function vw(t,n,e){return t.type&40?yn(t,e):null}var _w=vw,zh;function Hc(t,n,e,i){let o=Fb(t,i,n),r=n[bt],s=i.parent||n[Jt],l=Hb(s,i,n);if(o!=null)if(Array.isArray(e))for(let d=0;d<e.length;d++)Bh(r,o,e[d],l,!1);else Bh(r,o,e,l,!1);zh!==void 0&&zh(r,i,n,e,o)}function Ns(t,n){if(n!==null){let e=n.type;if(e&3)return yn(n,t);if(e&4)return Np(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Ns(t,i);{let o=t[n.index];return Ci(o)?Np(-1,o):qn(o)}}else{if(e&128)return Ns(t,n.next);if(e&32)return Hm(n,t)()||qn(t[n.index]);{let i=Rb(t,n);if(i!==null){if(Array.isArray(i))return i[0];let o=ko(t[Qt]);return Ns(o,i)}else return Ns(t,n.next)}}}return null}function Rb(t,n){if(n!==null){let i=t[Qt][Jt],o=n.projection;return i.projection[o]}return null}function Np(t,n){let e=Rt+t+1;if(e<n.length){let i=n[e],o=i[ye].firstChild;if(o!==null)return Ns(i,o)}return n[Do]}function Cw(t,n,e){t.removeChild(null,n,e)}function Bm(t,n,e,i,o,r,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let l=i[e.index],d=e.type;if(s&&n===0&&(l&&Zi(qn(l),i),e.flags|=2),(e.flags&32)!==32)if(d&8)Bm(t,n,e.child,i,o,r,!1),gr(n,t,o,l,r);else if(d&32){let p=Hm(e,i),f;for(;f=p();)gr(n,t,o,f,r);gr(n,t,o,l,r)}else d&16?Bb(t,n,i,e,o,r):gr(n,t,o,l,r);e=s?e.projectionNext:e.next}}function Rc(t,n,e,i,o,r){Bm(e,i,t.firstChild,n,o,r,!1)}function ww(t,n,e){let i=n[bt],o=Fb(t,e,n),r=e.parent||n[Jt],s=Hb(r,e,n);Bb(i,0,n,e,o,s)}function Bb(t,n,e,i,o,r){let s=e[Qt],d=s[Jt].projection[i.projection];if(Array.isArray(d))for(let p=0;p<d.length;p++){let f=d[p];gr(n,t,o,f,r)}else{let p=d,f=s[Bt];vb(i)&&(p.flags|=128),Bm(t,n,p,f,o,r,!0)}}function yw(t,n,e,i,o){let r=e[Do],s=qn(e);r!==s&&gr(n,t,i,r,o);for(let l=Rt;l<e.length;l++){let d=e[l];Rc(d[ye],d,t,n,i,r)}}function xw(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=i.indexOf("-")===-1?void 0:Kn.DashCase;o==null?t.removeStyle(e,i,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Kn.Important),t.setStyle(e,i,o,r))}}function Mw(t,n,e){t.setAttribute(n,"style",e)}function zb(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Zb(t,n,e){let{mergedAttrs:i,classes:o,styles:r}=e;i!==null&&bp(t,n,i),o!==null&&zb(t,n,o),r!==null&&Mw(t,n,r)}var Wt={};function g(t=1){$b(vt(),fe(),Jn()+t,!1)}function $b(t,n,e,i){if(!i)if((n[we]&3)===3){let r=t.preOrderCheckHooks;r!==null&&$l(n,r,e)}else{let r=t.preOrderHooks;r!==null&&Ul(n,r,0,e)}Oo(e)}function M(t,n=Ne.Default){let e=fe();if(e===null)return q(t,n);let i=Ft();return pb(i,e,Ut(t),n)}function Ub(){let t="invalid";throw new Error(t)}function Wb(t,n,e,i,o,r){let s=Ve(null);try{let l=null;o&Ri.SignalBased&&(l=n[i][gi]),l!==null&&l.transformFn!==void 0&&(r=l.transformFn(r)),o&Ri.HasDecoratorInputTransform&&(r=t.inputTransforms[i].call(n,r)),t.setInput!==null?t.setInput(n,l,r,e,i):Vf(n,l,i,r)}finally{Ve(s)}}function Dw(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let o=e[i];if(o<0)Oo(~o);else{let r=o,s=e[++i],l=e[++i];q9(s,r);let d=n[r];l(2,d)}}}finally{Oo(-1)}}function Bc(t,n,e,i,o,r,s,l,d,p,f){let w=n.blueprint.slice();return w[_i]=o,w[we]=i|4|128|8|64,(p!==null||t&&t[we]&2048)&&(w[we]|=2048),zf(w),w[Bt]=w[Sr]=t,w[Tt]=e,w[Yn]=s||t&&t[Yn],w[bt]=l||t&&t[bt],w[Cr]=d||t&&t[Cr]||null,w[Jt]=r,w[kc]=E7(),w[_r]=f,w[Pf]=p,w[Qt]=n.type==2?t[Qt]:w,w}function Vr(t,n,e,i,o){let r=t.data[n];if(r===null)r=kw(t,n,e,i,o),Y9()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=i,r.attrs=o;let s=U9();r.injectorIndex=s===null?-1:s.injectorIndex}return Po(r,!0),r}function kw(t,n,e,i,o){let r=Yf(),s=km(),l=s?r:r&&r.parent,d=t.data[n]=Lw(t,l,e,n,i,o);return t.firstChild===null&&(t.firstChild=d),r!==null&&(s?r.child==null&&d.parent!==null&&(r.child=d):r.next===null&&(r.next=d,d.prev=r)),d}function Gb(t,n,e,i){if(e===0)return-1;let o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Yb(t,n,e,i,o){let r=Jn(),s=i&2;try{Oo(-1),s&&n.length>Vt&&$b(t,n,Vt,!1),$n(s?2:0,o),e(i,o)}finally{Oo(r),$n(s?3:1,o)}}function zm(t,n,e){if(xm(n)){let i=Ve(null);try{let o=n.directiveStart,r=n.directiveEnd;for(let s=o;s<r;s++){let l=t.data[s];if(l.contentQueries){let d=e[s];l.contentQueries(1,d,s)}}}finally{Ve(i)}}}function Zm(t,n,e){Wf()&&(jw(t,n,e,yn(e,n)),(e.flags&64)===64&&Qb(t,n,e))}function $m(t,n,e=yn){let i=n.localNames;if(i!==null){let o=n.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],l=s===-1?e(n,t):t[s];t[o++]=l}}}function qb(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Um(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Um(t,n,e,i,o,r,s,l,d,p,f){let w=Vt+i,D=w+o,x=Ow(w,D),A=typeof p=="function"?p():p;return x[ye]={type:t,blueprint:x,template:e,queries:null,viewQuery:l,declTNode:n,data:x.slice().fill(null,w),bindingStartIndex:w,expandoStartIndex:D,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 r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:d,consts:A,incompleteFirstPass:!1,ssrId:f}}function Ow(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Wt);return e}function Sw(t,n,e,i){let r=i.get(F7,Db)||e===Gn.ShadowDom,s=t.selectRootElement(n,r);return Aw(s),s}function Aw(t){Ew(t)}var Ew=()=>null;function Iw(t,n,e,i){let o=e2(n);o.push(e),t.firstCreatePass&&t2(t).push(i,o.length-1)}function Lw(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,l=0;return Gf()&&(l|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Zh(t,n,e,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;let s=n[r];if(s===void 0)continue;i??={};let l,d=Ri.None;Array.isArray(s)?(l=s[0],d=s[1]):l=s;let p=r;if(o!==null){if(!o.hasOwnProperty(r))continue;p=o[r]}t===0?$h(i,e,p,l,d):$h(i,e,p,l)}return i}function $h(t,n,e,i,o){let r;t.hasOwnProperty(e)?(r=t[e]).push(n,i):r=t[e]=[n,i],o!==void 0&&r.push(o)}function Pw(t,n,e){let i=n.directiveStart,o=n.directiveEnd,r=t.data,s=n.attrs,l=[],d=null,p=null;for(let f=i;f<o;f++){let w=r[f],D=e?e.get(w):null,x=D?D.inputs:null,A=D?D.outputs:null;d=Zh(0,w.inputs,f,d,x),p=Zh(1,w.outputs,f,p,A);let V=d!==null&&s!==null&&!Cm(n)?qw(d,f,s):null;l.push(V)}d!==null&&(d.hasOwnProperty("class")&&(n.flags|=8),d.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=l,n.inputs=d,n.outputs=p}function Tw(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function zc(t,n,e,i,o,r,s,l){let d=yn(n,e),p=n.inputs,f;!l&&p!=null&&(f=p[i])?(Gm(t,e,f,i,o),Oc(n)&&Vw(e,n.index)):n.type&3?(i=Tw(i),o=s!=null?s(o,n.value||"",i):o,r.setProperty(d,i,o)):n.type&12}function Vw(t,n){let e=Ui(n,t);e[we]&16||(e[we]|=64)}function Wm(t,n,e,i){if(Wf()){let o=i===null?null:{"":-1},r=Rw(t,e),s,l;r===null?s=l=null:[s,l]=r,s!==null&&Xb(t,n,e,s,o,l),o&&Bw(e,i,o)}e.mergedAttrs=Zs(e.mergedAttrs,e.attrs)}function Xb(t,n,e,i,o,r){for(let p=0;p<i.length;p++)kp(rc(e,n),t,i[p].type);Zw(e,t.data.length,i.length);for(let p=0;p<i.length;p++){let f=i[p];f.providersResolver&&f.providersResolver(f)}let s=!1,l=!1,d=Gb(t,n,i.length,null);for(let p=0;p<i.length;p++){let f=i[p];e.mergedAttrs=Zs(e.mergedAttrs,f.hostAttrs),$w(t,e,n,d,f),zw(d,f,o),f.contentQueries!==null&&(e.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(e.flags|=64);let w=f.type.prototype;!s&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!l&&(w.ngOnChanges||w.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),l=!0),d++}Pw(t,e,r)}function Fw(t,n,e,i,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let l=~n.index;Nw(s)!=l&&s.push(l),s.push(e,i,r)}}function Nw(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function jw(t,n,e,i){let o=e.directiveStart,r=e.directiveEnd;Oc(e)&&Uw(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||rc(e,n),Zi(i,n);let s=e.initialInputs;for(let l=o;l<r;l++){let d=t.data[l],p=Ao(n,t,l,e);if(Zi(p,n),s!==null&&Yw(n,l-o,p,d,e,s),Bi(d)){let f=Ui(e.index,n);f[Tt]=Ao(n,t,l,e)}}}function Qb(t,n,e){let i=e.directiveStart,o=e.directiveEnd,r=e.index,s=X9();try{Oo(r);for(let l=i;l<o;l++){let d=t.data[l],p=n[l];xp(l),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&Hw(d,p)}}finally{Oo(-1),xp(s)}}function Hw(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Rw(t,n){let e=t.directiveRegistry,i=null,o=null;if(e)for(let r=0;r<e.length;r++){let s=e[r];if(wf(n,s.selectors,!1))if(i||(i=[]),Bi(s))if(s.findHostDirectiveDefs!==null){let l=[];o=o||new Map,s.findHostDirectiveDefs(s,l,o),i.unshift(...l,s);let d=l.length;jp(t,n,d)}else i.unshift(s),jp(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return i===null?null:[i,o]}function jp(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function Bw(t,n,e){if(n){let i=t.localNames=[];for(let o=0;o<n.length;o+=2){let r=e[n[o+1]];if(r==null)throw new Oe(-301,!1);i.push(n[o],r)}}}function zw(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Bi(n)&&(e[""]=t)}}function Zw(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function $w(t,n,e,i,o){t.data[i]=o;let r=o.factory||(o.factory=yo(o.type,!0)),s=new So(r,Bi(o),M);t.blueprint[i]=s,e[i]=s,Fw(t,n,i,Gb(t,e,o.hostVars,Wt),o)}function Uw(t,n,e){let i=yn(n,t),o=qb(e),r=t[Yn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let l=Zc(t,Bc(t,o,null,s,i,n,null,r.createRenderer(i,e),null,null,null));t[n.index]=l}function Ww(t,n,e,i,o,r){let s=yn(t,n);Gw(n[bt],s,r,t.value,e,i,o)}function Gw(t,n,e,i,o,r,s){if(r==null)t.removeAttribute(n,o,e);else{let l=s==null?Wn(r):s(r,i||"",o);t.setAttribute(n,o,l,e)}}function Yw(t,n,e,i,o,r){let s=r[n];if(s!==null)for(let l=0;l<s.length;){let d=s[l++],p=s[l++],f=s[l++],w=s[l++];Wb(i,e,d,p,f,w)}}function qw(t,n,e){let i=null,o=0;for(;o<e.length;){let r=e[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){i===null&&(i=[]);let s=t[r];for(let l=0;l<s.length;l+=3)if(s[l]===n){i.push(r,s[l+1],s[l+2],e[o+1]);break}}o+=2}return i}function Kb(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function Jb(t,n){let e=t.contentQueries;if(e!==null){let i=Ve(null);try{for(let o=0;o<e.length;o+=2){let r=e[o],s=e[o+1];if(s!==-1){let l=t.data[s];Sm(r),l.contentQueries(2,n[s],s)}}}finally{Ve(i)}}}function Zc(t,n){return t[Us]?t[Dh][Fn]=n:t[Us]=n,t[Dh]=n,n}function Hp(t,n,e){Sm(0);let i=Ve(null);try{n(t,e)}finally{Ve(i)}}function e2(t){return t[Jl]??=[]}function t2(t){return t.cleanup??=[]}function n2(t,n){let e=t[Cr],i=e?e.get(Qn,null):null;i&&i.handleError(n)}function Gm(t,n,e,i,o){for(let r=0;r<e.length;){let s=e[r++],l=e[r++],d=e[r++],p=n[s],f=t.data[s];Wb(f,p,i,l,d,o)}}function Ym(t,n,e){let i=Rf(n,t);lw(t[bt],i,e)}function Xw(t,n){let e=Ui(n,t),i=e[ye];Qw(i,e);let o=e[_i];o!==null&&e[_r]===null&&(e[_r]=Vm(o,e[Cr])),qm(i,e,e[Tt])}function Qw(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function qm(t,n,e){Am(n);try{let i=t.viewQuery;i!==null&&Hp(1,i,e);let o=t.template;o!==null&&Yb(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[bi]?.finishViewCreation(t),t.staticContentQueries&&Jb(t,n),t.staticViewQueries&&Hp(2,t.viewQuery,e);let r=t.components;r!==null&&Kw(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[we]&=-5,Em()}}function Kw(t,n){for(let e=0;e<n.length;e++)Xw(t,n[e])}function ra(t,n,e,i){let o=Ve(null);try{let r=n.tView,l=t[we]&4096?4096:16,d=Bc(t,r,e,l,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),p=t[n.index];d[Mo]=p;let f=t[bi];return f!==null&&(d[bi]=f.createEmbeddedView(r)),qm(r,d,e),d}finally{Ve(o)}}function i2(t,n){let e=Rt+n;if(e<t.length)return t[e]}function yr(t,n){return!n||n.firstChild===null||vb(t)}function sa(t,n,e,i=!0){let o=n[ye];if(mw(o,n,t,e),i){let s=Np(e,t),l=n[bt],d=jb(l,t[Do]);d!==null&&uw(o,t[Jt],l,n,d,s)}let r=n[_r];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function o2(t,n){let e=Ys(t,n);return e!==void 0&&jc(e[ye],e),e}function dc(t,n,e,i,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let r=n[e.index];r!==null&&i.push(qn(r)),Ci(r)&&Jw(r,i);let s=e.type;if(s&8)dc(t,n,e.child,i);else if(s&32){let l=Hm(e,n),d;for(;d=l();)i.push(d)}else if(s&16){let l=Rb(n,e);if(Array.isArray(l))i.push(...l);else{let d=ko(n[Qt]);dc(d[ye],d,l,i,!0)}}e=o?e.projectionNext:e.next}return i}function Jw(t,n){for(let e=Rt;e<t.length;e++){let i=t[e],o=i[ye].firstChild;o!==null&&dc(i[ye],i,o,n)}t[Do]!==t[_i]&&n.push(t[Do])}var r2=[];function ey(t){return t[Cn]??ty(t)}function ty(t){let n=r2.pop()??Object.create(iy);return n.lView=t,n}function ny(t){t.lView[Cn]!==t&&(t.lView=null,r2.push(t))}var iy=ot(ue({},Os),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ec(t.lView)},consumerOnSignalRead(){this.lView[Cn]=this}});function oy(t){let n=t[Cn]??Object.create(ry);return n.lView=t,n}var ry=ot(ue({},Os),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=ko(t.lView);for(;n&&!s2(n[ye]);)n=ko(n);n&&Zf(n)},consumerOnSignalRead(){this.lView[Cn]=this}});function s2(t){return t.type!==2}var sy=100;function a2(t,n=!0,e=0){let i=t[Yn],o=i.rendererFactory,r=!1;r||o.begin?.();try{ay(t,e)}catch(s){throw n&&n2(t,s),s}finally{r||(o.end?.(),i.inlineEffectRunner?.flush())}}function ay(t,n){let e=qf();try{Oh(!0),Rp(t,n);let i=0;for(;Ac(t);){if(i===sy)throw new Oe(103,!1);i++,Rp(t,1)}}finally{Oh(e)}}function ly(t,n,e,i){let o=n[we];if((o&256)===256)return;let r=!1,s=!1;!r&&n[Yn].inlineEffectRunner?.flush(),Am(n);let l=!0,d=null,p=null;r||(s2(t)?(p=ey(n),d=il(p)):xg()===null?(l=!1,p=oy(n),d=il(p)):n[Cn]&&(Fu(n[Cn]),n[Cn]=null));try{zf(n),G9(t.bindingStartIndex),e!==null&&Yb(t,n,e,2,i);let f=(o&3)===3;if(!r)if(f){let x=t.preOrderCheckHooks;x!==null&&$l(n,x,null)}else{let x=t.preOrderHooks;x!==null&&Ul(n,x,0,null),np(n,0)}if(s||cy(n),l2(n,0),t.contentQueries!==null&&Jb(t,n),!r)if(f){let x=t.contentCheckHooks;x!==null&&$l(n,x)}else{let x=t.contentHooks;x!==null&&Ul(n,x,1),np(n,1)}Dw(t,n);let w=t.components;w!==null&&d2(n,w,0);let D=t.viewQuery;if(D!==null&&Hp(2,D,i),!r)if(f){let x=t.viewCheckHooks;x!==null&&$l(n,x)}else{let x=t.viewHooks;x!==null&&Ul(n,x,2),np(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[tp]){for(let x of n[tp])x();n[tp]=null}r||(n[we]&=-73)}catch(f){throw r||Ec(n),f}finally{p!==null&&(Tu(p,d),l&&ny(p)),Em()}}function l2(t,n){for(let e=Cb(t);e!==null;e=wb(e))for(let i=Rt;i<e.length;i++){let o=e[i];c2(o,n)}}function cy(t){for(let n=Cb(t);n!==null;n=wb(n)){if(!(n[we]&tc.HasTransplantedViews))continue;let e=n[wr];for(let i=0;i<e.length;i++){let o=e[i];Zf(o)}}}function dy(t,n,e){let i=Ui(n,t);c2(i,e)}function c2(t,n){Dm(t)&&Rp(t,n)}function Rp(t,n){let i=t[ye],o=t[we],r=t[Cn],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(r?.dirty&&Vu(r)),s||=!1,r&&(r.dirty=!1),t[we]&=-9217,s)ly(i,t,i.template,t[Tt]);else if(o&8192){l2(t,1);let l=i.components;l!==null&&d2(t,l,1)}}function d2(t,n,e){for(let i=0;i<n.length;i++)dy(t,n[i],e)}function Xm(t,n){let e=qf()?64:1088;for(t[Yn].changeDetectionScheduler?.notify(n);t;){t[we]|=e;let i=ko(t);if(wp(t)&&!i)return t;t=i}return null}var Eo=class{get rootNodes(){let n=this._lView,e=n[ye];return dc(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Tt]}set context(n){this._lView[Tt]=n}get destroyed(){return(this._lView[we]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Bt];if(Ci(n)){let e=n[ec],i=e?e.indexOf(this):-1;i>-1&&(Ys(n,i),Ql(e,i))}this._attachedToViewContainer=!1}jc(this._lView[ye],this._lView)}onDestroy(n){$f(this._lView,n)}markForCheck(){Xm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[we]&=-129}reattach(){yp(this._lView),this._lView[we]|=128}detectChanges(){this._lView[we]|=1024,a2(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Oe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=wp(this._lView),e=this._lView[Mo];e!==null&&!n&&Rm(e,this._lView),Tb(this._lView[ye],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Oe(902,!1);this._appRef=n;let e=wp(this._lView),i=this._lView[Mo];i!==null&&!e&&Vb(i,this._lView),yp(this._lView)}},Be=(()=>{class t{static{this.__NG_ELEMENT_ID__=my}}return t})(),uy=Be,py=class extends uy{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let o=ra(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new Eo(o)}};function my(){return $c(Ft(),fe())}function $c(t,n){return t.type&4?new py(n,t,Pr(t,n)):null}var DH=new RegExp(`^(\\d+)*(${T7}|${P7})*(.*)`);var gy=()=>null;function xr(t,n){return gy(t,n)}var Mr=class{},Qm=new ie("",{providedIn:"root",factory:()=>!1});var u2=new ie(""),p2=new ie(""),Bp=class{},uc=class{};function hy(t){let n=Error(`No component factory found for ${cn(t)}.`);return n[fy]=t,n}var fy="ngComponent";var zp=class{resolveComponentFactory(n){throw hy(n)}},$i=class{static{this.NULL=new zp}},Dr=class{},Nn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>by()}}return t})();function by(){let t=fe(),n=Ft(),e=Ui(n.index,t);return(Hi(e)?e:t)[bt]}var vy=(()=>{class t{static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>null})}}return t})();function pc(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(n!==null)for(let s=0;s<n.length;s++){let l=n[s];if(typeof l=="number")r=l;else if(r==1)o=mp(o,l);else if(r==2){let d=l,p=n[++s];i=mp(i,d+": "+p+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}var Zp=class extends $i{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=xo(n);return new qs(e,this.ngModule)}};function Uh(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let o=t[i];if(o===void 0)continue;let r=Array.isArray(o),s=r?o[0]:o,l=r?o[1]:Ri.None;n?e.push({propName:s,templateName:i,isSignal:(l&Ri.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function _y(t){let n=t.toLowerCase();return n==="svg"?Hf:n==="math"?V9:null}var qs=class extends uc{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=Uh(n.inputs,!0);if(e!==null)for(let o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return Uh(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=h9(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=Ve(null);try{o=o||this.ngModule;let s=o instanceof wn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let l=s?new Mp(n,s):n,d=l.get(Dr,null);if(d===null)throw new Oe(407,!1);let p=l.get(vy,null),f=l.get(Mr,null),w={rendererFactory:d,sanitizer:p,inlineEffectRunner:null,changeDetectionScheduler:f},D=d.createRenderer(null,this.componentDef),x=this.componentDef.selectors[0][0]||"div",A=i?Sw(D,i,this.componentDef.encapsulation,l):Pb(D,x,_y(x)),V=512;this.componentDef.signals?V|=4096:this.componentDef.onPush||(V|=16);let R=null;A!==null&&(R=Vm(A,l,!0));let H=Um(0,null,null,1,0,null,null,null,null,null,null),K=Bc(null,H,null,V,null,null,w,D,l,null,R);Am(K);let ge,ze,Te=null;try{let $=this.componentDef,Le,De=null;$.findHostDirectiveDefs?(Le=[],De=new Map,$.findHostDirectiveDefs($,Le,De),Le.push($)):Le=[$];let hn=Cy(K,A);Te=wy(hn,A,$,Le,K,w,D),ze=Mm(H,Vt),A&&My(D,$,A,i),e!==void 0&&Dy(ze,this.ngContentSelectors,e),ge=xy(Te,$,Le,De,K,[ky]),qm(H,K,null)}catch($){throw Te!==null&&Lp(Te),Lp(K),$}finally{Em()}return new $p(this.componentType,ge,Pr(ze,K),K,ze)}finally{Ve(r)}}},$p=class extends Bp{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Eo(o,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,o;if(i!==null&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView;Gm(r[ye],r,o,n,e),this.previousInputValues.set(n,e);let s=Ui(this._tNode.index,r);Xm(s,1)}}get injector(){return new wo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Cy(t,n){let e=t[ye],i=Vt;return t[i]=n,Vr(e,i,2,"#host",null)}function wy(t,n,e,i,o,r,s){let l=o[ye];yy(i,t,n,s);let d=null;n!==null&&(d=Vm(n,o[Cr]));let p=r.rendererFactory.createRenderer(n,e),f=16;e.signals?f=4096:e.onPush&&(f=64);let w=Bc(o,qb(e),null,f,o[t.index],t,r,p,null,null,d);return l.firstCreatePass&&jp(l,t,i.length-1),Zc(o,w),o[t.index]=w}function yy(t,n,e,i){for(let o of t)n.mergedAttrs=Zs(n.mergedAttrs,o.hostAttrs);n.mergedAttrs!==null&&(pc(n,n.mergedAttrs,!0),e!==null&&Zb(i,e,n))}function xy(t,n,e,i,o,r){let s=Ft(),l=o[ye],d=yn(s,o);Xb(l,o,s,e,null,i);for(let f=0;f<e.length;f++){let w=s.directiveStart+f,D=Ao(o,l,w,s);Zi(D,o)}Qb(l,o,s),d&&Zi(d,o);let p=Ao(o,l,s.directiveStart+s.componentOffset,s);if(t[Tt]=o[Tt]=p,r!==null)for(let f of r)f(p,n);return zm(l,s,o),p}function My(t,n,e,i){if(i)bp(t,e,["ng-version","18.2.12"]);else{let{attrs:o,classes:r}=f9(n.selectors[0]);o&&bp(t,e,o),r&&r.length>0&&zb(t,e,r.join(" "))}}function Dy(t,n,e){let i=t.projection=[];for(let o=0;o<n.length;o++){let r=e[o];i.push(r!=null?Array.from(r):null)}}function ky(){let t=Ft();Tc(fe()[ye],t)}var ti=(()=>{class t{static{this.__NG_ELEMENT_ID__=Oy}}return t})();function Oy(){let t=Ft();return g2(t,fe())}var Sy=ti,m2=class extends Sy{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new wo(this._hostTNode,this._hostLView)}get parentInjector(){let n=Im(this._hostTNode,this._hostLView);if(sb(n)){let e=ic(n,this._hostLView),i=nc(n),o=e[ye].data[i+8];return new wo(o,e)}else return new wo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Wh(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Rt}createEmbeddedView(n,e,i){let o,r;typeof i=="number"?o=i:i!=null&&(o=i.index,r=i.injector);let s=xr(this._lContainer,n.ssrId),l=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(l,o,yr(this._hostTNode,s)),l}createComponent(n,e,i,o,r){let s=n&&!I9(n),l;if(s)l=e;else{let A=e||{};l=A.index,i=A.injector,o=A.projectableNodes,r=A.environmentInjector||A.ngModuleRef}let d=s?n:new qs(xo(n)),p=i||this.parentInjector;if(!r&&d.ngModule==null){let V=(s?p:this.parentInjector).get(wn,null);V&&(r=V)}let f=xo(d.componentType??{}),w=xr(this._lContainer,f?.id??null),D=w?.firstChild??null,x=d.create(p,o,D,r);return this.insertImpl(x.hostView,l,yr(this._hostTNode,w)),x}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let o=n._lView;if(N9(o)){let l=this.indexOf(n);if(l!==-1)this.detach(l);else{let d=o[Bt],p=new m2(d,d[Jt],d[Bt]);p.detach(p.indexOf(n))}}let r=this._adjustIndex(e),s=this._lContainer;return sa(s,o,r,i),n.attachToViewContainerRef(),hf(ap(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Wh(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=Ys(this._lContainer,e);i&&(Ql(ap(this._lContainer),e),jc(i[ye],i))}detach(n){let e=this._adjustIndex(n,-1),i=Ys(this._lContainer,e);return i&&Ql(ap(this._lContainer),e)!=null?new Eo(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function Wh(t){return t[ec]}function ap(t){return t[ec]||(t[ec]=[])}function g2(t,n){let e,i=n[t.index];return Ci(i)?e=i:(e=Kb(i,n,null,t),n[t.index]=e,Zc(n,e)),Ey(e,n,t,i),new m2(e,t,n)}function Ay(t,n){let e=t[bt],i=e.createComment(""),o=yn(n,t),r=jb(e,o);return cc(e,r,i,bw(e,o),!1),i}var Ey=Py,Iy=()=>!1;function Ly(t,n,e){return Iy(t,n,e)}function Py(t,n,e,i){if(t[Do])return;let o;e.type&8?o=qn(i):o=Ay(n,e),t[Do]=o}var Up=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Wp=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){let s=e.getByIndex(r),l=this.queries[s.indexInDeclarationView];o.push(l.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)Km(n,e).matches!==null&&this.queries[e].setDirty()}},mc=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=By(n):this.predicate=n}},Gp=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let o=e!==null?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,e!==null?e.push(r):e=[r])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Yp=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){let r=i[o];this.matchTNodeWithReadOption(n,e,Ty(e,r)),this.matchTNodeWithReadOption(n,e,Wl(e,n,r,!1,!1))}else i===Be?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Wl(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let o=this.metadata.read;if(o!==null)if(o===oe||o===ti||o===Be&&e.type&4)this.addMatch(e.index,-2);else{let r=Wl(e,n,o,!1,!1);r!==null&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function Ty(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Vy(t,n){return t.type&11?Pr(t,n):t.type&4?$c(t,n):null}function Fy(t,n,e,i){return e===-1?Vy(n,t):e===-2?Ny(t,n,i):Ao(t,t[ye],e,n)}function Ny(t,n,e){if(e===oe)return Pr(n,t);if(e===Be)return $c(n,t);if(e===ti)return g2(n,t)}function h2(t,n,e,i){let o=n[bi].queries[i];if(o.matches===null){let r=t.data,s=e.matches,l=[];for(let d=0;s!==null&&d<s.length;d+=2){let p=s[d];if(p<0)l.push(null);else{let f=r[p];l.push(Fy(n,f,s[d+1],e.metadata.read))}}o.matches=l}return o.matches}function qp(t,n,e,i){let o=t.queries.getByIndex(e),r=o.matches;if(r!==null){let s=h2(t,n,o,e);for(let l=0;l<r.length;l+=2){let d=r[l];if(d>0)i.push(s[l/2]);else{let p=r[l+1],f=n[-d];for(let w=Rt;w<f.length;w++){let D=f[w];D[Mo]===D[Bt]&&qp(D[ye],D,p,i)}if(f[wr]!==null){let w=f[wr];for(let D=0;D<w.length;D++){let x=w[D];qp(x[ye],x,p,i)}}}}}return i}function jy(t,n){return t[bi].queries[n].queryList}function f2(t,n,e){let i=new Gs((e&4)===4);return Iw(t,n,i,i.destroy),(n[bi]??=new Wp).queries.push(new Up(i))-1}function Hy(t,n,e){let i=vt();return i.firstCreatePass&&(b2(i,new mc(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),f2(i,fe(),n)}function Ry(t,n,e,i){let o=vt();if(o.firstCreatePass){let r=Ft();b2(o,new mc(n,e,i),r.index),zy(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return f2(o,fe(),e)}function By(t){return t.split(",").map(n=>n.trim())}function b2(t,n,e){t.queries===null&&(t.queries=new Gp),t.queries.track(new Yp(n,e))}function zy(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function Km(t,n){return t.queries.getByIndex(n)}function Zy(t,n){let e=t[ye],i=Km(e,n);return i.crossesNgTemplate?qp(e,t,n,[]):h2(e,t,i,n)}var Gh=new Set;function Vo(t){Gh.has(t)||(Gh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function v2(t){return typeof t=="function"&&t[gi]!==void 0}function pe(t,n){Vo("NgSignals");let e=Tg(t),i=e[gi];return n?.equal&&(i.equal=n.equal),e.set=o=>Nu(i,o),e.update=o=>Vg(i,o),e.asReadonly=$y.bind(e),e}function $y(){let t=this[gi];if(t.readonlyFn===void 0){let n=()=>this();n[gi]=t,t.readonlyFn=n}return t.readonlyFn}function _2(t){return v2(t)&&typeof t.set=="function"}function Uy(t){return Object.getPrototypeOf(t.prototype).constructor}function re(t){let n=Uy(t.type),e=!0,i=[t];for(;n;){let o;if(Bi(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new Oe(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);let s=t;s.inputs=Rl(t.inputs),s.inputTransforms=Rl(t.inputTransforms),s.declaredInputs=Rl(t.declaredInputs),s.outputs=Rl(t.outputs);let l=o.hostBindings;l&&Xy(t,l);let d=o.viewQuery,p=o.contentQueries;if(d&&Yy(t,d),p&&qy(t,p),Wy(t,o),VC(t.outputs,o.outputs),Bi(o)&&o.data.animation){let f=t.data;f.animation=(f.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(t),l===re&&(e=!1)}}n=Object.getPrototypeOf(n)}Gy(i)}function Wy(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=n.inputTransforms[o]}}}function Gy(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Zs(o.hostAttrs,e=Zs(e,o.hostAttrs))}}function Rl(t){return t===br?{}:t===Xt?[]:t}function Yy(t,n){let e=t.viewQuery;e?t.viewQuery=(i,o)=>{n(i,o),e(i,o)}:t.viewQuery=n}function qy(t,n){let e=t.contentQueries;e?t.contentQueries=(i,o,r)=>{n(i,o,r),e(i,o,r)}:t.contentQueries=n}function Xy(t,n){let e=t.hostBindings;e?t.hostBindings=(i,o)=>{n(i,o),e(i,o)}:t.hostBindings=n}function Ee(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)&&o[3]&&(e[i]=o[3])}t.inputTransforms=e}var kr=class{};var gc=class extends kr{constructor(n){super(),this.componentFactoryResolver=new Zp(this),this.instance=null;let e=new $s([...n.providers,{provide:kr,useValue:this},{provide:$i,useValue:this.componentFactoryResolver}],n.parent||Dc(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Qy(t,n,e=null){return new gc({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function C2(t){return Jm(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Ky(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function Jm(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function aa(t,n,e){return t[n]=e}function Jy(t,n){return t[n]}function Kt(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Xs(t,n,e,i){let o=Kt(t,n,e);return Kt(t,n+1,i)||o}function w2(t,n,e,i,o){let r=Xs(t,n,e,i);return Kt(t,n+2,o)||r}function y2(t,n,e,i,o,r){let s=Xs(t,n,e,i);return Xs(t,n+2,o,r)||s}function ex(t){return(t.flags&32)===32}function tx(t,n,e,i,o,r,s,l,d){let p=n.consts,f=Vr(n,t,4,s||null,l||null);Wm(n,e,f,zi(p,d)),Tc(n,f);let w=f.tView=Um(2,f,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,p,null);return n.queries!==null&&(n.queries.template(n,f),w.queries=n.queries.embeddedTView(f)),f}function hc(t,n,e,i,o,r,s,l,d,p){let f=e+Vt,w=n.firstCreatePass?tx(f,n,t,i,o,r,s,l,d):n.data[f];Po(w,!1);let D=nx(n,t,w,e);Lc()&&Hc(n,t,D,w),Zi(D,t);let x=Kb(D,t,D,w);return t[f]=x,Zc(t,x),Ly(x,w,t),Sc(w)&&Zm(n,t,w),d!=null&&$m(t,w,p),w}function E(t,n,e,i,o,r,s,l){let d=fe(),p=vt(),f=zi(p.consts,r);return hc(d,p,t,n,e,i,o,f,s,l),E}var nx=ix;function ix(t,n,e,i){return Pc(!0),n[bt].createComment("")}var js=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(js||{}),ox=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>new t})}}return t})(),Yh=class t{constructor(){this.ngZone=ne(Re),this.scheduler=ne(Mr),this.errorHandler=ne(Qn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[js.EarlyRead,js.Write,js.MixedReadWrite,js.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=te({token:t,providedIn:"root",factory:()=>new t})}};function de(t,n,e,i){let o=fe(),r=To();if(Kt(o,r,n)){let s=vt(),l=ea();Ww(l,o,t,n,e,i)}return de}function x2(t,n,e,i){return Kt(t,To(),e)?n+Wn(e)+i:Wt}function rx(t,n,e,i,o,r){let s=Xf(),l=Xs(t,s,e,o);return Ic(2),l?n+Wn(e)+i+Wn(o)+r:Wt}function sx(t,n,e,i,o,r,s,l){let d=Xf(),p=w2(t,d,e,o,s);return Ic(3),p?n+Wn(e)+i+Wn(o)+r+Wn(s)+l:Wt}function Bl(t,n){return t<<17|n<<2}function Io(t){return t>>17&32767}function ax(t){return(t&2)==2}function lx(t,n){return t&131071|n<<17}function Xp(t){return t|2}function Or(t){return(t&131068)>>2}function lp(t,n){return t&-131069|n<<2}function cx(t){return(t&1)===1}function Qp(t){return t|1}function dx(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,l=Io(s),d=Or(s);t[i]=e;let p=!1,f;if(Array.isArray(e)){let w=e;f=w[1],(f===null||Js(w,f)>0)&&(p=!0)}else f=e;if(o)if(d!==0){let D=Io(t[l+1]);t[i+1]=Bl(D,l),D!==0&&(t[D+1]=lp(t[D+1],i)),t[l+1]=lx(t[l+1],i)}else t[i+1]=Bl(l,0),l!==0&&(t[l+1]=lp(t[l+1],i)),l=i;else t[i+1]=Bl(d,0),l===0?l=i:t[d+1]=lp(t[d+1],i),d=i;p&&(t[i+1]=Xp(t[i+1])),qh(t,f,i,!0),qh(t,f,i,!1),ux(n,f,t,i,r),s=Bl(l,d),r?n.classBindings=s:n.styleBindings=s}function ux(t,n,e,i,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof n=="string"&&Js(r,n)>=0&&(e[i+1]=Qp(e[i+1]))}function qh(t,n,e,i){let o=t[e+1],r=n===null,s=i?Io(o):Or(o),l=!1;for(;s!==0&&(l===!1||r);){let d=t[s],p=t[s+1];px(d,n)&&(l=!0,t[s+1]=i?Qp(p):Xp(p)),s=i?Io(p):Or(p)}l&&(t[e+1]=i?Xp(o):Qp(o))}function px(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Js(t,n)>=0:!1}var Vn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mx(t){return t.substring(Vn.key,Vn.keyEnd)}function gx(t){return hx(t),M2(t,D2(t,0,Vn.textEnd))}function M2(t,n){let e=Vn.textEnd;return e===n?-1:(n=Vn.keyEnd=fx(t,Vn.key=n,e),D2(t,n,e))}function hx(t){Vn.key=0,Vn.keyEnd=0,Vn.value=0,Vn.valueEnd=0,Vn.textEnd=t.length}function D2(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function fx(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function C(t,n,e){let i=fe(),o=To();if(Kt(i,o,n)){let r=vt(),s=ea();zc(r,s,i,t,n,i[bt],e,!1)}return C}function Kp(t,n,e,i,o){let r=n.inputs,s=o?"class":"style";Gm(t,e,r[s],s,i)}function gt(t,n,e){return k2(t,n,e,!1),gt}function se(t,n){return k2(t,n,null,!0),se}function la(t){vx(Mx,bx,t,!0)}function bx(t,n){for(let e=gx(n);e>=0;e=M2(n,e))_m(t,mx(n),!0)}function k2(t,n,e,i){let o=fe(),r=vt(),s=Ic(2);if(r.firstUpdatePass&&S2(r,t,s,i),n!==Wt&&Kt(o,s,n)){let l=r.data[Jn()];A2(r,l,o,o[bt],t,o[s+1]=kx(n,e),i,s)}}function vx(t,n,e,i){let o=vt(),r=Ic(2);o.firstUpdatePass&&S2(o,null,r,i);let s=fe();if(e!==Wt&&Kt(s,r,e)){let l=o.data[Jn()];if(E2(l,i)&&!O2(o,r)){let d=i?l.classesWithoutHost:l.stylesWithoutHost;d!==null&&(e=mp(d,e||"")),Kp(o,l,s,e,i)}else Dx(o,l,s,s[bt],s[r+1],s[r+1]=xx(t,n,e),i,r)}}function O2(t,n){return n>=t.expandoStartIndex}function S2(t,n,e,i){let o=t.data;if(o[e+1]===null){let r=o[Jn()],s=O2(t,e);E2(r,i)&&n===null&&!s&&(n=!1),n=_x(o,r,n,i),dx(o,r,n,e,s,i)}}function _x(t,n,e,i){let o=Q9(t),r=i?n.residualClasses:n.residualStyles;if(o===null)(i?n.classBindings:n.styleBindings)===0&&(e=cp(null,t,n,e,i),e=Qs(e,n.attrs,i),r=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=cp(o,t,n,e,i),r===null){let d=Cx(t,n,i);d!==void 0&&Array.isArray(d)&&(d=cp(null,t,n,d[1],i),d=Qs(d,n.attrs,i),wx(t,n,i,d))}else r=yx(t,n,i)}return r!==void 0&&(i?n.residualClasses=r:n.residualStyles=r),e}function Cx(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Or(i)!==0)return t[Io(i)]}function wx(t,n,e,i){let o=e?n.classBindings:n.styleBindings;t[Io(o)]=i}function yx(t,n,e){let i,o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;i=Qs(i,s,e)}return Qs(i,n.attrs,e)}function cp(t,n,e,i,o){let r=null,s=e.directiveEnd,l=e.directiveStylingLast;for(l===-1?l=e.directiveStart:l++;l<s&&(r=n[l],i=Qs(i,r.hostAttrs,o),r!==t);)l++;return t!==null&&(e.directiveStylingLast=l),i}function Qs(t,n,e){let i=e?1:2,o=-1;if(n!==null)for(let r=0;r<n.length;r++){let s=n[r];typeof s=="number"?o=s:o===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),_m(t,s,e?!0:n[++r]))}return t===void 0?null:t}function xx(t,n,e){if(e==null||e==="")return Xt;let i=[],o=Tr(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else typeof o=="string"&&n(i,o);return i}function Mx(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&_m(t,i,e)}function Dx(t,n,e,i,o,r,s,l){o===Wt&&(o=Xt);let d=0,p=0,f=0<o.length?o[0]:null,w=0<r.length?r[0]:null;for(;f!==null||w!==null;){let D=d<o.length?o[d+1]:void 0,x=p<r.length?r[p+1]:void 0,A=null,V;f===w?(d+=2,p+=2,D!==x&&(A=w,V=x)):w===null||f!==null&&f<w?(d+=2,A=f):(p+=2,A=w,V=x),A!==null&&A2(t,n,e,i,A,V,s,l),f=d<o.length?o[d]:null,w=p<r.length?r[p]:null}}function A2(t,n,e,i,o,r,s,l){if(!(n.type&3))return;let d=t.data,p=d[l+1],f=cx(p)?Xh(d,n,e,o,Or(p),s):void 0;if(!fc(f)){fc(r)||ax(p)&&(r=Xh(d,null,e,o,l,s));let w=Rf(Jn(),e);xw(i,s,w,o,r)}}function Xh(t,n,e,i,o,r){let s=n===null,l;for(;o>0;){let d=t[o],p=Array.isArray(d),f=p?d[1]:d,w=f===null,D=e[o+1];D===Wt&&(D=w?Xt:void 0);let x=w?Ju(D,i):f===i?D:void 0;if(p&&!fc(x)&&(x=Ju(d,i)),fc(x)&&(l=x,s))return l;let A=t[o+1];o=s?Io(A):Or(A)}if(n!==null){let d=r?n.residualClasses:n.residualStyles;d!=null&&(l=Ju(d,i))}return l}function fc(t){return t!==void 0}function kx(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=cn(Tr(t)))),t}function E2(t,n){return(t.flags&(n?8:16))!==0}function e1(){return fe()[Qt][Tt]}var Jp=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){let s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}};function dp(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function Ox(t,n,e){let i,o,r=0,s=t.length-1,l=void 0;if(Array.isArray(n)){let d=n.length-1;for(;r<=s&&r<=d;){let p=t.at(r),f=n[r],w=dp(r,p,r,f,e);if(w!==0){w<0&&t.updateValue(r,f),r++;continue}let D=t.at(s),x=n[d],A=dp(s,D,d,x,e);if(A!==0){A<0&&t.updateValue(s,x),s--,d--;continue}let V=e(r,p),R=e(s,D),H=e(r,f);if(Object.is(H,R)){let K=e(d,x);Object.is(K,V)?(t.swap(r,s),t.updateValue(s,x),d--,s--):t.move(s,r),t.updateValue(r,f),r++;continue}if(i??=new bc,o??=Kh(t,r,s,e),em(t,i,r,H))t.updateValue(r,f),r++,s++;else if(o.has(H))i.set(V,t.detach(r)),s--;else{let K=t.create(r,n[r]);t.attach(r,K),r++,s++}}for(;r<=d;)Qh(t,i,e,r,n[r]),r++}else if(n!=null){let d=n[Symbol.iterator](),p=d.next();for(;!p.done&&r<=s;){let f=t.at(r),w=p.value,D=dp(r,f,r,w,e);if(D!==0)D<0&&t.updateValue(r,w),r++,p=d.next();else{i??=new bc,o??=Kh(t,r,s,e);let x=e(r,w);if(em(t,i,r,x))t.updateValue(r,w),r++,s++,p=d.next();else if(!o.has(x))t.attach(r,t.create(r,w)),r++,s++,p=d.next();else{let A=e(r,f);i.set(A,t.detach(r)),s--}}}for(;!p.done;)Qh(t,i,e,t.length,p.value),p=d.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(d=>{t.destroy(d)})}function em(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Qh(t,n,e,i,o){if(em(t,n,i,e(i,o)))t.updateValue(i,o);else{let r=t.create(i,o);t.attach(i,r)}}function Kh(t,n,e,i){let o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}var bc=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}};function z(t,n){Vo("NgControlFlow");let e=fe(),i=To(),o=e[i]!==Wt?e[i]:-1,r=o!==-1?vc(e,Vt+o):void 0,s=0;if(Kt(e,i,t)){let l=Ve(null);try{if(r!==void 0&&o2(r,s),t!==-1){let d=Vt+t,p=vc(e,d),f=om(e[ye],d),w=xr(p,f.tView.ssrId),D=ra(e,f,n,{dehydratedView:w});sa(p,D,s,yr(f,w))}}finally{Ve(l)}}else if(r!==void 0){let l=i2(r,s);l!==void 0&&(l[Tt]=n)}}var tm=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Rt}};function en(t,n){return n}var nm=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Mt(t,n,e,i,o,r,s,l,d,p,f,w,D){Vo("NgControlFlow");let x=fe(),A=vt(),V=d!==void 0,R=fe(),H=l?s.bind(R[Qt][Tt]):s,K=new nm(V,H);R[Vt+t]=K,hc(x,A,t+1,n,e,i,o,zi(A.consts,r)),V&&hc(x,A,t+2,d,p,f,w,zi(A.consts,D))}var im=class extends Jp{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Rt}at(n){return this.getLView(n)[Tt].$implicit}attach(n,e){let i=e[_r];this.needsIndexUpdate||=n!==this.length,sa(this.lContainer,e,n,yr(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Sx(this.lContainer,n)}create(n,e){let i=xr(this.lContainer,this.templateTNode.tView.ssrId),o=ra(this.hostLView,this.templateTNode,new tm(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),o}destroy(n){jc(n[ye],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Tt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Tt].$index=n}getLView(n){return Ax(this.lContainer,n)}};function Dt(t){let n=Ve(null),e=Jn();try{let i=fe(),o=i[ye],r=i[e],s=e+1,l=vc(i,s);if(r.liveCollection===void 0){let p=om(o,s);r.liveCollection=new im(l,i,p)}else r.liveCollection.reset();let d=r.liveCollection;if(Ox(d,t,r.trackByFn),d.updateIndexes(),r.hasEmptyBlock){let p=To(),f=d.length===0;if(Kt(i,p,f)){let w=e+2,D=vc(i,w);if(f){let x=om(o,w),A=xr(D,x.tView.ssrId),V=ra(i,x,void 0,{dehydratedView:A});sa(D,V,0,yr(x,A))}else o2(D,0)}}}finally{Ve(n)}}function vc(t,n){return t[n]}function Sx(t,n){return Ys(t,n)}function Ax(t,n){return i2(t,n)}function om(t,n){return Mm(t,n)}function Ex(t,n,e,i,o,r){let s=n.consts,l=zi(s,o),d=Vr(n,t,2,i,l);return Wm(n,e,d,zi(s,r)),d.attrs!==null&&pc(d,d.attrs,!1),d.mergedAttrs!==null&&pc(d,d.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,d),d}function v(t,n,e,i){let o=fe(),r=vt(),s=Vt+t,l=o[bt],d=r.firstCreatePass?Ex(s,r,o,n,e,i):r.data[s],p=Ix(r,o,d,l,n,t);o[s]=p;let f=Sc(d);return Po(d,!0),Zb(l,p,d),!ex(d)&&Lc()&&Hc(r,o,p,d),R9()===0&&Zi(p,o),B9(),f&&(Zm(r,o,d),zm(r,d,o)),i!==null&&$m(o,d),v}function _(){let t=Ft();km()?Om():(t=t.parent,Po(t,!1));let n=t;Z9(n)&&$9(),z9();let e=vt();return e.firstCreatePass&&(Tc(e,t),xm(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&o7(n)&&Kp(e,n,fe(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&r7(n)&&Kp(e,n,fe(),n.stylesWithoutHost,!1),_}function F(t,n,e,i){return v(t,n,e,i),_(),F}var Ix=(t,n,e,i,o,r)=>(Pc(!0),Pb(i,o,e7()));function Lx(t,n,e,i,o){let r=n.consts,s=zi(r,i),l=Vr(n,t,8,"ng-container",s);s!==null&&pc(l,s,!0);let d=zi(r,o);return Wm(n,e,l,d),n.queries!==null&&n.queries.elementStart(n,l),l}function tn(t,n,e){let i=fe(),o=vt(),r=t+Vt,s=o.firstCreatePass?Lx(r,o,i,n,e):o.data[r];Po(s,!0);let l=Px(o,i,s,t);return i[r]=l,Lc()&&Hc(o,i,l,s),Zi(l,i),Sc(s)&&(Zm(o,i,s),zm(o,s,i)),e!=null&&$m(i,s),tn}function nn(){let t=Ft(),n=vt();return km()?Om():(t=t.parent,Po(t,!1)),n.firstCreatePass&&(Tc(n,t),xm(t)&&n.queries.elementEnd(t)),nn}function Pt(t,n,e){return tn(t,n,e),nn(),Pt}var Px=(t,n,e,i)=>(Pc(!0),cw(n[bt],""));function U(){return fe()}function ca(t,n,e){let i=fe(),o=To();if(Kt(i,o,n)){let r=vt(),s=ea();zc(r,s,i,t,n,i[bt],e,!0)}return ca}var _c="en-US";var Tx=_c;function Vx(t){typeof t=="string"&&(Tx=t.toLowerCase().replace(/_/g,"-"))}var Fx=(t,n,e)=>{};function k(t,n,e,i){let o=fe(),r=vt(),s=Ft();return I2(r,o,o[bt],s,t,n,i),k}function Nx(t,n,e,i){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===e&&o[r+1]===i){let l=n[Jl],d=o[r+2];return l.length>d?l[d]:null}typeof s=="string"&&(r+=2)}return null}function I2(t,n,e,i,o,r,s){let l=Sc(i),p=t.firstCreatePass&&t2(t),f=n[Tt],w=e2(n),D=!0;if(i.type&3||s){let V=yn(i,n),R=s?s(V):V,H=w.length,K=s?ze=>s(qn(ze[i.index])):i.index,ge=null;if(!s&&l&&(ge=Nx(t,n,o,i.index)),ge!==null){let ze=ge.__ngLastListenerFn__||ge;ze.__ngNextListenerFn__=r,ge.__ngLastListenerFn__=r,D=!1}else{r=ef(i,n,f,r),Fx(V,o,r);let ze=e.listen(R,o,r);w.push(r,ze),p&&p.push(o,K,H,H+1)}}else r=ef(i,n,f,r);let x=i.outputs,A;if(D&&x!==null&&(A=x[o])){let V=A.length;if(V)for(let R=0;R<V;R+=2){let H=A[R],K=A[R+1],Te=n[H][K].subscribe(r),$=w.length;w.push(r,Te),p&&p.push(o,i.index,$,-($+1))}}}function Jh(t,n,e,i){let o=Ve(null);try{return $n(6,n,e),e(i)!==!1}catch(r){return n2(t,r),!1}finally{$n(7,n,e),Ve(o)}}function ef(t,n,e,i){return function o(r){if(r===Function)return i;let s=t.componentOffset>-1?Ui(t.index,n):n;Xm(s,5);let l=Jh(n,e,i,r),d=o.__ngNextListenerFn__;for(;d;)l=Jh(n,e,d,r)&&l,d=d.__ngNextListenerFn__;return l}}function b(t=1){return J9(t)}function jx(t,n){let e=null,i=d9(t);for(let o=0;o<n.length;o++){let r=n[o];if(r==="*"){e=o;continue}if(i===null?wf(t,r,!0):m9(i,r))return o}return e}function lt(t){let n=fe()[Qt][Jt];if(!n.projection){let e=t?t.length:1,i=n.projection=t9(e,null),o=i.slice(),r=n.child;for(;r!==null;){if(r.type!==128){let s=t?jx(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r)}r=r.next}}}function Ue(t,n=0,e,i,o,r){let s=fe(),l=vt(),d=i?t+1:null;d!==null&&hc(s,l,d,i,o,r,null,e);let p=Vr(l,Vt+t,16,null,e||null);p.projection===null&&(p.projection=n),Om();let w=!s[_r]||Gf();s[Qt][Jt].projection[p.projection]===null&&d!==null?Hx(s,l,d):w&&(p.flags&32)!==32&&ww(l,s,p)}function Hx(t,n,e){let i=Vt+e,o=n.data[i],r=t[i],s=xr(r,o.tView.ssrId),l=ra(t,o,void 0,{dehydratedView:s});sa(r,l,0,yr(o,s))}function Ie(t,n,e){return L2(t,"",n,"",e),Ie}function L2(t,n,e,i,o){let r=fe(),s=x2(r,n,e,i);if(s!==Wt){let l=vt(),d=ea();zc(l,d,r,t,s,r[bt],o,!1)}return L2}function zt(t,n,e,i){Ry(t,n,e,i)}function kt(t,n,e){Hy(t,n,e)}function We(t){let n=fe(),e=vt(),i=Qf();Sm(i+1);let o=Km(e,i);if(t.dirty&&F9(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=Zy(n,i);t.reset(r,O7),t.notifyOnChanges()}return!0}return!1}function Ge(){return jy(fe(),Qf())}function Rx(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function yt(t){let n=W9();return Bf(n,Vt+t)}function T(t,n=""){let e=fe(),i=vt(),o=t+Vt,r=i.firstCreatePass?Vr(i,o,1,n,null):i.data[o],s=Bx(i,e,r,n,t);e[o]=s,Lc()&&Hc(i,e,s,r),Po(r,!1)}var Bx=(t,n,e,i,o)=>(Pc(!0),aw(n[bt],i));function xe(t){return X("",t,""),xe}function X(t,n,e){let i=fe(),o=x2(i,t,n,e);return o!==Wt&&Ym(i,Jn(),o),X}function Fo(t,n,e,i,o){let r=fe(),s=rx(r,t,n,e,i,o);return s!==Wt&&Ym(r,Jn(),s),Fo}function t1(t,n,e,i,o,r,s){let l=fe(),d=sx(l,t,n,e,i,o,r,s);return d!==Wt&&Ym(l,Jn(),d),t1}function yi(t,n,e){_2(n)&&(n=n());let i=fe(),o=To();if(Kt(i,o,n)){let r=vt(),s=ea();zc(r,s,i,t,n,i[bt],e,!1)}return yi}function Wi(t,n){let e=_2(t);return e&&t.set(n),e}function xi(t,n){let e=fe(),i=vt(),o=Ft();return I2(i,e,e[bt],o,t,n),xi}function zx(t,n,e){let i=vt();if(i.firstCreatePass){let o=Bi(t);rm(e,i.data,i.blueprint,o,!0),rm(n,i.data,i.blueprint,o,!1)}}function rm(t,n,e,i,o){if(t=Ut(t),Array.isArray(t))for(let r=0;r<t.length;r++)rm(t[r],n,e,i,o);else{let r=vt(),s=fe(),l=Ft(),d=vr(t)?t:Ut(t.provide),p=Af(t),f=l.providerIndexes&1048575,w=l.directiveStart,D=l.providerIndexes>>20;if(vr(t)||!t.multi){let x=new So(p,o,M),A=pp(d,n,o?f:f+D,w);A===-1?(kp(rc(l,s),r,d),up(r,t,n.length),n.push(d),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),e.push(x),s.push(x)):(e[A]=x,s[A]=x)}else{let x=pp(d,n,f+D,w),A=pp(d,n,f,f+D),V=x>=0&&e[x],R=A>=0&&e[A];if(o&&!R||!o&&!V){kp(rc(l,s),r,d);let H=Ux(o?$x:Zx,e.length,o,i,p);!o&&R&&(e[A].providerFactory=H),up(r,t,n.length,0),n.push(d),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),e.push(H),s.push(H)}else{let H=P2(e[o?A:x],p,!o&&i);up(r,t,x>-1?x:A,H)}!o&&i&&R&&e[A].componentProviders++}}}function up(t,n,e,i){let o=vr(n),r=M9(n);if(o||r){let d=(r?Ut(n.useClass):n).prototype.ngOnDestroy;if(d){let p=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let f=p.indexOf(e);f===-1?p.push(e,[i,d]):p[f+1].push(i,d)}else p.push(e,d)}}}function P2(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function pp(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function Zx(t,n,e,i){return sm(this.multi,[])}function $x(t,n,e,i){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=Ao(e,e[ye],this.providerFactory.index,i);r=l.slice(0,s),sm(o,r);for(let d=s;d<l.length;d++)r.push(l[d])}else r=[],sm(o,r);return r}function sm(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function Ux(t,n,e,i,o){let r=new So(t,e,M);return r.multi=[],r.index=n,r.componentProviders=0,P2(r,o,i&&!e),r}function me(t,n=[]){return e=>{e.providersResolver=(i,o)=>zx(i,o?o(t):t,n)}}var Wx=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=kf(!1,e.type),o=i.length>0?Qy([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=te({token:t,providedIn:"environment",factory:()=>new t(q(wn))})}}return t})();function j(t){Vo("NgStandalone"),t.getStandaloneInjector=n=>n.get(Wx).getOrCreateStandaloneInjector(t)}function Qe(t,n,e,i){return F2(fe(),Ar(),t,n,e,i)}function Nt(t,n,e,i,o){return Gx(fe(),Ar(),t,n,e,i,o)}function jt(t,n,e,i,o,r){return Yx(fe(),Ar(),t,n,e,i,o,r)}function T2(t,n,e,i,o,r,s){return qx(fe(),Ar(),t,n,e,i,o,r,s)}function V2(t,n,e,i,o,r,s,l){let d=Ar()+t,p=fe(),f=y2(p,d,e,i,o,r);return Kt(p,d+4,s)||f?aa(p,d+5,l?n.call(l,e,i,o,r,s):n(e,i,o,r,s)):Jy(p,d+5)}function Uc(t,n){let e=t[n];return e===Wt?void 0:e}function F2(t,n,e,i,o,r){let s=n+e;return Kt(t,s,o)?aa(t,s+1,r?i.call(r,o):i(o)):Uc(t,s+1)}function Gx(t,n,e,i,o,r,s){let l=n+e;return Xs(t,l,o,r)?aa(t,l+2,s?i.call(s,o,r):i(o,r)):Uc(t,l+2)}function Yx(t,n,e,i,o,r,s,l){let d=n+e;return w2(t,d,o,r,s)?aa(t,d+3,l?i.call(l,o,r,s):i(o,r,s)):Uc(t,d+3)}function qx(t,n,e,i,o,r,s,l,d){let p=n+e;return y2(t,p,o,r,s,l)?aa(t,p+4,d?i.call(d,o,r,s,l):i(o,r,s,l)):Uc(t,p+4)}function W(t,n){let e=vt(),i,o=t+Vt;e.firstCreatePass?(i=Xx(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];let r=i.factory||(i.factory=yo(i.type,!0)),s,l=qt(M);try{let d=oc(!1),p=r();return oc(d),Rx(e,fe(),o,p),p}finally{qt(l)}}function Xx(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function G(t,n,e){let i=t+Vt,o=fe(),r=Bf(o,i);return Qx(o,i)?F2(o,Ar(),n,r.transform,e,r):r.transform(e)}function Qx(t,n){return t[ye].data[n].pure}function Zt(t,n){return $c(t,n)}var N2=new ie("");function da(t){return!!t&&typeof t.then=="function"}function j2(t){return!!t&&typeof t.subscribe=="function"}var Kx=new ie(""),H2=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=ne(Kx,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=o();if(da(r))e.push(r);else if(j2(r)){let s=new Promise((l,d)=>{r.subscribe({complete:l,error:d})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),R2=new ie("");function Jx(){Pg(()=>{throw new Oe(600,!1)})}function eM(t){return t.isBoundToModule}var tM=10;function nM(t,n,e){try{let i=e();return da(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}var ni=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ne(D7),this.afterRenderManager=ne(ox),this.zonelessEnabled=ne(Qm),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Pe,this.afterTick=new Pe,this.componentTypes=[],this.components=[],this.isStable=ne(Lr).hasPendingTasks.pipe(ke(e=>!e)),this._injector=ne(wn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let o=e instanceof uc;if(!this._injector.get(H2).done){let D=!o&&_9(e),x=!1;throw new Oe(405,x)}let s;o?s=e:s=this._injector.get($i).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let l=eM(s)?void 0:this._injector.get(kr),d=i||s.selector,p=s.create(Xn.NULL,[],d,l),f=p.location.nativeElement,w=p.injector.get(N2,null);return w?.registerApplication(f),p.onDestroy(()=>{this.detachView(p.hostView),Gl(this.components,p),w?.unregisterApplication(f)}),this._loadComponent(p),p}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new Oe(101,!1);let e=Ve(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Ve(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(Dr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<tM;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:o,notifyErrorHandler:r}of this._views)iM(o,r,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Ac(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Gl(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(R2,[]);[...this._bootstrapListeners,...i].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Gl(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Oe(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Gl(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function iM(t,n,e,i){if(!e&&!Ac(t))return;a2(t,n,e&&!i?0:1)}var oM=(()=>{class t{constructor(){this.zone=ne(Re),this.changeDetectionScheduler=ne(Mr),this.applicationRef=ne(ni)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function rM({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new Re(ot(ue({},sM()),{scheduleInRootZone:e})),[{provide:Re,useFactory:t},{provide:zs,multi:!0,useFactory:()=>{let i=ne(oM,{optional:!0});return()=>i.initialize()}},{provide:zs,multi:!0,useFactory:()=>{let i=ne(aM);return()=>{i.initialize()}}},n===!0?{provide:u2,useValue:!0}:[],{provide:p2,useValue:e??hb}]}function sM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var aM=(()=>{class t{constructor(){this.subscription=new ft,this.initialized=!1,this.zone=ne(Re),this.pendingTasks=ne(Lr)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Re.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Re.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var lM=(()=>{class t{constructor(){this.appRef=ne(ni),this.taskService=ne(Lr),this.ngZone=ne(Re),this.zonelessEnabled=ne(Qm),this.disableScheduling=ne(u2,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ft,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ac):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(ne(p2,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 Ip||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Lh:fb;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ac+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Lh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function cM(){return typeof $localize<"u"&&$localize.locale||_c}var Wc=new ie("",{providedIn:"root",factory:()=>ne(Wc,Ne.Optional|Ne.SkipSelf)||cM()});var am=new ie("");function zl(t){return!t.moduleRef}function dM(t){let n=zl(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Re);return e.run(()=>{zl(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Qn,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{i.handleError(r)}})}),zl(t)){let r=()=>n.destroy(),s=t.platformInjector.get(am);s.add(r),n.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(am);s.add(r),t.moduleRef.onDestroy(()=>{Gl(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return nM(i,e,()=>{let r=n.get(H2);return r.runInitializers(),r.donePromise.then(()=>{let s=n.get(Wc,_c);if(Vx(s||_c),zl(t)){let l=n.get(ni);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return uM(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function uM(t,n){let e=t.injector.get(ni);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new Oe(-403,!1);n.push(t)}var Yl=null;function pM(t=[],n){return Xn.create({name:n,providers:[{provide:Mc,useValue:"platform"},{provide:am,useValue:new Set([()=>Yl=null])},...t]})}function mM(t=[]){if(Yl)return Yl;let n=pM(t);return Yl=n,Jx(),gM(n),n}function gM(t){t.get(Tm,null)?.forEach(e=>e())}var _t=(()=>{class t{static{this.__NG_ELEMENT_ID__=hM}}return t})();function hM(t){return fM(Ft(),fe(),(t&16)===16)}function fM(t,n,e){if(Oc(t)&&!e){let i=Ui(t.index,n);return new Eo(i,i)}else if(t.type&175){let i=n[Qt];return new Eo(i,n)}return null}var lm=class{constructor(){}supports(n){return C2(n)}create(n){return new cm(n)}},bM=(t,n)=>n,cm=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||bM}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){let s=!i||e&&e.currentIndex<tf(i,o,r)?e:i,l=tf(s,o,r),d=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{r||(r=[]);let p=l-o,f=d-o;if(p!=f){for(let D=0;D<p;D++){let x=D<r.length?r[D]:r[D]=0,A=x+D;f<=A&&A<p&&(r[D]=x+1)}let w=s.previousIndex;r[w]=f-p}}l!==d&&n(s,l,d)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!C2(n))throw new Oe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,o,r,s;if(Array.isArray(n)){this.length=n.length;for(let l=0;l<this.length;l++)r=n[l],s=this._trackByFn(l,r),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,r,s,l),i=!0):(i&&(e=this._verifyReinsertion(e,r,s,l)),Object.is(e.item,r)||this._addIdentityChange(e,r)),e=e._next}else o=0,Ky(n,l=>{s=this._trackByFn(o,l),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,l,s,o),i=!0):(i&&(e=this._verifyReinsertion(e,l,s,o)),Object.is(e.item,l)||this._addIdentityChange(e,l)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return n===null?r=this._itTail:(r=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new dm(e,i),r,o)),n}_verifyReinsertion(n,e,i,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return r!==null?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,r=n._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Cc),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Cc),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},dm=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},um=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Cc=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new um,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,o=this.map.get(i);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function tf(t,n,e){let i=t.previousIndex;if(i===null)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}var pm=class{constructor(){}supports(n){return n instanceof Map||Jm(n)}create(){return new mm}},mm=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Jm(n)))throw new Oe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let i=new gm(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},gm=class{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function nf(){return new Fr([new lm])}var Fr=(()=>{class t{static{this.\u0275prov=te({token:t,providedIn:"root",factory:nf})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||nf()),deps:[[t,new gf,new bm]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i!=null)return i;throw new Oe(901,!1)}}return t})();function of(){return new n1([new pm])}var n1=(()=>{class t{static{this.\u0275prov=te({token:t,providedIn:"root",factory:of})}constructor(e){this.factories=e}static create(e,i){if(i){let o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||of()),deps:[[t,new gf,new bm]]}}find(e){let i=this.factories.find(o=>o.supports(e));if(i)return i;throw new Oe(901,!1)}}return t})();function B2(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,o=mM(i),r=[rM({}),{provide:Mr,useExisting:lM},...e||[]],s=new gc({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1});return dM({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}}function L(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function un(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function pn(t,n){Vo("NgSignals");let e=Eg(t);return n?.equal&&(e[gi].equal=n.equal),e}function Mi(t){let n=Ve(null);try{return t()}finally{Ve(n)}}function i1(t,n){let e=xo(t),i=n.elementInjector||Dc();return new qs(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}var Gc={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return Gc.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Gc.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};function vM(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function _M(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function CM(t){return typeof t=="function"}var o1;function wM(t,n){if(!o1){let e=Element.prototype;o1=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?o1.call(t,n):!1}function yM(t,n){return t===n||t!==t&&n!==n}function xM(t){let n={};return t.forEach(({propName:e,templateName:i,transform:o})=>{n[vM(i)]=[e,o]}),n}function MM(t,n){return n.get($i).resolveComponentFactory(t).inputs}function DM(t,n){let e=t.childNodes,i=n.map(()=>[]),o=-1;n.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=e.length;r<s;++r){let l=e[r],d=kM(l,n,o);d!==-1&&i[d].push(l)}return i}function kM(t,n,e){let i=e;return _M(t)&&n.some((o,r)=>o!=="*"&&wM(t,o)?(i=r,!0):!1),i}var OM=10,r1=class{constructor(n,e){this.componentFactory=e.get($i).resolveComponentFactory(n)}create(n){return new s1(this.componentFactory,n)}},s1=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Ii(1),this.events=this.eventEmitters.pipe(ln(i=>fi(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Re),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Gc.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},OM))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}yM(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=Xn.create({providers:[],parent:this.injector}),i=DM(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(_t),this.implementsOnChanges=CM(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(ni).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>n.instance[i].pipe(ke(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Gc.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let o=this.unchangedInputs.has(n),r=o?void 0:this.getInputValue(n);this.inputChanges[n]=new Ws(r,e,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},a1=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ke(t,n){let e=MM(t,n.injector),i=n.strategyFactory||new r1(t,n.injector),o=xM(e);class r extends a1{static{this.observedAttributes=Object.keys(o)}get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:d,transform:p})=>{if(!this.hasOwnProperty(d))return;let f=this[d];delete this[d],l.setInputValue(d,f,p)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,d,p,f){let[w,D]=o[l];this.ngElementStrategy.setInputValue(w,p,D)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let d=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(d)})}}return e.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(d){this.ngElementStrategy.setInputValue(s,d,l)},configurable:!0,enumerable:!0})}),r}var U2=null;function jr(){return U2}function W2(t){U2??=t}var qc=class{};var xt=new ie("");function Xc(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[o,r]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var l1=/\s+/,z2=[],be=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=z2,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(l1):z2}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(l1):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(l1).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(Nn))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})();var c1=class{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}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}},Je=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new c1(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(r===null?void 0:r);else if(r!==null){let l=i.get(r);i.move(l,s),Z2(l,o)}});for(let o=0,r=i.length;o<r;o++){let l=i.get(o).context;l.index=o,l.count=r,l.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let r=i.get(o.currentIndex);Z2(r,o)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(M(ti),M(Be),M(Fr))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();function Z2(t,n){t.context.$implicit=n.item}var Ot=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new d1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){$2("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$2("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(M(ti),M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),d1=class{constructor(){this.$implicit=null,this.ngIf=null}};function $2(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${cn(n)}'.`)}var Hr=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:Kn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(n1),M(Nn))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return t})(),Di=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static{this.\u0275fac=function(i){return new(i||t)(M(ti))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[mt]})}}return t})();var Q=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})(),u1="browser",AM="server";function G2(t){return t===u1}function Qc(t){return t===AM}var Nr=class{};var pa=class{},Jc=class{},ki=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
11
|
+
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(l=>r.indexOf(l)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var m1=class{encodeKey(n){return Y2(n)}encodeValue(n){return Y2(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function EM(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[s,l]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],d=e.get(s)||[];d.push(l),e.set(s,d)}),e}var IM=/%(\d[a-f0-9])/gi,LM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Y2(t){return encodeURIComponent(t).replace(IM,(n,e)=>LM[e]??n)}function Kc(t){return`${t}`}var Yi=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new m1,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=EM(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],o=Array.isArray(i)?i.map(Kc):[Kc(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Kc(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],o=i.indexOf(Kc(n.value));o!==-1&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var g1=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function PM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function q2(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function X2(t){return typeof Blob<"u"&&t instanceof Blob}function Q2(t){return typeof FormData<"u"&&t instanceof FormData}function TM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ua=class t{constructor(n,e,i,o){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let r;if(PM(this.method)||o?(this.body=i!==void 0?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new ki,this.context??=new g1,!this.params)this.params=new Yi,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let l=e.indexOf("?"),d=l===-1?"?":l<e.length-1?"&":"";this.urlWithParams=e+d+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||q2(this.body)||X2(this.body)||Q2(this.body)||TM(this.body)?this.body:this.body instanceof Yi?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||Q2(this.body)?null:X2(this.body)?this.body.type||null:q2(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Yi?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,l=n.withCredentials??this.withCredentials,d=n.reportProgress??this.reportProgress,p=n.headers||this.headers,f=n.params||this.params,w=n.context??this.context;return n.setHeaders!==void 0&&(p=Object.keys(n.setHeaders).reduce((D,x)=>D.set(x,n.setHeaders[x]),p)),n.setParams&&(f=Object.keys(n.setParams).reduce((D,x)=>D.set(x,n.setParams[x]),f)),new t(e,i,s,{params:f,headers:p,context:w,reportProgress:d,responseType:o,withCredentials:l,transferCache:r})}},qi=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(qi||{}),ma=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new ki,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},ed=class t extends ma{constructor(n={}){super(n),this.type=qi.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ga=class t extends ma{constructor(n={}){super(n),this.type=qi.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Gi=class extends ma{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},t3=200,VM=204;function p1(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var b1=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof ua)r=e;else{let d;o.headers instanceof ki?d=o.headers:d=new ki(o.headers);let p;o.params&&(o.params instanceof Yi?p=o.params:p=new Yi({fromObject:o.params})),r=new ua(e,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:p,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=Xe(r).pipe(an(d=>this.handler.handle(d)));if(e instanceof ua||o.observe==="events")return s;let l=s.pipe(Zn(d=>d instanceof ga));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(ke(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(ke(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(ke(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(ke(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Yi().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,p1(o,i))}post(e,i,o={}){return this.request("POST",e,p1(o,i))}put(e,i,o={}){return this.request("PUT",e,p1(o,i))}static{this.\u0275fac=function(i){return new(i||t)(q(pa))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),FM=/^\)\]\}',?\n/,NM="X-Request-URL";function K2(t){if(t.url)return t.url;let n=NM.toLocaleLowerCase();return t.headers.get(n)}var jM=(()=>{class t{constructor(){this.fetchImpl=ne(h1,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=ne(Re)}handle(e){return new Ae(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(f1,r=>i.error(new Gi({error:r}))),()=>o.abort()})}doRequest(e,i,o){return Bn(this,null,function*(){let r=this.createRequestInit(e),s;try{let x=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,ue({signal:i},r)));HM(x),o.next({type:qi.Sent}),s=yield x}catch(x){o.error(new Gi({error:x,status:x.status??0,statusText:x.statusText,url:e.urlWithParams,headers:x.headers}));return}let l=new ki(s.headers),d=s.statusText,p=K2(s)??e.urlWithParams,f=s.status,w=null;if(e.reportProgress&&o.next(new ed({headers:l,status:f,statusText:d,url:p})),s.body){let x=s.headers.get("content-length"),A=[],V=s.body.getReader(),R=0,H,K,ge=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Bn(this,null,function*(){for(;;){let{done:Te,value:$}=yield V.read();if(Te)break;if(A.push($),R+=$.length,e.reportProgress){K=e.responseType==="text"?(K??"")+(H??=new TextDecoder).decode($,{stream:!0}):void 0;let Le=()=>o.next({type:qi.DownloadProgress,total:x?+x:void 0,loaded:R,partialText:K});ge?ge.run(Le):Le()}}}));let ze=this.concatChunks(A,R);try{let Te=s.headers.get("Content-Type")??"";w=this.parseBody(e,ze,Te)}catch(Te){o.error(new Gi({error:Te,headers:new ki(s.headers),status:s.status,statusText:s.statusText,url:K2(s)??e.urlWithParams}));return}}f===0&&(f=w?t3:0),f>=200&&f<300?(o.next(new ga({body:w,headers:l,status:f,statusText:d,url:p})),o.complete()):o.error(new Gi({error:w,headers:l,status:f,statusText:d,url:p}))})}parseBody(e,i,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(i).replace(FM,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>i[r]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(i["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),r=0;for(let s of e)o.set(s,r),r+=s.length;return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),h1=class{};function f1(){}function HM(t){t.then(f1,f1)}function RM(t,n){return n(t)}function BM(t,n,e){return(i,o)=>Ef(e,()=>n(i,r=>t(r,o)))}var n3=new ie(""),zM=new ie(""),ZM=new ie("",{providedIn:"root",factory:()=>!0});var J2=(()=>{class t extends pa{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=ne(Lr),this.contributeToStability=ne(ZM)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(n3),...this.injector.get(zM,[])]));this.chain=i.reduceRight((o,r)=>BM(o,r,this.injector),RM)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Qu(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(q(Jc),q(wn))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})();var $M=/^\)\]\}',?\n/;function UM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var e3=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new Oe(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ct(i.\u0275loadImpl()):Xe(null)).pipe(ln(()=>new Ae(r=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((V,R)=>s.setRequestHeader(V,R.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let V=e.detectContentTypeHeader();V!==null&&s.setRequestHeader("Content-Type",V)}if(e.responseType){let V=e.responseType.toLowerCase();s.responseType=V!=="json"?V:"text"}let l=e.serializeBody(),d=null,p=()=>{if(d!==null)return d;let V=s.statusText||"OK",R=new ki(s.getAllResponseHeaders()),H=UM(s)||e.url;return d=new ed({headers:R,status:s.status,statusText:V,url:H}),d},f=()=>{let{headers:V,status:R,statusText:H,url:K}=p(),ge=null;R!==VM&&(ge=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=ge?t3:0);let ze=R>=200&&R<300;if(e.responseType==="json"&&typeof ge=="string"){let Te=ge;ge=ge.replace($M,"");try{ge=ge!==""?JSON.parse(ge):null}catch($){ge=Te,ze&&(ze=!1,ge={error:$,text:ge})}}ze?(r.next(new ga({body:ge,headers:V,status:R,statusText:H,url:K||void 0})),r.complete()):r.error(new Gi({error:ge,headers:V,status:R,statusText:H,url:K||void 0}))},w=V=>{let{url:R}=p(),H=new Gi({error:V,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});r.error(H)},D=!1,x=V=>{D||(r.next(p()),D=!0);let R={type:qi.DownloadProgress,loaded:V.loaded};V.lengthComputable&&(R.total=V.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),r.next(R)},A=V=>{let R={type:qi.UploadProgress,loaded:V.loaded};V.lengthComputable&&(R.total=V.total),r.next(R)};return s.addEventListener("load",f),s.addEventListener("error",w),s.addEventListener("timeout",w),s.addEventListener("abort",w),e.reportProgress&&(s.addEventListener("progress",x),l!==null&&s.upload&&s.upload.addEventListener("progress",A)),s.send(l),r.next({type:qi.Sent}),()=>{s.removeEventListener("error",w),s.removeEventListener("abort",w),s.removeEventListener("load",f),s.removeEventListener("timeout",w),e.reportProgress&&(s.removeEventListener("progress",x),l!==null&&s.upload&&s.upload.removeEventListener("progress",A)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(q(Nr))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),i3=new ie(""),WM="XSRF-TOKEN",GM=new ie("",{providedIn:"root",factory:()=>WM}),YM="X-XSRF-TOKEN",qM=new ie("",{providedIn:"root",factory:()=>YM}),td=class{},XM=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Xc(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(q(xt),q(ei),q(GM))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})();function QM(t,n){let e=t.url.toLowerCase();if(!ne(i3)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=ne(td).getToken(),o=ne(qM);return i!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}function o3(...t){let n=[b1,e3,J2,{provide:pa,useExisting:J2},{provide:Jc,useFactory:()=>ne(jM,{optional:!0})??ne(e3)},{provide:n3,useValue:QM,multi:!0},{provide:i3,useValue:!0},{provide:td,useClass:XM}];for(let e of t)n.push(...e.\u0275providers);return xc(n)}var C1=class extends qc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},w1=class t extends C1{static makeCurrent(){W2(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=JM();return e==null?null:eD(e)}resetBaseElement(){ha=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Xc(document.cookie,n)}},ha=null;function JM(){return ha=ha||document.querySelector("base"),ha?ha.getAttribute("href"):null}function eD(t){return new URL(t,document.baseURI).pathname}var tD=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),y1=new ie(""),l3=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new Oe(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(q(y1),q(Re))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),nd=class{constructor(n){this._doc=n}},v1="ng-app-id",c3=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Qc(r),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${v1}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(v1),r;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(v1,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(q(xt),q(Vc),q(na,8),q(ei))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),_1={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"},M1=/%COMP%/g,d3="%COMP%",nD=`_nghost-${d3}`,iD=`_ngcontent-${d3}`,oD=!0,rD=new ie("",{providedIn:"root",factory:()=>oD});function sD(t){return iD.replace(M1,t)}function aD(t){return nD.replace(M1,t)}function u3(t,n){return n.map(e=>e.replace(M1,t))}var r3=(()=>{class t{constructor(e,i,o,r,s,l,d,p=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=l,this.ngZone=d,this.nonce=p,this.rendererByCompId=new Map,this.platformIsServer=Qc(l),this.defaultRenderer=new fa(e,s,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gn.ShadowDom&&(i=ot(ue({},i),{encapsulation:Gn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof id?o.applyToHost(e):o instanceof ba&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,r=o.get(i.id);if(!r){let s=this.doc,l=this.ngZone,d=this.eventManager,p=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,w=this.platformIsServer;switch(i.encapsulation){case Gn.Emulated:r=new id(d,p,i,this.appId,f,s,l,w);break;case Gn.ShadowDom:return new x1(d,p,e,i,s,l,this.nonce,w);default:r=new ba(d,p,i,f,s,l,w);break}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(q(l3),q(c3),q(Vc),q(rD),q(xt),q(ei),q(Re),q(na))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),fa=class{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(_1[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(s3(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(s3(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new Oe(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;let r=_1[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let o=_1[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(Kn.DashCase|Kn.Important)?n.style.setProperty(e,i,o&Kn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Kn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=jr().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function s3(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var x1=class extends fa{constructor(n,e,i,o,r,s,l,d){super(n,r,s,d),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let p=u3(o.id,o.styles);for(let f of p){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=f,this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ba=class extends fa{constructor(n,e,i,o,r,s,l,d){super(n,r,s,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=d?u3(d,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},id=class extends ba{constructor(n,e,i,o,r,s,l,d){let p=o+"-"+i.id;super(n,e,i,r,s,l,d,p),this.contentAttr=sD(p),this.hostAttr=aD(p)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},lD=(()=>{class t extends nd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static{this.\u0275fac=function(i){return new(i||t)(q(xt))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),a3=["alt","control","meta","shift"],cD={"\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"},dD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},uD=(()=>{class t extends nd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jr().onAndCancel(e,r.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(i.pop()),s="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),s="code."),a3.forEach(p=>{let f=i.indexOf(p);f>-1&&(i.splice(f,1),s+=p+".")}),s+=r,i.length!=0||r.length===0)return null;let d={};return d.domEventName=o,d.fullKey=s,d}static matchEventFullKeyCode(e,i){let o=cD[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),a3.forEach(s=>{if(s!==o){let l=dD[s];l(e)&&(r+=s+".")}}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(q(xt))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})();function p3(t){return B2(pD(t))}function pD(t){return{appProviders:[...bD,...t?.providers??[]],platformProviders:fD}}function mD(){w1.makeCurrent()}function gD(){return new Qn}function hD(){return xb(document),document}var fD=[{provide:ei,useValue:u1},{provide:Tm,useValue:mD,multi:!0},{provide:xt,useFactory:hD,deps:[]}];var bD=[{provide:Mc,useValue:"root"},{provide:Qn,useFactory:gD,deps:[]},{provide:y1,useClass:lD,multi:!0,deps:[xt,Re,ei]},{provide:y1,useClass:uD,multi:!0,deps:[xt]},r3,c3,l3,{provide:Dr,useExisting:r3},{provide:Nr,useClass:tD,deps:[]},[]];var C3=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(M(Nn),M(oe))}}static{this.\u0275dir=ce({type:t})}}return t})(),vD=(()=>{class t extends C3{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,features:[re]})}}return t})(),ld=new ie("");var _D={provide:ld,useExisting:Lo(()=>w3),multi:!0};function CD(){let t=jr()?jr().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var wD=new ie(""),w3=(()=>{class t extends C3{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!CD())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(M(Nn),M(oe),M(wD,8))}}static{this.\u0275dir=ce({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&k("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[me([_D]),re]})}}return t})();var yD=new ie(""),xD=new ie("");function y3(t){return t!=null}function x3(t){return da(t)?ct(t):t}function M3(t){let n={};return t.forEach(e=>{n=e!=null?ue(ue({},n),e):n}),Object.keys(n).length===0?null:n}function D3(t,n){return n.map(e=>e(t))}function MD(t){return!t.validate}function k3(t){return t.map(n=>MD(n)?n:e=>n.validate(e))}function DD(t){if(!t)return null;let n=t.filter(y3);return n.length==0?null:function(e){return M3(D3(e,n))}}function O3(t){return t!=null?DD(k3(t)):null}function kD(t){if(!t)return null;let n=t.filter(y3);return n.length==0?null:function(e){let i=D3(e,n).map(x3);return Ts(i).pipe(ke(M3))}}function S3(t){return t!=null?kD(k3(t)):null}function m3(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function OD(t){return t._rawValidators}function SD(t){return t._rawAsyncValidators}function D1(t){return t?Array.isArray(t)?t:[t]:[]}function rd(t,n){return Array.isArray(t)?t.includes(n):t===n}function g3(t,n){let e=D1(n);return D1(t).forEach(o=>{rd(e,o)||e.push(o)}),e}function h3(t,n){return D1(n).filter(e=>!rd(t,e))}var sd=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=O3(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=S3(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},k1=class extends sd{get formDirective(){return null}get path(){return null}},ya=class extends sd{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},O1=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},AD={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},KR=ot(ue({},AD),{"[class.ng-submitted]":"isSubmitted"}),Zr=(()=>{class t extends O1{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(M(ya,2))}}static{this.\u0275dir=ce({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&se("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[re]})}}return t})();var va="VALID",od="INVALID",Rr="PENDING",_a="DISABLED",zr=class{},ad=class extends zr{constructor(n,e){super(),this.value=n,this.source=e}},Ca=class extends zr{constructor(n,e){super(),this.pristine=n,this.source=e}},wa=class extends zr{constructor(n,e){super(),this.touched=n,this.source=e}},Br=class extends zr{constructor(n,e){super(),this.status=n,this.source=e}};function ED(t){return(cd(t)?t.validators:t)||null}function ID(t){return Array.isArray(t)?O3(t):t||null}function LD(t,n){return(cd(n)?n.asyncValidators:t)||null}function PD(t){return Array.isArray(t)?S3(t):t||null}function cd(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var S1=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=pn(()=>this.statusReactive()),this.statusReactive=pe(void 0),this._pristine=pn(()=>this.pristineReactive()),this.pristineReactive=pe(!0),this._touched=pn(()=>this.touchedReactive()),this.touchedReactive=pe(!1),this._events=new Pe,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Mi(this.statusReactive)}set status(n){Mi(()=>this.statusReactive.set(n))}get valid(){return this.status===va}get invalid(){return this.status===od}get pending(){return this.status==Rr}get disabled(){return this.status===_a}get enabled(){return this.status!==_a}get pristine(){return Mi(this.pristineReactive)}set pristine(n){Mi(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Mi(this.touchedReactive)}set touched(n){Mi(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(g3(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(g3(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(h3(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(h3(n,this._rawAsyncValidators))}hasValidator(n){return rd(this._rawValidators,n)}hasAsyncValidator(n){return rd(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ot(ue({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new wa(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new wa(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ot(ue({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Ca(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Ca(!0,i))}markAsPending(n={}){this.status=Rr;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Br(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ot(ue({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=_a,this.errors=null,this._forEachChild(o=>{o.disable(ot(ue({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ad(this.value,i)),this._events.next(new Br(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ot(ue({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=va,this._forEachChild(i=>{i.enable(ot(ue({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ot(ue({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===va||this.status===Rr)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ad(this.value,e)),this._events.next(new Br(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ot(ue({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?_a:va}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Rr,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=x3(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Br(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new I,this.statusChanges=new I}_calculateStatus(){return this._allControlsDisabled()?_a:this.errors?od:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Rr)?Rr:this._anyControlsHaveStatus(od)?od:va}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new Ca(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new wa(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){cd(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=ID(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=PD(this._rawAsyncValidators)}};var A3=new ie("CallSetDisabledState",{providedIn:"root",factory:()=>A1}),A1="always";function TD(t,n){return[...n.path,t]}function VD(t,n,e=A1){ND(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),jD(t,n),RD(t,n),HD(t,n),FD(t,n)}function f3(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function FD(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function ND(t,n){let e=OD(t);n.validator!==null?t.setValidators(m3(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=SD(t);n.asyncValidator!==null?t.setAsyncValidators(m3(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let o=()=>t.updateValueAndValidity();f3(n._rawValidators,o),f3(n._rawAsyncValidators,o)}function jD(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&E3(t,n)})}function HD(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&E3(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function E3(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function RD(t,n){let e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function BD(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function zD(t){return Object.getPrototypeOf(t.constructor)===vD}function ZD(t,n){if(!n)return null;Array.isArray(n);let e,i,o;return n.forEach(r=>{r.constructor===w3?e=r:zD(r)?i=r:o=r}),o||i||e||null}function b3(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function v3(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var $D=class extends S1{constructor(n=null,e,i){super(ED(e),LD(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),cd(e)&&(e.nonNullable||e.initialValueIsDefault)&&(v3(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){b3(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){b3(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){v3(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var UD={provide:ya,useExisting:Lo(()=>No)},_3=Promise.resolve(),No=(()=>{class t extends ya{constructor(e,i,o,r,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new $D,this._registered=!1,this.name="",this.update=new I,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=ZD(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),BD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){VD(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){_3.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&L(i);_3.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?TD(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(M(k1,9),M(yD,10),M(xD,10),M(ld,10),M(_t,8),M(A3,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[me([UD]),re,mt]})}}return t})();var WD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})();var $r=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:A3,useValue:e.callSetDisabledState??A1}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[WD]})}}return t})();var GD=["content"],YD=["scroll"],qD=["padding"],P3=["*"],Ma=t=>({searchTerm:t});function XD(t,n){if(t&1&&(v(0,"div",3),Pt(1,6),_()),t&2){let e=b();g(),C("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",Qe(2,Ma,e.filterValue))}}function QD(t,n){if(t&1&&(v(0,"div",5),Pt(1,6),_()),t&2){let e=b();g(),C("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",Qe(2,Ma,e.filterValue))}}var KD=["searchInput"],JD=["clearButton"],ek=(t,n,e)=>({item:t,clear:n,label:e}),tk=(t,n)=>({items:t,clear:n}),nk=(t,n,e,i)=>({item:t,item$:n,index:e,searchTerm:i});function ik(t,n){if(t&1&&(v(0,"div",20),T(1),_()),t&2){let e=b(2);g(),xe(e.placeholder)}}function ok(t,n){}function rk(t,n){if(t&1&&E(0,ik,2,1,"ng-template",null,1,Zt)(2,ok,0,0,"ng-template",19),t&2){let e=yt(1),i=b();g(2),C("ngTemplateOutlet",i.placeholderTemplate||e)}}function sk(t,n){if(t&1){let e=U();v(0,"span",23),k("click",function(){O(e);let o=b().$implicit,r=b(2);return S(r.unselect(o))}),T(1,"\xD7"),_(),F(2,"span",24)}if(t&2){let e=b().$implicit,i=b(2);g(2),C("ngItemLabel",e.label)("escape",i.escapeHTML)}}function ak(t,n){}function lk(t,n){if(t&1&&(v(0,"div",22),E(1,sk,3,2,"ng-template",null,2,Zt)(3,ak,0,0,"ng-template",12),_()),t&2){let e=n.$implicit,i=yt(2),o=b(2);se("ng-value-disabled",e.disabled),g(3),C("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",jt(4,ek,e.value,o.clearItem,e.label))}}function ck(t,n){if(t&1&&Mt(0,lk,4,8,"div",21,e1().trackByOption,!0),t&2){let e=b();Dt(e.selectedItems)}}function dk(t,n){}function uk(t,n){if(t&1&&E(0,dk,0,0,"ng-template",12),t&2){let e=b();C("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",Nt(2,tk,e.selectedValues,e.clearItem))}}function pk(t,n){t&1&&F(0,"div",25)}function mk(t,n){}function gk(t,n){if(t&1&&E(0,pk,1,0,"ng-template",null,3,Zt)(2,mk,0,0,"ng-template",19),t&2){let e=yt(1),i=b();g(2),C("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function hk(t,n){if(t&1&&(v(0,"span",15,4)(2,"span",26),T(3,"\xD7"),_()()),t&2){let e=b();Ie("title",e.clearAllText)}}function fk(t,n){if(t&1&&F(0,"span",31),t&2){let e=b().$implicit,i=b(2);C("ngItemLabel",e.label)("escape",i.escapeHTML)}}function bk(t,n){}function vk(t,n){if(t&1){let e=U();v(0,"div",30),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleItem(o))})("mouseover",function(){let o=O(e).$implicit,r=b(2);return S(r.onItemHover(o))}),E(1,fk,1,2,"ng-template",null,5,Zt)(3,bk,0,0,"ng-template",12),_()}if(t&2){let e=n.$implicit,i=yt(2),o=b(2);se("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),de("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),g(3),C("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",T2(17,nk,e.value,e,e.index,o.searchTerm))}}function _k(t,n){if(t&1&&(v(0,"span")(1,"span",33),T(2),_(),T(3),_()),t&2){let e=b(3);g(2),xe(e.addTagText),g(),X('"',e.searchTerm,'"')}}function Ck(t,n){}function wk(t,n){if(t&1){let e=U();v(0,"div",32),k("mouseover",function(){O(e);let o=b(2);return S(o.itemsList.unmarkItem())})("click",function(){O(e);let o=b(2);return S(o.selectTag())}),E(1,_k,4,2,"ng-template",null,6,Zt)(3,Ck,0,0,"ng-template",12),_()}if(t&2){let e=yt(2),i=b(2);se("ng-option-marked",!i.itemsList.markedItem),g(3),C("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",Qe(4,Ma,i.searchTerm))}}function yk(t,n){if(t&1&&(v(0,"div",34),T(1),_()),t&2){let e=b(3);g(),xe(e.notFoundText)}}function xk(t,n){}function Mk(t,n){if(t&1&&E(0,yk,2,1,"ng-template",null,7,Zt)(2,xk,0,0,"ng-template",12),t&2){let e=yt(1),i=b(2);g(2),C("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",Qe(2,Ma,i.searchTerm))}}function Dk(t,n){if(t&1&&(v(0,"div",34),T(1),_()),t&2){let e=b(3);g(),xe(e.typeToSearchText)}}function kk(t,n){}function Ok(t,n){if(t&1&&E(0,Dk,2,1,"ng-template",null,8,Zt)(2,kk,0,0,"ng-template",19),t&2){let e=yt(1),i=b(2);g(2),C("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function Sk(t,n){if(t&1&&(v(0,"div",34),T(1),_()),t&2){let e=b(3);g(),xe(e.loadingText)}}function Ak(t,n){}function Ek(t,n){if(t&1&&E(0,Sk,2,1,"ng-template",null,9,Zt)(2,Ak,0,0,"ng-template",12),t&2){let e=yt(1),i=b(2);g(2),C("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",Qe(2,Ma,i.searchTerm))}}function Ik(t,n){if(t&1){let e=U();v(0,"ng-dropdown-panel",27),k("update",function(o){O(e);let r=b();return S(r.viewPortItems=o)})("scroll",function(o){O(e);let r=b();return S(r.scroll.emit(o))})("scrollToEnd",function(o){O(e);let r=b();return S(r.scrollToEnd.emit(o))})("outsideClick",function(){O(e);let o=b();return S(o.close())}),tn(1),Mt(2,vk,4,22,"div",28,e1().trackByOption,!0),E(4,wk,4,6,"div",29),nn(),E(5,Mk,3,4)(6,Ok,3,1)(7,Ek,3,4),_()}if(t&2){let e=b();se("ng-select-multiple",e.multiple),C("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId),g(2),Dt(e.viewPortItems),g(2),z(e.showAddTag?4:-1),g(),z(e.showNoItemsFound()?5:-1),g(),z(e.showTypeToSearch()?6:-1),g(),z(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}var T3=/[&<>"']/g,Lk=RegExp(T3.source),Pk={"&":"&","<":"<",">":">",'"':""","'":"'"};function Tk(t){return t&&Lk.test(t)?t.replace(T3,n=>Pk[n]):t}function Ct(t){return t!=null}function xa(t){return typeof t=="object"&&Ct(t)}function Vk(t){return t instanceof Promise}function ud(t){return t instanceof Function}var Fk=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?Tk(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275dir=ce({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!0,features:[mt]})}}return t})(),Nk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-option-tmp",""]],standalone:!0})}}return t})(),jk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-optgroup-tmp",""]],standalone:!0})}}return t})(),Hk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-label-tmp",""]],standalone:!0})}}return t})(),Rk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-multi-label-tmp",""]],standalone:!0})}}return t})(),Bk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-header-tmp",""]],standalone:!0})}}return t})(),zk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-footer-tmp",""]],standalone:!0})}}return t})(),Zk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-notfound-tmp",""]],standalone:!0})}}return t})(),$k=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-placeholder-tmp",""]],standalone:!0})}}return t})(),Uk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-typetosearch-tmp",""]],standalone:!0})}}return t})(),Wk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-loadingtext-tmp",""]],standalone:!0})}}return t})(),Gk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-tag-tmp",""]],standalone:!0})}}return t})(),Yk=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!0})}}return t})();function V3(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var qk={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function dd(t){let n=e=>qk[e]||e;return t.replace(/[^\u0000-\u007E]/g,n)}var I1=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&Ct(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?e=i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:e=i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=dd(n).toLocaleLowerCase(),this.filteredItems.find(e=>dd(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:dd(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(i&&(s.parent&&s.parent.selected||s.selected))continue;let l=this._ngSelect.searchFn?s.value:s;e(n,l)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let l=this._items.find(d=>d===s.parent);this._filteredItems.push(l)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!xa(n))return n;if(e.indexOf(".")===-1)return n[e];{let i=e.split("."),o=n;for(let r=0,s=i.length;r<s;++r){if(o==null)return null;o=o[i[r]]}return o}}mapItem(n,e){let i=Ct(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),o=Ct(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:Ct(i)?i.toString():"",value:o,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let i=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,o=Ct(i)?this.findItem(i):null;this._selectionModel.unselect(e,n),this._selectionModel.select(o||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return dd(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let i=new Map;if(n.length===0)return i;if(Array.isArray(n[0].value[e])){for(let s of n){let l=(s.value[e]||[]).map((d,p)=>this.mapItem(d,p));i.set(s,l)}return i}let o=ud(this._ngSelect.groupBy),r=s=>{let l=o?e(s.value):s.value[e];return Ct(l)?l:void 0};for(let s of n){let l=r(s),d=i.get(l);d?d.push(s):i.set(l,[s])}return i}_flatten(n){let e=ud(this._ngSelect.groupBy),i=[];for(let o of Array.from(n.keys())){let r=i.length;if(o===void 0){let w=n.get(void 0)||[];i.push(...w.map(D=>(D.index=r++,D)));continue}let s=xa(o),l={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:V3()},d=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,p=this._ngSelect.groupValue||(()=>s?o.value:{[d]:o}),f=n.get(o).map(w=>(w.parent=l,w.children=void 0,w.index=r++,w));l.children=f,l.value=p(o,f.map(w=>w.value)),i.push(l),i.push(...f)}return i}},ii=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(ii||{}),F3=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){let r=this._dimensions,s=r.itemHeight*i,d=Math.max(0,e)/s*i,p=Math.min(i,Math.ceil(d)+(r.itemsPerViewport+1)),w=Math.max(0,p-r.itemsPerViewport),D=Math.min(w,Math.floor(d)),x=r.itemHeight*Math.ceil(D)-r.itemHeight*Math.min(D,o);return x=isNaN(x)?0:x,D=isNaN(D)?-1:D,p=isNaN(p)?-1:p,D-=o,D=Math.max(0,D),p+=o,p=Math.min(i,p),{topPadding:x,scrollHeight:s,start:D,end:p}}setDimensions(e,i){let o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){let{panelHeight:r}=this.dimensions,s=e+i,l=o,d=l+r;return r>=s&&o===e?null:s>d?l+s-d:e<=l?e:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac})}}return t})(),I3=["top","right","bottom","left"],Xk=typeof requestAnimationFrame<"u"?Yu:Gu,L3=(()=>{class t{constructor(e,i,o,r,s){this._renderer=e,this._zone=i,this._panelService=o,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new I,this.scroll=new I,this.scrollToEnd=new I,this.outsideClick=new I,this._destroy$=new Pe,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let r;if(this.virtualScroll){let s=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(o*s,s,this._lastScrollPosition)}else{let s=this._dropdown.querySelector(`#${e.htmlId}`),l=i?s.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(s.offsetTop,s.clientHeight,l)}Ct(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),I3.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){I3.forEach(o=>{let r=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{Vi(this.scrollElementRef.nativeElement,"scroll").pipe(It(this._destroy$),Xu(0,Xk)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let o=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(o)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{fi(Vi(this._document,"touchstart",{capture:!0}),Vi(this._document,"click",{capture:!0})).pipe(It(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),Ct(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${o*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(o,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,s=i.height,l=e.getBoundingClientRect().height;return r+s+l>o+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.left-i.left;this._dropdown.style.left=o+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+o+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+o+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{Vi(this._dropdown,"mousedown").pipe(It(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(i){return new(i||t)(M(Nn),M(Re),M(F3),M(oe),M(xt,8))}}static{this.\u0275cmp=N({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,o){if(i&1&&(kt(GD,7,oe),kt(YD,7,oe),kt(qD,7,oe)),i&2){let r;We(r=Ge())&&(o.contentElementRef=r.first),We(r=Ge())&&(o.scrollElementRef=r.first),We(r=Ge())&&(o.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",L],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!0,features:[Ee,mt,j],ngContentSelectors:P3,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,o){i&1&&(lt(),E(0,XD,2,4,"div",3),v(1,"div",4,0),F(3,"div",null,1),v(5,"div",null,2),Ue(7),_()(),E(8,QD,2,4,"div",5)),i&2&&(z(o.headerTemplate?0:-1),g(3),se("total-padding",o.virtualScroll),g(2),se("scrollable-content",o.virtualScroll&&o.items.length),g(3),z(o.footerTemplate?8:-1))},dependencies:[Di],encapsulation:2,changeDetection:0})}}return t})(),jo=(()=>{class t{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new Pe}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",L]},standalone:!0,features:[Ee,mt,j],ngContentSelectors:P3,decls:1,vars:0,template:function(i,o){i&1&&(lt(),Ue(0))},encapsulation:2,changeDetection:0})}}return t})();function N3(){return new L1}var L1=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){let o=n.parent.children.length,r=n.parent.children.filter(s=>s.selected).length;n.parent.selected=o===r}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),i&&this._activeChildren(n)?this._selected=[...this._selected.filter(o=>o.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},Qk=(()=>{class t{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Kk=(()=>{class t{warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),j3=new ie("ng-select-selection-model"),Ur=(()=>{class t{constructor(e,i,o,r,s,l,d){this.classes=e,this.autoFocus=i,this.config=o,this._cd=l,this._console=d,this.markFirst=!0,this.fixedPlaceholder=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new I,this.focusEvent=new I,this.changeEvent=new I,this.openEvent=new I,this.closeEvent=new I,this.searchEvent=new I,this.clearEvent=new I,this.addEvent=new I,this.removeEvent=new I,this.scroll=new I,this.scrollToEnd=new I,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=V3(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Pe,this._keyPress$=new Pe,this._items=[],this.keyDownFn=p=>!0,this.clearItem=p=>{let f=this.selectedItems.find(w=>w.value===p);this.unselect(f)},this.trackByOption=(p,f)=>this.trackByFn?this.trackByFn(f.value):f,this._onChange=p=>{},this._onTouched=()=>{},this._mergeGlobalConfig(o),this.itemsList=new I1(this,r?r():N3()),this.element=s.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!ud(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return Ct(this._clearSearchOnAdd)?this._clearSearchOnAdd:Ct(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return Ct(this._deselectOnClick)?this._deselectOnClick:Ct(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=Ct(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Ct(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(ii[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case ii.ArrowDown:this._handleArrowDown(e);break;case ii.ArrowUp:this._handleArrowUp(e);break;case ii.Space:this._handleSpace(e);break;case ii.Enter:this._handleEnter(e);break;case ii.Tab:this._handleTab(e);break;case ii.Esc:this.close(),e.preventDefault();break;case ii.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case ii.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;ud(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);Vk(e)?e.then(o=>this.select(i(o))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Ct(i)?!xa(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Ct(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=o=>{this.items=o.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let o=fi(this.ngOptions.changes,this._destroy$);fi(...this.ngOptions.map(r=>r.stateChange$)).pipe(It(o)).subscribe(r=>{let s=this.itemsList.findItem(r.value);s.disabled=r.disabled,s.label=r.label||s.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Fi(this.ngOptions),It(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!Ct(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=o=>!Ct(this.compareWith)&&xa(o)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=o=>{let r=this.itemsList.findItem(o);if(r)this.itemsList.select(r);else{let s=xa(o),l=!s&&!this.bindValue;s||l?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(It(this._destroy$),Pn(e=>this._pressedKeys.push(e)),Co(200),Zn(()=>this._pressedKeys.length>0),ke(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=ue({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){let e=[];for(let o of this.selectedItems)if(this.bindValue){let r=null;if(o.children){let s=this.groupValue?this.bindValue:this.groupBy;r=o.value[s||this.groupBy]}else r=this.itemsList.resolveNested(o.value,this.bindValue);e.push(r)}else e.push(o.value);let i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(Ct(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey)this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=Ct(this.virtualScroll)?this.virtualScroll:Ct(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=Ct(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}static{this.\u0275fac=function(i){return new(i||t)(Er("class"),Er("autofocus"),M(Qk),M(j3,8),M(oe),M(_t),M(Kk))}}static{this.\u0275cmp=N({type:t,selectors:[["ng-select"]],contentQueries:function(i,o,r){if(i&1&&(zt(r,Nk,5,Be),zt(r,jk,5,Be),zt(r,Hk,5,Be),zt(r,Rk,5,Be),zt(r,Bk,5,Be),zt(r,zk,5,Be),zt(r,Zk,5,Be),zt(r,$k,5,Be),zt(r,Uk,5,Be),zt(r,Wk,5,Be),zt(r,Gk,5,Be),zt(r,Yk,5,Be),zt(r,jo,5)),i&2){let s;We(s=Ge())&&(o.optionTemplate=s.first),We(s=Ge())&&(o.optgroupTemplate=s.first),We(s=Ge())&&(o.labelTemplate=s.first),We(s=Ge())&&(o.multiLabelTemplate=s.first),We(s=Ge())&&(o.headerTemplate=s.first),We(s=Ge())&&(o.footerTemplate=s.first),We(s=Ge())&&(o.notFoundTemplate=s.first),We(s=Ge())&&(o.placeholderTemplate=s.first),We(s=Ge())&&(o.typeToSearchTemplate=s.first),We(s=Ge())&&(o.loadingTextTemplate=s.first),We(s=Ge())&&(o.tagTemplate=s.first),We(s=Ge())&&(o.loadingSpinnerTemplate=s.first),We(s=Ge())&&(o.ngOptions=s)}},viewQuery:function(i,o){if(i&1&&(kt(L3,5),kt(KD,7),kt(JD,5)),i&2){let r;We(r=Ge())&&(o.dropdownPanel=r.first),We(r=Ge())&&(o.searchInput=r.first),We(r=Ge())&&(o.clearButton=r.first)}},hostVars:20,hostBindings:function(i,o){i&1&&k("keydown",function(s){return o.handleKeyDown(s)}),i&2&&se("ng-select-typeahead",o.typeahead)("ng-select-multiple",o.multiple)("ng-select-taggable",o.addTag)("ng-select-searchable",o.searchable)("ng-select-clearable",o.clearable)("ng-select-opened",o.isOpen)("ng-select",o.useDefaultClass)("ng-select-filtered",o.filtered)("ng-select-single",o.single)("ng-select-disabled",o.disabled)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",L],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",L],closeOnSelect:[2,"closeOnSelect","closeOnSelect",L],hideSelected:[2,"hideSelected","hideSelected",L],selectOnTab:[2,"selectOnTab","selectOnTab",L],openOnEnter:[2,"openOnEnter","openOnEnter",L],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",un],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",un],virtualScroll:[2,"virtualScroll","virtualScroll",L],selectableGroup:[2,"selectableGroup","selectableGroup",L],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",L],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",L],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",un],readonly:[2,"readonly","readonly",L],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",L],minTermLength:[2,"minTermLength","minTermLength",un],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",L],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",L],addTag:"addTag",searchable:[2,"searchable","searchable",L],clearable:[2,"clearable","clearable",L],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!0,features:[me([{provide:ld,useExisting:Lo(()=>t),multi:!0},F3]),Ee,mt,j],decls:13,vars:19,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(i,o){if(i&1){let r=U();v(0,"div",10),k("mousedown",function(l){return O(r),S(o.handleMousedown(l))}),v(1,"div",11),E(2,rk,3,1)(3,ck,2,0)(4,uk,1,5,null,12),v(5,"div",13)(6,"input",14,0),k("blur",function(l){return O(r),S(o.onInputBlur(l))})("change",function(l){return O(r),S(l.stopPropagation())})("compositionend",function(){O(r);let l=yt(7);return S(o.onCompositionEnd(l.value))})("compositionstart",function(){return O(r),S(o.onCompositionStart())})("focus",function(l){return O(r),S(o.onInputFocus(l))})("input",function(){O(r);let l=yt(7);return S(o.filter(l.value))}),_()()(),E(8,gk,3,1)(9,hk,4,1,"span",15),v(10,"span",16),F(11,"span",17),_()(),E(12,Ik,8,17,"ng-dropdown-panel",18)}i&2&&(se("ng-appearance-outline",o.appearance==="outline")("ng-has-value",o.hasValue),g(2),z(o.selectedItems.length===0&&!o.searchTerm||o.fixedPlaceholder===!0?2:-1),g(),z((!o.multiLabelTemplate||!o.multiple)&&o.selectedItems.length>0?3:-1),g(),z(o.multiple&&o.multiLabelTemplate&&o.selectedValues.length>0?4:-1),g(2),C("disabled",o.disabled)("readOnly",!o.searchable||o.itemsList.maxItemsSelected)("value",o.searchTerm?o.searchTerm:""),de("aria-activedescendant",o.isOpen?o.itemsList==null||o.itemsList.markedItem==null?null:o.itemsList.markedItem.htmlId:null)("aria-controls",o.isOpen?o.dropdownId:null)("aria-expanded",o.isOpen)("aria-label",o.ariaLabel)("id",o.labelForId)("tabindex",o.tabIndex),g(2),z(o.loading?8:-1),g(),z(o.showClear()?9:-1),g(3),z(o.isOpen?12:-1))},dependencies:[Di,Fk,L3,be],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
12
|
+
`],encapsulation:2,changeDetection:0})}}return t})(),Wr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({providers:[{provide:j3,useValue:N3}]})}}return t})();var Qi=class{},H3=(()=>{class t extends Qi{getTranslation(e){return Xe({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),Ho=class{},R3=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();function md(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,o,r,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(r=0;r<o;r++)if(!md(t[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(r in t){if(!md(t[r],n[r]))return!1;s[r]=!0}for(r in n)if(!(r in s)&&typeof n[r]<"u")return!1;return!0}return!1}function Xi(t){return typeof t<"u"&&t!==null}function ka(t){return pd(t)&&!R1(t)}function pd(t){return typeof t=="object"}function R1(t){return Array.isArray(t)}function B1(t){return typeof t=="string"}function Jk(t){return typeof t=="function"}function T1(t,n){let e=Object.assign({},t);return pd(t)?(pd(t)&&pd(n)&&Object.keys(n).forEach(i=>{ka(n[i])?i in t?e[i]=T1(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):T1({},n)}function V1(t,n){let e=n.split(".");n="";do n+=e.shift(),Xi(t)&&Xi(t[n])&&(ka(t[n])||R1(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function eO(t,n,e){let i=n.split("."),o=t;for(let r=0;r<i.length;r++){let s=i[r];r===i.length-1?o[s]=e:((!o[s]||!ka(o[s]))&&(o[s]={}),o=o[s])}}var Gr=class{},B3=(()=>{class t extends Gr{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(B1(e))return this.interpolateString(e,i);if(Jk(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,r)=>{let s=V1(i,r);return Xi(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),Yr=class{},z3=(()=>{class t extends Yr{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})();static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})(),gd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new I;onLangChange=new I;onDefaultLangChange=new I},F1=new ie("ISOALTE_TRANSLATE_SERVICE"),N1=new ie("USE_DEFAULT_LANG"),j1=new ie("DEFAULT_LANGUAGE"),H1=new ie("USE_EXTEND"),Da=t=>Yt(t)?t:Xe(t),Z=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new I;_onLangChange=new I;_onDefaultLangChange=new I;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,r,s,l=!0,d=!1,p=!1,f){this.store=e,this.currentLoader=i,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=d,this.extend=p,f&&this.setDefaultLang(f)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Lt(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return Xe(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return Yt(i)?(i.pipe(Lt(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),Xe(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Vl(1),Lt(1));return this.loadingTranslations=i.pipe(ke(o=>this.compiler.compileTranslations(o,e)),Vl(1),Lt(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?ue(ue({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){let r=this.compiler.compileTranslations(i,e);(o||this.extend)&&this.translations[e]?this.translations[e]=T1(this.translations[e],r):this.translations[e]=r,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,o){let r;if(e&&(r=this.runInterpolation(V1(e,i),o)),r===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.runInterpolation(V1(this.translations[this.defaultLang],i),o)),r===void 0){let s={key:i,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return r!==void 0?r:i}runInterpolation(e,i){if(R1(e))return e.map(o=>this.runInterpolation(o,i));if(ka(e)){let o={};for(let r in e)o[r]=this.runInterpolation(e[r],i);return o}else return this.parser.interpolate(e,i)}getParsedResult(e,i,o){if(i instanceof Array){let r={},s=!1;for(let d of i)r[d]=this.getParsedResultForKey(e,d,o),s=s||Yt(r[d]);if(!s)return r;let l=i.map(d=>Da(r[d]));return Ts(l).pipe(ke(d=>{let p={};return d.forEach((f,w)=>{p[i[w]]=f}),p}))}return this.getParsedResultForKey(e,i,o)}get(e,i){if(!Xi(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(an(o=>Da(this.getParsedResult(o,e,i)))):Da(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!Xi(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return _n(Pl(()=>this.get(e,i)),this.onTranslationChange.pipe(ln(o=>{let r=this.getParsedResult(o.translations,e,i);return Da(r)})))}stream(e,i){if(!Xi(e)||!e.length)throw new Error('Parameter "key" required');return _n(Pl(()=>this.get(e,i)),this.onLangChange.pipe(ln(o=>{let r=this.getParsedResult(o.translations,e,i);return Da(r)})))}instant(e,i){if(!Xi(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let o=this.getParsedResult(this.translations[this.currentLang],e,i);return Yt(o)?Array.isArray(e)?e.reduce((r,s)=>(r[s]=s,r),{}):e:o}set(e,i,o=this.currentLang){eO(this.translations[o],e,B1(i)?this.compiler.compile(i,o):this.compiler.compileTranslations(i,o)),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.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||t)(q(gd),q(Qi),q(Yr),q(Gr),q(Ho),q(N1),q(F1),q(H1),q(j1))};static \u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Me=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,i);Yt(s)?s.subscribe(r):r(s)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(md(e,this.lastKey)&&md(i,this.lastParams))return this.value;let o;if(Xi(i[0])&&i.length)if(B1(i[0])&&i[0].length){let r=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{o=JSON.parse(r)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ka(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),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||t)(M(Z,16),M(_t,16))};static \u0275pipe=vi({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=te({token:t,factory:t.\u0275fac})}return t})();var le=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Qi,useClass:H3},e.compiler||{provide:Yr,useClass:z3},e.parser||{provide:Gr,useClass:B3},e.missingTranslationHandler||{provide:Ho,useClass:R3},gd,{provide:F1,useValue:e.isolate},{provide:N1,useValue:e.useDefaultLang},{provide:H1,useValue:e.extend},{provide:j1,useValue:e.defaultLanguage},Z]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Qi,useClass:H3},e.compiler||{provide:Yr,useClass:z3},e.parser||{provide:Gr,useClass:B3},e.missingTranslationHandler||{provide:Ho,useClass:R3},{provide:F1,useValue:e.isolate},{provide:N1,useValue:e.useDefaultLang},{provide:H1,useValue:e.extend},{provide:j1,useValue:e.defaultLanguage},Z]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=at({type:t});static \u0275inj=st({})}return t})();var ve=(()=>{class t{constructor(e){this.translateService=e,this._selectedLanguage=pe("en"),this._localizedStrings=pe({})}get selectedLanguage(){return this._selectedLanguage()}set selectedLanguage(e){this._selectedLanguage.set(e),this.translateService.use(e);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings())}catch(i){console.error(i)}}get localizedStrings(){return this._localizedStrings()}set localizedStrings(e){this._localizedStrings.set(e),this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,e)}catch(i){console.error(i)}}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[me([Z]),j],decls:2,vars:0,template:function(i,o){i&1&&(v(0,"p"),T(1," localized widget works! "),_())},dependencies:[Q,le],encapsulation:3})}}return t})();function tO(t,n){t&1&&(v(0,"div",3),T(1),_()),t&2&&(g(),X(" ",n," "))}function nO(t,n){if(t&1&&(v(0,"div",5),T(1),_()),t&2){let e=n.$implicit;g(),X(" ",e," ")}}function iO(t,n){if(t&1&&(v(0,"div",4),Mt(1,nO,2,1,"div",5,en),_()),t&2){let e=b();g(),Dt(e.spinnerTexts())}}var hd=(()=>{class t{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=pe(void 0),this.spinnerTexts=pe(void 0),this.isSpinnerTextsArray=pn(()=>{let e=this.spinnerTexts();return!!(e&&typeof e=="object"&&Array.isArray(e)&&e.length)})}set spinnerTextValue(e){this.spinnerText.set(e)}set spinnerTextsValue(e){this.spinnerTexts.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[2,"spinnerSpinActive","spinnerSpinActive",L],spinnerHoverEnabled:[2,"spinnerHoverEnabled","spinnerHoverEnabled",L],spinnerDisabled:[2,"spinnerDisabled","spinnerDisabled",L],spinnerTextValue:[0,"spinnerText","spinnerTextValue"],spinnerTextsValue:[0,"spinnerTexts","spinnerTextsValue"]},standalone:!0,features:[Ee,j],decls:5,vars:8,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["data-test","spinner-text",1,"spinner-text"],["data-test","spinner-texts",1,"spinner-texts"],[1,"spinner-text"]],template:function(i,o){if(i&1&&(v(0,"div",0)(1,"div",1),F(2,"div",2),E(3,tO,2,1,"div",3)(4,iO,3,0,"div",4),_()()),i&2){let r;g(2),se("spinner-spin-active",o.spinnerSpinActive)("spinner-disabled",o.spinnerDisabled)("hover-enabled",o.spinnerHoverEnabled&&!o.spinnerDisabled),g(),z((r=o.spinnerText())?3:-1,r),g(),z(o.isSpinnerTextsArray()?4:-1)}},styles:['.loading-spinner[_ngcontent-%COMP%]{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.4rem);font-weight:var(--font-weight, 400);color:var(--loading-spinner-text-color-enabled);position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-background-color-enabled);display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./assets/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./assets/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./assets/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-texts[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']})}}return t})();var oO=["*"];function rO(t,n){t&1&&(v(0,"div",1)(1,"div",4)(2,"span"),T(3),_()()()),t&2&&(g(3),xe(n))}function sO(t,n){if(t&1&&(v(0,"div",3),F(1,"lib-loading-spinner",5),_()),t&2){let e=b();g(),C("spinnerHoverEnabled",!1)("spinnerSpinActive",!0)("spinnerDisabled",!1)("spinnerText",e.loadingSpinnerText)}}var qr=(()=>{class t{constructor(){this.header=pe(""),this.isLoading=pe(!1),this.loadingSpinnerText=""}set headerValue(e){this.header.set(e)}set isLoadingValue(e){this.isLoading.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{headerValue:[0,"header","headerValue"],isLoadingValue:[0,"isLoading","isLoadingValue"],loadingSpinnerText:"loadingSpinnerText"},standalone:!0,features:[j],ngContentSelectors:oO,decls:5,vars:2,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-loading-overlay"],[1,"sidenav-drawer-header-title"],[3,"spinnerHoverEnabled","spinnerSpinActive","spinnerDisabled","spinnerText"]],template:function(i,o){if(i&1&&(lt(),v(0,"div",0),E(1,rO,4,1,"div",1),v(2,"div",2),Ue(3),_(),E(4,sO,2,4,"div",3),_()),i&2){let r;g(),z((r=o.header())?1:-1,r),g(3),z(o.isLoading()?4:-1)}},dependencies:[hd],styles:[`.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;width:100%;max-height:100%;min-height:0}.sidenav-drawer-content-layout>.sidenav-drawer-header{flex:0;width:100%;background-color:var(--sidenav-drawer-content-header-background-color-enabled);transition:background-color .7s;display:inline-block}.sidenav-drawer-content-layout>.sidenav-drawer-header>.sidenav-drawer-header-title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout>.sidenav-drawer-content-offset{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0;margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay{position:absolute;top:4.6rem;left:0;min-width:100%;min-height:100%;z-index:4}.sidenav-drawer-content-layout>.sidenav-drawer-loading-overlay>lib-loading-spinner{--background-color: var(--sidenav-drawer-loading-spinner-background-color-enabled);--loading-spinner-size: 6rem;--loading-spinner-time: 1.8s;--color: var(--sidenav-drawer-loading-spinner-text-color-enabled)}
|
|
13
13
|
`],encapsulation:2})}}return t})();function aO(t,n){if(t&1){let e=U();tn(0),v(1,"button",2),k("click",function(){let o=O(e).$implicit,r=b();return S(r._buttonClicked(o))}),T(2),_(),nn()}if(t&2){let e=n.$implicit,i=n.last,o=n.first;g(),se("last",i)("first",o)("primary-button",e.buttonStyle===void 0||e.buttonStyle==="primary")("secondary-button",e.buttonStyle==="secondary")("text-button",e.buttonType===void 0||e.buttonType==="text")("icon-button",e.buttonType==="icon")("combined-button",e.buttonType==="combined")("disabled",e.disabled===!0),Ie("title",e.tooltip),g(),X(" ",e.title," ")}}var fd=(()=>{class t extends ve{constructor(){super(...arguments),this.items=pe([]),this.buttonClicked=new I}set itemsValue(e){this.items.set(e)}_buttonClicked(e){e.disabled||this.buttonClicked.emit({id:e.id})}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-buttons-row"]],inputs:{itemsValue:[0,"items","itemsValue"]},outputs:{buttonClicked:"buttonClicked"},standalone:!0,features:[re,j],decls:2,vars:1,consts:[[1,"button-row"],[4,"ngFor","ngForOf"],["data-test","button",3,"click","title"]],template:function(i,o){i&1&&(v(0,"div",0),E(1,aO,3,18,"ng-container",1),_()),i&2&&(g(),C("ngForOf",o.items()))},dependencies:[Je],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.button-row{display:flex;margin-left:var(--button-row-margin-left, 0);margin-right:var(--button-row-margin-right, 0);margin-top:var(--button-row-margin-top, .8rem);margin-bottom:var(--button-row-margin-bottom, .8rem);justify-content:flex-end}.button-row>.primary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-color:var(--primary-button-border-color-enabled);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.button-row>.primary-button:focus{border-color:var(--primary-button-border-color-focused);color:var(--primary-button-text-color-focused);background-color:var(--primary-button-background-color-focused);outline:0}.button-row>.primary-button.disabled,.button-row>.primary-button:disabled,.button-row>.primary-button:disabled:active{border-color:var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.button-row>.primary-button:active{border-color:var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}
|
|
14
14
|
`],encapsulation:3})}}return t})();var lO=[[["lib-expansion-panel-header"]],"*"],cO=["lib-expansion-panel-header","*"],Ki=(()=>{class t{constructor(){this.expanded=pe(!0)}set expandedValue(e){this.expanded.set(e)}toggleExpand(){this.expanded.update(e=>!e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-expansion-panel"]],inputs:{expandedValue:[0,"expanded","expandedValue"]},standalone:!0,features:[j],ngContentSelectors:cO,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],["data-test","expansion-panel",1,"expansion-panel-expander-icon",3,"click","keypress","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(i,o){i&1&&(lt(lO),v(0,"div",0)(1,"div",1)(2,"div",2),k("click",function(){return o.toggleExpand()})("keypress",function(){return o.toggleExpand()}),_(),v(3,"div",3),Ue(4),_()(),v(5,"div",4),Ue(6,1),_()()),i&2&&(g(2),C("ngClass",o.expanded()?"open":"closed"),g(3),C("ngClass",o.expanded()?"":"collapsed"))},dependencies:[Q,be],styles:['.expansion-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon[_ngcontent-%COMP%]{width:var(--expansion-panel-header-height, 2.4rem);height:var(--expansion-panel-header-height, 2.4rem);display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--expansion-panel-expander-icon-size, 1.8rem) var(--expansion-panel-expander-icon-size, 1.8rem);min-width:var(--expansion-panel-header-height, 2.4rem);max-width:var(--expansion-panel-header-height, 2.4rem)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.open[_ngcontent-%COMP%]{background-image:url("./assets/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./assets/collapsed_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;line-height:var(--expansion-panel-header-height, 2.4rem);min-width:0}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-left:var(--expansion-panel-content-container-padding-left, 0)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container.collapsed[_ngcontent-%COMP%]{display:none}']})}}return t})();var dO=["*",[["lib-expansion-panel-header-actions"]]],uO=["*","lib-expansion-panel-header-actions"],Ji=(()=>{class t{constructor(){this.centerMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(i,o){i&2&&se("expansion-panel-header-container",o.centerMenuButtonClass)},standalone:!0,features:[j],ngContentSelectors:uO,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(i,o){i&1&&(lt(dO),v(0,"div",0),Ue(1),_(),v(2,"div"),Ue(3,1),_())},styles:[`.expansion-panel-header-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none}.expansion-panel-header-container{display:flex;width:100%}
|
|
15
15
|
`],encapsulation:2})}}return t})();var pO=["*"],Xr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-expansion-panel-header-actions"]],standalone:!0,features:[j],ngContentSelectors:pO,decls:1,vars:0,template:function(i,o){i&1&&(lt(),Ue(0))}})}}return t})();function mO(t,n){t&1&&(v(0,"div",0),T(1),_()),t&2&&(g(),X(" ",n," "))}var Z3=(()=>{class t{constructor(){this.message=pe(void 0)}set messageValue(e){this.message.set(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-text-message"]],inputs:{messageValue:[0,"message","messageValue"]},standalone:!0,features:[j],decls:1,vars:1,consts:[[1,"message"]],template:function(i,o){if(i&1&&E(0,mO,2,1,"div",0),i&2){let r;z((r=o.message())?0:-1,r)}},styles:[".message[_ngcontent-%COMP%]{background-color:transparent;color:var(--text-message-text-color-enabled);padding:.7rem;border:.2rem solid var(--text-message-border-color-enabled);border-radius:.5rem;margin-top:var(--text-message-margin, 2.4rem);margin-bottom:var(--text-message-margin, 2.4rem);font-size:var(--font-size, 1.3rem)}"]})}}return t})();var gO=typeof global=="object"&&global&&global.Object===Object&&global,$3=gO;var hO=typeof self=="object"&&self&&self.Object===Object&&self,fO=$3||hO||Function("return this")(),bd=fO;var bO=bd.Symbol,Qr=bO;var U3=Object.prototype,vO=U3.hasOwnProperty,_O=U3.toString,Oa=Qr?Qr.toStringTag:void 0;function CO(t){var n=vO.call(t,Oa),e=t[Oa];try{t[Oa]=void 0;var i=!0}catch{}var o=_O.call(t);return i&&(n?t[Oa]=e:delete t[Oa]),o}var W3=CO;var wO=Object.prototype,yO=wO.toString;function xO(t){return yO.call(t)}var G3=xO;var MO="[object Null]",DO="[object Undefined]",Y3=Qr?Qr.toStringTag:void 0;function kO(t){return t==null?t===void 0?DO:MO:Y3&&Y3 in Object(t)?W3(t):G3(t)}var q3=kO;function OO(t){return t!=null&&typeof t=="object"}var X3=OO;var SO="[object Symbol]";function AO(t){return typeof t=="symbol"||X3(t)&&q3(t)==SO}var Q3=AO;var EO=/\s/;function IO(t){for(var n=t.length;n--&&EO.test(t.charAt(n)););return n}var K3=IO;var LO=/^\s+/;function PO(t){return t&&t.slice(0,K3(t)+1).replace(LO,"")}var J3=PO;function TO(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}var Ro=TO;var ev=NaN,VO=/^[-+]0x[0-9a-f]+$/i,FO=/^0b[01]+$/i,NO=/^0o[0-7]+$/i,jO=parseInt;function HO(t){if(typeof t=="number")return t;if(Q3(t))return ev;if(Ro(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=Ro(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=J3(t);var e=FO.test(t);return e||NO.test(t)?jO(t.slice(2),e?2:8):VO.test(t)?ev:+t}var z1=HO;var RO=function(){return bd.Date.now()},vd=RO;var BO="Expected a function",zO=Math.max,ZO=Math.min;function $O(t,n,e){var i,o,r,s,l,d,p=0,f=!1,w=!1,D=!0;if(typeof t!="function")throw new TypeError(BO);n=z1(n)||0,Ro(e)&&(f=!!e.leading,w="maxWait"in e,r=w?zO(z1(e.maxWait)||0,n):r,D="trailing"in e?!!e.trailing:D);function x($){var Le=i,De=o;return i=o=void 0,p=$,s=t.apply(De,Le),s}function A($){return p=$,l=setTimeout(H,n),f?x($):s}function V($){var Le=$-d,De=$-p,hn=n-Le;return w?ZO(hn,r-De):hn}function R($){var Le=$-d,De=$-p;return d===void 0||Le>=n||Le<0||w&&De>=r}function H(){var $=vd();if(R($))return K($);l=setTimeout(H,V($))}function K($){return l=void 0,D&&i?x($):(i=o=void 0,s)}function ge(){l!==void 0&&clearTimeout(l),p=0,i=d=o=l=void 0}function ze(){return l===void 0?s:K(vd())}function Te(){var $=vd(),Le=R($);if(i=arguments,o=this,d=$,Le){if(l===void 0)return A(d);if(w)return clearTimeout(l),l=setTimeout(H,n),x(d)}return l===void 0&&(l=setTimeout(H,n)),s}return Te.cancel=ge,Te.flush=ze,Te}var Bo=$O;var UO="Expected a function";function WO(t,n,e){var i=!0,o=!0;if(typeof t!="function")throw new TypeError(UO);return Ro(e)&&(i="leading"in e?!!e.leading:i,o="trailing"in e?!!e.trailing:o),Bo(t,n,{leading:i,maxWait:n,trailing:o})}var Z1=WO;var Jr=function(){return Jr=Object.assign||function(n){for(var e,i=1,o=arguments.length;i<o;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},Jr.apply(this,arguments)};function iv(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function ov(t){return!t||!t.ownerDocument?document:t.ownerDocument}var rv=function(t){var n={},e=Array.prototype.reduce.call(t,function(i,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(l,d){return d.toUpperCase()});switch(o.value){case"true":i[s]=!0;break;case"false":i[s]=!1;break;case void 0:i[s]=!0;break;default:i[s]=o.value}}return i},n);return e};function sv(t,n){var e;t&&(e=t.classList).add.apply(e,n.split(" "))}function av(t,n){t&&n.split(" ").forEach(function(e){t.classList.remove(e)})}function lv(t){return".".concat(t.split(" ").join("."))}var U1=!!(typeof window<"u"&&window.document&&window.document.createElement),GO=Object.freeze({__proto__:null,addClasses:sv,canUseDOM:U1,classNamesToQuery:lv,getElementDocument:ov,getElementWindow:iv,getOptions:rv,removeClasses:av}),Kr=null,tv=null;U1&&window.addEventListener("resize",function(){tv!==window.devicePixelRatio&&(tv=window.devicePixelRatio,Kr=null)});function nv(){if(Kr===null){if(typeof document>"u")return Kr=0,Kr;var t=document.body,n=document.createElement("div");n.classList.add("simplebar-hide-scrollbar"),t.appendChild(n);var e=n.getBoundingClientRect().right;t.removeChild(n),Kr=e}return Kr}var eo=iv,$1=ov,YO=rv,to=sv,no=av,on=lv,Sa=function(){function t(n,e){e===void 0&&(e={});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 o=eo(i.el);i.scrollXTicking||(o.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(o.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,to(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(){no(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(to(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){no(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(o){i.mouseX=o.clientX,i.mouseY=o.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(o){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var r,s;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)&&(r=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(s=i.isWithinBounds(i.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(o,"x"):i.onTrackClick(o,"x")),s&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(o,"y"):i.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,l,d,p,f,w,D,x,A,V;if(!(!i.draggedAxis||!i.contentWrapperEl)){var R,H=i.axis[i.draggedAxis].track,K=(s=(r=H.rect)===null||r===void 0?void 0:r[i.axis[i.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,ge=i.axis[i.draggedAxis].scrollbar,ze=(d=(l=i.contentWrapperEl)===null||l===void 0?void 0:l[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Te=parseInt((f=(p=i.elStyles)===null||p===void 0?void 0:p[i.axis[i.draggedAxis].sizeAttr])!==null&&f!==void 0?f:"0px",10);o.preventDefault(),o.stopPropagation(),i.draggedAxis==="y"?R=o.pageY:R=o.pageX;var $=R-((D=(w=H.rect)===null||w===void 0?void 0:w[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;$=i.draggedAxis==="x"&&i.isRtl?((A=(x=H.rect)===null||x===void 0?void 0:x[i.axis[i.draggedAxis].sizeAttr])!==null&&A!==void 0?A:0)-ge.size-$:$;var Le=$/(K-ge.size),De=Le*(ze-Te);i.draggedAxis==="x"&&i.isRtl&&(De=!((V=t.getRtlHelpers())===null||V===void 0)&&V.isScrollingToNegative?-De:De),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=De}},this.onEndDrag=function(o){i.isDragging=!1;var r=$1(i.el),s=eo(i.el);o.preventDefault(),o.stopPropagation(),no(i.el,i.classNames.dragging),i.onStopScrolling(),r.removeEventListener("mousemove",i.drag,!0),r.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",i.preventClick,!0),r.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=n,this.options=Jr(Jr({},t.defaultOptions),e),this.classNames=Jr(Jr({},t.defaultOptions.classNames),e.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=Z1(this._onMouseMove,64),this.onWindowResize=Bo(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Bo(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Bo(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var n=document.createElement("div");n.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var e=n.firstElementChild,i=e?.firstElementChild;if(!i)return null;document.body.appendChild(e),e.scrollLeft=0;var o=t.getOffset(e),r=t.getOffset(i);e.scrollLeft=-999;var s=t.getOffset(i);return document.body.removeChild(e),t.rtlHelpers={isScrollOriginAtZero:o.left!==r.left,isScrollingToNegative:r.left!==s.left},t.rtlHelpers},t.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:nv()}catch{return nv()}},t.getOffset=function(n){var e=n.getBoundingClientRect(),i=$1(n),o=eo(n);return{top:e.top+(o.pageYOffset||i.documentElement.scrollTop),left:e.left+(o.pageXOffset||i.documentElement.scrollLeft)}},t.prototype.init=function(){U1&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var n,e;this.wrapperEl=this.el.querySelector(on(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(on(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(on(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(on(this.classNames.offset)),this.maskEl=this.el.querySelector(on(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,on(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(on(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(on(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(on(this.classNames.track)).concat(on(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(on(this.classNames.track)).concat(on(this.classNames.vertical))),this.axis.x.scrollbar.el=((n=this.axis.x.track.el)===null||n===void 0?void 0:n.querySelector(on(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((e=this.axis.y.track.el)===null||e===void 0?void 0:e.querySelector(on(this.classNames.scrollbar)))||null,this.options.autoHide||(to(this.axis.x.scrollbar.el,this.classNames.visible),to(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var n=this,e,i=eo(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),(e=this.contentWrapperEl)===null||e===void 0||e.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=i.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&i.requestAnimationFrame(function(){n.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){n.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var n=eo(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var e=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||e>0,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,l=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,p=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=o?"".concat(e||p,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var f=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=e!==0&&p>e,this.axis.y.isOverflowing=d>f,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="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 w=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&p>r-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>f-w,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")}},t.prototype.getScrollbarSize=function(n){var e,i;if(n===void 0&&(n="y"),!this.axis[n].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[n].scrollSizeAttr],r=(i=(e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])!==null&&i!==void 0?i:0,s=r/o,l;return l=Math.max(~~(s*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(l=Math.min(l,this.options.scrollbarMaxSize)),l},t.prototype.positionScrollbar=function(n){var e,i,o;n===void 0&&(n="y");var r=this.axis[n].scrollbar;if(!(!this.axis[n].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[n].scrollSizeAttr],l=((e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[n].sizeAttr],10),p=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];p=n==="x"&&this.isRtl&&(!((i=t.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-p:p,n==="x"&&this.isRtl&&(p=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?p:-p);var f=p/(s-d),w=~~((l-r.size)*f);w=n==="x"&&this.isRtl?-w+(l-r.size):w,r.el.style.transform=n==="x"?"translate3d(".concat(w,"px, 0, 0)"):"translate3d(0, ".concat(w,"px, 0)")}},t.prototype.toggleTrackVisibility=function(n){n===void 0&&(n="y");var e=this.axis[n].track.el,i=this.axis[n].scrollbar.el;!e||!i||!this.contentWrapperEl||(this.axis[n].isOverflowing||this.axis[n].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(n))):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(n))),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none")},t.prototype.showScrollbar=function(n){n===void 0&&(n="y"),this.axis[n].isOverflowing&&!this.axis[n].scrollbar.isVisible&&(to(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(n){n===void 0&&(n="y"),!this.isDragging&&this.axis[n].isOverflowing&&this.axis[n].scrollbar.isVisible&&(no(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!1)},t.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")},t.prototype.onMouseMoveForAxis=function(n){n===void 0&&(n="y");var e=this.axis[n];!e.track.el||!e.scrollbar.el||(e.track.rect=e.track.el.getBoundingClientRect(),e.scrollbar.rect=e.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(e.track.rect)?(this.showScrollbar(n),to(e.track.el,this.classNames.hover),this.isWithinBounds(e.scrollbar.rect)?to(e.scrollbar.el,this.classNames.hover):no(e.scrollbar.el,this.classNames.hover)):(no(e.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)))},t.prototype.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),no(this.axis[n].track.el,this.classNames.hover),no(this.axis[n].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)},t.prototype.onDragStart=function(n,e){var i;e===void 0&&(e="y"),this.isDragging=!0;var o=$1(this.el),r=eo(this.el),s=this.axis[e].scrollbar,l=e==="y"?n.pageY:n.pageX;this.axis[e].dragOffset=l-(((i=s.rect)===null||i===void 0?void 0:i[this.axis[e].offsetAttr])||0),this.draggedAxis=e,to(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(n,e){var i=this,o,r,s,l;e===void 0&&(e="y");var d=this.axis[e];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){n.preventDefault();var p=eo(this.el);this.axis[e].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var f=this.axis[e].scrollbar,w=(r=(o=f.rect)===null||o===void 0?void 0:o[this.axis[e].offsetAttr])!==null&&r!==void 0?r:0,D=parseInt((l=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[e].sizeAttr])!==null&&l!==void 0?l:"0px",10),x=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],A=e==="y"?this.mouseY-w:this.mouseX-w,V=A<0?-1:1,R=V===-1?x-D:x+D,H=40,K=function(){i.contentWrapperEl&&(V===-1?x>R&&(x-=H,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=x,p.requestAnimationFrame(K)):x<R&&(x+=H,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=x,p.requestAnimationFrame(K)))};K()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var n=eo(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),n.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},t.prototype.findChild=function(n,e){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(o){return i.call(o,e)})[0]},t.rtlHelpers=null,t.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},t.getOptions=YO,t.helpers=GO,t}();var G1=function(t,n){return G1=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])},G1(t,n)};function qO(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");G1(t,n);function e(){this.constructor=t}t.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var Y1=Sa.helpers,W1=Y1.getOptions,Mn=Y1.addClasses,XO=Y1.canUseDOM,q1=function(t){qO(n,t);function n(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o=t.apply(this,e)||this;return n.instances.set(e[0],o),o}return n.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){e.getAttribute("data-simplebar")!=="init"&&!n.instances.has(e)&&new n(e,W1(e.attributes))})},n.removeObserver=function(){var e;(e=n.globalObserver)===null||e===void 0||e.disconnect()},n.prototype.initDOM=function(){var e=this,i,o,r;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(e.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"),Mn(this.wrapperEl,this.classNames.wrapper),Mn(this.contentWrapperEl,this.classNames.contentWrapper),Mn(this.offsetEl,this.classNames.offset),Mn(this.maskEl,this.classNames.mask),Mn(this.contentEl,this.classNames.contentEl),Mn(this.placeholderEl,this.classNames.placeholder),Mn(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Mn(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()),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("role","region"),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var s=document.createElement("div"),l=document.createElement("div");Mn(s,this.classNames.track),Mn(l,this.classNames.scrollbar),s.appendChild(l),this.axis.x.track.el=s.cloneNode(!0),Mn(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Mn(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}Sa.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},n.prototype.unMount=function(){Sa.prototype.unMount.call(this),n.instances.delete(this.el)},n.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(n.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},n.handleMutations=function(e){e.forEach(function(i){i.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!n.instances.has(o)&&document.documentElement.contains(o)&&new n(o,W1(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!n.instances.has(r)&&document.documentElement.contains(r)&&new n(r,W1(r.attributes))}))}),i.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=n.instances.get(o))===null||r===void 0||r.unMount()):Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(s){var l;!document.documentElement.contains(s)&&((l=n.instances.get(s))===null||l===void 0||l.unMount())}))})})},n.instances=new WeakMap,n}(Sa);XO&&q1.initHtmlApi();var QO=["*"],Dn=(()=>{class t{constructor(e){this.elementRef=e,this._scrollableContainerClassName=".scrollable-container",this._element=this.elementRef.nativeElement}_initializationSimpleScrollBar(){let e=this._element?.querySelector(this._scrollableContainerClassName);e&&(this._simpleBar=new q1(e))}ngAfterViewInit(){this._initializationSimpleScrollBar()}_recalculateScrollbar(){!this._element||!this._element?.querySelector(this._scrollableContainerClassName)||this._simpleBar&&this._simpleBar.recalculate()}ngAfterViewChecked(){this._recalculateScrollbar()}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-scrollable-container"]],standalone:!0,features:[j],ngContentSelectors:QO,decls:2,vars:0,consts:[[1,"scrollable-container"]],template:function(i,o){i&1&&(lt(),v(0,"div",0),Ue(1),_())},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:before,.simplebar-content:after{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)}
|
|
16
|
-
`],encapsulation:2})}}return t})();var _d=(()=>{class t{set activeStep(e){this._activeStep=e,this.activeStepChange$.next(this._activeStep)}get activeStep(){return this._activeStep}constructor(){this._activeStep=0,this.activeStepChange$=new Pe}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dv=t=>({visible:t});function KO(t,n){if(t&1){let e=U();v(0,"div",12)(1,"div",13),k("click",function(){let o=O(e).$implicit,r=b(3);return S(r.clickedResult.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(3);return S(r.clickedResult.emit(o))})("dblclick",function(){let o=O(e).$implicit,r=b(3);return S(r.doubleClickedResult.emit(o))})("mouseenter",function(){let o=O(e).$implicit,r=b(3);return S(r.mouseEnteredResult.emit(o))})("mouseleave",function(){let o=O(e).$implicit,r=b(3);return S(r.mouseLeftResult.emit(o))}),T(2),_()()}if(t&2){let e=n.$implicit,i=b(3);g(),se("selected-node",e.isSelected),C("ngClass",
|
|
16
|
+
`],encapsulation:2})}}return t})();var _d=(()=>{class t{set activeStep(e){this._activeStep=e,this.activeStepChange$.next(this._activeStep)}get activeStep(){return this._activeStep}constructor(){this._activeStep=0,this.activeStepChange$=new Pe}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dv=t=>({visible:t});function KO(t,n){if(t&1){let e=U();v(0,"div",12)(1,"div",13),k("click",function(){let o=O(e).$implicit,r=b(3);return S(r.clickedResult.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(3);return S(r.clickedResult.emit(o))})("dblclick",function(){let o=O(e).$implicit,r=b(3);return S(r.doubleClickedResult.emit(o))})("mouseenter",function(){let o=O(e).$implicit,r=b(3);return S(r.mouseEnteredResult.emit(o))})("mouseleave",function(){let o=O(e).$implicit,r=b(3);return S(r.mouseLeftResult.emit(o))}),T(2),_()()}if(t&2){let e=n.$implicit,i=b(3);g(),se("selected-node",e.isSelected),C("ngClass",Qe(6,dv,e.isVisible))("title",i.getTitle(e)),de("data-test","result"+e.id),g(),X(" ",e.name," ")}}function JO(t,n){if(t&1){let e=U();v(0,"div")(1,"lib-expansion-panel",6)(2,"lib-expansion-panel-header")(3,"span",10),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.clickedResultList.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r.clickedResultList.emit(o))})("dblclick",function(){let o=O(e).$implicit,r=b(2);return S(r.doubleClickedResultList.emit(o))}),T(4),_(),F(5,"lib-expansion-panel-header-actions"),_(),E(6,KO,3,8,"div",11),_()()}if(t&2){let e=n.$implicit,i=b(2);g(),C("expanded",i.expandedResultTrees),g(2),gt("color",e.colorHexCode),C("ngClass",Qe(8,dv,e.isVisible))("title",e.name+" ("+e.results.length+")"),g(),Fo(" ",e.name," (",e.results.length,") "),g(2),C("ngForOf",e.results)}}function eS(t,n){if(t&1){let e=U();v(0,"lib-bimplus-scrollable-container")(1,"div",5)(2,"lib-expansion-panel",6)(3,"lib-expansion-panel-header",7),k("click",function(){O(e);let o=b();return S(o.clickedResultsRoot.emit(o.results))})("keypress",function(){O(e);let o=b();return S(o.clickedResultsRoot.emit(o.results))})("dblclick",function(){O(e);let o=b();return S(o.doubleClickedResultsRoot.emit(o.results))}),v(4,"span",8),T(5),_(),F(6,"lib-expansion-panel-header-actions"),_(),E(7,JO,7,10,"div",9),_()()()}if(t&2){let e=b();g(2),C("expanded",e.expandedTreeRoot),g(),C("title",e.resultTreeRootTitle?e.resultTreeRootTitle:e.results.name+" ("+e.totalResults()+")"),g(2),Fo(" ",e.results.name," (",e.totalResults(),") "),g(2),C("ngForOf",e.results==null?null:e.results.resultList)}}function tS(t,n){if(t&1&&F(0,"lib-bimplus-text-message",3),t&2){let e=b(2);C("message",e.errorMessage)}}function nS(t,n){if(t&1&&E(0,tS,1,1,"lib-bimplus-text-message",14),t&2){let e=b();C("ngIf",e.errorMessage)}}var uv=(()=>{class t extends ve{constructor(e,i){super(e),this.connectionDesignerService=i,this.buttonRowItems=[],this.errorMessage="",this.doneClicked=new I,this.resultTreeRootTitle="",this.resultTreeRootName="",this.expandedTreeRoot=!1,this.expandedResultTrees=!1,this.results=null,this.toggleVisibilityResultsRoot=new I,this.toggleVisibilityResultList=new I,this.toggleVisibilityResult=new I,this.clickedResultsRoot=new I,this.clickedResultList=new I,this.clickedResult=new I,this.doubleClickedResultsRoot=new I,this.doubleClickedResultList=new I,this.doubleClickedResult=new I,this.mouseEnteredResult=new I,this.mouseLeftResult=new I}ngOnInit(){this.buttonRowItems=[{id:"done",title:this.translateService.instant("_Done"),tooltip:this.translateService.instant("_Done"),disabled:!1,buttonStyle:"primary"}]}ngOnChanges(e){e.results?.currentValue===null&&(this.connectionDesignerService.activeStep=0)}buttonClicked(e){e.id==="done"&&(this.connectionDesignerService.activeStep=0,this.doneClicked.emit())}totalResults(){let e=0;if(!this.results)return e;for(let i of this.results.resultList)e+=i.results.length;return e}statusMessage(e){let i=`
|
|
17
17
|
`;return i+=e.isValid?"PASSED : ":"FAILED : ",i+="Unity Ratio "+e.unityRatio,i}infoMessage(e){if(!e.message)return"";let i=`
|
|
18
18
|
`;return i+="Message: ",i+=e.message,i}getTitle(e){return`${e.name}${this.statusMessage(e)}${this.infoMessage(e)}`}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(_d))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-connection-designer-results"]],inputs:{errorMessage:"errorMessage",resultTreeRootTitle:"resultTreeRootTitle",resultTreeRootName:"resultTreeRootName",expandedTreeRoot:"expandedTreeRoot",expandedResultTrees:"expandedResultTrees",results:"results"},outputs:{doneClicked:"doneClicked",toggleVisibilityResultsRoot:"toggleVisibilityResultsRoot",toggleVisibilityResultList:"toggleVisibilityResultList",toggleVisibilityResult:"toggleVisibilityResult",clickedResultsRoot:"clickedResultsRoot",clickedResultList:"clickedResultList",clickedResult:"clickedResult",doubleClickedResultsRoot:"doubleClickedResultsRoot",doubleClickedResultList:"doubleClickedResultList",doubleClickedResult:"doubleClickedResult",mouseEnteredResult:"mouseEnteredResult",mouseLeftResult:"mouseLeftResult"},standalone:!0,features:[me([Z]),re,mt,j],decls:10,vars:8,consts:[[1,"connection-designer-content-result"],[1,"title"],[1,"description"],[1,"error-message",3,"message"],[3,"buttonClicked","items"],[1,"scrollable-content-container"],[1,"project-navigator-model-panel",3,"expanded"],[3,"click","keypress","dblclick","title"],[1,"project-navigator-root-node"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"click","keypress","dblclick","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","keypress","dblclick","mouseenter","mouseleave","ngClass","title"],["class","error-message",3,"message",4,"ngIf"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"div",1),T(2),W(3,"translate"),_(),v(4,"div",2),T(5),W(6,"translate"),_(),E(7,eS,8,5,"lib-bimplus-scrollable-container")(8,nS,1,1,"lib-bimplus-text-message",3),v(9,"lib-bimplus-buttons-row",4),k("buttonClicked",function(s){return o.buttonClicked(s)}),_()()),i&2&&(g(2),X(" ",G(3,4,"_Connection_Designer_results_title")," "),g(3),X(" ",G(6,6,"_Connection_Designer_results_description")," "),g(2),z(o.results!==null?7:8),g(2),C("items",o.buttonRowItems))},dependencies:[le,Me,Q,be,Je,Ot,fd,Ki,Ji,Xr,Z3,Dn],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;padding:.2rem 1rem .4rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;background-color:transparent;color:var(--host-text-color-enabled);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}.connection-designer-content-result{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.connection-designer-content-result>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end;flex-grow:0;flex-shrink:0}.connection-designer-content-result>.title{padding-bottom:1rem;font-size:var(--title-font-size, 1.4rem);font-weight:var(--title-font-weight, 700);font-family:var(--title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);flex-grow:0;flex-shrink:0}.connection-designer-content-result>.description{padding-bottom:1rem;flex-grow:0;flex-shrink:0}.connection-designer-content-result lib-bimplus-scrollable-container{--expansion-panel-content-container-padding-left: var(--tree-node-indent, 1.6rem);display:flex;flex-direction:column;max-height:100%;min-height:0}lib-expansion-panel{--expansion-panel-content-container-padding-left: var(--tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions{display:flex;flex-direction:row}lib-expansion-panel-header{max-width:100%;flex:1}.project-navigator-action-buttons{width:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--action-icon-size, 1.8rem) var(--action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node{line-height:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);padding-left:var(--tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node{text-transform:var(--tree-root-node-text-transform, uppercase);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);font-weight:var(--tree-root-node-font-weight, 700);font-size:var(--tree-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node{font-size:var(--font-size, 1.3rem);font-weight:var(--font-weight, normal);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);max-width:100%}.selected-node{color:var(--connection-designer-results-selected-note-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)}lib-bimplus-text-message.success-message{--text-color: var(--connection-designer-results-text-message-text-color-success)}lib-bimplus-text-message.error-message{--text-color: var(--connection-designer-results-text-message-text-color-error)}
|
|
19
19
|
`],encapsulation:3})}}return t})();var iS=[[["lib-bimplus-connection-designer-results"]]],oS=["lib-bimplus-connection-designer-results"];function rS(t,n){if(t&1&&(v(0,"ng-option",12),T(1),_()),t&2){let e=n.$implicit;C("value",e),g(),xe(e.name)}}function sS(t,n){if(t&1){let e=U();v(0,"div",7)(1,"ng-select",10),W(2,"translate"),xi("ngModelChange",function(o){O(e);let r=b(2);return Wi(r.activeDesignCode,o)||(r.activeDesignCode=o),S(o)}),E(3,rS,2,2,"ng-option",11),_()()}if(t&2){let e=b(2);g(),yi("ngModel",e.activeDesignCode),C("clearable",!1)("searchable",!1)("placeholder",G(2,5,e.chooseCode)),g(2),C("ngForOf",e.designCodes)}}function aS(t,n){t&1&&(v(0,"div",8),T(1),W(2,"translate"),_()),t&2&&(g(),X(" ",G(2,1,"_No_design_codes_defined")," "))}function lS(t,n){if(t&1){let e=U();v(0,"div",2)(1,"div",3),k("click",function(){O(e);let o=b();return S(o.resetDesignCode())})("keypress",function(){O(e);let o=b();return S(o.resetDesignCode())}),_()(),v(2,"div",4),T(3),W(4,"translate"),_(),v(5,"div",5),T(6),W(7,"translate"),_(),v(8,"div",6),T(9),W(10,"translate"),_(),E(11,sS,4,7,"div",7)(12,aS,3,3,"div",8),v(13,"lib-bimplus-buttons-row",9),k("buttonClicked",function(o){O(e);let r=b();return S(r.buttonClicked(o))}),_()}if(t&2){let e=b();g(3),X(" ",G(4,5,"_Select_the_code")," "),g(3),X(" ",G(7,7,"_Activate_all_objects_to_make_a_connection")," "),g(3),X(" ",G(10,9,"_Activate_all_objects_note")," "),g(2),z(e.designCodes.length>0?11:12),g(2),C("items",e.buttonRowItems)}}function cS(t,n){t&1&&Ue(0)}var pv=(()=>{class t extends ve{constructor(e,i){super(e),this.connectionDesignerService=i,this.buttonRowItems=[],this.config=[],this.chooseCode="_Choose_a_design_code",this.designCodes=[{id:"0",name:"EN 1993-1-8 (Eurocode 3)",code:"EURO05",codeNumber:9},{id:"1",name:"AISC 360-22 (16th Ed.): LRFD",code:"LRFD16",codeNumber:19},{id:"2",name:"AISC 360-22 (16th Ed.): ASD",code:"ASD16",codeNumber:18},{id:"3",name:"CSA S16:19 (CISC 12th Ed.)",code:"CSA12",codeNumber:17}],this.currentDesignCode=null,this.designCodeChanged=new I,this._calculationCanBeStarted=!0,this.startCalculationClicked=new I,i.activeStepChange$.subscribe(o=>{o===0&&this.resetDesignCode()})}ngOnInit(){this.config.push({id:"next",title:this.translateService.instant("_Next"),tooltip:this.translateService.instant("_Next"),disabled:!0,buttonStyle:"primary"}),this.buttonRowItems=this.config}set activeDesignCode(e){this.currentDesignCode=e,this.designCodeChanged.emit(this.currentDesignCode)}get activeDesignCode(){return this.currentDesignCode}_updateButtonState(e,i){let o=this.config.find(r=>r.id===e);o&&(o.disabled=i)}set calculationCanBeStarted(e){this._calculationCanBeStarted=e,this._updateButtonState("next",!e)}get calculationCanBeStarted(){return this._calculationCanBeStarted}buttonClicked(e){e.id==="next"&&(this.connectionDesignerService.activeStep=1,this._calculationCanBeStarted&&this.startCalculationClicked.emit())}resetDesignCode(){this.activeDesignCode=null}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(_d))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-connection-designer"]],inputs:{designCodes:"designCodes",currentDesignCode:"currentDesignCode",calculationCanBeStarted:"calculationCanBeStarted"},outputs:{designCodeChanged:"designCodeChanged",startCalculationClicked:"startCalculationClicked"},standalone:!0,features:[me([Z]),re,j],ngContentSelectors:oS,decls:5,vars:4,consts:[[3,"header"],[1,"connection-designer-content"],[1,"cross-button"],[1,"cross",3,"click","keypress"],[1,"title"],[1,"description"],[1,"note"],[1,"design-codes"],[1,"no-design-codes"],[3,"buttonClicked","items"],[1,"design-codes-dropdown",3,"ngModelChange","ngModel","clearable","searchable","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,o){i&1&&(lt(iS),v(0,"lib-bimplus-sidenav-drawer-content",0),W(1,"translate"),v(2,"div",1),E(3,lS,14,11)(4,cS,1,0),_()()),i&2&&(C("header",G(1,2,"_Connection_designer")),g(3),z(o.connectionDesignerService.activeStep===0?3:4))},dependencies:[Q,Je,$r,Zr,No,Wr,Ur,jo,le,Me,qr,fd],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;padding:.2rem 1rem .4rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;color:var(--host-text-color-enabled);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}lib-bimplus-sidenav-drawer-content{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);margin:1.4rem 2.2rem;display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;max-height:100%;min-height:0}.connection-designer-content>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content>.cross-button{display:none;flex-direction:row;justify-content:right;width:100%;height:1.6rem}.connection-designer-content>.cross-button>.cross{min-width:1.6rem;min-height:100%;background-image:url("./assets/bimplus_WebIcons_Cross.svg");background-repeat:no-repeat;background-position:center center;background-size:cover;cursor:pointer}.connection-designer-content>.title{padding-bottom:1rem;font-size:var(--title-font-size, 1.4rem);font-weight:var(--title-font-weight, 700);font-family:var(--title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif)}.connection-designer-content>.description{padding-bottom:1rem}.connection-designer-content>.note{padding-bottom:1rem}.connection-designer-content>.design-codes{padding-bottom:1rem;margin-bottom:.1rem;height:2.4rem}.connection-designer-content>.design-codes>.design-codes-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.connection-designer-content>.no-design-codes{display:block;width:100%;color:var(--connection-designer-content-no-design-codes-text-color-enabled);text-align:left;padding-bottom:.8rem}
|
|
20
20
|
`],encapsulation:3})}}return t})();function _e(t,n,e=null){if(!n){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let i="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;i&&typeof i[n]=="function"&&i[n]({detail:e});let o=t;n in o&&o[n].emit(e)}var Cd=(()=>{class t extends ve{constructor(e){super(e),this.bimplusContactClicked=new I}_contactClicked(){_e(this,"bimplusContactClicked","contact")}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},standalone:!0,features:[me([Z]),re,j],decls:3,vars:3,consts:[["href","https://www.allplan.com/consulting-sale","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(i,o){i&1&&(v(0,"a",0),W(1,"translate"),k("click",function(){return o._contactClicked()}),F(2,"div",1),_()),i&2&&C("title",G(1,1,"_BimplusContactTitle"))},dependencies:[Q,le,Me],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./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%}
|
|
21
|
-
`],encapsulation:3})}}return t})();var io=(()=>{class t{constructor(){this.oldX=0,this.oldY=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new I,this.dragEnd=new I,this.clicked=new I}onMouseMove(e){if(!this.isDragging&&!this.isMouseDown)return;let i=e.clientX-this.oldX,o=e.clientY-this.oldY;if(!this.isDragging)if(Math.abs(i)>2||Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;_e(this,"dragging",[i,o]),this.oldX=e.clientX,this.oldY=e.clientY}onMouseUp(){(this.isDragging||this.isMouseDown)&&_e(this,"dragEnd",["$event"]),this.isDragging=!1,this.isMouseDown=!1}onMouseDown(e){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=e.clientX,this.oldY=e.clientY}onMouseClick(e){this.wasDragging||_e(this,"clicked",e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=ce({type:t,selectors:[["","libDraggable",""]],hostBindings:function(i,o){i&1&&k("mousemove",function(s){return o.onMouseMove(s)},!1,dn)("mouseup",function(s){return o.onMouseUp(s)},!1,dn)("mousedown",function(s){return o.onMouseDown(s)})("click",function(s){return o.onMouseClick(s)})},outputs:{dragging:"dragging",dragEnd:"dragEnd",clicked:"clicked"},standalone:!0})}}return t})();var oo=(()=>{class t{constructor(){this.rectSize$=new Ye(void 0),this.internalRectSize=new DOMRect(1,1,1,1),this.parentAppRect$=this.rectSize$.asObservable()}setSize(e){this.rectSize$.next(e),this.internalRectSize=e}getParentAppRect(){if(this.internalRectSize.width<=1||this.internalRectSize?.height<=1){let e=document.querySelector(".mainView");return e?e.getBoundingClientRect():this.internalRectSize}return this.internalRectSize}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var mv=(()=>{class t{constructor(){this.storageSubject=new Ye(null)}setItem(e,i){try{localStorage.setItem(e,i),this.storageSubject.next({key:e,value:i})}catch(o){console.error("Error saving to localStorage",o)}}getItem(e){try{return localStorage.getItem(e)}catch(i){return console.error("Error reading from localStorage",i),null}}removeItem(e){try{localStorage.removeItem(e),this.storageSubject.next({key:e,value:null})}catch(i){console.error("Error removing from localStorage",i)}}clear(){try{localStorage.clear(),this.storageSubject.next(null)}catch(e){console.error("Error clearing localStorage",e)}}setObject(e,i){this.setItem(e,JSON.stringify(i))}getObject(e){let i=this.getItem(e);return i?JSON.parse(i):null}watchStorage(){return this.storageSubject.asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var St=(()=>{class t{constructor(e,i){this.resizeObserverService=e,this.localStorageService=i,this.registeredItems$=new Ye([]),this.registeredItems=[],this.CONFIG="layoutManagerConfig"}get RegisteredItems(){return this.registeredItems}registerObject(e,i,o,r,s=100,l=100,d=0,p=0){let f=-1;this.registeredItems.some((D,x)=>{let A=D.id===i;return A&&(f=x),A})&&f>=0&&this.registeredItems.splice(f,1);let w={element:e,id:i,selector:o,rememberPosition:!!r,left:s,top:l,width:d,height:p,isCollapsed:!1};this.registeredItems.push(w),this.registeredItems$.next(this.registeredItems),this._initObject(w)}_initObject(e){this._adjustObjectByConfig(e),this._adjustObjectByWindowSize(e)}_getObjectConfig(e){if(!e)return null;let i=this.localStorageService.getItem(this.CONFIG),o=i?JSON.parse(i):{},r=e.id,s=o[r];return s||(s={id:r,left:e.left,top:e.top,width:e.width,height:e.height}),s}_adjustObjectByConfig(e){let i=this._getObjectConfig(e);if(!i)return;let o=this._getDomParentElement(e),r=this._getDomInternalElement(e,"");!o||!r||(o.style.left=i.left+"px",o.style.top=i.top+"px",i.width&&i.width>0&&(r.style.width=i.width+"px"),i.height&&i.height>0&&(r.style.height=i.height+"px"),this.checkPosition(e.id,"",void 0,0,0,!0))}_adjustObjectByWindowSize(e){this.checkPosition(e.id,"",void 0,0,0,!0)}getItem(e){let i=null;return this.registeredItems.forEach(o=>{o.id===e&&(i=o)}),i}_setObjectConfig(e,i,o,r,s){let l=e?.id;if(!l)return;let d=this.localStorageService.getObject(this.CONFIG);if(d||(d={}),e?.isCollapsed){d[l]||(d[l]=e),d[l].left=i,d[l].top=o,this.localStorageService.setObject(this.CONFIG,d);return}let p={id:l,isCollapsed:!1,left:i,top:o,width:r,height:s};d[l]=p,this.localStorageService.setObject(this.CONFIG,d)}getDomParentElement(e){let i=this.getItem(e);return i?this._getDomParentElement(i):null}_getDomParentElement(e){let i;return e.element?.nativeElement?.shadowRoot?i=e.element?.nativeElement?.shadowRoot.querySelector(e.selector):i=e.element?.nativeElement,i||(console.error("_getDomParentElement: missing element"),null)}_getDomInternalElement(e,i){let o=e.element?.nativeElement?.shadowRoot||e.element?.nativeElement;if(!o)return console.error("_getDomInternalElement: missing element"),null;let r=i&&i?.length>0?i:e.selector,s=r?o.querySelector(r):o;return s||console.error(`_getDomInternalElement: selection of element ${o} failed with selector ${r}`),s}_getElementRect(e,i,o){let r=this._getDomInternalElement(e,i);if(!r)return console.error("_getElementRect: missing selected object"),null;let s=o||this.resizeObserverService.getParentAppRect();(!s||s?.width<=1||s?.height<=1)&&console.log("_getElementRect: missing parent rect");let l=r.getBoundingClientRect();return l||console.error("_getElementRect: missing bounding rect"),l}checkPosition(e,i,o,r,s,l=!1){if(!e)return{deltaX:0,deltaY:0};let d=this.getItem(e);if(!d)return{deltaX:0,deltaY:0};let p=o||this.resizeObserverService.getParentAppRect(),f=this._getElementRect(d,i,p);if(!f)return console.error("checkPosition: missing elementRect"),{deltaX:0,deltaY:0};if(!f?.width||!f?.height)return console.error("checkPosition:element rect empty "),{deltaX:0,deltaY:0};let w=!0;if((p?.width<2||p?.height<2)&&(w=!1),w){let R=!0;this._isInsideRect(f,p)===!1&&!l&&(R=!1);let H=DOMRect.fromRect(f);if(this._translateRectangle(H,r,s),R){if(this._isInsideRect(H,p)===!1){let K=this.getAlignedPosition(H,p);r=K.x-f.x,s=K.y-f.y,this._translateRectangle(H,r,s)}}else if(this._isInsideLeftTopRect(p,H)===!1){let K=this._getAlignedLeftTopPosition(H,p);r=K.x-f.x,s=K.y-f.y,this._translateRectangle(H,r,s)}}let D=this._getDomParentElement(d);if(!D)return;let x=window.getComputedStyle(D),A=parseInt(x.top,10),V=parseInt(x.left,10);return D.style.top=A+s+"px",D.style.left=V+r+"px",{deltaX:r,deltaY:s}}_isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_isInsideLeftTopRect(e,i){if(!e||!i)return!1;let o=i.left<=e.left&&i.top<=e.top,r=e.left<=i.left&&e.top<=i.top;return o||r}getAlignedPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left?o.x=i.x:e.right>i.right&&(o.x=i.right-e.width),e.top<i.top?o.y=i.y:e.bottom>i.bottom&&(o.y=i.bottom-e.height),o}_getAlignedLeftTopPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left&&(o.x=i.x),e.top<i.top&&(o.y=i.y),o}_translateRectangle(e,i,o){if(e)return e.x+=i,e.y+=o,e}updateCollapsed(e,i=""){let o=this.getItem(i);o&&(o.isCollapsed=e,this.registeredItems$.next(this.registeredItems),setTimeout(()=>{this.checkPosition(o.id,"",void 0,0,0,!0)}))}handleDragEnd(e){this.finalizeObjectChanges(e)}finalizeObjectChanges(e){let i=this.getItem(e);if(!i)return;let o=this._getDomParentElement(i);if(!o)return;let r=window.getComputedStyle(o),s=parseInt(r.top,10),l=parseInt(r.left,10),d=this._getElementRect(i,void 0,void 0);this._setObjectConfig(i,l,s,d&&d.width>0?d.width:0,d&&d.height>0?d.height:0)}static{this.\u0275fac=function(i){return new(i||t)(q(oo),q(mv))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var es=(()=>{class t{constructor(e){this.layoutManagerService=e,this.isCollapsed=!1,this.parentId="",this.draggerIcon="ui-icon-drag"}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-dragger"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[j],decls:1,vars:2,consts:[["libDraggable","",1,"floating-panel__dragger","dragger",3,"dragEnd","dragging","ngClass","className"]],template:function(i,o){i&1&&(v(0,"div",0),k("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),_()),i&2&&C("ngClass",o.isCollapsed?"collapsed":"")("className",o.draggerIcon)},dependencies:[Q,be,io],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}.ui-icon-drag[_ngcontent-%COMP%]{background-repeat:no-repeat;background-image:url("./assets/ic_drag.svg")}']})}}return t})();var uS=t=>({active:t});function pS(t,n){if(t&1){let e=U();v(0,"div")(1,"div",3),W(2,"translate"),k("click",function(){let o=O(e).$implicit,r=b();return S(r.onItemClicked(o.buttonId))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.onItemClicked(o.buttonId))}),_()()}if(t&2){let e=n.$implicit;g(),C("ngClass",qe(6,uS,e.active))("className",e.iconClass)("title",G(2,4,e.title)),de("data-test","floating_bar_item_"+e.buttonId)}}var ts=(()=>{class t extends ve{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId="",this.actionClicked=new I,this.items=pe([]),this.layoutManagerService.registeredItems$.subscribe(o=>{let r=o.find(s=>s.id===this.parentId);this.isCollapsed=!!r?.isCollapsed})}set itemsValue(e){this.items.set(e)}findItemById(e){return this.items().find(i=>i.buttonId===e)}onItemClicked(e){let i=this.findItemById(e);!i||i?.disabled||this.actionClicked.emit(e)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-header-content"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId",itemsValue:[0,"items","itemsValue"]},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[me([Z]),re,j],decls:3,vars:2,consts:[["libDraggable","",1,"floating-panel__header-content","dragger",3,"dragEnd","dragging","ngClass"],[1,"menu-content"],[4,"ngFor","ngForOf"],[1,"fp-block-item","fp-block-icon-item",3,"click","keypress","ngClass","className","title"]],template:function(i,o){i&1&&(v(0,"div",0),k("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),v(1,"div",1),E(2,pS,3,8,"div",2),_()()),i&2&&(C("ngClass",o.isCollapsed?"hidden":""),g(2),C("ngForOf",o.items()))},dependencies:[Q,be,Je,io,le,Me],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.menu-content[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center;-webkit-box-align-items:center;-moz-box-align-items:center;-webkit-align-items:center;-ms-align-items:center;align-items:center;padding-left:.5rem;padding-right:.5rem}.menu-content[_ngcontent-%COMP%] .block-icon-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_eye_black.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_eye_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_make_transparent.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_make_transparent_active.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-restore-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_reset.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden_maincolor.svg")}']})}}return t})();var ns=(()=>{class t extends ve{constructor(e,i){super(e),this.layoutManagerService=i,this.icon="",this.isCollapsed=!1,this.parentId="",this.title=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}onLogoClicked(){this.layoutManagerService.updateCollapsed(!this.isCollapsed,this.parentId)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-header-logo"]],hostVars:2,hostBindings:function(i,o){i&2&&se("isCollapsed",o.isCollapsed)},inputs:{icon:"icon",isCollapsed:"isCollapsed",parentId:"parentId",title:"title"},standalone:!0,features:[me([Z]),re,j],decls:2,vars:5,consts:[["libDraggable","",1,"floating-panel__header-logo",3,"clicked","dragEnd","dragging","ngClass","className","title"]],template:function(i,o){i&1&&(v(0,"div",0),W(1,"translate"),k("clicked",function(){return o.onLogoClicked()})("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),_()),i&2&&C("ngClass",o.isCollapsed?"collapsed":"")("className",o.icon)("title",G(1,3,o.title))},dependencies:[Q,be,io,le,Me],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var gv=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.layoutManagerService=i,this.resizeObserverService=o,this.resizeContactPointX=0,this.resizeContactPointY=0,this.resizableElements=[],this.resizeEnabled=!0,this.resizeStarted=!1,this.actResizeStrategy="se",this.resizedEnd=new I,this.resizersList=[{className:"resizer-nw",resizeStrategy:"nw"},{className:"resizer-n",resizeStrategy:"n"},{className:"resizer-ne",resizeStrategy:"ne"},{className:"resizer-e",resizeStrategy:"e"},{className:"resizer-se",resizeStrategy:"se"},{className:"resizer-s",resizeStrategy:"s"},{className:"resizer-sw",resizeStrategy:"sw"},{className:"resizer-w",resizeStrategy:"w"}],this._element=e.nativeElement,this.layoutManagerService=i,this.resizeStart=r=>{if(r.stopPropagation(),this.resizeStarted)return;this.resizeStarted=!0;let s=r.targetTouches?r.targetTouches:[],l=r.type==="touchstart"?s[0]?.clientX:r.clientX,d=r.type==="touchstart"?s[0]?.clientY:r.clientY;this.resizeContactPointX=l,this.resizeContactPointY=d,this.openDocumentListenersResize(),this.setupResizeStrategy(r)},this.resizeInProgress=r=>{r.preventDefault(),r.stopPropagation();let s=r.targetTouches?r.targetTouches:[],l=r.type==="touchmove"?s[0]?.clientX:r.clientX,d=r.type==="touchmove"?s[0]?.clientY:r.clientY;this.resizeFromTo(this._element,this.resizeContactPointX,this.resizeContactPointY,l,d,this.actResizeStrategy)&&(this.resizeContactPointX=l,this.resizeContactPointY=d)},this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this),this.resizeInProgress.bind(this),this.setResizers(this._element)}ngOnInit(){this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this)}ngOnDestroy(){this.closeAllListenersResize()}resizeEnd(){this.resizeStarted&&(this.resizeStarted=!1,this.closeAllListenersResize(),this.openElementListenersResize(),_e(this,"resizedEnd",["$event"]))}_getViewRect(){let e=document.getElementById("#containerView");return e?e.getBoundingClientRect():new DOMRect(0,0,0,0)}isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_resizeRectangle(e,i,o,r){if(e)return["nw","w","sw"].includes(r)&&(e.x+=i,i=i*-1),["nw","n","ne"].includes(r)&&(e.y+=o,o=o*-1),typeof i=="number"&&!["n","s"].includes(r)&&(e.width+=i),typeof o=="number"&&!["w","e"].includes(r)&&(e.height+=o),e}_maxHeightReset(e,i){this.resizeFromTo(e,i.right,i.bottom,i.left,i.top,"se")}resizeFromTo(e,i,o,r,s,l){let d=r-i,p=s-o,f=e??this._element,w=f.getBoundingClientRect(),D=this.resizeObserverService.getParentAppRect(),x=!0;if(l=l||"se",this.isInsideRect(w,D)===!1&&(x=!1),this._resizeRectangle(w,d,p,l),x&&this.isInsideRect(w,D)===!1)return!1;let A=window.getComputedStyle(f),V=parseInt(A.top,10),R=parseInt(A.left,10),H=parseInt(A.width,10),K=parseInt(A.height,10);return["nw","w","sw"].includes(l)&&(R=R+d),["nw","n","ne"].includes(l)&&(V=V+p),["n","s"].includes(l)||(H=w.width),D.height<w.height?this._maxHeightReset(f,w):["w","e"].includes(l)||(K=w.height),f.style.top=V+"px",f.style.left=R+"px",f.style.width=H+"px",f.style.height=K+"px",!0}setResizers(e){let i=()=>{let o=[];this.resizersList.forEach(r=>{let s=e.getElementsByClassName(r.className);if(s?.length){let l=Array.from(s).map(d=>{let p=d;return p.resizeStrategy=r.resizeStrategy,p});o=[...o,...l]}}),this.resizableElements=[...o],this.openElementListenersResize()};setTimeout(()=>{i()})}openElementListenersResize(){this.resizableElements.forEach(e=>{e.addEventListener("mousedown",this.boundResizeStart),e.addEventListener("touchstart",this.boundResizeStart)})}openDocumentListenersResize(){document.addEventListener("mouseup",this.boundResizeEnd),document.addEventListener("touchend",this.boundResizeEnd),document.addEventListener("mousemove",this.boundResizeInProgress),document.addEventListener("touchmove",this.boundResizeInProgress)}closeDocumentListenersResize(){document.removeEventListener("mousemove",this.boundResizeInProgress),document.removeEventListener("touchmove",this.boundResizeInProgress),document.removeEventListener("mouseup",this.boundResizeEnd),document.removeEventListener("touchend",this.boundResizeEnd)}closeElementListenersResize(){this.resizableElements.forEach(e=>{e.removeEventListener("mousedown",this.boundResizeStart),e.removeEventListener("touchstart",this.boundResizeStart),e.removeEventListener("mousemove",this.boundResizeInProgress),e.removeEventListener("touchmove",this.boundResizeInProgress),e.removeEventListener("mouseup",this.boundResizeEnd),e.removeEventListener("touchend",this.boundResizeEnd)})}closeAllListenersResize(){this.closeElementListenersResize(),this.closeDocumentListenersResize()}setupResizeStrategy(e){if(!e)return;let i="se",o=e?.target;if(o){let r=this.resizableElements.find(s=>s===o);r?.resizeStrategy&&(i=r?.resizeStrategy)}this.actResizeStrategy=i}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(St),M(oo))}}static{this.\u0275dir=ce({type:t,selectors:[["","libResizable",""]],outputs:{resizedEnd:"resizedEnd"},standalone:!0})}}return t})();var mS=[[["",8,"floating-bar-header-logo"]],[["",8,"floating-bar-header-content"]],[["",8,"floating-bar-dragger"]],[["",8,"floating-bar-body"]]],gS=[".floating-bar-header-logo",".floating-bar-header-content",".floating-bar-dragger",".floating-bar-body"],is=(()=>{class t extends ve{constructor(e,i,o,r,s){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.resizeObserverService=s,this.noBody=!1,this.isFocused=!1,this.resizeEnabled=!1,this.autoCollapse=!1,this.focusSelector="",this.isVisible=!1,this.id="",this.subscription=null,this.hasViewChecked=!1,this.isCollapsed=!1}get canNotResize(){return!(this.resizeEnabled&&!this.isCollapsed)}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.id);this.isCollapsed=!!i?.isCollapsed})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}ngAfterViewInit(){this.subscription=this.resizeObserverService.parentAppRect$.subscribe(e=>{this.handleParentAppRectSizeChange(e)})}ngAfterViewChecked(){!this.hasViewChecked&&!this.isCollapsed&&(this.hasViewChecked=!0,setTimeout(()=>{this.layoutManagerService.checkPosition(this.id,"",void 0,0,0,!0)}))}handleParentAppRectSizeChange(e){this.layoutManagerService.checkPosition(this.id,".floating-panel.visible",e,0,0,!0)}onResizedEnd(){this.layoutManagerService.finalizeObjectChanges(this.id)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.id)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oe),M(_t),M(oo))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar"]],inputs:{noBody:"noBody",isFocused:"isFocused",resizeEnabled:"resizeEnabled",autoCollapse:"autoCollapse",focusSelector:"focusSelector",isVisible:"isVisible",id:"id"},standalone:!0,features:[re,j],ngContentSelectors:gS,decls:9,vars:16,consts:[["libResizable","",1,"floating-panel",3,"resizedEnd","dragEnd"],[1,"resizer-ne","floating-panel__resizerNE"],[1,"resizer-e","floating-panel__resizerE"],[1,"resizer-se","floating-panel__resizerSE"],[1,"resizer-s","floating-panel__resizerS"]],template:function(i,o){i&1&&(lt(mS),v(0,"div",0),k("resizedEnd",function(){return o.onResizedEnd()})("dragEnd",function(){return o.onDragEnd()}),Ue(1),Ue(2,1),Ue(3,2),Ue(4,3),F(5,"div",1)(6,"div",2)(7,"div",3)(8,"div",4),_()),i&2&&(se("visible",o.isVisible)("no-body",o.noBody)("is-focused",o.isFocused)("collapsed",o.isCollapsed),g(5),se("resize-disabled",o.canNotResize),g(),se("resize-disabled",o.canNotResize),g(),se("resize-disabled",o.canNotResize),g(),se("resize-disabled",o.canNotResize))},dependencies:[Q,gv],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var hS=355,fS=355,hv=(()=>{class t extends ve{set itemsValue(e){this.items.set(e)}constructor(e,i,o){super(e),this.element=o,this.actionClicked=new I,this.noBody=!0,this.isFocused=!0,this.items=pe([]),this.componentId="hide-menu-fp-id",this.icon="ui-icon-hide-menu",this.title="",this.focusSelectorId="hide-menu-id",this.layoutManagerService=i}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,hS,fS)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-hide-objects"]],inputs:{noBody:"noBody",isFocused:"isFocused",itemsValue:[0,"items","itemsValue"]},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[me([Z]),re,j],decls:4,vars:17,consts:[["id","hide-menu-fp-id",1,"hide-menu",3,"id","noBody","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"parentId","icon","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","parentId","items"],[1,"floating-bar-dragger",3,"parentId"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-floating-bar",0),F(1,"lib-bimplus-floating-bar-header-logo",1),v(2,"lib-bimplus-floating-bar-header-content",2),k("actionClicked",function(s){return o.actionClicked.emit(s)}),_(),F(3,"lib-bimplus-floating-bar-dragger",3),_()),i&2&&(C("id",o.componentId)("noBody",o.noBody)("isFocused",o.isFocused)("resizeEnabled",!1)("focusSelector",o.focusSelectorId)("isVisible",!0)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),g(),C("parentId",o.componentId)("icon",o.icon)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),g(),C("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("parentId",o.componentId)("items",o.items()),g(),C("parentId",o.componentId))},dependencies:[Q,is,es,ts,ns,le],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
21
|
+
`],encapsulation:3})}}return t})();var io=(()=>{class t{constructor(){this.oldX=0,this.oldY=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new I,this.dragEnd=new I,this.clicked=new I}onMouseMove(e){if(!this.isDragging&&!this.isMouseDown)return;let i=e.clientX-this.oldX,o=e.clientY-this.oldY;if(!this.isDragging)if(Math.abs(i)>2||Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;_e(this,"dragging",[i,o]),this.oldX=e.clientX,this.oldY=e.clientY}onMouseUp(){(this.isDragging||this.isMouseDown)&&_e(this,"dragEnd",["$event"]),this.isDragging=!1,this.isMouseDown=!1}onMouseDown(e){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=e.clientX,this.oldY=e.clientY}onMouseClick(e){this.wasDragging||_e(this,"clicked",e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=ce({type:t,selectors:[["","libDraggable",""]],hostBindings:function(i,o){i&1&&k("mousemove",function(s){return o.onMouseMove(s)},!1,dn)("mouseup",function(s){return o.onMouseUp(s)},!1,dn)("mousedown",function(s){return o.onMouseDown(s)})("click",function(s){return o.onMouseClick(s)})},outputs:{dragging:"dragging",dragEnd:"dragEnd",clicked:"clicked"},standalone:!0})}}return t})();var oo=(()=>{class t{constructor(){this.rectSize$=new Ye(void 0),this.internalRectSize=new DOMRect(1,1,1,1),this.parentAppRect$=this.rectSize$.asObservable()}setSize(e){this.rectSize$.next(e),this.internalRectSize=e}getParentAppRect(){if(this.internalRectSize.width<=1||this.internalRectSize?.height<=1){let e=document.querySelector(".mainView");return e?e.getBoundingClientRect():this.internalRectSize}return this.internalRectSize}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var mv=(()=>{class t{constructor(){this.storageSubject=new Ye(null)}setItem(e,i){try{localStorage.setItem(e,i),this.storageSubject.next({key:e,value:i})}catch(o){console.error("Error saving to localStorage",o)}}getItem(e){try{return localStorage.getItem(e)}catch(i){return console.error("Error reading from localStorage",i),null}}removeItem(e){try{localStorage.removeItem(e),this.storageSubject.next({key:e,value:null})}catch(i){console.error("Error removing from localStorage",i)}}clear(){try{localStorage.clear(),this.storageSubject.next(null)}catch(e){console.error("Error clearing localStorage",e)}}setObject(e,i){this.setItem(e,JSON.stringify(i))}getObject(e){let i=this.getItem(e);return i?JSON.parse(i):null}watchStorage(){return this.storageSubject.asObservable()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var St=(()=>{class t{constructor(e,i){this.resizeObserverService=e,this.localStorageService=i,this.registeredItems$=new Ye([]),this.registeredItems=[],this.CONFIG="layoutManagerConfig"}get RegisteredItems(){return this.registeredItems}registerObject(e,i,o,r,s=100,l=100,d=0,p=0){let f=-1;this.registeredItems.some((D,x)=>{let A=D.id===i;return A&&(f=x),A})&&f>=0&&this.registeredItems.splice(f,1);let w={element:e,id:i,selector:o,rememberPosition:!!r,left:s,top:l,width:d,height:p,isCollapsed:!1};this.registeredItems.push(w),this.registeredItems$.next(this.registeredItems),this._initObject(w)}_initObject(e){this._adjustObjectByConfig(e),this._adjustObjectByWindowSize(e)}_getObjectConfig(e){if(!e)return null;let i=this.localStorageService.getItem(this.CONFIG),o=i?JSON.parse(i):{},r=e.id,s=o[r];return s||(s={id:r,left:e.left,top:e.top,width:e.width,height:e.height}),s}_adjustObjectByConfig(e){let i=this._getObjectConfig(e);if(!i)return;let o=this._getDomParentElement(e),r=this._getDomInternalElement(e,"");!o||!r||(o.style.left=i.left+"px",o.style.top=i.top+"px",i.width&&i.width>0&&(r.style.width=i.width+"px"),i.height&&i.height>0&&(r.style.height=i.height+"px"),this.checkPosition(e.id,"",void 0,0,0,!0))}_adjustObjectByWindowSize(e){this.checkPosition(e.id,"",void 0,0,0,!0)}getItem(e){let i=null;return this.registeredItems.forEach(o=>{o.id===e&&(i=o)}),i}_setObjectConfig(e,i,o,r,s){let l=e?.id;if(!l)return;let d=this.localStorageService.getObject(this.CONFIG);if(d||(d={}),e?.isCollapsed){d[l]||(d[l]=e),d[l].left=i,d[l].top=o,this.localStorageService.setObject(this.CONFIG,d);return}let p={id:l,isCollapsed:!1,left:i,top:o,width:r,height:s};d[l]=p,this.localStorageService.setObject(this.CONFIG,d)}getDomParentElement(e){let i=this.getItem(e);return i?this._getDomParentElement(i):null}_getDomParentElement(e){let i;return e.element?.nativeElement?.shadowRoot?i=e.element?.nativeElement?.shadowRoot.querySelector(e.selector):i=e.element?.nativeElement,i||(console.error("_getDomParentElement: missing element"),null)}_getDomInternalElement(e,i){let o=e.element?.nativeElement?.shadowRoot||e.element?.nativeElement;if(!o)return console.error("_getDomInternalElement: missing element"),null;let r=i&&i?.length>0?i:e.selector,s=r?o.querySelector(r):o;return s||console.error(`_getDomInternalElement: selection of element ${o} failed with selector ${r}`),s}_getElementRect(e,i,o){let r=this._getDomInternalElement(e,i);if(!r)return console.error("_getElementRect: missing selected object"),null;let s=o||this.resizeObserverService.getParentAppRect();(!s||s?.width<=1||s?.height<=1)&&console.log("_getElementRect: missing parent rect");let l=r.getBoundingClientRect();return l||console.error("_getElementRect: missing bounding rect"),l}checkPosition(e,i,o,r,s,l=!1){if(!e)return{deltaX:0,deltaY:0};let d=this.getItem(e);if(!d)return{deltaX:0,deltaY:0};let p=o||this.resizeObserverService.getParentAppRect(),f=this._getElementRect(d,i,p);if(!f)return console.error("checkPosition: missing elementRect"),{deltaX:0,deltaY:0};if(!f?.width||!f?.height)return console.error("checkPosition:element rect empty "),{deltaX:0,deltaY:0};let w=!0;if((p?.width<2||p?.height<2)&&(w=!1),w){let R=!0;this._isInsideRect(f,p)===!1&&!l&&(R=!1);let H=DOMRect.fromRect(f);if(this._translateRectangle(H,r,s),R){if(this._isInsideRect(H,p)===!1){let K=this.getAlignedPosition(H,p);r=K.x-f.x,s=K.y-f.y,this._translateRectangle(H,r,s)}}else if(this._isInsideLeftTopRect(p,H)===!1){let K=this._getAlignedLeftTopPosition(H,p);r=K.x-f.x,s=K.y-f.y,this._translateRectangle(H,r,s)}}let D=this._getDomParentElement(d);if(!D)return;let x=window.getComputedStyle(D),A=parseInt(x.top,10),V=parseInt(x.left,10);return D.style.top=A+s+"px",D.style.left=V+r+"px",{deltaX:r,deltaY:s}}_isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_isInsideLeftTopRect(e,i){if(!e||!i)return!1;let o=i.left<=e.left&&i.top<=e.top,r=e.left<=i.left&&e.top<=i.top;return o||r}getAlignedPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left?o.x=i.x:e.right>i.right&&(o.x=i.right-e.width),e.top<i.top?o.y=i.y:e.bottom>i.bottom&&(o.y=i.bottom-e.height),o}_getAlignedLeftTopPosition(e,i){if(!e||!i)return{x:0,y:0};let o={x:e.x,y:e.y};return e.left<i.left&&(o.x=i.x),e.top<i.top&&(o.y=i.y),o}_translateRectangle(e,i,o){if(e)return e.x+=i,e.y+=o,e}updateCollapsed(e,i=""){let o=this.getItem(i);o&&(o.isCollapsed=e,this.registeredItems$.next(this.registeredItems),setTimeout(()=>{this.checkPosition(o.id,"",void 0,0,0,!0)}))}handleDragEnd(e){this.finalizeObjectChanges(e)}finalizeObjectChanges(e){let i=this.getItem(e);if(!i)return;let o=this._getDomParentElement(i);if(!o)return;let r=window.getComputedStyle(o),s=parseInt(r.top,10),l=parseInt(r.left,10),d=this._getElementRect(i,void 0,void 0);this._setObjectConfig(i,l,s,d&&d.width>0?d.width:0,d&&d.height>0?d.height:0)}static{this.\u0275fac=function(i){return new(i||t)(q(oo),q(mv))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var es=(()=>{class t{constructor(e){this.layoutManagerService=e,this.isCollapsed=!1,this.parentId="",this.draggerIcon="ui-icon-drag"}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-dragger"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[j],decls:1,vars:2,consts:[["libDraggable","",1,"floating-panel__dragger","dragger",3,"dragEnd","dragging","ngClass","className"]],template:function(i,o){i&1&&(v(0,"div",0),k("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),_()),i&2&&C("ngClass",o.isCollapsed?"collapsed":"")("className",o.draggerIcon)},dependencies:[Q,be,io],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}.ui-icon-drag[_ngcontent-%COMP%]{background-repeat:no-repeat;background-image:url("./assets/ic_drag.svg")}']})}}return t})();var uS=t=>({active:t});function pS(t,n){if(t&1){let e=U();v(0,"div")(1,"div",3),W(2,"translate"),k("click",function(){let o=O(e).$implicit,r=b();return S(r.onItemClicked(o.buttonId))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.onItemClicked(o.buttonId))}),_()()}if(t&2){let e=n.$implicit;g(),C("ngClass",Qe(6,uS,e.active))("className",e.iconClass)("title",G(2,4,e.title)),de("data-test","floating_bar_item_"+e.buttonId)}}var ts=(()=>{class t extends ve{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId="",this.actionClicked=new I,this.items=pe([]),this.layoutManagerService.registeredItems$.subscribe(o=>{let r=o.find(s=>s.id===this.parentId);this.isCollapsed=!!r?.isCollapsed})}set itemsValue(e){this.items.set(e)}findItemById(e){return this.items().find(i=>i.buttonId===e)}onItemClicked(e){let i=this.findItemById(e);!i||i?.disabled||this.actionClicked.emit(e)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-header-content"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId",itemsValue:[0,"items","itemsValue"]},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[me([Z]),re,j],decls:3,vars:2,consts:[["libDraggable","",1,"floating-panel__header-content","dragger",3,"dragEnd","dragging","ngClass"],[1,"menu-content"],[4,"ngFor","ngForOf"],[1,"fp-block-item","fp-block-icon-item",3,"click","keypress","ngClass","className","title"]],template:function(i,o){i&1&&(v(0,"div",0),k("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),v(1,"div",1),E(2,pS,3,8,"div",2),_()()),i&2&&(C("ngClass",o.isCollapsed?"hidden":""),g(2),C("ngForOf",o.items()))},dependencies:[Q,be,Je,io,le,Me],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.menu-content[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center;-webkit-box-align-items:center;-moz-box-align-items:center;-webkit-align-items:center;-ms-align-items:center;align-items:center;padding-left:.5rem;padding-right:.5rem}.menu-content[_ngcontent-%COMP%] .block-icon-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_eye_black.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_eye_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_make_transparent.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object.active[_ngcontent-%COMP%]{background-image:url("./assets/ic_make_transparent_active.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-restore-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/ic_reset.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuNormal_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuClipped_maincolor.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./assets/IsolateMenuHidden_maincolor.svg")}']})}}return t})();var ns=(()=>{class t extends ve{constructor(e,i){super(e),this.layoutManagerService=i,this.icon="",this.isCollapsed=!1,this.parentId="",this.title=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}onLogoClicked(){this.layoutManagerService.updateCollapsed(!this.isCollapsed,this.parentId)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.parentId)}dragBaseElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition(this.parentId,"",void 0,i,o)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-header-logo"]],hostVars:2,hostBindings:function(i,o){i&2&&se("isCollapsed",o.isCollapsed)},inputs:{icon:"icon",isCollapsed:"isCollapsed",parentId:"parentId",title:"title"},standalone:!0,features:[me([Z]),re,j],decls:2,vars:5,consts:[["libDraggable","",1,"floating-panel__header-logo",3,"clicked","dragEnd","dragging","ngClass","className","title"]],template:function(i,o){i&1&&(v(0,"div",0),W(1,"translate"),k("clicked",function(){return o.onLogoClicked()})("dragEnd",function(){return o.onDragEnd()})("dragging",function(s){return o.dragBaseElement(s)}),_()),i&2&&C("ngClass",o.isCollapsed?"collapsed":"")("className",o.icon)("title",G(1,3,o.title))},dependencies:[Q,be,io,le,Me],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var gv=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.layoutManagerService=i,this.resizeObserverService=o,this.resizeContactPointX=0,this.resizeContactPointY=0,this.resizableElements=[],this.resizeEnabled=!0,this.resizeStarted=!1,this.actResizeStrategy="se",this.resizedEnd=new I,this.resizersList=[{className:"resizer-nw",resizeStrategy:"nw"},{className:"resizer-n",resizeStrategy:"n"},{className:"resizer-ne",resizeStrategy:"ne"},{className:"resizer-e",resizeStrategy:"e"},{className:"resizer-se",resizeStrategy:"se"},{className:"resizer-s",resizeStrategy:"s"},{className:"resizer-sw",resizeStrategy:"sw"},{className:"resizer-w",resizeStrategy:"w"}],this._element=e.nativeElement,this.layoutManagerService=i,this.resizeStart=r=>{if(r.stopPropagation(),this.resizeStarted)return;this.resizeStarted=!0;let s=r.targetTouches?r.targetTouches:[],l=r.type==="touchstart"?s[0]?.clientX:r.clientX,d=r.type==="touchstart"?s[0]?.clientY:r.clientY;this.resizeContactPointX=l,this.resizeContactPointY=d,this.openDocumentListenersResize(),this.setupResizeStrategy(r)},this.resizeInProgress=r=>{r.preventDefault(),r.stopPropagation();let s=r.targetTouches?r.targetTouches:[],l=r.type==="touchmove"?s[0]?.clientX:r.clientX,d=r.type==="touchmove"?s[0]?.clientY:r.clientY;this.resizeFromTo(this._element,this.resizeContactPointX,this.resizeContactPointY,l,d,this.actResizeStrategy)&&(this.resizeContactPointX=l,this.resizeContactPointY=d)},this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this),this.resizeInProgress.bind(this),this.setResizers(this._element)}ngOnInit(){this.boundResizeStart=this.resizeStart.bind(this),this.boundResizeInProgress=this.resizeInProgress.bind(this),this.boundResizeEnd=this.resizeEnd.bind(this)}ngOnDestroy(){this.closeAllListenersResize()}resizeEnd(){this.resizeStarted&&(this.resizeStarted=!1,this.closeAllListenersResize(),this.openElementListenersResize(),_e(this,"resizedEnd",["$event"]))}_getViewRect(){let e=document.getElementById("#containerView");return e?e.getBoundingClientRect():new DOMRect(0,0,0,0)}isInsideRect(e,i){return!e||!i?!1:i.left<=e.left&&i.top<=e.top&&i.right>=e.right&&i.bottom>=e.bottom}_resizeRectangle(e,i,o,r){if(e)return["nw","w","sw"].includes(r)&&(e.x+=i,i=i*-1),["nw","n","ne"].includes(r)&&(e.y+=o,o=o*-1),typeof i=="number"&&!["n","s"].includes(r)&&(e.width+=i),typeof o=="number"&&!["w","e"].includes(r)&&(e.height+=o),e}_maxHeightReset(e,i){this.resizeFromTo(e,i.right,i.bottom,i.left,i.top,"se")}resizeFromTo(e,i,o,r,s,l){let d=r-i,p=s-o,f=e??this._element,w=f.getBoundingClientRect(),D=this.resizeObserverService.getParentAppRect(),x=!0;if(l=l||"se",this.isInsideRect(w,D)===!1&&(x=!1),this._resizeRectangle(w,d,p,l),x&&this.isInsideRect(w,D)===!1)return!1;let A=window.getComputedStyle(f),V=parseInt(A.top,10),R=parseInt(A.left,10),H=parseInt(A.width,10),K=parseInt(A.height,10);return["nw","w","sw"].includes(l)&&(R=R+d),["nw","n","ne"].includes(l)&&(V=V+p),["n","s"].includes(l)||(H=w.width),D.height<w.height?this._maxHeightReset(f,w):["w","e"].includes(l)||(K=w.height),f.style.top=V+"px",f.style.left=R+"px",f.style.width=H+"px",f.style.height=K+"px",!0}setResizers(e){let i=()=>{let o=[];this.resizersList.forEach(r=>{let s=e.getElementsByClassName(r.className);if(s?.length){let l=Array.from(s).map(d=>{let p=d;return p.resizeStrategy=r.resizeStrategy,p});o=[...o,...l]}}),this.resizableElements=[...o],this.openElementListenersResize()};setTimeout(()=>{i()})}openElementListenersResize(){this.resizableElements.forEach(e=>{e.addEventListener("mousedown",this.boundResizeStart),e.addEventListener("touchstart",this.boundResizeStart)})}openDocumentListenersResize(){document.addEventListener("mouseup",this.boundResizeEnd),document.addEventListener("touchend",this.boundResizeEnd),document.addEventListener("mousemove",this.boundResizeInProgress),document.addEventListener("touchmove",this.boundResizeInProgress)}closeDocumentListenersResize(){document.removeEventListener("mousemove",this.boundResizeInProgress),document.removeEventListener("touchmove",this.boundResizeInProgress),document.removeEventListener("mouseup",this.boundResizeEnd),document.removeEventListener("touchend",this.boundResizeEnd)}closeElementListenersResize(){this.resizableElements.forEach(e=>{e.removeEventListener("mousedown",this.boundResizeStart),e.removeEventListener("touchstart",this.boundResizeStart),e.removeEventListener("mousemove",this.boundResizeInProgress),e.removeEventListener("touchmove",this.boundResizeInProgress),e.removeEventListener("mouseup",this.boundResizeEnd),e.removeEventListener("touchend",this.boundResizeEnd)})}closeAllListenersResize(){this.closeElementListenersResize(),this.closeDocumentListenersResize()}setupResizeStrategy(e){if(!e)return;let i="se",o=e?.target;if(o){let r=this.resizableElements.find(s=>s===o);r?.resizeStrategy&&(i=r?.resizeStrategy)}this.actResizeStrategy=i}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(St),M(oo))}}static{this.\u0275dir=ce({type:t,selectors:[["","libResizable",""]],outputs:{resizedEnd:"resizedEnd"},standalone:!0})}}return t})();var mS=[[["",8,"floating-bar-header-logo"]],[["",8,"floating-bar-header-content"]],[["",8,"floating-bar-dragger"]],[["",8,"floating-bar-body"]]],gS=[".floating-bar-header-logo",".floating-bar-header-content",".floating-bar-dragger",".floating-bar-body"],is=(()=>{class t extends ve{constructor(e,i,o,r,s){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.resizeObserverService=s,this.noBody=!1,this.isFocused=!1,this.resizeEnabled=!1,this.autoCollapse=!1,this.focusSelector="",this.isVisible=!1,this.id="",this.subscription=null,this.hasViewChecked=!1,this.isCollapsed=!1}get canNotResize(){return!(this.resizeEnabled&&!this.isCollapsed)}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.id);this.isCollapsed=!!i?.isCollapsed})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}ngAfterViewInit(){this.subscription=this.resizeObserverService.parentAppRect$.subscribe(e=>{this.handleParentAppRectSizeChange(e)})}ngAfterViewChecked(){!this.hasViewChecked&&!this.isCollapsed&&(this.hasViewChecked=!0,setTimeout(()=>{this.layoutManagerService.checkPosition(this.id,"",void 0,0,0,!0)}))}handleParentAppRectSizeChange(e){this.layoutManagerService.checkPosition(this.id,".floating-panel.visible",e,0,0,!0)}onResizedEnd(){this.layoutManagerService.finalizeObjectChanges(this.id)}onDragEnd(){this.layoutManagerService.handleDragEnd(this.id)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oe),M(_t),M(oo))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar"]],inputs:{noBody:"noBody",isFocused:"isFocused",resizeEnabled:"resizeEnabled",autoCollapse:"autoCollapse",focusSelector:"focusSelector",isVisible:"isVisible",id:"id"},standalone:!0,features:[re,j],ngContentSelectors:gS,decls:9,vars:16,consts:[["libResizable","",1,"floating-panel",3,"resizedEnd","dragEnd"],[1,"resizer-ne","floating-panel__resizerNE"],[1,"resizer-e","floating-panel__resizerE"],[1,"resizer-se","floating-panel__resizerSE"],[1,"resizer-s","floating-panel__resizerS"]],template:function(i,o){i&1&&(lt(mS),v(0,"div",0),k("resizedEnd",function(){return o.onResizedEnd()})("dragEnd",function(){return o.onDragEnd()}),Ue(1),Ue(2,1),Ue(3,2),Ue(4,3),F(5,"div",1)(6,"div",2)(7,"div",3)(8,"div",4),_()),i&2&&(se("visible",o.isVisible)("no-body",o.noBody)("is-focused",o.isFocused)("collapsed",o.isCollapsed),g(5),se("resize-disabled",o.canNotResize),g(),se("resize-disabled",o.canNotResize),g(),se("resize-disabled",o.canNotResize),g(),se("resize-disabled",o.canNotResize))},dependencies:[Q,gv],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer[_ngcontent-%COMP%]{pointer-events:all}.resizer-nw[_ngcontent-%COMP%]{pointer-events:all;cursor:nw-resize}.resizer-n[_ngcontent-%COMP%]{pointer-events:all;cursor:n-resize}.resizer-ne[_ngcontent-%COMP%]{pointer-events:all;cursor:ne-resize}.resizer-e[_ngcontent-%COMP%]{pointer-events:all;cursor:e-resize}.resizer-se[_ngcontent-%COMP%]{pointer-events:all;cursor:se-resize}.resizer-s[_ngcontent-%COMP%]{pointer-events:all;cursor:s-resize}.resizer-sw[_ngcontent-%COMP%]{pointer-events:all;cursor:sw-resize}.resizer-w[_ngcontent-%COMP%]{pointer-events:all;cursor:w-resize}.resize-disabled[_ngcontent-%COMP%]{cursor:none;pointer-events:none;display:none}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']})}}return t})();var hS=355,fS=355,hv=(()=>{class t extends ve{set itemsValue(e){this.items.set(e)}constructor(e,i,o){super(e),this.element=o,this.actionClicked=new I,this.noBody=!0,this.isFocused=!0,this.items=pe([]),this.componentId="hide-menu-fp-id",this.icon="ui-icon-hide-menu",this.title="",this.focusSelectorId="hide-menu-id",this.layoutManagerService=i}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,hS,fS)}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-hide-objects"]],inputs:{noBody:"noBody",isFocused:"isFocused",itemsValue:[0,"items","itemsValue"]},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[me([Z]),re,j],decls:4,vars:17,consts:[["id","hide-menu-fp-id",1,"hide-menu",3,"id","noBody","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"parentId","icon","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","parentId","items"],[1,"floating-bar-dragger",3,"parentId"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-floating-bar",0),F(1,"lib-bimplus-floating-bar-header-logo",1),v(2,"lib-bimplus-floating-bar-header-content",2),k("actionClicked",function(s){return o.actionClicked.emit(s)}),_(),F(3,"lib-bimplus-floating-bar-dragger",3),_()),i&2&&(C("id",o.componentId)("noBody",o.noBody)("isFocused",o.isFocused)("resizeEnabled",!1)("focusSelector",o.focusSelectorId)("isVisible",!0)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),g(),C("parentId",o.componentId)("icon",o.icon)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),g(),C("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("parentId",o.componentId)("items",o.items()),g(),C("parentId",o.componentId))},dependencies:[Q,is,es,ts,ns,le],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
22
22
|
`],encapsulation:3})}}return t})();var bS=355,vS=320,fv=(()=>{class t extends ve{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.hasViewChecked=!1,this.actionClicked=new I,this.noBody=!0,this.isFocused=!0,this.items=[],this.icon="ui-icon-isolation-menu",this.title="",this.focusSelectorId="isolation-menu-id",this.componentId="isolation-menu-fp-id"}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,bS,vS)}ngAfterViewChecked(){this.hasViewChecked||(this.hasViewChecked=!0,this.cdr.detectChanges(),setTimeout(()=>{this.layoutManagerService.checkPosition(this.componentId,".floating-panel.visible",void 0,0,0,!0)}))}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oe),M(_t))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-isolation-objects"]],inputs:{noBody:"noBody",isFocused:"isFocused",items:"items"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[me([Z]),re,j],decls:4,vars:17,consts:[["id","isolation-menu-fp-id",1,"isolation-menu",3,"id","noBody","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"parentId","icon","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","parentId","items"],[1,"floating-bar-dragger",3,"parentId"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-floating-bar",0),F(1,"lib-bimplus-floating-bar-header-logo",1),v(2,"lib-bimplus-floating-bar-header-content",2),k("actionClicked",function(s){return o.actionClicked.emit(s)}),_(),F(3,"lib-bimplus-floating-bar-dragger",3),_()),i&2&&(C("id",o.componentId)("noBody",o.noBody)("isFocused",o.isFocused)("resizeEnabled",!1)("focusSelector",o.focusSelectorId)("isVisible",!0)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),g(),C("parentId",o.componentId)("icon",o.icon)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings),g(),C("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("parentId",o.componentId)("items",o.items),g(),C("parentId",o.componentId))},dependencies:[Q,is,es,ts,ns,le],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
|
|
23
|
-
`],encapsulation:3})}}return t})();var _S=["*"],bv=(()=>{class t extends ve{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-body"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[re,j],ngContentSelectors:_S,decls:2,vars:1,consts:[["libDraggable","",1,"floating-panel__body",3,"ngClass"]],template:function(i,o){i&1&&(lt(),v(0,"div",0),Ue(1),_()),i&2&&C("ngClass",o.isCollapsed?"hidden":"")},dependencies:[Q,be,le]})}}return t})();var vv=t=>({visible:t}),CS=(t,n,e)=>({opaque:t,transparent:n,semiopaque:e}),wS=(t,n,e)=>({visible:t,invisible:n,semivisible:e}),yS=(t,n)=>({opaque:t,transparent:n}),xS=(t,n)=>({visible:t,invisible:n});function MS(t,n){if(t&1){let e=U();v(0,"div",7)(1,"div",8),W(2,"translate"),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.clickedLayer.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r.clickedLayer.emit(o))}),T(3),W(4,"translate"),_(),v(5,"div",4),W(6,"translate"),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleOpacityOfLayer.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleOpacityOfLayer.emit(o))}),_(),v(7,"div",5),W(8,"translate"),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleVisibilityOfLayer.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleVisibilityOfLayer.emit(o))}),_()()}if(t&2){let e=n.$implicit;g(),C("ngClass",qe(18,vv,e.isVisible))("title",G(2,10,e.name)),de("data-test","floating_bar_layer"+e.id),g(2),X(" ",G(4,12,e.name)," "),g(2),C("ngClass",Nt(20,yS,e.isOpaque,!e.isOpaque))("title",G(6,14,"_Toggle opacity")),de("data-test","toggle_opacity_layer_"+e.id),g(2),C("ngClass",Nt(23,xS,e.isVisible,!e.isVisible))("title",G(8,16,"_Toggle visibility")),de("data-test","toggle_visibility_layer_"+e.id)}}function DS(t,n){if(t&1){let e=U();v(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header")(2,"span",3),k("click",function(){let o=O(e).$implicit,r=b();return S(r.clickedModel.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.clickedModel.emit(o))}),T(3),_(),v(4,"lib-expansion-panel-header-actions")(5,"div",4),W(6,"translate"),k("click",function(){let o=O(e).$implicit,r=b();return S(r.toggleOpacityOfModel.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.toggleOpacityOfModel.emit(o))}),_(),v(7,"div",5),W(8,"translate"),k("click",function(){let o=O(e).$implicit,r=b();return S(r.toggleVisibilityOfModel.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.toggleVisibilityOfModel.emit(o))}),_()()(),E(9,MS,9,26,"div",6),_()}if(t&2){let e=n.$implicit;C("expanded",e.isExpanded),g(2),C("ngClass",qe(15,vv,e.isVisible))("title",e.name+" (Rev: "+e.currentRevision+")"),g(),X(" ",e.name," "),g(2),C("ngClass",jt(17,CS,e.isOpaque,!e.isOpaque,e.isSemiOpaque))("title",G(6,11,"_Toggle opacity")),de("data-test","toggle_opacity_model_"+e.id),g(2),C("ngClass",jt(21,wS,e.isVisible,!e.isVisible,e.isSemiVisible))("title",G(8,13,"_Toggle visibility")),de("data-test","toggle_visibility_model_"+e.id),g(2),C("ngForOf",e.layers)}}var _v=(()=>{class t extends ve{constructor(e){super(e),this.modelTreeRootTitle="_Divisions",this.modelTreeRootName="_Divisions",this.expandedModelTree=!1,this.models=pe([]),this.clickedModel=new I,this.clickedLayer=new I,this.toggleOpacityOfModel=new I,this.toggleOpacityOfLayer=new I,this.toggleVisibilityOfModel=new I,this.toggleVisibilityOfLayer=new I}set modelsValue(e){this.models.set(e)}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-project-models"]],inputs:{modelTreeRootTitle:"modelTreeRootTitle",modelTreeRootName:"modelTreeRootName",expandedModelTree:"expandedModelTree",modelsValue:[0,"models","modelsValue"]},outputs:{clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[re,j],decls:8,vars:5,consts:[[1,"project-navigator-model-panel",3,"expanded"],[3,"title"],[1,"project-navigator-root-node"],[1,"project-navigator-model-node",3,"click","keypress","ngClass","title"],[1,"ui-icon-transparency","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],[1,"ui-icon-visibility","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","keypress","ngClass","title"]],template:function(i,o){i&1&&(v(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header",1)(2,"span",2),T(3),W(4,"translate"),_(),F(5,"lib-expansion-panel-header-actions"),_(),Mt(6,DS,10,25,"lib-expansion-panel",0,en),_()),i&2&&(C("expanded",o.expandedModelTree),g(),C("title",o.modelTreeRootTitle),g(2),xe(G(4,3,o.modelTreeRootName)),g(3),Dt(o.models()))},dependencies:[Q,be,Je,Ki,Ji,Xr,le,Me],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}[_nghost-%COMP%]{background-color:transparent;color:var(--host-text-color-enabled);font-family:var(--project-models-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--project-models-font-size, 1.3rem);font-weight:400}lib-expansion-panel[_ngcontent-%COMP%]{--expansion-panel-content-container-padding-left: var(--project-models-tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row}lib-expansion-panel-header[_ngcontent-%COMP%]{max-width:100%;flex:1}.project-navigator-action-buttons[_ngcontent-%COMP%]{width:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--project-models-action-icon-size, 1.8rem) var(--project-models-action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node[_ngcontent-%COMP%]{line-height:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);padding-left:var(--project-models-tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name[_ngcontent-%COMP%]{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node[_ngcontent-%COMP%]{text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);font-weight:var(--project-models-root-node-font-weight, 700);font-size:var(--project-models-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);max-width:100%}']})}}return t})();var Cv=(()=>{class t{constructor(){this.isPanelToolbarVisible=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-panel-toolbar"]],inputs:{isPanelToolbarVisible:"isPanelToolbarVisible"},standalone:!0,features:[j],decls:1,vars:1,consts:[[1,"panel-toolbar",3,"ngClass"]],template:function(i,o){i&1&&F(0,"div",0),i&2&&C("ngClass",o.isPanelToolbarVisible?"":"hidden")},dependencies:[Q,be],styles:[".panel-toolbar[_ngcontent-%COMP%]{height:3.2rem;display:flex;align-items:flex-end;padding-left:.8rem;flex-shrink:0}.panel-toolbar[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.panel-toolbar[_ngcontent-%COMP%] .tab-icons-container[_ngcontent-%COMP%]{width:95%}.underline-switcher__containerbox[_ngcontent-%COMP%], .underline-switcher__container[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function os(t){t||(Lf(os),t=ne(Ir));let n=new Ae(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(It(n))}function OS(t,n){if(t&1&&(F(0,"span",6),W(1,"translate")),t&2){let e=b();C("innerHtml",G(1,1,e.loadingDataMessage),jm)}}function SS(t,n){if(t&1&&(F(0,"span",6),W(1,"translate")),t&2){let e=b(2);C("innerHtml",G(1,1,e.noModelsMessage),jm)}}function AS(t,n){if(t&1){let e=U();v(0,"lib-bimplus-scrollable-container")(1,"lib-project-models",7),k("clickedModel",function(o){O(e);let r=b(2);return S(r.clickedModel.emit(o))})("clickedLayer",function(o){O(e);let r=b(2);return S(r.clickedLayer.emit(o))})("toggleOpacityOfModel",function(o){O(e);let r=b(2);return S(r.toggleOpacityOfModel.emit(o))})("toggleOpacityOfLayer",function(o){O(e);let r=b(2);return S(r.toggleOpacityOfLayer.emit(o))})("toggleVisibilityOfModel",function(o){O(e);let r=b(2);return S(r.toggleVisibilityOfModel.emit(o))})("toggleVisibilityOfLayer",function(o){O(e);let r=b(2);return S(r.toggleVisibilityOfLayer.emit(o))}),_()()}if(t&2){let e=b(2);g(),C("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings)("models",e.project.models)("modelTreeRootTitle",e.project.name+" - "+e.project.teamSlug)("expandedModelTree",e.expandedModelTree)}}function ES(t,n){if(t&1&&E(0,SS,2,3,"span",6)(1,AS,2,5,"lib-bimplus-scrollable-container"),t&2){let e=b();z(e.project.models.length===0&&e.noModelsMessage?0:1)}}var IS=355,LS=20,yd=(()=>{class t extends ve{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.hasViewChecked=!1,this.noBody=!1,this.isCollapsed=!1,this.noModelsMessage=void 0,this.isLoading=!1,this.loadingDataMessage=void 0,this.icon="ui-icon-project-navigator",this.title="_Project_navigator",this.componentId="project-navigator-fp-id",this.items=[],this.actionClicked=new I,this.isPanelToolbarVisible=!1,this.expandedModelTree=!1,this.project={id:"",name:"",teamSlug:"",models:[]},this.clickedModel=new I,this.clickedLayer=new I,this.toggleOpacityOfModel=new I,this.toggleOpacityOfLayer=new I,this.toggleVisibilityOfModel=new I,this.toggleVisibilityOfLayer=new I,this.logoClicked=new I,this.destroyRef=ne(Ir)}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,IS,LS),this.layoutManagerService.registeredItems$.pipe(os(this.destroyRef)).subscribe({next:e=>{let i=e.find(o=>o.id===this.componentId);this.isCollapsed=!!i?.isCollapsed},complete:()=>console.log("completed")})}ngAfterViewChecked(){this.hasViewChecked||(this.hasViewChecked=!0,this.cdr.detectChanges(),setTimeout(()=>{this.layoutManagerService.checkPosition(this.componentId,".floating-panel.visible",void 0,0,0,!0)}))}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oe),M(_t))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-project-navigator"]],inputs:{noBody:"noBody",isCollapsed:"isCollapsed",noModelsMessage:"noModelsMessage",isLoading:"isLoading",loadingDataMessage:"loadingDataMessage",items:"items",isPanelToolbarVisible:"isPanelToolbarVisible",expandedModelTree:"expandedModelTree",project:"project"},outputs:{actionClicked:"actionClicked",clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer",logoClicked:"logoClicked"},standalone:!0,features:[me([Z]),re,j],decls:8,vars:19,consts:[["id","project-navigator-fp-id",1,"project-navigator-fp","floating-panel",3,"id","selectedLanguage","localizedStrings","noBody","resizeEnabled","isVisible"],[1,"floating-bar-header-logo",3,"parentId","selectedLanguage","localizedStrings","icon","title"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","items","parentId"],[1,"floating-bar-dragger",3,"parentId"],[1,"floating-bar-body",3,"parentId"],[3,"isPanelToolbarVisible"],[1,"inline-message",3,"innerHtml"],[3,"clickedModel","clickedLayer","toggleOpacityOfModel","toggleOpacityOfLayer","toggleVisibilityOfModel","toggleVisibilityOfLayer","selectedLanguage","localizedStrings","models","modelTreeRootTitle","expandedModelTree"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-floating-bar",0),F(1,"lib-bimplus-floating-bar-header-logo",1),v(2,"lib-bimplus-floating-bar-header-content",2),k("actionClicked",function(s){return o.actionClicked.emit(s)}),_(),F(3,"lib-bimplus-floating-bar-dragger",3),v(4,"lib-bimplus-floating-bar-body",4),F(5,"lib-bimplus-panel-toolbar",5),E(6,OS,2,3,"span",6)(7,ES,2,1),_()()),i&2&&(C("id",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("noBody",o.noBody)("resizeEnabled",!0)("isVisible",!0),g(),C("parentId",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("icon",o.icon)("title",o.title),g(),C("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("items",o.items)("parentId",o.componentId),g(),C("parentId",o.componentId),g(),C("parentId",o.componentId),g(),C("isPanelToolbarVisible",o.isPanelToolbarVisible),g(),z(o.isLoading&&o.loadingDataMessage?6:7))},dependencies:[Q,is,es,ts,ns,bv,Cv,_v,le,Me,Dn],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}lib-bimplus-scrollable-container{height:100%;--scrollable-container-paddin-right: 1rem}lib-project-models{margin-right:1.4rem}.project-navigator-fp .floating-panel.visible:not(.collapsed){min-width:24.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp{pointer-events:none;position:absolute;top:0;left:0}.project-navigator-fp .scene-selector{padding-left:.6rem;padding-right:.9rem;margin-bottom:.6rem}.project-navigator-fp .saved-scenes-select{margin-left:.6rem;margin-right:.6rem}.project-navigator-fp .scene-options{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center}.project-navigator-fp .scene-options .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .scene-options .only-icon-button{flex:1 1 auto}.project-navigator-fp .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .bim-item-refresh{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;background-size:2rem 2rem;cursor:pointer}.project-navigator-fp .bim-item-refresh.disabled{cursor:default}.project-navigator-fp.floating-panel{min-width:32.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.project-navigator-fp.floating-panel .floating-panel__body{padding-bottom:1.2rem;-webkit-user-select:none;user-select:none}.project-navigator-fp.floating-panel .floating-panel__body .bim-divisions-view .jstree-component{margin-top:0}.project-navigator-fp.floating-panel .floating-panel__header-content{justify-content:flex-end}.project-navigator-fp.floating-panel .ifc-export-container{height:3.2rem;width:3rem}.project-navigator-fp .model-topology-container{height:100%}.project-navigator-fp .model-topology-container.nodisplay{display:none}.project-navigator-fp .inline-message{padding:1.2rem}.is-touch .project-navigator-fp.floating-panel{min-width:27.5rem}.is-touch .project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.is-touch .project-navigator-fp.floating-panel .floating-panel__resizerNE{background:transparent}
|
|
23
|
+
`],encapsulation:3})}}return t})();var _S=["*"],bv=(()=>{class t extends ve{constructor(e,i){super(e),this.layoutManagerService=i,this.isCollapsed=!1,this.parentId=""}ngOnInit(){this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.parentId);this.isCollapsed=!!i?.isCollapsed})}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-body"]],inputs:{isCollapsed:"isCollapsed",parentId:"parentId"},standalone:!0,features:[re,j],ngContentSelectors:_S,decls:2,vars:1,consts:[["libDraggable","",1,"floating-panel__body",3,"ngClass"]],template:function(i,o){i&1&&(lt(),v(0,"div",0),Ue(1),_()),i&2&&C("ngClass",o.isCollapsed?"hidden":"")},dependencies:[Q,be,le]})}}return t})();var vv=t=>({visible:t}),CS=(t,n,e)=>({opaque:t,transparent:n,semiopaque:e}),wS=(t,n,e)=>({visible:t,invisible:n,semivisible:e}),yS=(t,n)=>({opaque:t,transparent:n}),xS=(t,n)=>({visible:t,invisible:n});function MS(t,n){if(t&1){let e=U();v(0,"div",7)(1,"div",8),W(2,"translate"),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.clickedLayer.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r.clickedLayer.emit(o))}),T(3),W(4,"translate"),_(),v(5,"div",4),W(6,"translate"),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleOpacityOfLayer.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleOpacityOfLayer.emit(o))}),_(),v(7,"div",5),W(8,"translate"),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleVisibilityOfLayer.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r.toggleVisibilityOfLayer.emit(o))}),_()()}if(t&2){let e=n.$implicit;g(),C("ngClass",Qe(18,vv,e.isVisible))("title",G(2,10,e.name)),de("data-test","floating_bar_layer"+e.id),g(2),X(" ",G(4,12,e.name)," "),g(2),C("ngClass",Nt(20,yS,e.isOpaque,!e.isOpaque))("title",G(6,14,"_Toggle opacity")),de("data-test","toggle_opacity_layer_"+e.id),g(2),C("ngClass",Nt(23,xS,e.isVisible,!e.isVisible))("title",G(8,16,"_Toggle visibility")),de("data-test","toggle_visibility_layer_"+e.id)}}function DS(t,n){if(t&1){let e=U();v(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header")(2,"span",3),k("click",function(){let o=O(e).$implicit,r=b();return S(r.clickedModel.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.clickedModel.emit(o))}),T(3),_(),v(4,"lib-expansion-panel-header-actions")(5,"div",4),W(6,"translate"),k("click",function(){let o=O(e).$implicit,r=b();return S(r.toggleOpacityOfModel.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.toggleOpacityOfModel.emit(o))}),_(),v(7,"div",5),W(8,"translate"),k("click",function(){let o=O(e).$implicit,r=b();return S(r.toggleVisibilityOfModel.emit(o))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r.toggleVisibilityOfModel.emit(o))}),_()()(),E(9,MS,9,26,"div",6),_()}if(t&2){let e=n.$implicit;C("expanded",e.isExpanded),g(2),C("ngClass",Qe(15,vv,e.isVisible))("title",e.name+" (Rev: "+e.currentRevision+")"),g(),X(" ",e.name," "),g(2),C("ngClass",jt(17,CS,e.isOpaque,!e.isOpaque,e.isSemiOpaque))("title",G(6,11,"_Toggle opacity")),de("data-test","toggle_opacity_model_"+e.id),g(2),C("ngClass",jt(21,wS,e.isVisible,!e.isVisible,e.isSemiVisible))("title",G(8,13,"_Toggle visibility")),de("data-test","toggle_visibility_model_"+e.id),g(2),C("ngForOf",e.layers)}}var _v=(()=>{class t extends ve{constructor(e){super(e),this.modelTreeRootTitle="_Divisions",this.modelTreeRootName="_Divisions",this.expandedModelTree=!1,this.models=pe([]),this.clickedModel=new I,this.clickedLayer=new I,this.toggleOpacityOfModel=new I,this.toggleOpacityOfLayer=new I,this.toggleVisibilityOfModel=new I,this.toggleVisibilityOfLayer=new I}set modelsValue(e){this.models.set(e)}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-project-models"]],inputs:{modelTreeRootTitle:"modelTreeRootTitle",modelTreeRootName:"modelTreeRootName",expandedModelTree:"expandedModelTree",modelsValue:[0,"models","modelsValue"]},outputs:{clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[re,j],decls:8,vars:5,consts:[[1,"project-navigator-model-panel",3,"expanded"],[3,"title"],[1,"project-navigator-root-node"],[1,"project-navigator-model-node",3,"click","keypress","ngClass","title"],[1,"ui-icon-transparency","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],[1,"ui-icon-visibility","project-navigator-action-buttons",3,"click","keypress","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","keypress","ngClass","title"]],template:function(i,o){i&1&&(v(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header",1)(2,"span",2),T(3),W(4,"translate"),_(),F(5,"lib-expansion-panel-header-actions"),_(),Mt(6,DS,10,25,"lib-expansion-panel",0,en),_()),i&2&&(C("expanded",o.expandedModelTree),g(),C("title",o.modelTreeRootTitle),g(2),xe(G(4,3,o.modelTreeRootName)),g(3),Dt(o.models()))},dependencies:[Q,be,Je,Ki,Ji,Xr,le,Me],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}[_nghost-%COMP%]{background-color:transparent;color:var(--host-text-color-enabled);font-family:var(--project-models-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--project-models-font-size, 1.3rem);font-weight:400}lib-expansion-panel[_ngcontent-%COMP%]{--expansion-panel-content-container-padding-left: var(--project-models-tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row}lib-expansion-panel-header[_ngcontent-%COMP%]{max-width:100%;flex:1}.project-navigator-action-buttons[_ngcontent-%COMP%]{width:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--project-models-action-icon-size, 1.8rem) var(--project-models-action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node[_ngcontent-%COMP%]{line-height:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);padding-left:var(--project-models-tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name[_ngcontent-%COMP%]{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node[_ngcontent-%COMP%]{text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);font-weight:var(--project-models-root-node-font-weight, 700);font-size:var(--project-models-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);max-width:100%}']})}}return t})();var Cv=(()=>{class t{constructor(){this.isPanelToolbarVisible=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-panel-toolbar"]],inputs:{isPanelToolbarVisible:"isPanelToolbarVisible"},standalone:!0,features:[j],decls:1,vars:1,consts:[[1,"panel-toolbar",3,"ngClass"]],template:function(i,o){i&1&&F(0,"div",0),i&2&&C("ngClass",o.isPanelToolbarVisible?"":"hidden")},dependencies:[Q,be],styles:[".panel-toolbar[_ngcontent-%COMP%]{height:3.2rem;display:flex;align-items:flex-end;padding-left:.8rem;flex-shrink:0}.panel-toolbar[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.panel-toolbar[_ngcontent-%COMP%] .tab-icons-container[_ngcontent-%COMP%]{width:95%}.underline-switcher__containerbox[_ngcontent-%COMP%], .underline-switcher__container[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function os(t){t||(Lf(os),t=ne(Ir));let n=new Ae(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(It(n))}function OS(t,n){if(t&1&&(F(0,"span",6),W(1,"translate")),t&2){let e=b();C("innerHtml",G(1,1,e.loadingDataMessage),jm)}}function SS(t,n){if(t&1&&(F(0,"span",6),W(1,"translate")),t&2){let e=b(2);C("innerHtml",G(1,1,e.noModelsMessage),jm)}}function AS(t,n){if(t&1){let e=U();v(0,"lib-bimplus-scrollable-container")(1,"lib-project-models",7),k("clickedModel",function(o){O(e);let r=b(2);return S(r.clickedModel.emit(o))})("clickedLayer",function(o){O(e);let r=b(2);return S(r.clickedLayer.emit(o))})("toggleOpacityOfModel",function(o){O(e);let r=b(2);return S(r.toggleOpacityOfModel.emit(o))})("toggleOpacityOfLayer",function(o){O(e);let r=b(2);return S(r.toggleOpacityOfLayer.emit(o))})("toggleVisibilityOfModel",function(o){O(e);let r=b(2);return S(r.toggleVisibilityOfModel.emit(o))})("toggleVisibilityOfLayer",function(o){O(e);let r=b(2);return S(r.toggleVisibilityOfLayer.emit(o))}),_()()}if(t&2){let e=b(2);g(),C("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings)("models",e.project.models)("modelTreeRootTitle",e.project.name+" - "+e.project.teamSlug)("expandedModelTree",e.expandedModelTree)}}function ES(t,n){if(t&1&&E(0,SS,2,3,"span",6)(1,AS,2,5,"lib-bimplus-scrollable-container"),t&2){let e=b();z(e.project.models.length===0&&e.noModelsMessage?0:1)}}var IS=355,LS=20,yd=(()=>{class t extends ve{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.element=o,this.cdr=r,this.hasViewChecked=!1,this.noBody=!1,this.isCollapsed=!1,this.noModelsMessage=void 0,this.isLoading=!1,this.loadingDataMessage=void 0,this.icon="ui-icon-project-navigator",this.title="_Project_navigator",this.componentId="project-navigator-fp-id",this.items=[],this.actionClicked=new I,this.isPanelToolbarVisible=!1,this.expandedModelTree=!1,this.project={id:"",name:"",teamSlug:"",models:[]},this.clickedModel=new I,this.clickedLayer=new I,this.toggleOpacityOfModel=new I,this.toggleOpacityOfLayer=new I,this.toggleVisibilityOfModel=new I,this.toggleVisibilityOfLayer=new I,this.logoClicked=new I,this.destroyRef=ne(Ir)}ngAfterViewInit(){this.layoutManagerService.registerObject(this.element,this.componentId,".floating-panel.visible",!0,IS,LS),this.layoutManagerService.registeredItems$.pipe(os(this.destroyRef)).subscribe({next:e=>{let i=e.find(o=>o.id===this.componentId);this.isCollapsed=!!i?.isCollapsed},complete:()=>console.log("completed")})}ngAfterViewChecked(){this.hasViewChecked||(this.hasViewChecked=!0,this.cdr.detectChanges(),setTimeout(()=>{this.layoutManagerService.checkPosition(this.componentId,".floating-panel.visible",void 0,0,0,!0)}))}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oe),M(_t))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-floating-bar-project-navigator"]],inputs:{noBody:"noBody",isCollapsed:"isCollapsed",noModelsMessage:"noModelsMessage",isLoading:"isLoading",loadingDataMessage:"loadingDataMessage",items:"items",isPanelToolbarVisible:"isPanelToolbarVisible",expandedModelTree:"expandedModelTree",project:"project"},outputs:{actionClicked:"actionClicked",clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer",logoClicked:"logoClicked"},standalone:!0,features:[me([Z]),re,j],decls:8,vars:19,consts:[["id","project-navigator-fp-id",1,"project-navigator-fp","floating-panel",3,"id","selectedLanguage","localizedStrings","noBody","resizeEnabled","isVisible"],[1,"floating-bar-header-logo",3,"parentId","selectedLanguage","localizedStrings","icon","title"],[1,"floating-bar-header-content",3,"actionClicked","selectedLanguage","localizedStrings","items","parentId"],[1,"floating-bar-dragger",3,"parentId"],[1,"floating-bar-body",3,"parentId"],[3,"isPanelToolbarVisible"],[1,"inline-message",3,"innerHtml"],[3,"clickedModel","clickedLayer","toggleOpacityOfModel","toggleOpacityOfLayer","toggleVisibilityOfModel","toggleVisibilityOfLayer","selectedLanguage","localizedStrings","models","modelTreeRootTitle","expandedModelTree"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-floating-bar",0),F(1,"lib-bimplus-floating-bar-header-logo",1),v(2,"lib-bimplus-floating-bar-header-content",2),k("actionClicked",function(s){return o.actionClicked.emit(s)}),_(),F(3,"lib-bimplus-floating-bar-dragger",3),v(4,"lib-bimplus-floating-bar-body",4),F(5,"lib-bimplus-panel-toolbar",5),E(6,OS,2,3,"span",6)(7,ES,2,1),_()()),i&2&&(C("id",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("noBody",o.noBody)("resizeEnabled",!0)("isVisible",!0),g(),C("parentId",o.componentId)("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("icon",o.icon)("title",o.title),g(),C("selectedLanguage",o.selectedLanguage)("localizedStrings",o.localizedStrings)("items",o.items)("parentId",o.componentId),g(),C("parentId",o.componentId),g(),C("parentId",o.componentId),g(),C("isPanelToolbarVisible",o.isPanelToolbarVisible),g(),z(o.isLoading&&o.loadingDataMessage?6:7))},dependencies:[Q,is,es,ts,ns,bv,Cv,_v,le,Me,Dn],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/IsolationMenuParamsmaincolor.svg")}.ui-icon-hide-menu{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./assets/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/icon-hide-param-maincolor.svg")}.ui-icon-project-navigator{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:var(--ui-icon-text-color-enabled);vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./assets/ProjectNavigation_20_maincolor.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./assets/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./assets/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./assets/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./assets/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:var(--ui-icon-visibility-background-color-active)}.ui-icon-visibility.visible.semivisible{background-image:url("./assets/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./assets/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./assets/switcher_active.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./assets/switcher_semiactive.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./assets/switcher_inactive.svg");visibility:inherit!important}.resizer{pointer-events:all}.resizer-nw{pointer-events:all;cursor:nw-resize}.resizer-n{pointer-events:all;cursor:n-resize}.resizer-ne{pointer-events:all;cursor:ne-resize}.resizer-e{pointer-events:all;cursor:e-resize}.resizer-se{pointer-events:all;cursor:se-resize}.resizer-s{pointer-events:all;cursor:s-resize}.resizer-sw{pointer-events:all;cursor:sw-resize}.resizer-w{pointer-events:all;cursor:w-resize}.resize-disabled{cursor:none;pointer-events:none;display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s}.panel-background:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--floating-bar-panel-background-color-enabled);transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:var(--floating-bar-panel-background-color-hovered)}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:var(--floating-bar-floating-panel-header-logo-background-color-enabled);background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-top-right-radius:10px}.floating-panel__body{min-height:100px;grid-area:body;display:flex;flex-direction:column;border-right:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-left:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em var(--floating-bar-floating-panel-vertical-separator-border-color-enabled);margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled)}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid var(--floating-bar-floating-panel-border-color-enabled);border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./assets/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./assets/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:var(--floating-bar-block-icon-background-color-enabled);background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:var(--floating-bar-block-item-text-color-enabled);white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}lib-bimplus-scrollable-container{height:100%;--scrollable-container-paddin-right: 1rem}lib-project-models{margin-right:1.4rem}.project-navigator-fp .floating-panel.visible:not(.collapsed){min-width:24.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp{pointer-events:none;position:absolute;top:0;left:0}.project-navigator-fp .scene-selector{padding-left:.6rem;padding-right:.9rem;margin-bottom:.6rem}.project-navigator-fp .saved-scenes-select{margin-left:.6rem;margin-right:.6rem}.project-navigator-fp .scene-options{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center}.project-navigator-fp .scene-options .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .scene-options .only-icon-button{flex:1 1 auto}.project-navigator-fp .secondary-button{border:solid .1rem var(--floating-bar-project-navigator-secondary-button-border-color-enabled)!important}.project-navigator-fp .bim-item-refresh{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;background-size:2rem 2rem;cursor:pointer}.project-navigator-fp .bim-item-refresh.disabled{cursor:default}.project-navigator-fp.floating-panel{min-width:32.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.project-navigator-fp.floating-panel .floating-panel__body{padding-bottom:1.2rem;-webkit-user-select:none;user-select:none}.project-navigator-fp.floating-panel .floating-panel__body .bim-divisions-view .jstree-component{margin-top:0}.project-navigator-fp.floating-panel .floating-panel__header-content{justify-content:flex-end}.project-navigator-fp.floating-panel .ifc-export-container{height:3.2rem;width:3rem}.project-navigator-fp .model-topology-container{height:100%}.project-navigator-fp .model-topology-container.nodisplay{display:none}.project-navigator-fp .inline-message{padding:1.2rem}.is-touch .project-navigator-fp.floating-panel{min-width:27.5rem}.is-touch .project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.is-touch .project-navigator-fp.floating-panel .floating-panel__resizerNE{background:transparent}
|
|
24
24
|
`],encapsulation:3})}}return t})();var PS=(t,n)=>({open:t,"expand-up":n});function TS(t,n){if(t&1){let e=U();v(0,"li",7),k("click",function(){let o=O(e).$implicit,r=b();return S(r._switchLanguage(o.symbol))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r._switchLanguage(o.symbol))}),v(1,"span"),T(2),_()()}if(t&2){let e=n.$implicit,i=b();C("ngClass",i.selectedLanguage===e.symbol?"selected":""),de("data-test","langmenu_item_"+e.text),g(2),xe(e.text)}}var xd=(()=>{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 I}_switchLanguage(e){_e(this,"bimplusLanguageSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",L],selectedLanguage:"selectedLanguage",expandUp:[2,"expandUp","expandUp",L]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[Ee,j],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(i,o){i&1&&(v(0,"div",0),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),_(),v(1,"div",1),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),v(2,"div",2),F(3,"div",3)(4,"span",4),_(),v(5,"ul",5),E(6,TS,3,3,"li",6),_()()),i&2&&(C("ngClass",o._menuOpened?"open":""),g(),C("ngClass",o._menuOpened?"open":"")("ngClass",o.isTouch?"is-touch":""),g(4),C("ngClass",Nt(5,PS,o._menuOpened,o.expandUp)),g(),C("ngForOf",o._languagesList))},dependencies:[Q,be,Je],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_Components_Languages.svg") no-repeat center}
|
|
25
25
|
`],encapsulation:3})}}return t})();var wv=(t,n)=>n.id,VS=(t,n,e)=>({collapsed:t,"mini-mode":n,"is-touch":e});function FS(t,n){if(t&1){let e=U();v(0,"div",4),W(1,"translate"),k("dblclick",function(o){O(e);let r=b(3);return S(r._menuItemIgnoreAction(o))})("click",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"normal",o))})("keypress",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"normal",o))}),F(2,"div",5),v(3,"div",6),k("click",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"info",o))})("keypress",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"info",o))}),_()()}if(t&2){let e=b().$implicit,i=b(2);C("ngClass",i._getPrjItemClassAttributes(e,i.isTouch))("title",G(1,3,i._isDisabled(e)&&e.textIdDisabled?e.textIdDisabled:e.textId)),g(2),C("ngClass",i._getPrjIconClassAttributes(e))}}function NS(t,n){if(t&1&&E(0,FS,4,5,"div",3),t&2){let e=n.$implicit,i=b(2);z(i._isHidden(e)?-1:0)}}function jS(t,n){if(t&1&&Mt(0,NS,1,1,null,null,wv),t&2){let e=b();Dt(e.menuItems)}}function HS(t,n){if(t&1){let e=U();v(0,"div",4),W(1,"translate"),k("dblclick",function(o){O(e);let r=b(3);return S(r._menuItemIgnoreAction(o))})("click",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"normal",o))})("keypress",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"normal",o))}),F(2,"div",5),v(3,"div",6),k("click",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"info",o))})("keypress",function(o){O(e);let r=b().$implicit,s=b(2);return S(s._menuItemClicked(r,"info",o))}),_()()}if(t&2){let e=b().$implicit,i=b(2);C("ngClass",i._getPrjItemClassAttributes(e,i.isTouch))("title",G(1,3,i._isDisabled(e)&&e.textIdDisabled?e.textIdDisabled:e.textId)),g(2),C("ngClass",i._getPrjIconClassAttributes(e))}}function RS(t,n){if(t&1&&E(0,HS,4,5,"div",3),t&2){let e=n.$implicit,i=b(2);z(!i._isHidden(e)&&(i.isCollapsed||e.action!=="processes")?0:-1)}}function BS(t,n){if(t&1&&Mt(0,RS,1,1,null,null,wv),t&2){let e=b();Dt(e.menuItems)}}function zS(t,n){t&1&&Pt(0)}function ZS(t,n){if(t&1&&E(0,zS,1,0,"ng-container",13),t&2){b(2);let e=yt(1);C("ngTemplateOutlet",e)}}function $S(t,n){if(t&1&&(v(0,"div",7)(1,"div",8),F(2,"div",9),_(),v(3,"div",10),T(4),_()(),v(5,"div",11)(6,"div",12),E(7,ZS,1,1,"ng-container"),_()()),t&2){let e=b();g(),C("ngStyle",e.prjImageOverlayStyle),g(),C("ngStyle",e.prjImageStyle),g(2),X(" ",e.projectName," "),g(),C("ngClass",e.showHorizontalMenuIcons?"":"hidden"),g(2),z(e.showHorizontalMenuIcons?7:-1)}}function US(t,n){t&1&&Pt(0)}function WS(t,n){if(t&1&&E(0,US,1,0,"ng-container",13),t&2){b(2);let e=yt(3);C("ngTemplateOutlet",e)}}function GS(t,n){t&1&&Pt(0)}function YS(t,n){if(t&1&&E(0,GS,1,0,"ng-container",13),t&2){b(2);let e=yt(1);C("ngTemplateOutlet",e)}}function qS(t,n){if(t&1){let e=U();v(0,"a",14),W(1,"translate"),k("dblclick",function(){O(e);let o=b();return S(o._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){O(e);let o=b();return S(o._projectMenuItemClicked("prjimageclick","normal"))}),v(2,"div",15),F(3,"div",16),v(4,"div",17),E(5,WS,1,1,"ng-container"),_(),v(6,"div",18),T(7),_()()(),v(8,"div",11)(9,"div",12),E(10,YS,1,1,"ng-container"),_()()}if(t&2){let e=b();Ie("href",e.projectExplorerUrl,oa),C("ngStyle",e.prjImageOverlayStyle)("title",G(1,10,"_ModelThumbnailTooltip")),g(2),C("ngStyle",e.prjImageStyle),g(),C("ngClass",e.hideMenuIcons||e.showHorizontalMenuIcons?"hidden":""),g(),C("ngClass",e.hideMenuIcons||e.showHorizontalMenuIcons?"hidden":""),g(),z(!e.hideMenuIcons&&!e.showHorizontalMenuIcons?5:-1),g(2),X(" ",e.projectName," "),g(),C("ngClass",e.showHorizontalMenuIcons?"":"hidden"),g(2),z(e.showHorizontalMenuIcons?10:-1)}}var Md=(()=>{class t extends ve{constructor(e){super(e),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/images/default/bimplus_Components_Project_Pic_Default.png"}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/images/default/bimplus_Components_Project_Pic_Default.png"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}get menuItems(){return this._menuPrjList.sort((e,i)=>this.menuItemsOrder.indexOf(e.id)-this.menuItemsOrder.indexOf(i.id))}_isHidden(e){if(e){let i=`${e.action?e.action:e.id}Visible`;return!this[i]}return!1}_isDisabled(e){if(e){let i=`${e.action?e.action:e.id}Disabled`;return!!this[i]}return!1}_projectMenuItemClicked(e,i){console.log(e,i)}_menuItemClicked(e,i,o){if(o&&(o.stopPropagation(),o.preventDefault()),console.log(e,i,o),i!="info"&&this._isDisabled(e))return;let r=e.action;_e(this,"bimplusProjectMenuClicked",{action:r,type:i})}_menuItemIgnoreAction(e){e&&(e.stopPropagation(),e.preventDefault())}_getPrjItemClassAttributes(e,i){return`${this._isDisabled(e)?"disabled":""} ${i?"":"hover-show-info"}`}_getPrjIconClassAttributes(e){return`${e.class} ${e.action===this.projectActiveItem?"active":""} ${this._isDisabled(e)?"disabled":""}`}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",L],modelsDisabled:[2,"modelsDisabled","modelsDisabled",L],documentsDisabled:[2,"documentsDisabled","documentsDisabled",L],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",L],processesDisabled:[2,"processesDisabled","processesDisabled",L],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",L],modelsVisible:[2,"modelsVisible","modelsVisible",L],documentsVisible:[2,"documentsVisible","documentsVisible",L],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",L],processesVisible:[2,"processesVisible","processesVisible",L],isCollapsed:[2,"isCollapsed","isCollapsed",L],isMiniMode:[2,"isMiniMode","isMiniMode",L],isTouch:[2,"isTouch","isTouch",L],hideMenuIcons:[2,"hideMenuIcons","hideMenuIcons",L],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",L],menuItemsOrder:"menuItemsOrder"},standalone:!0,features:[me([Z]),Ee,re,j],decls:7,vars:6,consts:[["prjList",""],["prjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","keypress","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click","keypress"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(i,o){i&1&&(E(0,jS,2,0,"ng-template",null,0,Zt)(2,BS,2,0,"ng-template",null,1,Zt),v(4,"div",2),E(5,$S,8,5)(6,qS,11,12),_()),i&2&&(g(4),C("ngClass",jt(2,VS,o.isCollapsed,o.isMiniMode,o.isTouch)),g(),z(o.isMiniMode&&!o.isCollapsed?5:6))},dependencies:[Q,be,Di,Hr,le,Me],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_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./assets/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./assets/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./assets/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./assets/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./assets/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./assets/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./assets/bimplus_Components_Info_Active.svg") no-repeat center}
|
|
26
|
-
`],encapsulation:3})}}return t})();var X1=t=>({$implicit:t});function XS(t,n){if(t&1&&F(0,"div",10),t&2){let e=b().$implicit;la(e.item.class),C("id",e.item.id)}}function QS(t,n){if(t&1){let e=U();v(0,"div",14),k("click",function(o){O(e);let r=b(2).$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"info",o))})("keypress",function(o){O(e);let r=b(2).$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"info",o))}),_()}}function KS(t,n){if(t&1){let e=U();v(0,"div",9),W(1,"translate"),v(2,"div",11),k("click",function(o){O(e);let r=b().$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"normal",o))})("keypress",function(o){O(e);let r=b().$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"normal",o))}),F(3,"div",12),v(4,"span"),T(5),W(6,"translate"),_()(),E(7,QS,1,0,"div",13),_()}if(t&2){let e=b().$implicit,i=b();C("id",e.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(e.active?"active ":" ")+(e.disabled?"disabled ":" ")+(e.clickable?" ":"not-clickable ")+(e.selected?"selected ":" "))("title",e.disabled?G(1,7,e.item.disabledTitle):""),g(2),C("ngClass",e.clickable?"":"not-clickable"),g(),C("ngClass",e.item.class+(e.active?" active":"")+(e.disabled?" disabled ":"")),g(2),xe(G(6,9,e.isDisabled&&e.item.textIdDisabled!==""?e.item.textIdDisabled:e.item.textId)),g(2),z(e.showInfoIcon?7:-1)}}function JS(t,n){if(t&1&&E(0,XS,1,3,"div",8)(1,KS,8,11,"div",9),t&2){let e=n.$implicit;z(e.item.type==="divider"?0:1)}}function eA(t,n){t&1&&Pt(0)}function tA(t,n){if(t&1&&E(0,eA,1,0,"ng-container",15),t&2){let e=b(),i=yt(1);C("ngTemplateOutlet",i)("ngTemplateOutletContext",qe(2,X1,e._getContextData(e._openPrjBtn,e.projectActiveItem==="projectlist",e._isDisabled(e._openPrjBtn),!0,e.projectActiveItem==="projectlist")))}}function nA(t,n){if(t&1&&F(0,"lib-bimplus-project-menu",3),t&2){let e=b();Ie("projectName",e.projectName),Ie("projectImageUrl",e.projectImageUrl),Ie("projectExplorerUrl",e.projectExplorerUrl),Ie("projectActiveItem",e.projectActiveItem),Ie("projectmembersDisabled",e.projectmembersDisabled),Ie("modelsDisabled",e.modelsDisabled),Ie("documentsDisabled",e.documentsDisabled),Ie("projectsettingsDisabled",e.projectsettingsDisabled),Ie("processesDisabled",e.processesDisabled),Ie("projectmembersVisible",e.projectmembersVisible),Ie("modelsVisible",e.modelsVisible),Ie("documentsVisible",e.documentsVisible),Ie("projectsettingsVisible",e.projectsettingsVisible),Ie("processesVisible",e.processesVisible),Ie("isCollapsed",e.isCollapsed),Ie("isMiniMode",e.isTouch),Ie("isTouch",e.isTouch),Ie("hideMenuIcons",e.hideProjectMenuIcons),Ie("showHorizontalMenuIcons",e.showHorizontalMenuIcons),C("menuItemsOrder",e.menuItemsOrder)}}function iA(t,n){t&1&&Pt(0)}function oA(t,n){if(t&1&&(v(0,"div"),E(1,iA,1,0,"ng-container",15),_()),t&2){let e=n.$implicit,i=b(),o=yt(1);g(),C("ngTemplateOutlet",o)("ngTemplateOutletContext",qe(2,X1,i._getContextData(e,!i._isSubscribed(e),i._isDisabled(e),i._isClickable(e),i.menuActiveItem===e.action)))}}function rA(t,n){t&1&&Pt(0)}function sA(t,n){if(t&1&&(v(0,"div"),E(1,rA,1,0,"ng-container",15),_()),t&2){let e=n.$implicit,i=b(),o=yt(1);g(),C("ngTemplateOutlet",o)("ngTemplateOutletContext",qe(2,X1,i._getContextData(e,i.footerActiveItem===e.action,i._isDisabled(e),!0,!1)))}}var it={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"},Dd=(()=>{class t extends ve{constructor(e){super(e),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.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new I,this.bimplusMainMenuOverlayClicked=new I,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:it.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:it.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:it.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:it.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:it.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:it.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:it.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"_Portal_Menu_BIM_Explorer",textIdDisabled:"_Portal_Menu_BIM_Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:it.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:it.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"_Connexis",textIdDisabled:"_Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:it.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"_Autoconverter",textIdDisabled:"_Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:it.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:it.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:it.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:it.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:it.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:it.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:it.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:it.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(e){e.localizedStrings&&this._localizedStrings.set(e.localizedStrings.currentValue)}get apps(){let e=this.appsList.sort((i,o)=>this.appsOrder.indexOf(i.id)-this.appsOrder.indexOf(o.id));return this.connexisVisible||(e=e.filter(({id:i})=>i!==it.PORTAL_CONNEXIS_BTN)),this.teammembersDisabled&&(e=e.filter(({id:i})=>i!==it.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(e=e.filter(({id:i})=>i!==it.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(e=e.filter(({id:i})=>i!==it.PORTAL_PROPERTY_MANAGER_BTN&&i!==it.PORTAL_BIM_PROCESSES)),this.getYourTeamVisible?e.filter(({id:i})=>i!==it.PORTAL_TEAM_MANAGEMENT_BTN&&i!==it.PORTAL_PROPERTY_MANAGER_BTN):e}get footerList(){let e=this._menuFooterList.filter(i=>this._isSubscribed(i)&&!this._isHidden(i));return(this.teammembersDisabled||!this.isTouch)&&(e=e.filter(({id:i})=>i!==it.DIVIDERAPPS)),this.getYourTeamVisible?e.filter(({id:i})=>i!==it.DIVIDERAPPS):e.filter(({id:i})=>i!==it.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(e){if(e.checkSubscription){let i=`${e.action}Subscribed`;return!!this[i]}return!0}_isClickable(e){return e.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(e){if(e){let i=`${e.action?e.action:e.id}Visible`;return!this[i]}return!1}_isDisabled(e){let i=`${e.action}Disabled`;return!!this[i]}_getContextData(e,i,o,r,s){return{item:e,active:i,disabled:o,clickable:r,selected:s,showInfoIcon:this.appsWithInfo.includes(e.id)}}_overlayClicked(){_e(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(e,i,o){if(o&&(o.stopPropagation(),o.preventDefault()),i!="info"&&this._isDisabled(e))return;let r=e.action;_e(this,"bimplusMainMenuClicked",{action:r,type:i})}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",L],isTouch:[2,"isTouch","isTouch",L],isIpadApp:[2,"isIpadApp","isIpadApp",L],isDev:[2,"isDev","isDev",L],isStage:[2,"isStage","isStage",L],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",L],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",L],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",L],modelsDisabled:[2,"modelsDisabled","modelsDisabled",L],documentsDisabled:[2,"documentsDisabled","documentsDisabled",L],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",L],processesDisabled:[2,"processesDisabled","processesDisabled",L],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",L],showOverlay:[2,"showOverlay","showOverlay",L],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",L],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",L],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",L],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",L],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",L],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",L],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",L],connexisDisabled:[2,"connexisDisabled","connexisDisabled",L],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",L],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",L],shopDisabled:[2,"shopDisabled","shopDisabled",L],addinsDisabled:[2,"addinsDisabled","addinsDisabled",L],openProjectVisible:[2,"openProjectVisible","openProjectVisible",L],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",L],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",L],modelsVisible:[2,"modelsVisible","modelsVisible",L],documentsVisible:[2,"documentsVisible","documentsVisible",L],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",L],processesVisible:[2,"processesVisible","processesVisible",L],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",L],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",L],connexisVisible:[2,"connexisVisible","connexisVisible",L],teammembersVisible:[2,"teammembersVisible","teammembersVisible",L],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",L],shopVisible:[2,"shopVisible","shopVisible",L],addinsVisible:[2,"addinsVisible","addinsVisible",L],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",L],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",L],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",L],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",L],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},standalone:!0,features:[me([Z]),Ee,re,mt,j],decls:11,vars:6,consts:[["appItemContent",""],[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(i,o){if(i&1){let r=U();E(0,JS,2,1,"ng-template",null,0,Zt),v(2,"div",1),k("click",function(){return O(r),S(o._overlayClicked())})("keypress",function(){return O(r),S(o._overlayClicked())}),v(3,"div",2),E(4,tA,1,4,"ng-container")(5,nA,1,20,"lib-bimplus-project-menu",3),v(6,"div",4)(7,"div",5),E(8,oA,2,4,"div",6),_(),v(9,"div",7),E(10,sA,2,4,"div",6),_()()()()}i&2&&(g(2),C("ngClass",o.showOverlay?"bim-mm-overlay":""),g(2),z(o._isHidden(o._openPrjBtn)?-1:4),g(),z(o.bimplusProjectMenuVisible?5:-1),g(),C("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),g(2),C("ngForOf",o.apps),g(2),C("ngForOf",o.footerList))},dependencies:[Q,be,Je,Di,le,Me,Md],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_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_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_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_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_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_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_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_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_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_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/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_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
|
|
27
|
-
`],encapsulation:3})}}return t})();var rs=function(t){return t.BimplusViewer="bimplusViewer",t.ModelViewerBlack="modelViewerBlack",t.ModelViewer="modelViewer",t.ConnexisViewer="connexisViewer",t.ConnexisViewerBlack="connexisViewerBlack",t}(rs||{});var aA=(t,n,e,i,o)=>({"model-viewer":t,"model-viewer-black":n,"connexis-viewer":e,"connexis-viewer-black":i,"burger-menu-not-visible":o}),lA=(t,n,e)=>({active:t,hidden:n,disabled:e}),cA=t=>({hidden:t});function dA(t,n){t&1&&(v(0,"span"),T(1,"\xA0\xA0 -\xA0\xA0"),_())}var kd=(()=>{class t{constructor(){this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this._logoState=pe(rs.BimplusViewer),this.isModelViewerActive=pe(!1),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.selectedLanguage="en",this.bimplusNavbarClicked=new I,this.LogoState=rs,this.logoStateSignal=pn(()=>this.isModelViewerActive()?rs.ModelViewerBlack:this._logoState())}set logoState(e){this._logoState.set(e)}get logoState(){return this._logoState()}set isModelViewerActiveValue(e){this.isModelViewerActive.set(e)}_menuClicked(){this.isNavbarMenuEnabled&&_e(this,"bimplusNavbarClicked","menu")}_logoClicked(){this.logoStateSignal()===rs.BimplusViewer&&_e(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&_e(this,"bimplusNavbarClicked","project")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",L],isStage:[2,"isStage","isStage",L],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",L],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",L],logoState:"logoState",isModelViewerActiveValue:[2,"isModelViewerActive","isModelViewerActiveValue",L],isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",L],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",L],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",L],isTouch:[2,"isTouch","isTouch",L],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",L],selectedLanguage:"selectedLanguage"},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},standalone:!0,features:[Ee,j],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(i,o){i&1&&(v(0,"div",0)(1,"div",1)(2,"div",2),W(3,"translate"),k("click",function(){return o._logoClicked()})("keypress",function(){return o._logoClicked()}),_(),v(4,"div",3),k("click",function(){return o._menuClicked()})("keypress",function(){return o._menuClicked()}),_()(),v(5,"div",4)(6,"div",5)(7,"span",6),T(8),_(),E(9,dA,2,0,"span",7),v(10,"span",8),k("click",function(){return o._projectInfoClicked()})("keypress",function(){return o._projectInfoClicked()}),T(11),_()(),v(12,"div",9),F(13,"slot"),_()()()),i&2&&(C("ngClass",o.isTouch?"is-touch":""),g(2),C("ngClass",V2(13,aA,o.logoStateSignal()===o.LogoState.ModelViewer,o.logoStateSignal()===o.LogoState.ModelViewerBlack,o.logoStateSignal()===o.LogoState.ConnexisViewer,o.logoStateSignal()===o.LogoState.ConnexisViewerBlack,!o.isNavbarMenuVisible))("title",G(3,11,o.isDashboardTooltipEnabled?"_dashboard_tooltip":"")),g(2),C("ngClass",jt(19,lA,o.isNavbarMenuActive,!o.isNavbarMenuVisible,!o.isNavbarMenuEnabled)),g(2),gt("margin-left",o.teamInfoOffset),C("ngClass",
|
|
28
|
-
`],encapsulation:3})}}return t})();var yv=t=>({capitalize:t}),xv=t=>[t];function uA(t,n){if(t&1){let e=U();v(0,"div",22),k("click",function(){let o=O(e).index,r=b(2).$implicit,s=b(2);return S(s._messageAction(r,o))})("keypress",function(){let o=O(e).index,r=b(2).$implicit,s=b(2);return S(s._messageAction(r,o))}),T(1),_()}if(t&2){let e=n.$implicit,i=n.index,o=b(2).$implicit,r=b(2);C("title",r._getItemLinkTitle(o,i)),g(),xe(e)}}function pA(t,n){if(t&1&&E(0,uA,2,2,"div",21),t&2){let e=b().$implicit,i=b(2);C("ngForOf",e.linkText.constructor===i.Array?e.linkText:qe(1,xv,e.linkText))}}function mA(t,n){if(t&1){let e=U();v(0,"div",14)(1,"div",15),F(2,"div",16),v(3,"div",17),T(4),_(),v(5,"div",18),k("click",function(o){let r=O(e).$implicit,s=b(2);return S(s._closeMessage(r,!1,o))})("keypress",function(o){let r=O(e).$implicit,s=b(2);return S(s._closeMessage(r,!1,o))}),_()(),v(6,"div",19),T(7),_(),E(8,pA,1,3,"div",20),_()}if(t&2){let e=n.$implicit;g(2),C("ngClass","message-item-icon-"+e.type),g(),C("ngClass",qe(5,yv,e.capitalizedTitle)),g(),X(" ",e.title," "),g(3),xe(e.text),g(),z(e.linkText?8:-1)}}function gA(t,n){if(t&1&&(v(0,"lib-bimplus-scrollable-container"),E(1,mA,9,7,"div",13),_()),t&2){let e=b();g(),C("ngForOf",e._messagesList)}}function hA(t,n){t&1&&(v(0,"div",9),F(1,"div",23),v(2,"div",24),T(3),W(4,"translate"),_()()),t&2&&(g(3),xe(G(4,1,"_Notify_No_Messages")))}function fA(t,n){if(t&1){let e=U();v(0,"div",22),k("click",function(){let o=O(e).index,r=b(2).$implicit,s=b();return S(s._messageAction(r,o))})("keypress",function(){let o=O(e).index,r=b(2).$implicit,s=b();return S(s._messageAction(r,o))}),T(1),_()}if(t&2){let e=n.$implicit,i=n.index,o=b(2).$implicit,r=b();C("title",r._getItemLinkTitle(o,i)),g(),xe(e)}}function bA(t,n){if(t&1&&E(0,fA,2,2,"div",21),t&2){let e=b().$implicit,i=b();C("ngForOf",e.linkText.constructor===i.Array?e.linkText:qe(1,xv,e.linkText))}}function vA(t,n){if(t&1){let e=U();v(0,"div",14)(1,"div",15),F(2,"div",16),v(3,"div",17),T(4),_(),v(5,"div",18),k("click",function(o){let r=O(e).$implicit,s=b();return S(s._closeMessage(r,!0,o))})("keypress",function(o){let r=O(e).$implicit,s=b();return S(s._closeMessage(r,!0,o))}),_()(),v(6,"div",19),T(7),_(),E(8,bA,1,3,"div",20),_()}if(t&2){let e=n.$implicit;g(2),C("ngClass","message-item-icon-"+e.type),g(),C("ngClass",qe(5,yv,e.capitalizedTitle)),g(),X(" ",e.title," "),g(3),X(" ",e.text," "),g(),z(e.linkText?8:-1)}}var Od="bimplus-notify-messages",Sd=(()=>{class t extends ve{constructor(e){super(e),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 I,this.bimplusNotifyDeleteAllMessages=new I,this.bimplusNotifyMessageAction=new I}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(e){if(e.messages){let i=e.messages.currentValue;this.updateMessages(i)}}updateMessages(e){if(!(e&&typeof e=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let o=JSON.parse(e);this._messagesList=o.messages;let r=this._messagesList.filter(s=>this._oldMessagesList.findIndex(l=>l.id===s.id)<0);r=r.filter(s=>this._messageNotReadYet(s)),r.reverse().forEach(s=>{this._previewMessagesList.findIndex(l=>s.id===l.id)<0&&(this._previewMessagesList.unshift(s),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(s.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(e,i,o){if(i)return this._closePreviewMessage(e.id);o&&(o.stopPropagation(),o.preventDefault()),_e(this,"bimplusNotifyDeleteMessage",JSON.stringify(e))}_closePreviewMessage(e,i=!0){e&&(this._previewMessagesList=this._previewMessagesList.filter(o=>o.id!==e),this.storeMessagesAsRead([e]),i&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){_e(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(e,i){e.actionId=i,_e(this,"bimplusNotifyMessageAction",JSON.stringify(e))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(e){if(!e?.id)return!0;let i=window.localStorage.getItem(Od);return i?!i.includes(e.id):!0}storeMessagesAsRead(e){if(!e||e.length<1)return;let i=window.localStorage.getItem(Od);i||(i=""),e.forEach(o=>{i?.includes(o)||(i+=o+";")}),window.localStorage.setItem(Od,i)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Od)}_getItemLinkTitle(e,i){let o=[];return e.linkText&&(e.links||e.link)&&(o=Array.isArray(e.links)?e.links:[e.link]),o[i]??""}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(i,o){i&2&&se("new-messages",o.newMessages)("bim-notify",o.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",L],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[me([Z]),Ee,re,mt,j],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(i,o){i&1&&(v(0,"div",0),W(1,"translate"),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),v(2,"div",1),F(3,"div",2),_(),v(4,"div",3),F(5,"div",4),v(6,"div",5)(7,"div",6),T(8),_(),v(9,"div",7),k("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),T(10),W(11,"translate"),_()(),v(12,"div",8),E(13,gA,2,1,"lib-bimplus-scrollable-container")(14,hA,5,3,"div",9),_()()(),v(15,"div",10),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),_(),v(16,"div",11)(17,"div",12),E(18,vA,9,7,"div",13),_()()),i&2&&(C("ngClass",o._menuOpened?"open":"")("title",G(1,12,"_BimplusNotifyTitle")),g(3),C("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),g(),C("ngClass",o._menuOpened?"open":""),g(4),X(" (",o._messagesList.length,") "),g(2),X(" ",G(11,14,"_Notify_Mark_All")," "),g(3),z(o._messagesList.length?13:14),g(2),C("ngClass",o._menuOpened?"open":""),g(),gt("top",o.previewMessagesOffsetY),C("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),g(2),C("ngForOf",o._previewMessagesList))},dependencies:[Q,be,Je,le,Me,Dn],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_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{max-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_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_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_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_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_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/bimplus_Components_Notify_Empty.svg")}
|
|
26
|
+
`],encapsulation:3})}}return t})();var X1=t=>({$implicit:t});function XS(t,n){if(t&1&&F(0,"div",10),t&2){let e=b().$implicit;la(e.item.class),C("id",e.item.id)}}function QS(t,n){if(t&1){let e=U();v(0,"div",14),k("click",function(o){O(e);let r=b(2).$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"info",o))})("keypress",function(o){O(e);let r=b(2).$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"info",o))}),_()}}function KS(t,n){if(t&1){let e=U();v(0,"div",9),W(1,"translate"),v(2,"div",11),k("click",function(o){O(e);let r=b().$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"normal",o))})("keypress",function(o){O(e);let r=b().$implicit,s=b();return S(s._mainMenuItemClicked(r.item,"normal",o))}),F(3,"div",12),v(4,"span"),T(5),W(6,"translate"),_()(),E(7,QS,1,0,"div",13),_()}if(t&2){let e=b().$implicit,i=b();C("id",e.item.id)("ngClass",i.isTouch?"":"hover-show-info "+(e.active?"active ":" ")+(e.disabled?"disabled ":" ")+(e.clickable?" ":"not-clickable ")+(e.selected?"selected ":" "))("title",e.disabled?G(1,7,e.item.disabledTitle):""),g(2),C("ngClass",e.clickable?"":"not-clickable"),g(),C("ngClass",e.item.class+(e.active?" active":"")+(e.disabled?" disabled ":"")),g(2),xe(G(6,9,e.isDisabled&&e.item.textIdDisabled!==""?e.item.textIdDisabled:e.item.textId)),g(2),z(e.showInfoIcon?7:-1)}}function JS(t,n){if(t&1&&E(0,XS,1,3,"div",8)(1,KS,8,11,"div",9),t&2){let e=n.$implicit;z(e.item.type==="divider"?0:1)}}function eA(t,n){t&1&&Pt(0)}function tA(t,n){if(t&1&&E(0,eA,1,0,"ng-container",15),t&2){let e=b(),i=yt(1);C("ngTemplateOutlet",i)("ngTemplateOutletContext",Qe(2,X1,e._getContextData(e._openPrjBtn,e.projectActiveItem==="projectlist",e._isDisabled(e._openPrjBtn),!0,e.projectActiveItem==="projectlist")))}}function nA(t,n){if(t&1&&F(0,"lib-bimplus-project-menu",3),t&2){let e=b();Ie("projectName",e.projectName),Ie("projectImageUrl",e.projectImageUrl),Ie("projectExplorerUrl",e.projectExplorerUrl),Ie("projectActiveItem",e.projectActiveItem),Ie("projectmembersDisabled",e.projectmembersDisabled),Ie("modelsDisabled",e.modelsDisabled),Ie("documentsDisabled",e.documentsDisabled),Ie("projectsettingsDisabled",e.projectsettingsDisabled),Ie("processesDisabled",e.processesDisabled),Ie("projectmembersVisible",e.projectmembersVisible),Ie("modelsVisible",e.modelsVisible),Ie("documentsVisible",e.documentsVisible),Ie("projectsettingsVisible",e.projectsettingsVisible),Ie("processesVisible",e.processesVisible),Ie("isCollapsed",e.isCollapsed),Ie("isMiniMode",e.isTouch),Ie("isTouch",e.isTouch),Ie("hideMenuIcons",e.hideProjectMenuIcons),Ie("showHorizontalMenuIcons",e.showHorizontalMenuIcons),C("menuItemsOrder",e.menuItemsOrder)}}function iA(t,n){t&1&&Pt(0)}function oA(t,n){if(t&1&&(v(0,"div"),E(1,iA,1,0,"ng-container",15),_()),t&2){let e=n.$implicit,i=b(),o=yt(1);g(),C("ngTemplateOutlet",o)("ngTemplateOutletContext",Qe(2,X1,i._getContextData(e,!i._isSubscribed(e),i._isDisabled(e),i._isClickable(e),i.menuActiveItem===e.action)))}}function rA(t,n){t&1&&Pt(0)}function sA(t,n){if(t&1&&(v(0,"div"),E(1,rA,1,0,"ng-container",15),_()),t&2){let e=n.$implicit,i=b(),o=yt(1);g(),C("ngTemplateOutlet",o)("ngTemplateOutletContext",Qe(2,X1,i._getContextData(e,i.footerActiveItem===e.action,i._isDisabled(e),!0,!1)))}}var it={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"},Dd=(()=>{class t extends ve{constructor(e){super(e),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.appsWithInfo=[],this.appsOrder=[],this.menuItemsOrder=[],this.bimplusMainMenuClicked=new I,this.bimplusMainMenuOverlayClicked=new I,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:it.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:it.PORTAL_BIM_MODELS,type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:it.PORTAL_BIM_DOCUMENTS,type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:it.PORTAL_BIM_PROJECT_SETTINGS,type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:it.PORTAL_BIM_PROCESSES,type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:it.DIVIDER_PROJECT_MANAGEMENT,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:it.PORTAL_BIM_VIEWER_BTN,type:"",class:"bim-mm-icon-bim-explorer",textId:"_Portal_Menu_BIM_Explorer",textIdDisabled:"_Portal_Menu_BIM_Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:it.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:it.PORTAL_CONNEXIS_BTN,type:"",class:"bim-mm-icon-connexis",textId:"_Connexis",textIdDisabled:"_Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"autoconverter",id:it.PORTAL_BIM_AUTOCONVERTER_BTN,type:"",class:"bim-mm-icon-autoconverter",textId:"_Autoconverter",textIdDisabled:"_Autoconverter",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:it.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:it.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:it.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:it.DIVIDERAPPS,type:"divider",class:"bim-mm-app-item-divider",checkSubscription:!1,devOrStageOnly:!1},{action:"addins",id:it.PORTAL_ADD_INS_BTN,type:"",class:"bim-mm-icon-add-ins",textId:"_AddIns",textIdDisabled:"_AddIns",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"getYourTeam",id:it.PORTAL_GET_YOUR_TEAM_BTN,class:"bim-mm-icon-get-your-team",textId:"_Get_Your_Team",textIdDisabled:"_Get_Your_Team"},{action:"tryBimplusPro",id:it.PORTAL_TRY_BIMPLUS_PRO_BTN,class:"bim-mm-icon-try-bimplus-pro",textId:"_Try_Bimplus_Pro",textIdDisabled:"_Try_Bimplus_Pro"},{action:"shop",id:it.PORTAL_SHOP_BTN,type:"",class:"bim-mm-icon-shop",textId:"_Get_More",textIdDisabled:"_Get_More",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(e){e.localizedStrings&&this._localizedStrings.set(e.localizedStrings.currentValue)}get apps(){let e=this.appsList.sort((i,o)=>this.appsOrder.indexOf(i.id)-this.appsOrder.indexOf(o.id));return this.connexisVisible||(e=e.filter(({id:i})=>i!==it.PORTAL_CONNEXIS_BTN)),this.teammembersDisabled&&(e=e.filter(({id:i})=>i!==it.PORTAL_TEAM_MANAGEMENT_BTN)),this.propertymanagerDisabled&&(e=e.filter(({id:i})=>i!==it.PORTAL_PROPERTY_MANAGER_BTN)),this.isTouch&&(e=e.filter(({id:i})=>i!==it.PORTAL_PROPERTY_MANAGER_BTN&&i!==it.PORTAL_BIM_PROCESSES)),this.getYourTeamVisible?e.filter(({id:i})=>i!==it.PORTAL_TEAM_MANAGEMENT_BTN&&i!==it.PORTAL_PROPERTY_MANAGER_BTN):e}get footerList(){let e=this._menuFooterList.filter(i=>this._isSubscribed(i)&&!this._isHidden(i));return(this.teammembersDisabled||!this.isTouch)&&(e=e.filter(({id:i})=>i!==it.DIVIDERAPPS)),this.getYourTeamVisible?e.filter(({id:i})=>i!==it.DIVIDERAPPS):e.filter(({id:i})=>i!==it.PORTAL_GET_YOUR_TEAM_BTN)}_isSubscribed(e){if(e.checkSubscription){let i=`${e.action}Subscribed`;return!!this[i]}return!0}_isClickable(e){return e.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(e){if(e){let i=`${e.action?e.action:e.id}Visible`;return!this[i]}return!1}_isDisabled(e){let i=`${e.action}Disabled`;return!!this[i]}_getContextData(e,i,o,r,s){return{item:e,active:i,disabled:o,clickable:r,selected:s,showInfoIcon:this.appsWithInfo.includes(e.id)}}_overlayClicked(){_e(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(e,i,o){if(o&&(o.stopPropagation(),o.preventDefault()),i!="info"&&this._isDisabled(e))return;let r=e.action;_e(this,"bimplusMainMenuClicked",{action:r,type:i})}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[2,"isEmbedded","isEmbedded",L],isTouch:[2,"isTouch","isTouch",L],isIpadApp:[2,"isIpadApp","isIpadApp",L],isDev:[2,"isDev","isDev",L],isStage:[2,"isStage","isStage",L],hideProjectMenuIcons:[2,"hideProjectMenuIcons","hideProjectMenuIcons",L],showHorizontalMenuIcons:[2,"showHorizontalMenuIcons","showHorizontalMenuIcons",L],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[2,"projectmembersDisabled","projectmembersDisabled",L],modelsDisabled:[2,"modelsDisabled","modelsDisabled",L],documentsDisabled:[2,"documentsDisabled","documentsDisabled",L],projectsettingsDisabled:[2,"projectsettingsDisabled","projectsettingsDisabled",L],processesDisabled:[2,"processesDisabled","processesDisabled",L],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[2,"isCollapsed","isCollapsed",L],showOverlay:[2,"showOverlay","showOverlay",L],teammembersSubscribed:[2,"teammembersSubscribed","teammembersSubscribed",L],propertymanagerSubscribed:[2,"propertymanagerSubscribed","propertymanagerSubscribed",L],autoconverterSubscribed:[2,"autoconverterSubscribed","autoconverterSubscribed",L],connexisSubscribed:[2,"connexisSubscribed","connexisSubscribed",L],openProjectDisabled:[2,"openProjectDisabled","openProjectDisabled",L],bimexplorerDisabled:[2,"bimexplorerDisabled","bimexplorerDisabled",L],autoconverterDisabled:[2,"autoconverterDisabled","autoconverterDisabled",L],connexisDisabled:[2,"connexisDisabled","connexisDisabled",L],teammembersDisabled:[2,"teammembersDisabled","teammembersDisabled",L],propertymanagerDisabled:[2,"propertymanagerDisabled","propertymanagerDisabled",L],shopDisabled:[2,"shopDisabled","shopDisabled",L],addinsDisabled:[2,"addinsDisabled","addinsDisabled",L],openProjectVisible:[2,"openProjectVisible","openProjectVisible",L],bimplusProjectMenuVisible:[2,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",L],projectmembersVisible:[2,"projectmembersVisible","projectmembersVisible",L],modelsVisible:[2,"modelsVisible","modelsVisible",L],documentsVisible:[2,"documentsVisible","documentsVisible",L],projectsettingsVisible:[2,"projectsettingsVisible","projectsettingsVisible",L],processesVisible:[2,"processesVisible","processesVisible",L],bimexplorerVisible:[2,"bimexplorerVisible","bimexplorerVisible",L],autoconverterVisible:[2,"autoconverterVisible","autoconverterVisible",L],connexisVisible:[2,"connexisVisible","connexisVisible",L],teammembersVisible:[2,"teammembersVisible","teammembersVisible",L],propertymanagerVisible:[2,"propertymanagerVisible","propertymanagerVisible",L],shopVisible:[2,"shopVisible","shopVisible",L],addinsVisible:[2,"addinsVisible","addinsVisible",L],dividerprojectmanagementVisible:[2,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",L],dividerappsVisible:[2,"dividerappsVisible","dividerappsVisible",L],getYourTeamVisible:[2,"getYourTeamVisible","getYourTeamVisible",L],tryBimplusProVisible:[2,"tryBimplusProVisible","tryBimplusProVisible",L],appsWithInfo:"appsWithInfo",appsOrder:"appsOrder",menuItemsOrder:"menuItemsOrder"},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},standalone:!0,features:[me([Z]),Ee,re,mt,j],decls:11,vars:6,consts:[["appItemContent",""],[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(i,o){if(i&1){let r=U();E(0,JS,2,1,"ng-template",null,0,Zt),v(2,"div",1),k("click",function(){return O(r),S(o._overlayClicked())})("keypress",function(){return O(r),S(o._overlayClicked())}),v(3,"div",2),E(4,tA,1,4,"ng-container")(5,nA,1,20,"lib-bimplus-project-menu",3),v(6,"div",4)(7,"div",5),E(8,oA,2,4,"div",6),_(),v(9,"div",7),E(10,sA,2,4,"div",6),_()()()()}i&2&&(g(2),C("ngClass",o.showOverlay?"bim-mm-overlay":""),g(2),z(o._isHidden(o._openPrjBtn)?-1:4),g(),z(o.bimplusProjectMenuVisible?5:-1),g(),C("ngClass",o.apps.length||o.footerList.length?"bim-mm-apps-container":""),g(2),C("ngForOf",o.apps),g(2),C("ngForOf",o.footerList))},dependencies:[Q,be,Je,Di,le,Me,Md],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_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_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_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_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_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_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_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_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_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_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/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_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./assets/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./assets/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./assets/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./assets/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./assets/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./assets/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./assets/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./assets/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./assets/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./assets/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./assets/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./assets/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./assets/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./assets/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./assets/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./assets/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./assets/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-autoconverter{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.active{background:url("./assets/bimplus_Components_Autoconverter.svg") no-repeat center}.bim-mm-icon-autoconverter.disabled{background:url("./assets/bimplus_Components_Autoconverter_Disabled.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./assets/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./assets/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./assets/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./assets/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./assets/ic_property_manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./assets/ic_property_manager_active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./assets/ic_property_manager_disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./assets/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./assets/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./assets/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./assets/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./assets/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./assets/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}.bim-mm-icon-add-ins{background:url("./assets/bimplus_Components_Add_Ins.svg") no-repeat center}.bim-mm-icon-get-your-team{background:url("./assets/GetTeam.svg") no-repeat center}.bim-mm-icon-try-bimplus-pro{background:url("./assets/bimplus_Components_BIM_Explorer.svg") no-repeat center}
|
|
27
|
+
`],encapsulation:3})}}return t})();var rs=function(t){return t.BimplusViewer="bimplusViewer",t.ModelViewerBlack="modelViewerBlack",t.ModelViewer="modelViewer",t.ConnexisViewer="connexisViewer",t.ConnexisViewerBlack="connexisViewerBlack",t}(rs||{});var aA=(t,n,e,i,o)=>({"model-viewer":t,"model-viewer-black":n,"connexis-viewer":e,"connexis-viewer-black":i,"burger-menu-not-visible":o}),lA=(t,n,e)=>({active:t,hidden:n,disabled:e}),cA=t=>({hidden:t});function dA(t,n){t&1&&(v(0,"span"),T(1,"\xA0\xA0 -\xA0\xA0"),_())}var kd=(()=>{class t{constructor(){this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.isNavbarInfoVisible=!1,this._logoState=pe(rs.BimplusViewer),this.isModelViewerActive=pe(!1),this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.isDashboardTooltipEnabled=!0,this.selectedLanguage="en",this.bimplusNavbarClicked=new I,this.LogoState=rs,this.logoStateSignal=pn(()=>this.isModelViewerActive()?rs.ModelViewerBlack:this._logoState())}set logoState(e){this._logoState.set(e)}get logoState(){return this._logoState()}set isModelViewerActiveValue(e){this.isModelViewerActive.set(e)}_menuClicked(){this.isNavbarMenuEnabled&&_e(this,"bimplusNavbarClicked","menu")}_logoClicked(){this.logoStateSignal()===rs.BimplusViewer&&_e(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&_e(this,"bimplusNavbarClicked","project")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[2,"isDev","isDev",L],isStage:[2,"isStage","isStage",L],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[2,"isNavbarMenuVisible","isNavbarMenuVisible",L],isNavbarInfoVisible:[2,"isNavbarInfoVisible","isNavbarInfoVisible",L],logoState:"logoState",isModelViewerActiveValue:[2,"isModelViewerActive","isModelViewerActiveValue",L],isNavbarMessageVisible:[2,"isNavbarMessageVisible","isNavbarMessageVisible",L],isNavbarMenuActive:[2,"isNavbarMenuActive","isNavbarMenuActive",L],isNavbarMenuEnabled:[2,"isNavbarMenuEnabled","isNavbarMenuEnabled",L],isTouch:[2,"isTouch","isTouch",L],isDashboardTooltipEnabled:[2,"isDashboardTooltipEnabled","isDashboardTooltipEnabled",L],selectedLanguage:"selectedLanguage"},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},standalone:!0,features:[Ee,j],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(i,o){i&1&&(v(0,"div",0)(1,"div",1)(2,"div",2),W(3,"translate"),k("click",function(){return o._logoClicked()})("keypress",function(){return o._logoClicked()}),_(),v(4,"div",3),k("click",function(){return o._menuClicked()})("keypress",function(){return o._menuClicked()}),_()(),v(5,"div",4)(6,"div",5)(7,"span",6),T(8),_(),E(9,dA,2,0,"span",7),v(10,"span",8),k("click",function(){return o._projectInfoClicked()})("keypress",function(){return o._projectInfoClicked()}),T(11),_()(),v(12,"div",9),F(13,"slot"),_()()()),i&2&&(C("ngClass",o.isTouch?"is-touch":""),g(2),C("ngClass",V2(13,aA,o.logoStateSignal()===o.LogoState.ModelViewer,o.logoStateSignal()===o.LogoState.ModelViewerBlack,o.logoStateSignal()===o.LogoState.ConnexisViewer,o.logoStateSignal()===o.LogoState.ConnexisViewerBlack,!o.isNavbarMenuVisible))("title",G(3,11,o.isDashboardTooltipEnabled?"_dashboard_tooltip":"")),g(2),C("ngClass",jt(19,lA,o.isNavbarMenuActive,!o.isNavbarMenuVisible,!o.isNavbarMenuEnabled)),g(2),gt("margin-left",o.teamInfoOffset),C("ngClass",Qe(23,cA,!o.isNavbarInfoVisible)),g(2),xe(o.teamInfo),g(),C("ngIf",o.projectInfo&&!o.isTouch),g(),C("ngClass",o.isDev?"clickable":""),g(),X(" ",o.projectInfo," "))},dependencies:[Q,be,Ot,le,Me],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_Components_Logo_Black.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./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/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/Allplan-Connexis-Logo_black.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.model-viewer-black{background:url("./assets/Allplan-Cloud-Viewer-Logo_black.svg") center center / 14em no-repeat;background-position:center;margin-left:.4em;min-width:14em;cursor:default}.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_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_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_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}
|
|
28
|
+
`],encapsulation:3})}}return t})();var yv=t=>({capitalize:t}),xv=t=>[t];function uA(t,n){if(t&1){let e=U();v(0,"div",22),k("click",function(){let o=O(e).index,r=b(2).$implicit,s=b(2);return S(s._messageAction(r,o))})("keypress",function(){let o=O(e).index,r=b(2).$implicit,s=b(2);return S(s._messageAction(r,o))}),T(1),_()}if(t&2){let e=n.$implicit,i=n.index,o=b(2).$implicit,r=b(2);C("title",r._getItemLinkTitle(o,i)),g(),xe(e)}}function pA(t,n){if(t&1&&E(0,uA,2,2,"div",21),t&2){let e=b().$implicit,i=b(2);C("ngForOf",e.linkText.constructor===i.Array?e.linkText:Qe(1,xv,e.linkText))}}function mA(t,n){if(t&1){let e=U();v(0,"div",14)(1,"div",15),F(2,"div",16),v(3,"div",17),T(4),_(),v(5,"div",18),k("click",function(o){let r=O(e).$implicit,s=b(2);return S(s._closeMessage(r,!1,o))})("keypress",function(o){let r=O(e).$implicit,s=b(2);return S(s._closeMessage(r,!1,o))}),_()(),v(6,"div",19),T(7),_(),E(8,pA,1,3,"div",20),_()}if(t&2){let e=n.$implicit;g(2),C("ngClass","message-item-icon-"+e.type),g(),C("ngClass",Qe(5,yv,e.capitalizedTitle)),g(),X(" ",e.title," "),g(3),xe(e.text),g(),z(e.linkText?8:-1)}}function gA(t,n){if(t&1&&(v(0,"lib-bimplus-scrollable-container"),E(1,mA,9,7,"div",13),_()),t&2){let e=b();g(),C("ngForOf",e._messagesList)}}function hA(t,n){t&1&&(v(0,"div",9),F(1,"div",23),v(2,"div",24),T(3),W(4,"translate"),_()()),t&2&&(g(3),xe(G(4,1,"_Notify_No_Messages")))}function fA(t,n){if(t&1){let e=U();v(0,"div",22),k("click",function(){let o=O(e).index,r=b(2).$implicit,s=b();return S(s._messageAction(r,o))})("keypress",function(){let o=O(e).index,r=b(2).$implicit,s=b();return S(s._messageAction(r,o))}),T(1),_()}if(t&2){let e=n.$implicit,i=n.index,o=b(2).$implicit,r=b();C("title",r._getItemLinkTitle(o,i)),g(),xe(e)}}function bA(t,n){if(t&1&&E(0,fA,2,2,"div",21),t&2){let e=b().$implicit,i=b();C("ngForOf",e.linkText.constructor===i.Array?e.linkText:Qe(1,xv,e.linkText))}}function vA(t,n){if(t&1){let e=U();v(0,"div",14)(1,"div",15),F(2,"div",16),v(3,"div",17),T(4),_(),v(5,"div",18),k("click",function(o){let r=O(e).$implicit,s=b();return S(s._closeMessage(r,!0,o))})("keypress",function(o){let r=O(e).$implicit,s=b();return S(s._closeMessage(r,!0,o))}),_()(),v(6,"div",19),T(7),_(),E(8,bA,1,3,"div",20),_()}if(t&2){let e=n.$implicit;g(2),C("ngClass","message-item-icon-"+e.type),g(),C("ngClass",Qe(5,yv,e.capitalizedTitle)),g(),X(" ",e.title," "),g(3),X(" ",e.text," "),g(),z(e.linkText?8:-1)}}var Od="bimplus-notify-messages",Sd=(()=>{class t extends ve{constructor(e){super(e),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 I,this.bimplusNotifyDeleteAllMessages=new I,this.bimplusNotifyMessageAction=new I}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(e){if(e.messages){let i=e.messages.currentValue;this.updateMessages(i)}}updateMessages(e){if(!(e&&typeof e=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let o=JSON.parse(e);this._messagesList=o.messages;let r=this._messagesList.filter(s=>this._oldMessagesList.findIndex(l=>l.id===s.id)<0);r=r.filter(s=>this._messageNotReadYet(s)),r.reverse().forEach(s=>{this._previewMessagesList.findIndex(l=>s.id===l.id)<0&&(this._previewMessagesList.unshift(s),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(s.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(e,i,o){if(i)return this._closePreviewMessage(e.id);o&&(o.stopPropagation(),o.preventDefault()),_e(this,"bimplusNotifyDeleteMessage",JSON.stringify(e))}_closePreviewMessage(e,i=!0){e&&(this._previewMessagesList=this._previewMessagesList.filter(o=>o.id!==e),this.storeMessagesAsRead([e]),i&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){_e(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(e,i){e.actionId=i,_e(this,"bimplusNotifyMessageAction",JSON.stringify(e))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(e){if(!e?.id)return!0;let i=window.localStorage.getItem(Od);return i?!i.includes(e.id):!0}storeMessagesAsRead(e){if(!e||e.length<1)return;let i=window.localStorage.getItem(Od);i||(i=""),e.forEach(o=>{i?.includes(o)||(i+=o+";")}),window.localStorage.setItem(Od,i)}clearAllLocalStorageMessages(){window.localStorage.removeItem(Od)}_getItemLinkTitle(e,i){let o=[];return e.linkText&&(e.links||e.link)&&(o=Array.isArray(e.links)?e.links:[e.link]),o[i]??""}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(i,o){i&2&&se("new-messages",o.newMessages)("bim-notify",o.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[2,"showMessagePreview","showMessagePreview",L],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[me([Z]),Ee,re,mt,j],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(i,o){i&1&&(v(0,"div",0),W(1,"translate"),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),v(2,"div",1),F(3,"div",2),_(),v(4,"div",3),F(5,"div",4),v(6,"div",5)(7,"div",6),T(8),_(),v(9,"div",7),k("click",function(){return o._deleteAllMessages()})("keypress",function(){return o._deleteAllMessages()}),T(10),W(11,"translate"),_()(),v(12,"div",8),E(13,gA,2,1,"lib-bimplus-scrollable-container")(14,hA,5,3,"div",9),_()()(),v(15,"div",10),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),_(),v(16,"div",11)(17,"div",12),E(18,vA,9,7,"div",13),_()()),i&2&&(C("ngClass",o._menuOpened?"open":"")("title",G(1,12,"_BimplusNotifyTitle")),g(3),C("ngClass","icon-notify"+(o._alertActive?"-alert notify":"")),g(),C("ngClass",o._menuOpened?"open":""),g(4),X(" (",o._messagesList.length,") "),g(2),X(" ",G(11,14,"_Notify_Mark_All")," "),g(3),z(o._messagesList.length?13:14),g(2),C("ngClass",o._menuOpened?"open":""),g(),gt("top",o.previewMessagesOffsetY),C("ngClass",o.showMessagePreview&&!o._menuOpened&&o._previewMessagesList.length>0?"visible":""),g(2),C("ngForOf",o._previewMessagesList))},dependencies:[Q,be,Je,le,Me,Dn],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_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{max-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_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_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_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_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_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./assets/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./assets/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./assets/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./assets/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./assets/bimplus_Components_Notify_Empty.svg")}
|
|
29
29
|
`],encapsulation:2})}}return t})();var Ad=(()=>{class t{transform(e){return e+"px"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=vi({name:"pxsuffix",type:t,pure:!0,standalone:!0})}}return t})();var Ed=(()=>{class t{constructor(){this.oldX=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new I,this.clicked=new I}onMouseMove(e){if(!this.isDragging&&!this.isMouseDown)return;let i=e.clientX-this.oldX;if(!this.isDragging)if(Math.abs(i)>2)this.isDragging=!0,this.wasDragging=!0;else return;_e(this,"dragging",i),this.oldX=e.clientX}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(e){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=e.clientX}onMouseClick(e){this.wasDragging||_e(this,"clicked",e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=ce({type:t,selectors:[["","xDraggable",""]],hostBindings:function(i,o){i&1&&k("mousemove",function(s){return o.onMouseMove(s)},!1,dn)("mouseup",function(s){return o.onMouseUp(s)},!1,dn)("mousedown",function(s){return o.onMouseDown(s)})("click",function(s){return o.onMouseClick(s)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0})}}return t})();function _A(t,n){if(t&1){let e=U();v(0,"div",6),W(1,"translate"),k("keypress",function(){O(e);let o=b(2);return S(o._toggleDrawer())}),_()}if(t&2){let e=b().$implicit;gt("background"," no-repeat center center url("+e.iconDisabled+")"),C("title",G(1,4,e.text)),de("data-test","sidenav_item_"+e.id)}}function CA(t,n){if(t&1){let e=U();v(0,"div",7),W(1,"translate"),k("click",function(){O(e);let o=b(3);return S(o._toggleDrawer())})("keypress",function(){O(e);let o=b(3);return S(o._toggleDrawer())}),_()}if(t&2){let e=b(2).$implicit;gt("background"," no-repeat center center url("+e.iconActive+")"),C("title",G(1,4,e.text)),de("data-test","sidenav_item_"+e.id)}}function wA(t,n){if(t&1){let e=U();v(0,"div",7),W(1,"translate"),k("click",function(){O(e);let o=b(2).$implicit,r=b();return S(r._activateItem(o.id))})("keypress",function(){O(e);let o=b(2).$implicit,r=b();return S(r._activateItem(o.id))}),_()}if(t&2){let e=b(2).$implicit;gt("background"," no-repeat center center url("+e.icon+")"),C("title",G(1,4,e.text)),de("data-test","sidenav_item_"+e.id)}}function yA(t,n){if(t&1&&E(0,CA,2,6,"div",5)(1,wA,2,6,"div",5),t&2){let e=b().$implicit,i=b();z(i.activeItem()===e.id?0:1)}}function xA(t,n){if(t&1&&(v(0,"div",1),E(1,_A,2,6,"div",5)(2,yA,2,1),_()),t&2){let e=n.$implicit;g(),z(e.disabled?1:2)}}function MA(t,n){if(t&1){let e=U();v(0,"div",1)(1,"div",7),W(2,"translate"),k("click",function(){let o=O(e).$implicit,r=b(2);return S(r._clickAction(o.id))})("keypress",function(){let o=O(e).$implicit,r=b(2);return S(r._clickAction(o.id))}),_()()}if(t&2){let e=n.$implicit;g(),gt("background"," no-repeat center center url("+e.icon+")"),C("title",G(2,4,e.text)),de("data-test","sidenav_action_item_"+e.id)}}function DA(t,n){if(t&1&&(F(0,"div",8),Mt(1,MA,3,6,"div",1,en)),t&2){let e=b();g(),Dt(e.actionItems())}}function kA(t,n){if(t&1){let e=U();v(0,"div",2)(1,"div",9),k("click",function(){let o=O(e),r=b();return S(r._clickFooter(o.id))})("keypress",function(){let o=O(e),r=b();return S(r._clickFooter(o.id))}),_()()}if(t&2){let e=n;g(),gt("background"," no-repeat center center url("+e.icon+")"),de("data-test","sidenav_footer_item_"+e.id)}}function OA(t,n){if(t&1){let e=U();v(0,"div",10),k("dragging",function(o){O(e);let r=b();return S(r._onResizeWidth(o))}),_(),v(1,"div",11),k("dragging",function(o){O(e);let r=b();return S(r._onResizeWidth(o))})("clicked",function(){O(e);let o=b();return S(o._toggleDrawer())}),_()}}function SA(t,n){if(t&1){let e=U();v(0,"div",12),k("click",function(){O(e);let o=b();return S(o._toggleDrawer())})("keypress",function(){O(e);let o=b();return S(o._toggleDrawer())}),_()}}var Mv=(()=>{class t extends ve{constructor(e){super(e),this.activeItem=pe(""),this.drawerWidth=pe(300),this.drawerExpanded=pe(!0),this.activeItemChanged=new I,this.actionClicked=new I,this.footerClicked=new I,this.items=pe([]),this.actionItems=pe([]),this.footerItem=pe(null)}set itemsValue(e){this.items.set(e),e.length&&this._activateItem(e[0].id)}set actionItemsValue(e){this.actionItems.set(e)}set footerItemValue(e){this.footerItem.set(e)}_activateItem(e){this.activeItem.set(e),this.items().find(o=>o.id==e)&&(this.drawerExpanded()||this._toggleDrawer(),_e(this,"activeItemChanged",e))}_clickAction(e){_e(this,"actionClicked",e)}_clickFooter(e){_e(this,"footerClicked",e)}_toggleDrawer(){this.drawerExpanded.update(e=>!e)}_onResizeWidth(e){let i=e;this.drawerWidth.update(o=>o+i)}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-sidenav"]],inputs:{itemsValue:[0,"items","itemsValue"],actionItemsValue:[0,"actionItems","actionItemsValue"],footerItemValue:[0,"footerItem","footerItemValue"]},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked",footerClicked:"footerClicked"},standalone:!0,features:[me([Z]),re,j],decls:10,vars:9,consts:[[1,"sidenav"],[1,"sidenav-row"],[1,"sidenav-row-footer"],[1,"sidenav-drawer",3,"ngClass"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed"],[1,"sidenav-item",3,"background","title"],[1,"sidenav-item",3,"keypress","title"],[1,"sidenav-item",3,"click","keypress","title"],[1,"sidenav-separator"],[1,"sidenav-item",3,"click","keypress"],["xDraggable","",1,"sidenav-resize-border-right",3,"dragging"],["xDraggable","","data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left",3,"dragging","clicked"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed",3,"click","keypress"]],template:function(i,o){if(i&1&&(v(0,"div",0),Mt(1,xA,3,1,"div",1,en),E(3,DA,3,0)(4,kA,2,3,"div",2),_(),v(5,"div",3),W(6,"pxsuffix"),F(7,"slot"),E(8,OA,2,0),_(),E(9,SA,1,0,"div",4)),i&2){let r;g(),Dt(o.items()),g(2),z(o.actionItems().length?3:-1),g(),z((r=o.footerItem())?4:-1,r),g(),gt("width",G(6,7,o.drawerWidth())),C("ngClass",o.drawerExpanded()?"":"hidden"),g(3),z(o.drawerExpanded()?8:-1),g(),z(o.drawerExpanded()?-1:9)}},dependencies:[Q,be,Ad,Ed,le,Me],styles:[`.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav{width:4rem;height:100%;margin:0;padding:0;text-align:center;background-color:var(--sidenav-background-color-enabled);border:0 solid var(--sidenav-border-color-enabled);font-size:0;display:flex;flex-direction:column;position:absolute;bottom:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-item{width:3.2rem;height:3.2rem;background-size:2rem 2rem!important;margin:auto;cursor:pointer}.sidenav-separator{width:2rem;height:.1rem;border-top:.1rem solid var(--sidenav-separator-border-color-enabled);cursor:default;pointer-events:none;margin-top:.8rem;text-align:center;display:inline-block;align-self:center}.sidenav-row{width:4rem;height:3.2rem;margin-top:.8rem;display:inline-block}.sidenav-row-footer{margin-top:auto;margin-bottom:5.2rem;width:4rem;height:3.2rem}.sidenav-row-footer:hover{background-color:var(--sidenav-row-footer-background-color-hovered)}.sidenav-row:hover{background-color:var(--sidenav-row-background-color-hovered)}.sidenav-drawer{min-width:25rem;height:100%;border:0 solid var(--sidenav-drawer-border-color-enabled);position:absolute;bottom:0;left:4rem;background-color:var(--sidenav-drawer-background-color-enabled);transition:background-color .7s;border-right:solid thin var(--sidenav-drawer-border-right-color-enabled);width:300px;display:flex;flex-direction:row}.sidenav-drawer:hover{background-color:var(--sidenav-drawer-background-color-hovered)}.sidenav-drawer.hidden{display:none}.sidenav-resize-border-right{right:-5px;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left{background-image:url("./assets/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);right:-2.1rem;width:2.1rem;height:4.8rem;border-radius:0 .4rem .4rem 0;background-color:var(--sidenav-resize-handle-left-background-color-enabled);cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left.collapsed{left:4rem!important;border-radius:.4rem 0 0 .4rem;transform:scaleX(-1)}
|
|
30
30
|
`],encapsulation:3})}}return t})();var AA=(t,n,e)=>({red:t,yellow:n,green:e}),Id=(()=>{class t extends ve{constructor(e){super(e),this.usedStorage=pe(0),this.bimplusStorageInfoClicked=new I}set usedStorageValue(e){this.usedStorage.set(e)}_infoClicked(e){_e(this,"bimplusStorageInfoClicked",e)}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorageValue:[0,"usedStorage","usedStorageValue"]},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},standalone:!0,features:[me([Z]),re,j],decls:8,vars:13,consts:[[1,"storage-info",3,"click","keypress"],[1,"progress-title"],["data-test","used-storage",1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(i,o){i&1&&(v(0,"div",0),k("click",function(){return o._infoClicked("storageInfo")})("keypress",function(){return o._infoClicked("storageInfo")}),v(1,"span",1),T(2),W(3,"translate"),v(4,"span",2),T(5),_()(),v(6,"div",3),F(7,"div",4),_()()),i&2&&(g(2),X(" ",G(3,7,"_Common_Data_Environment_Quota")," "),g(3),X(" ",o.usedStorage(),"% "),g(2),gt("width",o.usedStorage()+"%")("max-width",o.usedStorage()+"%"),C("ngClass",jt(9,AA,o.usedStorage()>=90,o.usedStorage()>=80&&o.usedStorage()<90,o.usedStorage()<80)))},dependencies:[Q,be,le,Me],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)}
|
|
31
31
|
`],encapsulation:3})}}return t})();var EA=Math.PI/180,Dv=2*Math.PI,kn=class t{static pointOnArc(n,e,i){let o=(i-90)*EA;return[n[0]+e*Math.cos(o),n[1]+e*Math.sin(o)]}static arc(n,e,i,o,r,s,l){let d=e-r,p=Math.abs(o-i);s=Math.min(r/2,s),360*(s/(Math.PI*(e-r)))>Math.abs(i-o)&&(s=p/360*d*Math.PI);let f=d+s,w=e-s,D=this.pointOnArc(n,w,i),x=this.pointOnArc(n,w,o),A=this.pointOnArc(n,f,i),V=this.pointOnArc(n,f,o),R=360*(s/(Dv*d)),H=360*(s/(Dv*e)),K=this.pointOnArc(n,d,i+R),ge=this.pointOnArc(n,d,o-R),ze=this.pointOnArc(n,e,i+H),Te=this.pointOnArc(n,e,o-H),$=p>180+2*H?1:0,Le=p>180+2*R?1:0;return new Array("M",(D[0]/l).toString(),(D[1]/l).toString(),"A",(s/l).toString(),(s/l).toString(),"0","0","1",(ze[0]/l).toString(),(ze[1]/l).toString(),"A",(e/l).toString(),(e/l).toString(),"0",($/l).toString(),"1",(Te[0]/l).toString(),(Te[1]/l).toString(),"A",(s/l).toString(),(s/l).toString(),"0","0","1",(x[0]/l).toString(),(x[1]/l).toString(),"L",(V[0]/l).toString(),(V[1]/l).toString(),"A",(s/l).toString(),(s/l).toString(),"0","0","1",(ge[0]/l).toString(),(ge[1]/l).toString(),"A",(d/l).toString(),(d/l).toString(),"0",(Le/l).toString(),"0",(K[0]/l).toString(),(K[1]/l).toString(),"A",(s/l).toString(),(s/l).toString(),"0","0","1",(A[0]/l).toString(),(A[1]/l).toString(),"Z").join(" ")}static drawMenuItemSvg(n,e,i,o){let r=o?(n-5)*10:n*10,s=o?(e-3)*10:e*10,l=r*2,p=360/(i>0?i:1)*Math.PI/360,f=r-Math.sin(p)*r,w=r-Math.cos(p)*r,D=r+Math.sin(p)*r,x=r-Math.cos(p)*r;return{radius:r/l,radiusInner:s/l,width:1,thick:(r-s)/l,innerEdgeRight:(r+s)/l,leftX:f/l,leftY:w/l,rightX:D/l,rightY:x/l}}static generateAnnularSector(n){return t.arc([n.subMenuCenter[0]*12,n.subMenuCenter[1]*12],n.subMenuRadius*12,n.subMenuStartAngle,n.subMenuEndAngle,n.subMenuWidth,7,425)}static generateAnnularSectorBorder(n){return t.arc([n.subMenuCenter[0]*12,n.subMenuCenter[1]*12],n.subMenuRadius*12+1,n.subMenuStartAngle-.5,n.subMenuEndAngle+.5,n.subMenuWidth+2,7,425)}static generateDeadZoneAnnularSector(n){return t.arc([n.deadZoneCenter[0]*12,n.deadZoneCenter[1]*12],n.deadZoneRadius*12,n.deadZoneStartAngle,n.deadZoneEndAngle,n.deadZoneWidth,7,700)}static getSVGViewBox(n){return`0 0 ${n.width} ${n.width}`}static getSVGCenterMenuPath(n){return`M 0 ${n.radius} A ${n.radius} ${n.radius} 0 0 1 ${n.width} ${n.radius} L ${n.width} ${n.radius} A ${n.radius} ${n.radius} 0 0 1 0 ${n.radius} L ${n.thick} ${n.radius} A ${n.radiusInner} ${n.radiusInner} 0 0 0 ${n.innerEdgeRight} ${n.radius} L ${n.innerEdgeRight} ${n.radius} A ${n.radiusInner} ${n.radiusInner} 0 0 0 ${n.thick} ${n.radius} Z`}static getSVGCenterMenuItemPath(n){return`M ${n.radius} ${n.radius} L ${n.leftX} ${n.leftY} A ${n.radius} ${n.radius} 0 0 1 ${n.rightX} ${n.rightY} L ${n.rightX} ${n.rightY} L ${n.radius} ${n.radius} Z`}static getSVGCenterSubMenuItemPath(n){return`M ${n.radius} ${n.radius} L ${n.leftX} ${n.leftY} A ${n.radius} ${n.radius} 0 0 1 ${n.rightX} ${n.rightY} L ${n.rightX} ${n.rightY} L ${n.radius} ${n.radius} Z`}};var IA=(t,n,e)=>({disabled:t,enabled:n,active:e});function LA(t,n){if(t&1&&(v(0,"div",1)(1,"span",2),T(2),_()()),t&2){let e=b();C("ngClass",jt(3,IA,!e.isEnabled,e.isEnabled,e.active))("className",e.item.iconClass),g(2),xe(e.item.text)}}var kv=(()=>{class t{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-tool-hub-item"]],hostVars:6,hostBindings:function(i,o){i&2&&se("active",o.active)("enabled",o.isEnabled)("centermenu-button",o.centerMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[j],decls:1,vars:1,consts:[["class","centermenu-button-icon dragger",3,"ngClass","className",4,"ngIf"],[1,"centermenu-button-icon","dragger",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(i,o){i&1&&E(0,LA,3,7,"div",0),i&2&&C("ngIf",o.item)},dependencies:[Q,be,Ot],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./assets/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:var(--center-menu-controller-background-color-active);background-image:url("./assets/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-sub-menu-border-background-color);opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-sub-menu-background-color);pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(52.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(72.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(92.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(112.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(130deg) translate(-1rem,3.5rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(132.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-90deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:var(--center-menu-sub-menu-button-active)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button-icon.toolhub-submenu-separator[_ngcontent-%COMP%]{border-top:solid .1rem var(--center-menu-submenu-border-color);transform:scale(1.8) rotate(80deg) translate(1px,18px)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] #toolhubSubmenuSeparatorId1[_ngcontent-%COMP%]{width:36rem!important;z-index:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-circle-border-background-color);opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-circle-background-color);pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:var(--center-menu-button-active)}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(60deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-55deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(70deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-75deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-95deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(90deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-115deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(100deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(5) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-135deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(6) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-135deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:var(--center-menu-button-disabled)}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(130deg) translate(-1rem,3.5rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(132.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-90deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}.ui-icon-perspective-camera-projection[_ngcontent-%COMP%]{background-image:url("./assets/ic_view_perspective.svg")}.ui-icon-perspective-camera-projection[_ngcontent-%COMP%]:hover{background-image:url("./assets/ic_view_perspective_maincolor.svg")}.ui-icon-orthographic-camera-projection[_ngcontent-%COMP%]{background-image:url("./assets/ic_view_orthographic.svg")}.ui-icon-orthographic-camera-projection[_ngcontent-%COMP%]:hover{background-image:url("./assets/ic_view_orthographic_maincolor.svg")}']})}}return t})();var PA=(t,n,e)=>({disabled:t,enabled:n,active:e});function TA(t,n){if(t&1&&(v(0,"div",1)(1,"span",2),T(2),_()()),t&2){let e=b();C("ngClass",jt(3,PA,!e.isEnabled,e.isEnabled,e.item.type!=="separator"&&e.active))("className",e.item.iconClass),g(2),xe(e.item.text)}}var Ov=(()=>{class t{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0,this.centerSubMenuButtonClass=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-tool-hub-sub-item"]],hostVars:8,hostBindings:function(i,o){i&2&&se("active",o.active)("enabled",o.isEnabled)("centermenu-button",o.centerMenuButtonClass)("center-sub-menu-button",o.centerSubMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[j],decls:1,vars:1,consts:[["class","center-sub-menu-button-icon",3,"ngClass","className",4,"ngIf"],[1,"center-sub-menu-button-icon",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(i,o){i&1&&E(0,TA,3,7,"div",0),i&2&&C("ngIf",o.item)},dependencies:[Q,be,Ot],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./assets/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:var(--center-menu-controller-background-color-active);background-image:url("./assets/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-sub-menu-border-background-color);opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-sub-menu-background-color);pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(52.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(72.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(92.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(112.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(130deg) translate(-1rem,3.5rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(132.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-90deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:var(--center-menu-sub-menu-button-active)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button-icon.toolhub-submenu-separator[_ngcontent-%COMP%]{border-top:solid .1rem var(--center-menu-submenu-border-color);transform:scale(1.8) rotate(80deg) translate(1px,18px)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] #toolhubSubmenuSeparatorId1[_ngcontent-%COMP%]{width:36rem!important;z-index:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-circle-border-background-color);opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-circle-background-color);pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:var(--center-menu-button-active)}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(60deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-55deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(70deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-75deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-95deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(90deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-115deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(100deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(5) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-135deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(6) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-135deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:var(--center-menu-button-disabled)}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(130deg) translate(-1rem,3.5rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(132.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-90deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}.ui-icon-perspective-camera-projection[_ngcontent-%COMP%]{background-image:url("./assets/ic_view_perspective.svg")}.ui-icon-perspective-camera-projection[_ngcontent-%COMP%]:hover{background-image:url("./assets/ic_view_perspective_maincolor.svg")}.ui-icon-orthographic-camera-projection[_ngcontent-%COMP%]{background-image:url("./assets/ic_view_orthographic.svg")}.ui-icon-orthographic-camera-projection[_ngcontent-%COMP%]:hover{background-image:url("./assets/ic_view_orthographic_maincolor.svg")}']})}}return t})();var VA=(t,n)=>({opened:t,active:n});function FA(t,n){if(t&1){let e=U();v(0,"lib-tool-hub-item",16),W(1,"translate"),k("clicked",function(){let o=O(e).$implicit,r=b();return S(r.clickToolHubItem(o.buttonId))}),_()}if(t&2){let e=n.$implicit;C("title",G(1,5,e.tooltip))("item",e)("active",!!e.active)("isEnabled",!e.disabled),de("data-test","toolhub_item_"+e.buttonId)}}function NA(t,n){if(t&1){let e=U();v(0,"lib-tool-hub-sub-item",23),W(1,"translate"),k("click",function(){O(e);let o=b().$implicit,r=b(2);return S(r.clickToolHubSubItem(o.buttonId))})("keypress",function(){O(e);let o=b().$implicit,r=b(2);return S(r.clickToolHubSubItem(o.buttonId))}),_()}if(t&2){let e=b().$implicit;C("title",G(1,3,e.tooltip))("item",e),de("data-test","toolhub_subitem_"+e.buttonId)}}function jA(t,n){if(t&1&&F(0,"lib-tool-hub-sub-item",24),t&2){let e=b().$implicit;C("item",e),de("data-test","toolhub_subitem_"+e.buttonId)}}function HA(t,n){if(t&1&&(tn(0),E(1,NA,2,5,"lib-tool-hub-sub-item",21)(2,jA,1,2,"lib-tool-hub-sub-item",22),nn()),t&2){let e=n.$implicit;g(),C("ngIf",e.type==="button"),g(),C("ngIf",e.type==="separator")}}function RA(t,n){if(t&1){let e=U();v(0,"div",17),k("mouseleave",function(){O(e);let o=b();return S(o.setHoveredState("submenuBorder",!1))})("mouseenter",function(){O(e);let o=b();return S(o.setHoveredState("submenuBorder",!0))}),_(),v(1,"div",18),k("mouseleave",function(){O(e);let o=b();return S(o.setHoveredState("submenu",!1))})("mouseenter",function(){O(e);let o=b();return S(o.setHoveredState("submenu",!0))}),E(2,HA,3,2,"ng-container",19),_(),v(3,"div",20),k("mouseleave",function(){O(e);let o=b();return S(o.setHoveredState("deadZone",!1))})("mouseenter",function(){O(e);let o=b();return S(o.setHoveredState("deadZone",!0))}),_()}if(t&2){let e=b();C("ngClass",e.isCollapsed?"hidden":""),g(),C("ngClass",e.isCollapsed?"hidden":""),g(),C("ngForOf",e.activeSubItems),g(),C("ngClass",e.isCollapsed?"hidden":"")}}function BA(){return{subMenuStartAngle:40,subMenuEndAngle:140,svgRadiusInner:5.75,svgRadius:10.25,subMenuCenter:[17.25,17.5],subMenuRadius:15.5,subMenuWidth:52,deadZoneCenter:[17,18],deadZoneWidth:140,deadZoneRadius:22,deadZoneStartAngle:35,deadZoneEndAngle:145}}function zA(){let t=[{buttonId:"cmButCreateTask",iconClass:"ui-icon-create-task",text:"_Create_issue_center_menu_tooltip",tooltip:"_Create_issue_center_menu_tooltip",tooltipDisabled:"_Create_issue_center_menu_tooltip"},{buttonId:"cmButQuantityTakeOff",iconClass:"ui-icon-quantity-take-off",text:"_Quantity_take_Off_center_menu_tooltip",tooltip:"_Quantity_take_Off_center_menu_tooltip",tooltipDisabled:"_Quantity_take_Off_center_menu_tooltip"},{buttonId:"cmButMarkup",iconClass:"ui-icon-markup",text:"_Markups_center_menu_tooltip",tooltip:"_Markups_center_menu_tooltip",tooltipDisabled:"_Markups_center_menu_tooltip"},{buttonId:"cmButSection",iconClass:"ui-icon-section",text:"_Sectioning_center_menu_tooltip",tooltip:"_Sectioning_center_menu_tooltip",tooltipDisabled:"_Sectioning_center_menu_tooltip"},{buttonId:"cmButObjTranspMenu",iconClass:"ui-icon-obj-transp",text:"_Hide_objects_center_menu_tooltip",tooltip:"_Hide_objects_center_menu_tooltip",tooltipDisabled:"_Hide_objects_center_menu_tooltip"},{buttonId:"cmButObjSel",iconClass:"ui-icon-obj-select",text:"_Isolate_objects_center_menu_tooltip",tooltip:"_Isolate_objects_center_menu_tooltip",tooltipDisabled:"_Isolate_objects_center_menu_tooltip"},{buttonId:"cmButNavigationMap",iconClass:"ui-icon-navigation-map",text:"_Navigation_nap_center_menu_tooltip",tooltip:"_Navigation_nap_center_menu_tooltip",tooltipDisabled:"_Navigation_nap_center_menu_tooltip"},{buttonId:"cmButFullScreen",iconClass:"ui-icon-fullscreen",text:"_Fullscreen_node_center_menu_tooltip",tooltip:"_Fullscreen_node_center_menu_tooltip",tooltipDisabled:"_Fullscreen_node_center_menu_tooltip"},{buttonId:"cmButProjectNavigator",iconClass:"ui-icon-project-navigator",text:"_Project_navigator_center_menu_tooltip",tooltip:"_Project_navigator_center_menu_tooltip",tooltipDisabled:"_Project_navigator_center_menu_tooltip"},{iconClass:"ui-icon-obj-reset",buttonId:"cmButResetObj",text:"_Reset_viewport_center_menu_tooltip",tooltip:"_Reset_viewport_center_menu_tooltip",tooltipDisabled:"_Reset_viewport_center_menu_tooltip"},{buttonId:"cmButResetVp",iconClass:"ui-icon-reset-vp",text:"_Select_view_center_menu_tooltip",tooltip:"_Select_view_center_menu_tooltip",tooltipDisabled:"_Select_view_center_menu_tooltip",subMenuId:"cmb-view-submenu",subItems:[{buttonId:"cmButFrontView",type:"button",iconClass:"ui-icon-front-view",text:"_Front_view_center_menu_tooltip",tooltip:"_Front_view_center_menu_tooltip",tooltipDisabled:"_Front_view_center_menu_tooltip",actionClick:"centerMenuFrontViewClick"},{buttonId:"cmButTopView",type:"button",iconClass:"ui-icon-top-view",text:"_Top_view_center_menu_tooltip",tooltip:"_Top_view_center_menu_tooltip",tooltipDisabled:"_Top_view_center_menu_tooltip",actionClick:"centerMenuTopViewClick"},{buttonId:"cmButSideView",type:"button",iconClass:"ui-icon-side-view",text:"_Side_view_center_menu_tooltip",tooltip:"_Side_view_center_menu_tooltip",tooltipDisabled:"_Side_view_center_menu_tooltip",actionClick:"centerMenuSideViewClick"},{buttonId:"cmButPerspectiveView",type:"button",iconClass:"ui-icon-perspective-view",text:"_Perspective_view_center_menu_tooltip",tooltip:"_Perspective_view_center_menu_tooltip",tooltipDisabled:"_Perspective_view_center_menu_tooltip",actionClick:"centerMenuPerspectiveViewClick"},{buttonId:"toolhubSubmenuSeparatorId1",type:"separator",iconClass:"center-sub-menu-button-icon toolhub-submenu-separator",text:"",tooltip:"",tooltipDisabled:"",actionClick:""},{buttonId:"cmButToggleProjection",type:"button",iconClass:"ui-icon-orthographic-camera-projection",text:"_Orthographic_projection_center_menu_tooltip",tooltip:"_Orthographic_projection_center_menu_tooltip",tooltipDisabled:"_Orthographic_projection_center_menu_tooltip",actionClick:"centerMenuToggleProjection"}]}];return t.forEach(n=>{n.active=!1,n.disabled=!0}),t}var ZA=350,$A=670,Sv=(()=>{class t extends ve{constructor(e,i,o,r){super(e),this.layoutManagerService=i,this.resizeObserverService=o,this.element=r,this.isEmbedded=!1,this.isFocused=!1,this.isActive=!0,this.itemClicked=new I,this.subItemClicked=new I,this.componentId="center-menu-fp-id",this.subscription=null,this._isCollapsed=!1,this._itemStates=Array(),this._items=Array(),this._activeSubItemsView=null,this._activeSubItems=null,this._isPerspectiveProjection=!0,this._hoveredElements=Array(),this.items=zA(),this._visualSettings=BA(),this._units=this.calculateCurrentMenuItemUnits(),this._subMenuUnits=this.calculateCurrentSubMenuItemUnits(),this._annularSector=kn.generateAnnularSector(this._visualSettings),this._annularSectorBorder=kn.generateAnnularSectorBorder(this._visualSettings),this._deadZoneAnnularSector=kn.generateDeadZoneAnnularSector(this._visualSettings)}get itemStates(){return this._itemStates}set itemStates(e){this._itemStates=e,this.setItemStates(this._itemStates)}setItemStates(e){for(let i of e){let o=this._items.find(r=>r.buttonId===i.buttonId);o&&(i.active!=null&&(o.active=i.active),i.disabled!==void 0&&(o.disabled=i.disabled))}this._updateActivationState()}get items(){return this._items}set items(e){this._items=e;let i=this._items?.length>0?this._items.length:1,o=document?.documentElement?.style;if(o){let r=o.getPropertyValue("--menu-items");parseInt(r)!==i&&o.setProperty("--menu-items",i.toString())}this.setItemStates(this._itemStates)}get activeSubItems(){return this._activeSubItems}get isCollapsed(){return this._isCollapsed}set isCollapsed(e){this._isCollapsed=e}get isPerspectiveProjection(){return this._isPerspectiveProjection}set isPerspectiveProjection(e){this._isPerspectiveProjection=e}get units(){return this._units}get subMenuUnits(){return this._subMenuUnits}get annularSector(){return this._annularSector}get annularSectorBorder(){return this._annularSectorBorder}get deadZoneAnnularSector(){return this._deadZoneAnnularSector}ngOnInit(){this.layoutManagerService.registerObject(this.element,this.componentId,"#center-menu-fp-id",!0,ZA,$A),this.layoutManagerService.registeredItems$.subscribe(e=>{let i=e.find(o=>o.id===this.componentId);this.isCollapsed=!!i?.isCollapsed})}ngAfterViewInit(){this.subscription=this.resizeObserverService.parentAppRect$.subscribe(e=>{this.handleParentAppRectSizeChange(e)})}getSVGViewBox(){return kn.getSVGViewBox(this._units)}getSVGCenterMenuPath(){return kn.getSVGCenterMenuPath(this._units)}getSVGCenterMenuItemPath(){return kn.getSVGCenterMenuItemPath(this._units)}getSVGCenterSubMenuItemPath(){return kn.getSVGCenterSubMenuItemPath(this._subMenuUnits)}toggleMenu(){this.layoutManagerService.updateCollapsed(!this.isCollapsed,this.componentId),setTimeout(()=>{this.layoutManagerService.checkPosition("center-menu-fp-id",this.getSelector(),void 0,0,0,!0)})}findToolHubItemById(e){return this._items.find(i=>i.buttonId===e)}clickToolHubItem(e){let i=this.findToolHubItemById(e);!i||i?.disabled||this.itemClicked.emit(e)}clickToolHubSubItem(e){!this._activeSubItems||!this._activeSubItems.find(o=>o.buttonId===e)||(this.subItemClicked.emit(e),this.closeActiveSubItemsView())}toggleToolHubItemActive(e){let i=this.findToolHubItemById(e);!i||i.disabled||(i.active=!i.active,this._updateActivationState())}toggleSubItemsView(e){let i=this.findToolHubItemById(e);!i||i.disabled||!i.subItems||(i.active=!i.active,i.active?(this._activeSubItemsView=i,this._activeSubItems=i.subItems):(this._activeSubItemsView=null,this._activeSubItems=null))}toggleCameraProjection(e){if(!this._activeSubItems)return;let i=this._activeSubItems.find(o=>o.buttonId===e);i&&(this.isPerspectiveProjection=!this.isPerspectiveProjection,i.iconClass=this.isPerspectiveProjection?"ui-icon-orthographic-camera-projection":"ui-icon-perspective-camera-projection",i.text=this.isPerspectiveProjection?"_Orthographic_projection_center_menu_tooltip":"_Perspective_projection_center_menu_tooltip",i.tooltip=this.isPerspectiveProjection?"_Orthographic_projection_center_menu_tooltip":"_Perspective_projection_center_menu_tooltip",i.tooltipDisabled=this.isPerspectiveProjection?"_Orthographic_projection_center_menu_tooltip":"_Perspective_projection_center_menu_tooltip")}closeActiveSubItemsView(){this._activeSubItemsView&&(this._activeSubItemsView.active=!1,this._activeSubItemsView=null),this._activeSubItems=null}setHoveredState(e,i){let o=this._hoveredElements.indexOf(e),r=this._hoveredElements.length;o>=0&&!i&&this._hoveredElements.splice(o,1),o<0&&i&&this._hoveredElements.push(e),r>0&&this._hoveredElements.length===0&&setInterval(()=>{this._hoveredElements.length===0&&this.closeActiveSubItemsView()},1e3)}getSelector(){return this.isCollapsed?"#center-menu-controller":".center-menu-fp"}dragElement(e){let i=e[0],o=e[1];this.layoutManagerService.checkPosition("center-menu-fp-id",this.getSelector(),void 0,i,o)}onDragEnd(){this.layoutManagerService.handleDragEnd("center-menu-fp-id")}calculateCurrentMenuItemUnits(){return kn.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,this._items.length,this.isEmbedded)}calculateCurrentSubMenuItemUnits(){return kn.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,20,this.isEmbedded)}handleParentAppRectSizeChange(e){this.layoutManagerService.checkPosition(this.componentId,this.getSelector(),e,0,0,!0)}_oneOrMoreItemsActive(){for(let e of this.items)if(e.active===!0)return!0;return!1}_updateActivationState(){this._oneOrMoreItemsActive()?this.isActive=!0:this.isActive=!1}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(St),M(oo),M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-tool-hub"]],inputs:{itemStates:"itemStates",items:"items",isCollapsed:[2,"isCollapsed","isCollapsed",L],isPerspectiveProjection:[2,"isPerspectiveProjection","isPerspectiveProjection",L],isEmbedded:[2,"isEmbedded","isEmbedded",L],isFocused:[2,"isFocused","isFocused",L],isActive:[2,"isActive","isActive",L]},outputs:{itemClicked:"itemClicked",subItemClicked:"subItemClicked"},standalone:!0,features:[me([Z]),Ee,re,j],decls:23,vars:22,consts:[[1,"center-menu"],["id","center-menu-fp-id",1,"center-menu-fp",3,"ngClass"],["libDraggable","","id","center-menu-controller","data-test","toolhub_controller",1,"center-menu-controller","dragger",3,"clicked","dragging","dragEnd","ngClass","title"],[1,"center-menu-circle-border-inner",3,"ngClass"],[1,"center-menu-circle-border-outer",3,"mouseleave","mouseenter","ngClass"],["libDraggable","",1,"center-menu-circle",3,"mouseleave","mouseenter","dragging","ngClass"],["libDraggable","",3,"title","item","active","isEnabled","clicked",4,"ngFor","ngForOf"],["fill","none",1,"centermenu-button-svg"],["id","svgCenterMenu","clipPathUnits","objectBoundingBox"],["fill","white"],["id","svgCenterMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterSubMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenu","clipPathUnits","objectBoundingBox"],["fill","none"],["id","svgCenterMenuSubMenuBorder","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenuDeadZone","clipPathUnits","objectBoundingBox"],["libDraggable","",3,"clicked","title","item","active","isEnabled"],[1,"center-menu-sub-menu-border",3,"mouseleave","mouseenter","ngClass"],[1,"center-menu-sub-menu",3,"mouseleave","mouseenter","ngClass"],[4,"ngFor","ngForOf"],[1,"center-menu-sub-menu-dead-zone",3,"mouseleave","mouseenter","ngClass"],[3,"title","item","click","keypress",4,"ngIf"],[3,"item",4,"ngIf"],[3,"click","keypress","title","item"],[3,"item"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"div",1)(2,"div",2),W(3,"translate"),W(4,"translate"),k("clicked",function(){return o.toggleMenu()})("dragging",function(s){return o.dragElement(s)})("dragEnd",function(){return o.onDragEnd()}),_(),F(5,"div",3),v(6,"div",4),k("mouseleave",function(){return o.setHoveredState("menuCircleBorderOuter",!1)})("mouseenter",function(){return o.setHoveredState("menuCircleBorderOuter",!0)}),_(),v(7,"div",5),k("mouseleave",function(){return o.setHoveredState("menuCircle",!1)})("mouseenter",function(){return o.setHoveredState("menuCircle",!0)})("dragging",function(s){return o.dragElement(s)}),E(8,FA,2,7,"lib-tool-hub-item",6),ib(),v(9,"svg",7)(10,"clipPath",8),F(11,"path",9),_(),v(12,"clipPath",10),F(13,"path",9),_(),v(14,"clipPath",11),F(15,"path",9),_(),v(16,"clipPath",12),F(17,"path",13),_(),v(18,"clipPath",14),F(19,"path",13),_(),v(20,"clipPath",15),F(21,"path",13),_()()(),E(22,RA,4,4),_()()),i&2&&(g(),C("ngClass",o.activeSubItems?"submenu-active":""),g(),C("ngClass",Nt(19,VA,!o.isCollapsed,o.isActive))("title",o.isCollapsed?G(3,15,"_Show_toolhub_tooltip"):G(4,17,"_Minimize_toolhub_tooltip")),g(3),C("ngClass",o.isCollapsed?"hidden":""),g(),C("ngClass",o.isCollapsed?"hidden":""),g(),C("ngClass",o.isCollapsed?"hidden":""),g(),C("ngForOf",o.items),g(),de("viewBox",o.getSVGViewBox()),g(2),de("d",o.getSVGCenterMenuPath()),g(2),de("d",o.getSVGCenterMenuItemPath()),g(2),de("d",o.getSVGCenterSubMenuItemPath()),g(2),de("d",o.annularSector),g(2),de("d",o.annularSectorBorder),g(2),de("d",o.deadZoneAnnularSector),g(),z(o.activeSubItems?22:-1))},dependencies:[le,Me,Q,be,Je,Ot,kv,Ov,io],styles:[`.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}.shadow{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch .center-menu .submenu-container{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch #cmb-view-submenu{display:none;top:19rem}.is-touch #cmb-view-submenu .bim-ui-popupwin-tick-down{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position{left:-35rem}}#center-menu-fp-id{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded{min-width:16.5rem;min-height:16.5rem}.center-menu{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu>*{pointer-events:all}.center-menu .hidden{display:none!important}.center-menu .center-menu-fp.submenu-active{width:27rem}.center-menu .center-menu-controller{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:var(--center-menu-controller-background-color-enabled);background-image:url("./assets/27_Center_Menu.svg");border:1px solid var(--center-menu-controller-border-color-enabled)}.center-menu .center-menu-controller.opened{background-image:url("./assets/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu .center-menu-controller:not(.opened).active{background-color:var(--center-menu-controller-background-color-active);background-image:url("./assets/27_Center_Menu_active.svg");border-color:transparent}.center-menu .center-menu-sub-menu-dead-zone{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu .center-menu-sub-menu-border{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-sub-menu-border-background-color);opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu .center-menu-sub-menu{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-sub-menu-background-color);pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-sub-menu .centermenu-button{width:35rem;height:35rem;left:auto;right:0}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-text{display:none}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-icon{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(52.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(72.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(92.5deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(112.5deg) translate(-.7rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(5){transform:rotate(130deg) translate(-1rem,3.5rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(6){transform:rotate(132.5deg) translate(-.7rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(6) .centermenu-button-icon{transform:rotate(-90deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .center-sub-menu-button{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu .center-menu-sub-menu .center-sub-menu-button.active:not(.disabled){background-color:var(--center-menu-sub-menu-button-active)}.center-menu .center-menu-sub-menu .center-sub-menu-button .center-sub-menu-button-icon{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu .center-menu-sub-menu .center-sub-menu-button-icon.toolhub-submenu-separator{border-top:solid .1rem var(--center-menu-submenu-border-color);transform:scale(1.8) rotate(80deg) translate(1px,18px)}.center-menu .center-menu-sub-menu #toolhubSubmenuSeparatorId1{width:36rem!important;z-index:0}.center-menu .center-menu-circle-border-outer,.center-menu .center-menu-circle-border-inner{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-circle-border-background-color);opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu .center-menu-circle-border-outer{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu .center-menu-circle-border-inner{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu .center-menu-circle{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:var(--center-menu-circle-background-color);pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-circle .centermenu-button-text{display:none}.center-menu .center-menu-circle .bim-ui-popupwin-content{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu .center-menu-circle .bim-ui-popupwin-content .section-menu-item,.center-menu .center-menu-circle .bim-ui-popupwin-content .annotation-menu-item{text-align:center}.center-menu .center-menu-circle .bim-ui-popupwin-item{min-width:7.125em}.center-menu .center-menu-circle .submenu-container{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu .center-menu-circle .centermenu-button:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5) .centermenu-button-icon{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6) .centermenu-button-icon{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7) .centermenu-button-icon{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8) .centermenu-button-icon{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9) .centermenu-button-icon{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10) .centermenu-button-icon{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11) .centermenu-button-icon{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu .centermenu-button{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu .centermenu-button.active:not(.disabled){background-color:var(--center-menu-button-active)}.center-menu .centermenu-button .centermenu-button-icon{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button:nth-child(1){transform:rotate(60deg);left:auto;right:0}.center-sub-menu-button:nth-child(1) .center-sub-menu-button-icon{transform:rotate(-55deg)}.center-sub-menu-button:nth-child(2){transform:rotate(70deg);left:auto;right:0}.center-sub-menu-button:nth-child(2) .center-sub-menu-button-icon{transform:rotate(-75deg)}.center-sub-menu-button:nth-child(3){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button:nth-child(3) .center-sub-menu-button-icon{transform:rotate(-95deg)}.center-sub-menu-button:nth-child(4){transform:rotate(90deg);left:auto;right:0}.center-sub-menu-button:nth-child(4) .center-sub-menu-button-icon{transform:rotate(-115deg)}.center-sub-menu-button:nth-child(5){transform:rotate(100deg);left:auto;right:0}.center-sub-menu-button:nth-child(5) .center-sub-menu-button-icon{transform:rotate(-135deg)}.center-sub-menu-button:nth-child(6){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button:nth-child(6) .center-sub-menu-button-icon{transform:rotate(-135deg)}@-webkit-keyframes highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}@keyframes highlight{0%{background-color:var(--center-menu-button-hovered)}to{background-color:var(--center-menu-button-hovered)}}.center-menu .center-menu-fp.is-dragging .center-menu-controller,.center-menu .center-menu-fp.is-dragging .centermenu-button{cursor:move}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-controller,.center-menu .center-menu-fp:not(.is-dragging) .centermenu-button{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button:not(.active):hover{background-color:var(--center-menu-button-disabled)}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button.pulse:not(.disabled){-webkit-animation:highlight .25s linear;animation:highlight .25s linear}#cmb-view-submenu{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu{display:none;text-align:left;position:absolute}.center-menu{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .embedded .center-menu-circle{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-controller{left:5.8rem;top:5.8rem}.center-menu .embedded .centermenu-button,.center-menu .embedded .center-menu-circle-border-outer,.center-menu .embedded .center-menu-circle-border-inner{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-sub-menu{width:30rem;height:31rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button{width:30rem;height:30rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(5){transform:rotate(130deg) translate(-1rem,3.5rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(6){transform:rotate(132.5deg) translate(-.7rem,2.7rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(6) .centermenu-button-icon{transform:rotate(-90deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu-border{width:30rem;height:31rem}.ui-icon-create-task{background-image:url("./assets/Add_Issue_active.svg")}.ui-icon-create-task.disabled{background-image:url("./assets/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off{background-image:url("./assets/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled{background-image:url("./assets/Quantity_disabled.svg")}.ui-icon-markup{background-image:url("./assets/Markup_active.svg")}.ui-icon-markup.disabled{background-image:url("./assets/Markup_disabled.svg")}.ui-icon-section{background-image:url("./assets/Section_active.svg")}.ui-icon-section.disabled{background-image:url("./assets/Section_disabled.svg")}.ui-icon-obj-transp{background-image:url("./assets/Hide_active.svg")}.ui-icon-obj-transp.disabled{background-image:url("./assets/Hide_disabled.svg")}.ui-icon-obj-select{background-image:url("./assets/Isolation_active.svg")}.ui-icon-obj-select.disabled{background-image:url("./assets/Isolation_disabled.svg")}.ui-icon-navigation-map{background-image:url("./assets/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled{background-image:url("./assets/Navigation_Map_disabled.svg")}.ui-icon-fullscreen{background-image:url("./assets/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled{background-image:url("./assets/Fullscreen_disabled.svg")}.ui-icon-project-navigator{background-image:url("./assets/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled{background-image:url("./assets/Project_Navigation_disabled.svg")}.ui-icon-obj-reset{background-image:url("./assets/Reset_active.svg")}.ui-icon-obj-reset.disabled{background-image:url("./assets/Reset_disabled.svg")}.ui-icon-reset-vp{background-image:url("./assets/View_active.svg")}.ui-icon-reset-vp.disabled{background-image:url("./assets/View_disabled.svg")}.ui-icon-front-view{background-image:url("./assets/cm_view_front_black.svg")}.ui-icon-front-view:hover{background-image:url("./assets/cm_view_front_maincolor.svg")}.ui-icon-perspective-view{background-image:url("./assets/cm_view_perspective_black.svg")}.ui-icon-perspective-view:hover{background-image:url("./assets/cm_view_perspective_maincolor.svg")}.ui-icon-side-view{background-image:url("./assets/cm_view_side_black.svg")}.ui-icon-side-view:hover{background-image:url("./assets/cm_view_side_maincolor.svg")}.ui-icon-top-view{background-image:url("./assets/cm_view_top_black.svg")}.ui-icon-top-view:hover{background-image:url("./assets/cm_view_top_maincolor.svg")}.ui-icon-perspective-camera-projection{background-image:url("./assets/ic_view_perspective.svg")}.ui-icon-perspective-camera-projection:hover{background-image:url("./assets/ic_view_perspective_maincolor.svg")}.ui-icon-orthographic-camera-projection{background-image:url("./assets/ic_view_orthographic.svg")}.ui-icon-orthographic-camera-projection:hover{background-image:url("./assets/ic_view_orthographic_maincolor.svg")}
|
|
32
|
-
`],encapsulation:3})}}return t})();var UA=(t,n)=>({open:t,"is-touch":n}),WA=t=>({open:t}),GA=t=>({selected:t});function YA(t,n){if(t&1){let e=U();v(0,"li",7),k("click",function(){let o=O(e).$implicit,r=b();return S(r._menuItemClicked(o.mode))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r._menuItemClicked(o.mode))}),F(1,"div",8),v(2,"span"),T(3),W(4,"translate"),_()()}if(t&2){let e=n.$implicit,i=b();C("ngClass",
|
|
32
|
+
`],encapsulation:3})}}return t})();var UA=(t,n)=>({open:t,"is-touch":n}),WA=t=>({open:t}),GA=t=>({selected:t});function YA(t,n){if(t&1){let e=U();v(0,"li",7),k("click",function(){let o=O(e).$implicit,r=b();return S(r._menuItemClicked(o.mode))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r._menuItemClicked(o.mode))}),F(1,"div",8),v(2,"span"),T(3),W(4,"translate"),_()()}if(t&2){let e=n.$implicit,i=b();C("ngClass",Qe(5,GA,i.selectedMode===e.mode)),g(),C("ngClass",e.class),g(2),xe(G(4,3,e.textId))}}var Ld=(()=>{class t extends ve{constructor(e){super(e),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 I}get _selectedItem(){return this._menuItemsList.find(e=>e.mode==this.selectedMode)}ngOnChanges(e){e.localizedStrings&&this._localizedStrings.set(e.localizedStrings.currentValue)}_menuItemClicked(e){_e(this,"bimplusTouchModeSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[2,"isTouch","isTouch",L],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},standalone:!0,features:[me([Z]),Ee,re,mt,j],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(i,o){i&1&&(v(0,"div",0),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),_(),v(1,"div",1),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),v(2,"div",2),F(3,"div",3)(4,"span",4),_(),v(5,"ul",5),E(6,YA,5,7,"li",6),_()()),i&2&&(C("ngClass",o._menuOpened?"open":""),g(),C("ngClass",Nt(5,UA,o._menuOpened,o.isTouch)),g(2),C("ngClass",o._selectedItem!=null&&o._selectedItem.class?o._selectedItem==null?null:o._selectedItem.class:""),g(2),C("ngClass",Qe(8,WA,o._menuOpened)),g(),C("ngForOf",o._menuItemsList))},dependencies:[Q,be,Je,le,Me],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_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./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}
|
|
33
33
|
`],encapsulation:3})}}return t})();var qA=(t,n,e)=>({divider:t,languageMenuItem:n,"submenu-hidden":e});function XA(t,n){if(t&1&&T(0),t&2){let e=b();X(" ",e.userName," ")}}function QA(t,n){if(t&1){let e=U();v(0,"div",17),k("click",function(){let o=O(e).$implicit,r=b(4);return S(r._switchLanguage(o.symbol))})("keypress",function(){let o=O(e).$implicit,r=b(4);return S(r._switchLanguage(o.symbol))}),T(1),_()}if(t&2){let e=n.$implicit,i=b(4);Ie("id",i._getLangId(e)),C("ngClass",e.symbol===i.selectedLanguage?"selected":""),de("key",i._getLangId(e)),g(),X(" ",e.text," ")}}function KA(t,n){if(t&1&&(F(0,"div",11)(1,"div",12),v(2,"span",13),T(3),W(4,"translate"),_(),v(5,"div",14)(6,"div",15),E(7,QA,2,4,"div",16),_()()),t&2){let e=b(2).$implicit,i=b();g(),C("ngClass",e.class),g(),C("ngClass",e.textClass?e.textClass:""),g(),X(" ",G(4,5,e.textId)," "),g(2),C("ngClass",i._languagesMenuOpened?"open":""),g(2),C("ngForOf",i._languagesList)}}function JA(t,n){if(t&1&&(F(0,"div",12),v(1,"span",13),T(2),W(3,"translate"),_()),t&2){let e=b(2).$implicit;C("ngClass",e.class),g(),C("ngClass",e.textClass?e.textClass:""),g(),X(" ",G(3,3,e.textId)," ")}}function eE(t,n){if(t&1&&(v(0,"a",10),F(1,"div",12),v(2,"span",13),T(3),W(4,"translate"),_()()),t&2){let e=b(2).$implicit,i=b();Ie("href",i._buildUrl(e),oa),g(),C("ngClass",e.class),g(),C("ngClass",e.textClass?e.textClass:""),g(),X(" ",G(4,4,e.textId)," ")}}function tE(t,n){if(t&1){let e=U();v(0,"li",9),k("click",function(){O(e);let o=b(),r=o.$implicit,s=o.index,l=b();return S(l._menuItemClicked(r,s))})("keypress",function(){O(e);let o=b(),r=o.$implicit,s=o.index,l=b();return S(l._menuItemClicked(r,s))}),E(1,KA,8,7)(2,JA,4,5)(3,eE,5,6,"a",10),_()}if(t&2){let e=b().$implicit;C("ngClass",jt(4,qA,e.type==="divider",e.action==="submenu",(!e.url||e.url.slice(0,2)==="#/")&&e.action!=="submenu")),de("key",e.id)("role",e.type==="divider"?"separator":""),g(),z(e.action==="submenu"?1:!e.url||e.url.slice(0,2)==="#/"?2:!e.type||e.type!=="divider"?3:-1)}}function nE(t,n){if(t&1&&(tn(0),E(1,tE,4,8,"li",8),nn()),t&2){let e=n.$implicit;g(),C("ngIf",e)}}var Pd=(()=>{class t extends ve{constructor(e){super(e),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.supportVisible=!0,this.forumVisible=!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://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",this.supportLinkUrl="https://connect2.allplan.com/services/support",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new I,this.bimplusLanguageSelected=new I,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:"supportLink",action:"support",class:"icon-support",textId:"_Support",get url(){return this._url?.()??""},_url:()=>this.supportLinkUrl,queryParams:"no_cache=1",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:"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(e){e.localizedStrings&&this._localizedStrings.set(e.localizedStrings.currentValue)}_menuItemClicked(e,i){!e||e.type==="divider"||(e.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,_e(this,"bimplusUserMenuClicked",{index:i,action:e.action?e.action:""})))}_switchLanguage(e){this._languagesMenuOpened=!1,this._menuOpened=!1,_e(this,"bimplusLanguageSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(e){return e?!this[`${e.action?e.action:e.id}Visible`]:!1}_buildUrl(e){let i=e?.url,r=this._languagesList.find(l=>l.symbol===this.selectedLanguage)?.lCode,s=i?.endsWith?.(".ct")&&r;return(e?.queryParams||s)&&(i=i+"?",s&&(i=i+"L="+r,e?.queryParams&&(i=i+"&")),e?.queryParams&&(i=i+e.queryParams)),i}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(i=>{if(!(this._isHidden(i)||i.checkState&&!this[i.checkState]))return i})}_getLangId(e){return"portalLanguage"+e?.symbol.charAt(0).toUpperCase()+e?.symbol.slice(1)}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",L],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",L],userGuideVisible:[2,"userGuideVisible","userGuideVisible",L],supportVisible:[2,"supportVisible","supportVisible",L],forumVisible:[2,"forumVisible","forumVisible",L],submenuVisible:[2,"submenuVisible","submenuVisible",L],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",L],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",L],logoutVisible:[2,"logoutVisible","logoutVisible",L],isEmbedded:[2,"isEmbedded","isEmbedded",L],isTouch:[2,"isTouch","isTouch",L],allowRcaItem:[2,"allowRcaItem","allowRcaItem",L],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",supportLinkUrl:"supportLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[me([Z]),Ee,re,mt,j],decls:9,vars:10,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(i,o){i&1&&(v(0,"div",0),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),_(),v(1,"div",1)(2,"div",2),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),F(3,"img",3),v(4,"div",4),E(5,XA,1,1),_(),F(6,"span",5),_(),v(7,"ul",6),E(8,nE,2,1,"ng-container",7),_()()),i&2&&(C("ngClass",o._menuOpened?"open":""),de("key","bimcompOverlay"),g(),C("ngClass",o._menuOpened?"open":""),de("key","userMenu"),g(),C("title",o.buttonTitle?o.buttonTitle:""),g(),Ie("src",o.userPhotoUrl?o.userPhotoUrl:"",oa),Ie("alt",o.buttonTitle?o.buttonTitle:""),g(2),z(o.isTouch?-1:5),g(2),C("ngClass",o._menuOpened?"open":""),g(),C("ngForOf",o._getMenuItems()))},dependencies:[Q,be,Je,Ot,le,Me],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_Components_User_Pic_Default.png") 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_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_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-support{background:url("./assets/bimplus_Components_Support.svg") no-repeat center}.icon-forum{background:url("./assets/bimplus_Components_Forum.svg") no-repeat center}.icon-clear-cache{background:url("./assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./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}
|
|
34
34
|
`],encapsulation:3})}}return t})();var iE=(t,n)=>({open:t,"is-touch":n});function oE(t,n){if(t&1){let e=U();v(0,"li",7),k("click",function(){let o=O(e).$implicit,r=b();return S(r._switchZoom(o.symbol))})("keypress",function(){let o=O(e).$implicit,r=b();return S(r._switchZoom(o.symbol))}),v(1,"span"),T(2),_()()}if(t&2){let e=n.$implicit,i=b();C("ngClass",i._getZoomClassObject(e.symbol)),g(2),xe(e.text)}}var Td=(()=>{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 I}_switchZoom(e){_e(this,"bimplusZoomSelected",e)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(e){return{selected:this.selectedZoom===e,["bimzoom-"+e]:!0}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",L],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},standalone:!0,features:[Ee,j],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(i,o){i&1&&(v(0,"div",0),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),_(),v(1,"div",1),k("click",function(){return o._toggleOpened()})("keypress",function(){return o._toggleOpened()}),v(2,"div",2),F(3,"div",3)(4,"span",4),_(),v(5,"ul",5),E(6,oE,3,2,"li",6),_()()),i&2&&(C("ngClass",o._menuOpened?"open":""),g(),C("ngClass",Nt(4,iE,o._menuOpened,o.isTouch)),g(4),C("ngClass",o._menuOpened?"open":""),g(),C("ngForOf",o._zoomList))},dependencies:[Q,be,Je],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_Components_Zoom.svg")}
|
|
35
|
-
`],encapsulation:3})}}return t})();var K1;try{K1=typeof Intl<"u"&&Intl.v8BreakIterator}catch{K1=!1}var mn=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?G2(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||K1)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(q(ei))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Aa;function rE(){if(Aa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Aa=!0}))}finally{Aa=Aa||!1}return Aa}function ss(t){return rE()?t:!!t.capture}var Q1;function sE(){if(Q1==null){let t=typeof document<"u"?document.head:null;Q1=!!(t&&(t.createShadowRoot||t.attachShadow))}return Q1}function Av(t){if(sE()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Oi(t){return t.composedPath?t.composedPath()[0]:t.target}function Ev(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function zo(t){return Yt(t)?t:Qe(t)}function J1(t){return Array.isArray(t)?t:[t]}function Zo(t){return t instanceof oe?t.nativeElement:t}var Iv=new Set,$o,aE=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):cE}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&lE(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(q(mn),q(na,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function lE(t,n){if(!Iv.has(t))try{$o||($o=document.createElement("style"),n&&$o.setAttribute("nonce",n),$o.setAttribute("type","text/css"),document.head.appendChild($o)),$o.sheet&&($o.sheet.insertRule(`@media ${t} {body{ }}`,0),Iv.add(t))}catch(e){console.error(e)}}function cE(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Pv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Pe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Lv(J1(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Lv(J1(e)).map(s=>this._registerQuery(s).observable),r=_o(o);return r=_n(r.pipe(Lt(1)),r.pipe(Fs(1),Co(0))),r.pipe(ke(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:d,query:p})=>{l.matches=l.matches||d,l.breakpoints[p]=d}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),r={observable:new Ae(s=>{let l=d=>this._zone.run(()=>s.next(d));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Fi(i),ke(({matches:s})=>({query:e,matches:s})),It(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static{this.\u0275fac=function(i){return new(i||t)(q(aE),q(Re))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Lv(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var dE=200,t0=class{constructor(n,e){this._letterKeyStream=new Pe,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new Pe,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:dE;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Pn(e=>this._pressedLetters.push(e)),Co(n),Zn(()=>this._pressedLetters.length>0),ke(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let o=(this._selectedItemIndex+i)%this._items.length,r=this._items[o];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}};var n0=class{_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let i=0;i<this._items.length;i++)if(!this._skipPredicateFn(this._items[i])&&!this._isItemDisabled(this._items[i])){n=i;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){this._activeItemIndex=-1,this._activeItem=null,this._shouldActivationFollowFocus=!1,this._horizontalOrientation="ltr",this._skipPredicateFn=i=>!1,this._trackByFn=i=>i,this._items=[],this._typeaheadSubscription=ft.EMPTY,this._hasInitialFocused=!1,this.change=new Pe,n instanceof Gs?(this._items=n.toArray(),n.changes.subscribe(i=>{this._items=i.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):Yt(n)?n.subscribe(i=>{this._items=i,this._typeahead?.setItems(i),this._updateActiveItemIndex(i),this._initializeFocus()}):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let i=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(i<0||i>=this._items.length)return;let o=this._items[i];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let r=this._activeItem;this._activeItem=o??null,this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i),this._activeItem?.focus(),r?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let i=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(e));i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}_setTypeAhead(n){this._typeahead=new t0(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?zo(this._activeItem.getChildren()).pipe(Lt(1)).subscribe(n=>{let e=n.find(i=>!this._skipPredicateFn(i));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=zo(n.getChildren()):e=Qe(this._items.filter(i=>i.getParent()===null)),e.pipe(Lt(1)).subscribe(i=>{for(let o of i)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function uE(){return(t,n)=>new n0(t,n)}var Fv=new ie("tree-key-manager",{providedIn:"root",factory:uE});function i0(t){return t.buttons===0||t.detail===0}function o0(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var pE=new ie("cdk-input-modality-detector-options"),mE={ignoreKeys:[18,17,224,91,16]},Nv=650,as=ss({passive:!0,capture:!0}),gE=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Ye(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Oi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Nv||(this._modality.next(i0(s)?"keyboard":"mouse"),this._mostRecentTarget=Oi(s))},this._onTouchstart=s=>{if(o0(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Oi(s)},this._options=ue(ue({},mE),r),this.modalityDetected=this._modality.pipe(Fs(1)),this.modalityChanged=this.modalityDetected.pipe(Vs()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,as),o.addEventListener("mousedown",this._onMousedown,as),o.addEventListener("touchstart",this._onTouchstart,as)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,as),document.removeEventListener("mousedown",this._onMousedown,as),document.removeEventListener("touchstart",this._onTouchstart,as))}static{this.\u0275fac=function(i){return new(i||t)(q(mn),q(Re),q(xt),q(pE,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nd=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Nd||{}),hE=new ie("cdk-focus-monitor-default-options"),Fd=ss({passive:!0,capture:!0}),jv=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Pe,this._rootNodeFocusAndBlurListener=l=>{let d=Oi(l);for(let p=d;p;p=p.parentElement)l.type==="focus"?this._onFocus(l,p):this._onBlur(l,p)},this._document=r,this._detectionMode=s?.detectionMode||Nd.IMMEDIATE}monitor(e,i=!1){let o=Zo(e);if(!this._platform.isBrowser||o.nodeType!==1)return Qe();let r=Av(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let l={checkChildren:i,subject:new Pe,rootNode:r};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let i=Zo(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let r=Zo(e),s=this._getDocument().activeElement;r===s?this._getClosestElementsInfo(r).forEach(([l,d])=>this._originChanged(l,i,d)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Nd.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Nd.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Nv:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),r=Oi(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Fd),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Fd)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(It(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Fd),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Fd),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0}return!1}static{this.\u0275fac=function(i){return new(i||t)(q(Re),q(mn),q(gE),q(xt,8),q(hE,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Uo=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Uo||{}),Tv="cdk-high-contrast-black-on-white",Vv="cdk-high-contrast-white-on-black",e0="cdk-high-contrast-active",Hv=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=ne(Pv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Uo.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Uo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Uo.BLACK_ON_WHITE}return Uo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(e0,Tv,Vv),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Uo.BLACK_ON_WHITE?e.add(e0,Tv):i===Uo.WHITE_ON_BLACK&&e.add(e0,Vv)}}static{this.\u0275fac=function(i){return new(i||t)(q(mn),q(xt))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var bE=new ie("cdk-dir-doc",{providedIn:"root",factory:vE});function vE(){return ne(xt)}var _E=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function CE(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?_E.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var jd=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new I,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=CE(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(q(bE,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var r0=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})();function yE(){return!0}var xE=new ie("mat-sanity-checks",{providedIn:"root",factory:yE}),jn=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Ev()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(q(Hv),q(xE,8),q(xt))}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[r0,r0]})}}return t})();var On=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(On||{}),l0=class{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=On.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Rv=ss({passive:!0,capture:!0}),c0=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Oi(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){let r=this._events.get(e);if(r){let s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Rv)})}removeHandler(n,e,i){let o=this._events.get(n);if(!o)return;let r=o.get(e);r&&(r.delete(i),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,Rv)))}},Bv={enterDuration:225,exitDuration:150},ME=800,zv=ss({passive:!0,capture:!0}),Zv=["mousedown","touchstart"],$v=["mouseup","mouseleave","touchend","touchcancel"],d0=class t{static{this._eventManager=new c0}constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Zo(i))}fadeInRipple(n,e,i={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ue(ue({},Bv),i.animation);i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=i.radius||DE(n,e,o),l=n-o.left,d=e-o.top,p=r.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=`${l-s}px`,f.style.top=`${d-s}px`,f.style.height=`${s*2}px`,f.style.width=`${s*2}px`,i.color!=null&&(f.style.backgroundColor=i.color),f.style.transitionDuration=`${p}ms`,this._containerElement.appendChild(f);let w=window.getComputedStyle(f),D=w.transitionProperty,x=w.transitionDuration,A=D==="none"||x==="0s"||x==="0s, 0s"||o.width===0&&o.height===0,V=new l0(this,f,i,A);f.style.transform="scale3d(1, 1, 1)",V.state=On.FADING_IN,i.persistent||(this._mostRecentTransientRipple=V);let R=null;return!A&&(p||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let H=()=>{R&&(R.fallbackTimer=null),clearTimeout(ge),this._finishRippleTransition(V)},K=()=>this._destroyRipple(V),ge=setTimeout(K,p+100);f.addEventListener("transitionend",H),f.addEventListener("transitioncancel",K),R={onTransitionEnd:H,onTransitionCancel:K,fallbackTimer:ge}}),this._activeRipples.set(V,R),(A||!p)&&this._finishRippleTransition(V),V}fadeOutRipple(n){if(n.state===On.FADING_OUT||n.state===On.HIDDEN)return;let e=n.element,i=ue(ue({},Bv),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=On.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Zo(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Zv.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$v.forEach(e=>{this._triggerElement.addEventListener(e,this,zv)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===On.FADING_IN?this._startFadeOutTransition(n):n.state===On.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=On.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=On.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=i0(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+ME;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!o0(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===On.VISIBLE||n.config.terminateOnPointerUp&&n.state===On.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(Zv.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&($v.forEach(e=>n.removeEventListener(e,this,zv)),this._pointerUpEventsRegistered=!1))}};function DE(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}var Yv=new ie("mat-ripple-global-options"),kE=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new d0(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:ue(ue(ue({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,ue(ue({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,ue(ue({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(Re),M(mn),M(Yv,8),M(ta,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&se("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),qv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[jn,jn]})}}return t})();var Uv={capture:!0},Wv=["focus","mousedown","mouseenter","touchstart"],s0="mat-ripple-loader-uninitialized",a0="mat-ripple-loader-class-name",Gv="mat-ripple-loader-centered",Hd="mat-ripple-loader-disabled",Xv=(()=>{class t{constructor(){this._document=ne(xt,{optional:!0}),this._animationMode=ne(ta,{optional:!0}),this._globalRippleOptions=ne(Yv,{optional:!0}),this._platform=ne(mn),this._ngZone=ne(Re),this._hosts=new Map,this._onInteraction=e=>{let i=Oi(e);if(i instanceof HTMLElement){let o=i.closest(`[${s0}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let e of Wv)this._document?.addEventListener(e,this._onInteraction,Uv)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of Wv)this._document?.removeEventListener(i,this._onInteraction,Uv)}configureRipple(e,i){e.setAttribute(s0,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(a0))&&e.setAttribute(a0,i.className||""),i.centered&&e.setAttribute(Gv,""),i.disabled&&e.setAttribute(Hd,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Hd,""):e.removeAttribute(Hd)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(a0)),e.append(o);let r=new kE(new oe(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,r.centered=e.hasAttribute(Gv),r.disabled=e.hasAttribute(Hd),this.attachRipple(e,r),r}attachRipple(e,i){e.removeAttribute(s0),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Qv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[jn,jn]})}}return t})();var OE=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var SE=["mat-icon-button",""],AE=["*"];var EE=new ie("MAT_BUTTON_CONFIG");var IE=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],LE=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,r){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=ne(jv),this._rippleLoader=ne(Xv),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=ne(EE,{optional:!0}),l=e.nativeElement,d=l.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:p,mdcClasses:f}of IE)l.hasAttribute(p)&&d.add(...f)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){Ub()}}static{this.\u0275dir=ce({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",L],disabled:[2,"disabled","disabled",L],ariaDisabled:[2,"aria-disabled","ariaDisabled",L],disabledInteractive:[2,"disabledInteractive","disabledInteractive",L]},features:[Ee]})}}return t})();var Kv=(()=>{class t extends LE{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(mn),M(Re),M(ta,8))}}static{this.\u0275cmp=N({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(de("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),la(o.color?"mat-"+o.color:""),se("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[re,j],attrs:SE,ngContentSelectors:AE,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(lt(),F(0,"span",0),Ue(1),F(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',OE],encapsulation:2,changeDetection:0})}}return t})();var Jv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[jn,qv,jn]})}}return t})();var Rd=class{};function e_(t){return t&&typeof t.connect=="function"&&!(t instanceof As)}var ro=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Pe,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!i.has(this._getConcreteValue(r,i))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var u0=class{constructor(){this.expansionModel=new ro(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}},Bd=class extends u0{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){let e=this.dataNodes.indexOf(n),i=[];for(let o=e+1;o<this.dataNodes.length&&this.getLevel(n)<this.getLevel(this.dataNodes[o]);o++)i.push(this.dataNodes[o]);return i}expandAll(){this.expansionModel.select(...this.dataNodes.map(n=>this._trackByValue(n)))}};var n_=new ie("CDK_TREE_NODE_OUTLET_NODE"),p0=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(M(ti),M(n_,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return t})(),m0=class{constructor(n){this.$implicit=n}},zd=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return t})();function t_(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var ls=(()=>{class t{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._elementRef=ne(oe),this._dir=ne(jd),this._onDestroy=new Pe,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new Ye({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new Ye([]),this._nodeType=new Ye(null),this._nodes=new Ye(new Map),this._keyManagerNodes=new Ye([]),this._keyManagerFactory=ne(Fv),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let e=this._nodeDefs.filter(i=>!i.when);e.length>1,this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){this._nodeType.value===null&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new ro(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;e_(this._dataSource)?e=this._dataSource.connect(this):Yt(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=Qe(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe(It(this._onDestroy)).subscribe(i=>{this._renderDataChanges(i)}))}_getRenderData(e){let i=this._getExpansionModel();return _o([e,this._nodeType,i.changed.pipe(Fi(null),Pn(o=>{this._emitExpansionChanges(o)}))]).pipe(ln(([o,r])=>r===null?Qe({renderNodes:o,flattenedNodes:null,nodeType:r}):this._computeRenderingData(o,r).pipe(ke(s=>ot(ue({},s),{nodeType:r})))))}_renderDataChanges(e){if(e.nodeType===null){this.renderNodeChanges(e.renderNodes);return}this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)}_emitExpansionChanges(e){if(!e)return;let i=this._nodes.value;for(let o of e.added)i.get(o)?._emitExpansionState(!0);for(let o of e.removed)i.get(o)?._emitExpansionState(!1)}_initializeKeyManager(){let e=_o([this._keyManagerNodes,this._nodes]).pipe(ke(([o,r])=>o.reduce((s,l)=>{let d=r.get(this._getExpansionKey(l));return d&&s.push(d),s},[]))),i={trackBy:o=>this._getExpansionKey(o.data),skipPredicate:o=>!!o.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(e,i)}_initializeDataDiffer(){let e=this.trackBy??((i,o)=>this._getExpansionKey(o));this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,i=this._dataDiffer,o=this._nodeOutlet.viewContainer,r){let s=i.diff(e);!s&&!this._viewInit||(s?.forEachOperation((l,d,p)=>{if(l.previousIndex==null)this.insertNode(e[p],p,o,r);else if(p==null)o.remove(d);else{let f=o.get(d);o.move(f,p)}}),s?.forEachIdentityChange(l=>{let d=l.item;if(l.currentIndex!=null){let p=o.get(l.currentIndex);p.context.$implicit=d}}),r?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){if(this._nodeDefs.length===1)return this._nodeDefs.first;let o=this._nodeDefs.find(r=>r.when&&r.when(i,e))||this._defaultNodeDef;return o}insertNode(e,i,o,r){let s=this._getLevelAccessor(),l=this._getNodeDef(e,i),d=this._getExpansionKey(e),p=new m0(e);r??=this._parents.get(d)??void 0,s?p.level=s(e):r!==void 0&&this._levels.has(this._getExpansionKey(r))?p.level=this._levels.get(this._getExpansionKey(r))+1:p.level=0,this._levels.set(d,p.level),(o||this._nodeOutlet.viewContainer).createEmbeddedView(l.template,p,i),Wo.mostRecentTreeNode&&(Wo.mostRecentTreeNode.data=e)}isExpanded(e){return!!(this.treeControl?.isExpanded(e)||this._expansionModel?.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.select(this._getExpansionKey(e)),this._getDescendants(e).pipe(Lt(1),It(this._onDestroy)).subscribe(o=>{i.select(...o.map(r=>this._getExpansionKey(r)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe(Lt(1),It(this._onDestroy)).subscribe(o=>{i.deselect(...o.map(r=>this._getExpansionKey(r)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(e){let i=this._getLevelAccessor(),o=this._expansionModel??this.treeControl?.expansionModel;if(!o)return Qe([]);let r=this._getExpansionKey(e),s=o.changed.pipe(ln(d=>d.added.includes(r)?Qe(!0):d.removed.includes(r)?Qe(!1):bo),Fi(this.isExpanded(e)));if(i)return _o([s,this._flattenedNodes]).pipe(ke(([d,p])=>d?this._findChildrenByLevel(i,p,e,1):[]));let l=this._getChildrenAccessor();if(l)return zo(l(e)??[]);throw t_()}_findChildrenByLevel(e,i,o,r){let s=this._getExpansionKey(o),l=i.findIndex(w=>this._getExpansionKey(w)===s),d=e(o),p=d+r,f=[];for(let w=l+1;w<i.length;w++){let D=e(i[w]);if(D<=d)break;D<=p&&f.push(i[w])}return f}_registerNode(e){this._nodes.value.set(this._getExpansionKey(e.data),e),this._nodes.next(this._nodes.value)}_unregisterNode(e){this._nodes.value.delete(this._getExpansionKey(e.data)),this._nodes.next(this._nodes.value)}_getLevel(e){return this._levels.get(this._getExpansionKey(e))}_getSetSize(e){return this._getAriaSet(e).length}_getPositionInSet(e){let i=this._getAriaSet(e),o=this._getExpansionKey(e);return i.findIndex(r=>this._getExpansionKey(r)===o)+1}_getNodeParent(e){let i=this._parents.get(this._getExpansionKey(e.data));return i&&this._nodes.value.get(this._getExpansionKey(i))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe(ke(i=>i.reduce((o,r)=>{let s=this._nodes.value.get(this._getExpansionKey(r));return s&&o.push(s),o},[])))}_sendKeydownToKeyManager(e){if(e.target===this._elementRef.nativeElement)this._keyManager.onKeydown(e);else{let i=this._nodes.getValue();for(let[,o]of i)if(e.target===o._elementRef.nativeElement){this._keyManager.onKeydown(e);break}}}_getDescendants(e){if(this.treeControl)return Qe(this.treeControl.getDescendants(e));if(this.levelAccessor){let i=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return Qe(i)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe(Tl((i,o)=>(i.push(...o),i),[]));throw t_()}_getAllChildrenRecursively(e){return this.childrenAccessor?zo(this.childrenAccessor(e)).pipe(Lt(1),ln(i=>{for(let o of i)this._parents.set(this._getExpansionKey(o),e);return Qe(...i).pipe(an(o=>_n(Qe([o]),this._getAllChildrenRecursively(o))))})):Qe([])}_getExpansionKey(e){return this.expansionKey?.(e)??e}_getAriaSet(e){let i=this._getExpansionKey(e),o=this._parents.get(i),r=o?this._getExpansionKey(o):null;return this._ariaSets.get(r)??[e]}_findParentForNode(e,i,o){if(!o.length)return null;let r=this._levels.get(this._getExpansionKey(e))??0;for(let s=i-1;s>=0;s--){let l=o[s];if((this._levels.get(this._getExpansionKey(l))??0)<r)return l}return null}_flattenNestedNodesWithExpansion(e,i=0){let o=this._getChildrenAccessor();return o?Qe(...e).pipe(an(r=>{let s=this._getExpansionKey(r);this._parents.has(s)||this._parents.set(s,null),this._levels.set(s,i);let l=zo(o(r));return _n(Qe([r]),l.pipe(Lt(1),Pn(d=>{this._ariaSets.set(s,[...d??[]]);for(let p of d??[]){let f=this._getExpansionKey(p);this._parents.set(f,r),this._levels.set(f,i+1)}}),ln(d=>d?this._flattenNestedNodesWithExpansion(d,i+1).pipe(ke(p=>this.isExpanded(r)?p:[])):Qe([]))))}),Tl((r,s)=>(r.push(...s),r),[])):Qe([...e])}_computeRenderingData(e,i){if(this.childrenAccessor&&i==="flat")return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ke(o=>({renderNodes:o,flattenedNodes:o})));if(this.levelAccessor&&i==="nested"){let o=this.levelAccessor;return Qe(e.filter(r=>o(r)===0)).pipe(ke(r=>({renderNodes:r,flattenedNodes:e})),Pn(({flattenedNodes:r})=>{this._calculateParents(r)}))}else return i==="flat"?Qe({renderNodes:e,flattenedNodes:e}).pipe(Pn(({flattenedNodes:o})=>{this._calculateParents(o)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ke(o=>({renderNodes:e,flattenedNodes:o}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){let i=this._getLevelAccessor();if(i){this._parents.clear(),this._ariaSets.clear();for(let o=0;o<e.length;o++){let r=e[o],s=this._getExpansionKey(r);this._levels.set(s,i(r));let l=this._findParentForNode(r,o,e);this._parents.set(s,l);let d=l?this._getExpansionKey(l):null,p=this._ariaSets.get(d)??[];p.splice(o,0,r),this._ariaSets.set(d,p)}}}static{this.\u0275fac=function(i){return new(i||t)(M(Fr),M(_t))}}static{this.\u0275cmp=N({type:t,selectors:[["cdk-tree"]],contentQueries:function(i,o,r){if(i&1&&zt(r,zd,5),i&2){let s;We(s=Ge())&&(o._nodeDefs=s)}},viewQuery:function(i,o){if(i&1&&kt(p0,7),i&2){let r;We(r=Ge())&&(o._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(i,o){i&1&&k("keydown",function(s){return o._sendKeydownToKeyManager(s)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],standalone:!0,features:[j],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(i,o){i&1&&Pt(0,0)},dependencies:[p0],encapsulation:2})}}return t})(),Wo=(()=>{class t{get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,!(this.data&&!this._isExpandable||!this._inputIsExpandable)&&(this._inputIsExpanded?this.expand():this._inputIsExpanded===!1&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){return this._tree.treeControl?.isExpandable!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:this._tree.treeControl?.isExpandable===void 0&&this._tree.treeControl?.getDescendants(this._data).length===0}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}constructor(e,i){this._elementRef=e,this._tree=i,this._tabindex=-1,this.activation=new I,this.expandedChange=new I,this._destroyed=new Pe,this._dataChanges=new Pe,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=ne(_t),t.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=TE(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(ke(()=>this.isExpanded),Vs()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(ls))}}static{this.\u0275dir=ce({type:t,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(i,o){i&1&&k("click",function(){return o._setActiveItem()})("focus",function(){return o._focusItem()}),i&2&&(ca("tabindex",o._tabindex),de("aria-expanded",o._getAriaExpanded())("aria-level",o.level+1)("aria-posinset",o._getPositionInSet())("aria-setsize",o._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",L],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",L],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[Ee]})}}return t})();function TE(t){let n=t.parentElement;for(;n&&!VE(n);)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?un(n.getAttribute("aria-level")):0:-1}function VE(t){let n=t.classList;return!!(n?.contains("cdk-nested-tree-node")||n?.contains("cdk-tree"))}var FE=/([A-Za-z%]+)$/,g0=(()=>{class t{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,i,o,r){this._treeNode=e,this._tree=i,this._element=o,this._dir=r,this._destroyed=new Pe,this.indentUnits="px",this._indent=40,this._setPadding(),r&&r.change.pipe(It(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let e=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,i=this._level==null?e:this._level;return typeof i=="number"?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){let i=this._paddingIndent();if(i!==this._currentPadding||e){let o=this._element.nativeElement,r=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",s=r==="paddingLeft"?"paddingRight":"paddingLeft";o.style[r]=i||"",o.style[s]="",this._currentPadding=i}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let i=e,o="px";if(typeof e=="string"){let r=e.split(FE);i=r[0],o=r[1]||o}this.indentUnits=o,this._indent=un(i),this._setPadding()}static{this.\u0275fac=function(i){return new(i||t)(M(Wo),M(ls),M(oe),M(jd,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",un],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[Ee]})}}return t})(),h0=(()=>{class t{constructor(e,i){this._tree=e,this._treeNode=i,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(i){return new(i||t)(M(ls),M(Wo))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(i,o){i&1&&k("click",function(s){return o._toggle(),s.stopPropagation()})("keydown.Enter",function(s){return o._toggle(),s.preventDefault()})("keydown.Space",function(s){return o._toggle(),s.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",L]},standalone:!0,features:[Ee]})}}return t})();var Zd=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})();var i_=(()=>{class t extends zd{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[me([{provide:zd,useExisting:t}]),re]})}}return t})();var o_=(()=>{class t extends g0{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",un],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[me([{provide:g0,useExisting:t}]),Ee,re]})}}return t})();var r_=(()=>{class t extends h0{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[me([{provide:h0,useExisting:t}]),re]})}}return t})();var s_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[Zd,jn,jn]})}}return t})(),$d=class{constructor(n,e,i,o){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=o}_flattenNode(n,e,i,o){let r=this.transformFunction(n,e);if(i.push(r),this.isExpandable(r)){let s=this.getChildren(n);s&&(Array.isArray(s)?this._flattenChildren(s,e,i,o):s.pipe(Lt(1)).subscribe(l=>{this._flattenChildren(l,e,i,o)}))}return i}_flattenChildren(n,e,i,o){n.forEach((r,s)=>{let l=o.slice();l.push(s!=n.length-1),this._flattenNode(r,e+1,i,l)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],o=[];return o[0]=!0,n.forEach(r=>{let s=!0;for(let l=0;l<=this.getLevel(r);l++)s=s&&o[l];s&&i.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=e.isExpanded(r))}),i}},Ud=class extends Rd{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new Ye([]),this._expandedData=new Ye([]),this._data=new Ye([]),i&&(this.data=i)}connect(n){return fi(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ke(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var Wd=(()=>{class t{constructor(e){this.elementRef=e,this.clickOutside=new I}onClick(e){this.elementRef.nativeElement.contains(e)||this.clickOutside.emit()}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275dir=ce({type:t,selectors:[["","libClickOutside",""]],hostBindings:function(i,o){i&1&&k("click",function(s){return o.onClick(s.target)},!1,dn)},outputs:{clickOutside:"clickOutside"},standalone:!0})}}return t})();var HE=(t,n)=>({"top.px":t,"left.px":n});function RE(t,n){if(t&1&&F(0,"div",8),t&2){let e=b(2).$implicit;gt("background-image","url("+e.icon+")")}}function BE(t,n){if(t&1){let e=U();v(0,"li",5),k("click",function(){O(e);let o=b().$implicit,r=b(2);return S(r._actionClick(o))})("keypress",function(){O(e);let o=b().$implicit,r=b(2);return S(r._actionClick(o))}),E(1,RE,1,2,"div",6),v(2,"div",7),T(3),_()()}if(t&2){let e=b().$implicit,i=b(2);se("basic-context-menu__item--disabled",i._disabled(e)),g(),z(i.showIcons?1:-1),g(),Ie("title",e.tooltip?e.tooltip:e.title),g(),X(" ",e.title," ")}}function zE(t,n){t&1&&F(0,"div",4)}function ZE(t,n){if(t&1&&E(0,BE,4,5,"li",3)(1,zE,1,0,"div",4),t&2){let e=n.$implicit;z(e.id!=="separator"?0:1)}}function $E(t,n){if(t&1&&(v(0,"ul",2),Mt(1,ZE,2,1,null,null,en),_()),t&2){let e=b();C("ngStyle",Nt(1,HE,e._position().posY,e._position().posX)),g(),Dt(e.items())}}var so=(()=>{class t{set itemsValue(e){e&&this.items.set(e)}constructor(e){this.el=e,this.triggerSelected=new I,this.showIcons=!0,this.triggerTitle="",this._showDropdown=pe(!1),this._data=void 0,this._position=pe({posX:-2e3,posY:-2e3}),this.items=pe([]),this._element=this.el.nativeElement.shadowRoot}get data(){return this._data}set data(e){this._data=e}_clickOutside(){this._stopTriggerPositionTracking(),this._showDropdown.set(!1)}_actionClick(e){if(this._showDropdown.set(!1),typeof e.disabled=="function"){if(e.disabled?.(this._data))return;e.action?.(this._data);return}e.disabled||e.action?.(this._data)}_disabled(e){return e.disabled?typeof e.disabled=="function"?e.disabled?.(this._data):e.disabled:!1}_calculateContextMenuPosition(){let e=this._element.querySelector(".context-menu-trigger");if(!e)return;let{right:i,top:o}=e.getBoundingClientRect();this._position.set({posX:i,posY:o})}_stopTriggerPositionTracking(){this._interval&&(clearInterval(this._interval),this._interval=void 0)}_startTriggerPositionTracking(){this._interval||(this._interval=setInterval(()=>{this._calculateContextMenuPosition()},50))}_toggleDropdown(e){this._showDropdown.update(i=>!i),this._calculateContextMenuPosition(),this._startTriggerPositionTracking(),_e(this,"triggerSelected"),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-context-menu"]],inputs:{showIcons:[2,"showIcons","showIcons",L],triggerTitle:"triggerTitle",itemsValue:[0,"items","itemsValue"],data:"data"},outputs:{triggerSelected:"triggerSelected"},standalone:!0,features:[Ee,j],decls:3,vars:2,consts:[["libClickOutside","",1,"basic-context-menu",3,"clickOutside"],["data-test","context-menu",1,"context-menu-trigger",3,"click","keypress","title"],["data-test","basic-context-menu__list",1,"basic-context-menu__list",3,"ngStyle"],["data-test","basic-context-menu__item",1,"basic-context-menu__item",3,"basic-context-menu__item--disabled"],["data-test","basic-context-menu__item__separator",1,"basic-context-menu__item__separator"],["data-test","basic-context-menu__item",1,"basic-context-menu__item",3,"click","keypress"],["data-test","basic-context-menu__item__icon",1,"basic-context-menu__item__icon",3,"background-image"],["data-test","basic-context-menu__item__label",1,"basic-context-menu__item__label",3,"title"],["data-test","basic-context-menu__item__icon",1,"basic-context-menu__item__icon"]],template:function(i,o){i&1&&(v(0,"div",0),k("clickOutside",function(){return o._clickOutside()}),v(1,"div",1),k("click",function(s){return o._toggleDropdown(s)})("keypress",function(s){return o._toggleDropdown(s)}),E(2,$E,3,4,"ul",2),_()()),i&2&&(g(),Ie("title",o.triggerTitle),g(),z(o._showDropdown()?2:-1))},dependencies:[Hr,Wd],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}.no-transition{-moz-transition:none;-webkit-transition:none;-o-transition:color 0 ease-in;transition:none}.ml-1{margin-left:1rem}.mr-1{margin-right:1rem}.h-full{height:100%}.fixed{position:fixed}.basic-context-menu{display:block;font-family:var(--context-menu-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--context-menu-font-size, 1.4rem)}.basic-context-menu>.context-menu-trigger{min-width:var(--context-menu-trigger-width, 2.5rem);max-width:var(--context-menu-trigger-width, 2.5rem);min-height:var(--context-menu-trigger-height, 2.5rem);max-height:var(--context-menu-trigger-height, 2.5rem);background-repeat:no-repeat;background-position:center;background-image:url("./assets/3_dots.svg");background-color:var(--context-menu-trigger-bkg-color, transparent)}.basic-context-menu>.context-menu-trigger:hover{background-image:url("./assets/3_dots_active.svg")}.basic-context-menu>.basic-context-menu__list{z-index:1;margin:0;position:fixed;top:-2000;left:-2000;translate:var(--context-menu-translate-x, 0) var(--context-menu-translate-y, 0);border:thin solid var(--context-menu-list-border-color-enabled);border-top-width:0;padding-top:.8rem;padding-bottom:.8rem;padding-left:0;padding-right:0;border-bottom-left-radius:var(--context-menu-border-radius, .6rem);border-bottom-right-radius:var(--context-menu-border-radius, .6rem);border-top-left-radius:var(--context-menu-border-radius, .6rem);border-top-right-radius:var(--context-menu-border-radius, .6rem);-webkit-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);-moz-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);width:fit-content;min-width:var(--context-menu-min-width, 10rem);max-width:var(--context-menu-max-width, 30rem);background-color:var(--context-menu-list-background-color)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item{display:flex;flex-direction:row;cursor:pointer;line-height:var(--context-menu-item-line-height, 3.2rem);list-style-type:none;padding-left:1.2rem;padding-right:2.1rem}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--context-menu-font-weight, 700);color:var(--context-menu-item-label-text-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__icon{height:var(--context-menu-item-line-height, 3.2rem);width:var(--context-menu-item-line-height, 3.2rem);min-width:var(--context-menu-item-line-height, 3.2rem);background-repeat:no-repeat;background-size:var(--context-menu-item-icon-size, 1.8rem);margin-right:.6rem;background-position:center;background-image:url("./assets/bimplus_Components_Info_Active.svg")}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item:hover{background-color:var(--context-menu-item-background-color-hovered)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item__separator{border-top:solid .2rem var(--context-menu-item-seperator-border-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled{background-color:transparent;cursor:default}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled>*{opacity:var(--context-menu-item-disabled-opacity, .3)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled:hover{cursor:default;background-color:var(--context-menu-item-background-color-disabled)}
|
|
36
|
-
`],encapsulation:3})}}return t})();var a_=t=>({node:t});function UE(t,n){t&1&&(v(0,"div",1),T(1),_()),t&2&&(g(),xe(n))}function WE(t,n){if(t&1&&Pt(0,7),t&2){let e=b().$implicit,i=b();C("ngTemplateOutlet",i.customNodeTemplate())("ngTemplateOutletContext",qe(2,a_,e))}}function GE(t,n){t&1&&F(0,"div",12)}function YE(t,n){t&1&&F(0,"div",13)}function qE(t,n){if(t&1&&(E(0,GE,1,0,"div",9),v(1,"span",10),E(2,YE,1,0,"div",11),v(3,"div"),T(4),_()()),t&2){let e=b().$implicit,i=b();C("ngIf",i.showObjectsIcons),g(),se("selected-node",i._isSelected(e)),g(3),X(" ",e.name," ")}}function XE(t,n){if(t&1){let e=U();v(0,"lib-bimplus-context-menu",14),k("triggerSelected",function(o){O(e);let r=b().$implicit,s=b();return S(s._toggleNode(o,r))}),_()}if(t&2){let e=b().$implicit,i=b();C("items",i.contextMenus==null?null:i.contextMenus.objectContextMenuitems)("data",e)}}function QE(t,n){if(t&1){let e=U();v(0,"cdk-tree-node",5),k("click",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))})("keypress",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))}),F(1,"button",6),E(2,WE,1,4,"ng-container",7)(3,qE,5,4)(4,XE,1,2,"lib-bimplus-context-menu",8),_()}if(t&2){let e=n.$implicit,i=b();se("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),C("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),de("data-test",i.dataTestPrefix+e.id)("node-id",e.id),g(2),z(i.customNodeTemplate()&&i._isCustomNodeType(e)?2:3),g(2),C("ngIf",i.contextMenus==null||i.contextMenus.objectContextMenuitems==null?null:i.contextMenus.objectContextMenuitems.length)}}function KE(t,n){if(t&1&&Pt(0,7),t&2){let e=b().$implicit,i=b();C("ngTemplateOutlet",i.customNodeTemplate())("ngTemplateOutletContext",qe(2,a_,e))}}function JE(t,n){t&1&&F(0,"div",19)}function eI(t,n){t&1&&F(0,"div",13)}function tI(t,n){if(t&1&&(E(0,JE,1,0,"div",18),v(1,"span",10),E(2,eI,1,0,"div",11),v(3,"div",10),T(4),_()()),t&2){let e=b().$implicit,i=b();C("ngIf",i.showFoldersIcons),g(),se("selected-node",i._isSelected(e))("selected-all-descendants-nodes",i._descendantsAllSelected(e)&&i._isSelected(e)&&i.enableParentHighlighting)("selected-partially-descendants-nodes",i._descendantsPartiallySelected(e)&&i.enableParentHighlighting),g(3),X(" ",e.name," ")}}function nI(t,n){if(t&1){let e=U();v(0,"lib-bimplus-context-menu",14),k("triggerSelected",function(o){O(e);let r=b().$implicit,s=b();return S(s._toggleNode(o,r))}),_()}if(t&2){let e=b().$implicit,i=b();C("items",i.contextMenus==null?null:i.contextMenus.folderContextMenuitems)("data",e)}}function iI(t,n){if(t&1){let e=U();v(0,"cdk-tree-node",15),k("click",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))})("keypress",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))}),v(1,"button",16),F(2,"div",17),_(),E(3,KE,1,4,"ng-container",7)(4,tI,5,8)(5,nI,1,2,"lib-bimplus-context-menu",8),_()}if(t&2){let e=n.$implicit,i=b();se("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),C("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),de("data-test",i.dataTestPrefix+e.id)("node-id",e.id),g(),de("aria-label","Toggle "+e.name),g(),se("expand-more-icon",i._hasChildren(e)&&!i._treeControl.isExpanded(e))("collapse-icon",i._hasChildren(e)&&i._treeControl.isExpanded(e)),g(),z(i.customNodeTemplate()&&i._isCustomNodeType(e)?3:4),g(2),C("ngIf",i.contextMenus==null||i.contextMenus.folderContextMenuitems==null?null:i.contextMenus.folderContextMenuitems.length)}}var gn=(()=>{class t{set treeTitleValue(e){this.treeTitle.set(e)}constructor(e){this.el=e,this.treeDataStringified=null,this.treeTitle=pe(void 0),this.paddingIndent="2.8rem",this.multiSelect=!1,this.oneLevelMultiSelect=!1,this.showFoldersIcons=!1,this.showObjectsIcons=!1,this.enableSelect=!0,this.enableParentHighlighting=!0,this.enableDragAndDrop=!1,this.dataTestPrefix="",this.contextMenus=null,this.customNodeTemplate=pe(null),this.selectedNodes=new I,this._selectionList=void 0,this._transformer=(i,o)=>({expandable:i.children!==void 0,children_count:i.children?.length,name:i.name,id:i.id,level:o,parent:i.parent,nodeType:i.nodeType}),this._treeControl=new Bd(i=>i.level,i=>i.expandable),this._treeFlattener=new $d(this._transformer,i=>i.level,i=>i.expandable,i=>i.children),this._dataSource=new Ud(this._treeControl,this._treeFlattener),this._isExpendable=(i,o)=>o.expandable}get treeData(){return this._dataSource.data}set treeData(e){this.treeDataStringified=null,this._dataSource.data=e}set customNodeTemplateValue(e){this.customNodeTemplate.set(e)}ngOnInit(){let e=this.el.nativeElement;e&&(e.get_node=this.get_node.bind(this),e.select_node=this.select_node.bind(this)),this._selectionList=new ro(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(e,i){for(let o of i){if(o.id===e)return o;if(o.children){let r=this._getNode(e,o.children);if(r)return r}}return null}get_node(e,i=!1){return typeof e=="string"?this._getNode(e,this._dataSource.data):i?this.el.nativeElement.querySelector(`[node-id='${e.id}']`):this._getNode(e.id,this._dataSource.data)}select_node(e,i=!1){let o=this._treeControl.dataNodes.find(r=>r.id===e);if(o&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==o.parent&&this._selectionList.clear(),!this._selectionList.isSelected(o))){if(this._selectionList.select(o),!this.multiSelect&&!this.oneLevelMultiSelect&&!i){_e(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(o),this.enableParentHighlighting&&this._updateParentSelections(o),i||_e(this,"selectedNodes",this._selectionList.selected)}}reset_selection(){this._selectionList?.clear()}expand_node(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);i&&this._treeControl.expand(i)}is_expanded(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._treeControl.isExpanded(i):!1}is_selected(e){if(!this._selectionList)return;let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._selectionList?.isSelected(i):!1}_setNewData(e){let i=JSON.parse(e);this._dataSource.data=i??[]}_changedTreeData(e){this._setNewData(e.currentValue)}ngOnChanges(e){(e.multiSelect||e.oneLevelMultiSelect)&&(this._selectionList=new ro(this.multiSelect||this.oneLevelMultiSelect)),e.treeDataStringified&&this._changedTreeData(e.treeDataStringified)}_isCustomNodeType(e){return e.nodeType!=null&&e.nodeType!=""}_hasChildren(e){return!e.expandable||e.children_count===void 0?!1:e.children_count>0}_descendantsAllSelected(e){if(!this._selectionList)return!1;let i=this._selectionList,o=this._treeControl.getDescendants(e);return o.length===0?!0:o.length>0&&o.every(s=>i.isSelected(s))}_descendantsPartiallySelected(e){if(!this._selectionList)return!1;let i=this._selectionList;return this._treeControl.getDescendants(e).some(s=>i.isSelected(s))&&!this._descendantsAllSelected(e)}_toggleDescendantsNodes(e){if(!this._selectionList)return;this._selectionList.isSelected(e)?this._selectionList.select(...this._treeControl.getDescendants(e)):this._selectionList.deselect(...this._treeControl.getDescendants(e))}_updateParentSelections(e){if(!this._selectionList)return;let i=e.parent,o=this._treeControl.dataNodes.find(r=>r.id===i);for(;o;)this._descendantsAllSelected(o)?this._selectionList.select(o):this._selectionList.deselect(o),i=o.parent,o=this._treeControl.dataNodes.find(r=>r.id===i)}_toggleNode(e,i){if(!i||!this.enableSelect||!this._selectionList)return;if(e!=null&&e instanceof MouseEvent&&!e?.ctrlKey&&this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==i.parent&&this._selectionList.clear(),this._selectionList.toggle(i),!this.multiSelect&&!this.oneLevelMultiSelect){_e(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(i),this.enableParentHighlighting&&this._updateParentSelections(i),_e(this,"selectedNodes",this._selectionList.selected)}_isSelected(e){return this._selectionList?this._selectionList?.isSelected(e):!1}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitleValue:[0,"treeTitle","treeTitleValue"],paddingIndent:"paddingIndent",multiSelect:[2,"multiSelect","multiSelect",L],oneLevelMultiSelect:[2,"oneLevelMultiSelect","oneLevelMultiSelect",L],showFoldersIcons:[2,"showFoldersIcons","showFoldersIcons",L],showObjectsIcons:[2,"showObjectsIcons","showObjectsIcons",L],enableSelect:[2,"enableSelect","enableSelect",L],enableParentHighlighting:[2,"enableParentHighlighting","enableParentHighlighting",L],enableDragAndDrop:[2,"enableDragAndDrop","enableDragAndDrop",L],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",treeData:"treeData",customNodeTemplateValue:[0,"customNodeTemplate","customNodeTemplateValue"]},outputs:{selectedNodes:"selectedNodes"},standalone:!0,features:[Ee,mt,j],decls:5,vars:4,consts:[[1,"tree-container"],[1,"tree-title"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding","",1,"object-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"items","data","triggerSelected",4,"ngIf"],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"triggerSelected","items","data"],["matTreeNodePadding","",1,"folder-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(i,o){if(i&1&&(v(0,"div",0),E(1,UE,2,1,"div",1),v(2,"cdk-tree",2),E(3,QE,5,10,"cdk-tree-node",3)(4,iI,6,15,"cdk-tree-node",4),_()()),i&2){let r;g(),z((r=o.treeTitle())?1:-1,r),g(),C("dataSource",o._dataSource)("treeControl",o._treeControl),g(2),C("matTreeNodeDefWhen",o._isExpendable)}},dependencies:[s_,i_,o_,r_,Jv,Kv,Qv,Zd,ls,Wo,so,Q,Ot,Di],styles:['.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.tree-container[_ngcontent-%COMP%]{background-color:var(--flat-tree-container-background-color-enabled);width:calc(100% - 2 * var(--flat-tree-node-indent, 1rem));padding:var(--flat-tree-node-indent, 1rem);font-family:var(--flat-tree-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--flat-tree-font-size, 1.3rem);font-weight:var(--flat-tree-font-weight, 700);color:var(--flat-tree-container-text-color-enabled)}.tree-container[_ngcontent-%COMP%] > .tree-title[_ngcontent-%COMP%]{background-color:transparent;font-size:var(--flat-tree-title-font-size, 1.6rem);margin-bottom:1rem}.cdk-tree[_ngcontent-%COMP%]{background-color:transparent;width:100%}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display: none;background-color:transparent;display:flex;align-items:center;cursor:pointer;line-height:var(--flat-tree-node-line-height, 2.4rem)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.folder-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-folder-font-weight, 700)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.object-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-object-font-weight, 400)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%]{overflow:hidden;flex:1}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%] > div.node-label[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] lib-bimplus-context-menu[_ngcontent-%COMP%]{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: var(--flat-tree-node-line-height, 2.4rem);--context-menu-trigger-bkg-color: transparent;--context-menu-translate-x: 1rem}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]:not(.selected-node):not(:hover) lib-bimplus-context-menu[_ngcontent-%COMP%]{display:none}.cdk-tree-node.dragable-node[_ngcontent-%COMP%]:hover{background-color:var(--flat-tree-draggable-node-background-color-hovered);background-image:url("./assets/6_dots_gray.svg");background-repeat:no-repeat;background-size:var(--flat-tree-node-icon-size, 1.8rem);background-position:left center}.mat-mdc-icon-button[_ngcontent-%COMP%]{padding:.2rem;width:var(--flat-tree-node-line-height, 2.4rem);height:var(--flat-tree-node-line-height, 2.4rem)}.selected-node[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)!important}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-nodes-text-color-enabled)}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.icon[_ngcontent-%COMP%]{width:var(--flat-tree-node-icon-size, 1.8rem);height:var(--flat-tree-node-icon-size, 1.8rem);margin-right:.4rem;background-position:center;background-size:var(--flat-tree-node-icon-size, 1.8rem)}.icon.folder-icon[_ngcontent-%COMP%]{background:var(--flat-tree-folder-icon, url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat);background-size:var(--flat-tree-folder-icon-size, 1.6rem);background-position:center}.icon.object-icon[_ngcontent-%COMP%]{background:var(--flat-tree-object-icon, url("./assets/bimplus_Components_Documents.svg") no-repeat);background-size:var(--flat-tree-object-icon-size, 1.6rem);background-position:center}.icon.expand-collapse-icon.expand-more-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-expand-icon, url("./assets/collapsed_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}.icon.expand-collapse-icon.collapse-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-collapse-icon, url("./assets/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']})}}return t})();var cs=function(t){return t[t.None=0]="None",t[t.SelectObjectProperties=1]="SelectObjectProperties",t[t.SelectAttributes=2]="SelectAttributes",t}(cs||{}),Ea=5;function oI(t,n){if(t&1&&T(0),t&2){let e=b();X(" \xA0(",e.criterium.namedValue,") ")}}var l_=(()=>{class t extends ve{constructor(e){super(e),this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new I}clickedDelete(){this.deleteCriterium.emit()}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(i,o){i&2&>("margin-left",o.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[re,j],decls:5,vars:2,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click","keypress"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"span",1),T(2),E(3,oI,1,1),_(),v(4,"div",2),k("click",function(){return o.clickedDelete()})("keypress",function(){return o.clickedDelete()}),_()()),i&2&&(g(2),X(" ",o.criterium.name," "),g(),z(o.criterium.namedValue?3:-1))},dependencies:[le],styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:1.8rem;width:1.8rem;cursor:pointer}.filter-criterium-item[_ngcontent-%COMP%]{flex-grow:1}.filter-criterium-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}']})}}return t})();var c_=(()=>{class t{constructor(){this._objectStructure=pe({id:"",name:"",parent:""}),this.treeComponent=null,this.treeData=pn(()=>{let e=this._objectStructure();if(!e)return[];let i=this._convertObjectStructureNodeToTreeNode(e);return i?[i]:[]}),this.nodeSelected=new I}set objectStructureValue(e){this._objectStructure.set(e)}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._objectStructure());i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(i,o){if(i&1&&kt(gn,5),i&2){let r;We(r=Ge())&&(o.treeComponent=r.first)}},inputs:{objectStructureValue:[0,"objectStructure","objectStructureValue"]},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[j],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-flat-tree",0),k("selectedNodes",function(s){return o.handleSelectedNodes(s)}),_()),i&2&&C("treeData",o.treeData())},dependencies:[gn],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var d_=(()=>{class t{constructor(){this._complexProperties=pe({id:"",name:"",parent:""}),this.treeComponent=null,this.treeData=pn(()=>{let e=this._complexProperties();if(!e)return[];let i=this._convertObjectStructureNodeToTreeNode(e);return i?[i]:[]}),this.nodeSelected=new I}set complexPropertiesValue(e){this._complexProperties.set(e)}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._complexProperties());i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(i,o){if(i&1&&kt(gn,5),i&2){let r;We(r=Ge())&&(o.treeComponent=r.first)}},inputs:{complexPropertiesValue:[0,"complexProperties","complexPropertiesValue"]},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[j],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-flat-tree",0),k("selectedNodes",function(s){return o.handleSelectedNodes(s)}),_()),i&2&&C("treeData",o.treeData())},dependencies:[gn],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var Gd=class t{static createFromResponse(n){let e={id:n.id,name:n.name?`${n.type}(${n.name})`:n.type,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};var Yd=class t{static createFromResponse(n){let e={id:n.id,name:n.type?n.type:n.name,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};var qd=(()=>{class t{transform(e){return e==null?"[null]":e===""?"[empty]":typeof e=="boolean"?e?"TRUE":"FALSE":e.toString()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=vi({name:"formatValue",type:t,pure:!0,standalone:!0})}}return t})();var u_=Eu(Xd());var Qd=(()=>{class t{transform(e,i="L"){return(0,u_.default)(e).format(i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=vi({name:"DateTime",type:t,pure:!0,standalone:!0})}}return t})();function aI(t,n){if(t&1){let e=U();v(0,"lib-bimplus-object-structure",2),k("nodeSelected",function(o){O(e);let r=b();return S(r.handleObjectStructureNodeSelected(o))}),_()}if(t&2){let e=b();C("objectStructure",e.objectStructure)}}function lI(t,n){if(t&1){let e=U();v(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),T(3),W(4,"translate"),_()(),v(5,"lib-bimplus-object-complex-properties",3),k("nodeSelected",function(o){O(e);let r=b();return S(r.handleComplexPropertyNodeSelected(o))}),_()()}if(t&2){let e=b();g(3),X(" ",G(4,2,"_Object multiproperties tree"),""),g(2),C("complexProperties",e.complexProperties)}}function cI(t,n){if(t&1){let e=U();v(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),k("click",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttribute(o))})("keypress",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttribute(o))}),_(),F(5,"span"),_(),v(6,"div",11),T(7),_()(),v(8,"div",8)(9,"label",9)(10,"input",10),k("click",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttributeValue(o))})("keypress",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttributeValue(o))}),_(),F(11,"span"),_(),v(12,"div",12),T(13),_()()()()}if(t&2){let e=n.$implicit,i=b(3);g(4),C("checked",e.checked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),g(3),X(" ",e.name," "),g(3),C("checked",e.valueChecked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),g(2),Ie("title",i.titleForAttribute(e)),g(),X(" ",i.normalizedValue(e)," ")}}function dI(t,n){if(t&1&&(v(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),T(3),_()(),v(4,"div"),Mt(5,cI,14,7,"div",6,en),_()()),t&2){let e=n.$implicit;C("expanded",e.expanded),g(3),X(" ",e.name," "),g(2),Dt(e.attributes)}}function uI(t,n){if(t&1&&(v(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),T(3),W(4,"translate"),_()(),Mt(5,dI,7,2,"lib-expansion-panel",4,en),_()),t&2){let e=b();g(3),X(" ",G(4,1,"_Object properties"),""),g(2),Dt(e.objectAttributeGroups)}}var p_=(()=>{class t extends ve{constructor(e,i,o){super(e),this.formatValuePipe=i,this.datetimePipe=o,this.api=null,this.revision=void 0,this._currentObjectId$=new Ye(""),this._currentPropertiesObjectId$=new Ye(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=Ea,this._rootObjectId="",this.filterCriteriaChange=new I,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:e=>{e&&this._createObjectProperties(e,this.revision)}}),this._currentObjectId$.subscribe({next:e=>{this._currentPropertiesObjectId$.next(e),this._createComplexPropertiestructure(e,this.revision)}})}set rootObjectId(e){this._currentObjectId$.next(e),this._createObjectStructure(e,this.revision),this._rootObjectId=e}get rootObjectId(){return this._rootObjectId}set filterCriteria(e){this._filterCriteria=e,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(e){e.checked=!e.checked,e.checked===!1&&(e.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(e)}toggleAttributeValue(e){e.valueChecked=!e.valueChecked,e.checked=e.valueChecked,this.handleFilterCriteriumAttributeStateChange(e)}_defineFilterString(e){let i=`[I][${e.id}].Value`;return e.valueChecked&&(i+=`[F][0]=${this.formatValuePipe.transform(e.value)}`),i}_addFilterCriteria(e){this.filterCriteria.push({name:e.name,value:e.valueChecked?e.value:void 0,namedValue:e.valueChecked?this.normalizedValue(e,!0):void 0,id:e.id,subString:this._defineFilterString(e)})}_updateFilterCriteria(e,i){this.filterCriteria[i]=ot(ue({},this.filterCriteria[i]),{name:e.name,value:e.valueChecked?e.value:void 0,namedValue:e.valueChecked?this.normalizedValue(e,!0):void 0,subString:this._defineFilterString(e)})}roundToDecimal(e,i){let o=Math.pow(10,i);return Math.round(e*o)/o}titleForAttribute(e){return e.value===null||e.value===void 0?this.translateService.instant("_Not_defined"):e.value===""?this.translateService.instant("_Empty_value"):String(e.value)}normalizedValue(e,i=!1){if(e.value===null||e.value===void 0)return i?this.translateService.instant("_Not_defined"):"...";if(e.value==="")return i?this.translateService.instant("_Empty_value"):"''";if(e?.control==="Enumeration"&&e.enumValues)return String(e.enumValues[Number(e.value)]);if(!i&&e.type==="double"&&e.decimal&&typeof e.value=="number"){let o=this.roundToDecimal(e.value,e.decimal);return String(o)}return e?.control==="Checkbox"?e.value===1?"True":"False":e?.type==="datetime"&&typeof e.value=="string"?this.datetimePipe.transform(e.value):String(e.value)}handleFilterCriteriumAttributeStateChange(e){let i=this.filterCriteria.findIndex(o=>o.id===e.id);i>=0?(e.checked===!1&&e.valueChecked===!1?this.filterCriteria.splice(i,1):this._updateFilterCriteria(e,i),this.filterCriteriaChange.emit(this.filterCriteria)):this.filterCriteria.length<Ea&&(this._addFilterCriteria(e),this.filterCriteriaChange.emit(this.filterCriteria))}handleObjectStructureNodeSelected(e){this._currentObjectId$.next(e.id)}handleComplexPropertyNodeSelected(e){this._currentPropertiesObjectId$.next(e.id)}_createObjectProperties(e,i){this._loadObjectProperties(e,i)?.subscribe({next:o=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(o),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(e){let i=[],o=null;if(e.localizedAttributeGroups&&(o=e.localizedAttributeGroups),!e.attributes)return i;let r=e.attributes;for(let[s,l]of Object.entries(r)){let d={name:s,expanded:!1,attributes:[]};if(o?.[s]&&(d.name=o[s]),!!l){for(let p of Object.values(l)){let f={id:p.id,name:p.name,description:p.description,value:p.value,isChangeable:p.isChangeable,type:p.type,checked:!1,valueChecked:!1,group:p.group};p.control&&(f.control=p.control),p.defaultValue&&(f.defaultValue=p.defaultValue),p.unit&&(f.unit=p.unit),p.decimal&&(f.decimal=p.decimal),p.enumdefinition&&(f.enumValues=p.enumdefinition),d.attributes.push(f)}i.push(d)}}return i}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(e=>{e.attributes.forEach(i=>{let o=this._filterCriteria.find(r=>r.id==i.id);o?(i.checked=!0,i.valueChecked=o.value!==void 0):(i.checked=!1,i.valueChecked=!1)})})}_loadObjectProperties(e,i){if(this.api)return ct(this.api.objects.get(e,i,"8",void 0,!1,void 0))}_loadObjectStructure(e,i){if(this.api)return ct(this.api.objects.getTopology(e,i,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(e,i){if(this.api)return ct(this.api.objects.getComplexPropertiesTopology(e,i))}_createComplexPropertiestructure(e,i){this._loadObjectComplexPropertiesStructure(e,i)?.subscribe({next:o=>{if(o){let r=Yd.createFromResponse(o);r?.children?.length?this._complexProperties=r:this._complexProperties=null}}})}_createObjectStructure(e,i){this._loadObjectStructure(e,i)?.subscribe({next:o=>{o&&(this._objectStructure=Gd.createFromResponse(o))}})}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(qd),M(Qd))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[me([qd,Qd]),re,j],decls:8,vars:6,consts:[[1,"criteria-select-object-properties-header"],[3,"objectStructure"],[3,"nodeSelected","objectStructure"],[3,"nodeSelected","complexProperties"],[3,"expanded"],[1,"criteria-select-object-properties-group-header"],[1,"criteria-select-object-properties-attrib-row"],[1,"criteria-select-object-properties-attrib-row-content"],[1,"criteria-select-object-properties-attrib-row-cell","criteria-select-checkbox"],[1,"criteria-select-object-properties-attrib-row-cell-label"],["type","checkbox",3,"click","keypress","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"],[1,"criteria-select-object-properties-attrib-row-cell-text",3,"title"]],template:function(i,o){i&1&&(v(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),T(3),W(4,"translate"),_()(),E(5,aI,1,1,"lib-bimplus-object-structure",1),_(),E(6,lI,6,4,"lib-expansion-panel")(7,uI,7,3,"lib-expansion-panel")),i&2&&(g(3),X(" ",G(4,4,"_Object structure"),""),g(2),z(o.objectStructure?5:-1),g(),z(o.complexProperties?6:-1),g(),z(o.objectAttributeGroups.length>0?7:-1))},dependencies:[Ji,Ki,le,Me,c_,d_],styles:['.criteria-select-object-properties-header[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;font-size:1.4rem}.criteria-select-object-properties-group-header[_ngcontent-%COMP%]{line-height:2.4rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]{display:flex;width:calc(100% - 2rem);flex-direction:row;flex-wrap:nowrap;overflow:hidden;padding-left:2rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]:hover{background-color:var(--object-navigator-criteria-select-object-properties-attribute-row-background-color-hovered)}.criteria-select-object-properties-attrib-row-content[_ngcontent-%COMP%]{display:inline-flex;width:100%}.criteria-select-object-properties-attrib-row-cell[_ngcontent-%COMP%]{flex-basis:50%;display:flex;overflow:hidden;text-overflow:ellipsis}.criteria-select-object-properties-attrib-row-cell-label[_ngcontent-%COMP%]{display:inline-flex}.criteria-select-object-properties-attrib-row-cell-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off.svg");width:1.8rem;height:1.8rem;margin-top:.1rem;vertical-align:middle;border:0;background-color:transparent;background-position:-.3rem center;background-size:100% 100%;background-repeat:no-repeat}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_off_hovered.svg")}lib-bimplus-object-structure[_ngcontent-%COMP%]{--flat-tree-container-background-color-enabled: transparent}']})}}return t})();function pI(t,n){if(t&1&&(v(0,"div",2),T(1),_()),t&2){let e=b().node,i=b();g(),Fo(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function mI(t,n){if(t&1&&(v(0,"div",3),T(1),_()),t&2){let e=b().node,i=b();g(),Fo(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function gI(t,n){if(t&1){let e=U();v(0,"span",3)(1,"div",4),k("dblclick",function(){O(e);let o=b().node,r=b();return S(r.dblClickedObjectNode(o))})("mouseenter",function(){O(e);let o=b().node,r=b();return S(r.mouseEnterObjectNode(o))})("mouseleave",function(){O(e);let o=b().node,r=b();return S(r.mouseLeaveObjectNode(o))}),T(2),_()()}if(t&2){let e=b().node;g(2),X(" ",e.name," ")}}function hI(t,n){if(t&1&&E(0,pI,2,2,"div",2)(1,mI,2,2,"div",3)(2,gI,3,1,"span",3),t&2){let e,i=n.node;z((e=i.nodeType)==="rootNode"?0:e==="structureNode"?1:e==="objectNode"?2:-1)}}var m_=(()=>{class t{constructor(){this.treeComponent=null,this.nodeSelectionChanged=new I,this.nodeDoubleClicked=new I,this.nodeMouseEntered=new I,this.nodeMouseLeft=new I,this._filterResult=null,this._treeData=[],this._treeNodesLookup={},this._treeNodeObjectCounts={},this._selectedObjects=[]}set filterResult(e){this._filterResult=e,this._updateTreeData()}set selectedObjects(e){this._selectedObjects=e,this._syncSelectedObjects()}get treeData(){return this._treeData}ngAfterViewInit(){this._treeData&&this._treeData.length>0&&this._expandToObjectLevel(this._treeData[0])}handleSelectedNodes(e){this.nodeSelectionChanged.emit(e.map(i=>i.id))}getNodeObjectCounter(e){return this._treeNodeObjectCounts[e]}dblClickedObjectNode(e){this.nodeDoubleClicked.emit(e.id)}mouseEnterObjectNode(e){this.nodeMouseEntered.emit(e.id)}mouseLeaveObjectNode(e){this.nodeMouseLeft.emit(e.id)}expandToObjectLevel(){this.treeData.length!==0&&this._expandToObjectLevel(this._treeData[0])}_syncSelectedObjects(){let e=[];for(let i of this._selectedObjects){let o=this._treeNodesLookup[i];o&&e.push(o)}this.treeComponent?.reset_selection();for(let i of e)this.treeComponent?.select_node(i.id)}_updateObjectCounters(){this._treeNodeObjectCounts={},this._countObjects(this.treeData[0])}_countObjects(e){if(e.nodeType&&e.nodeType==="objectNode")return 1;let i=0;if(!e.children)return 0;for(let o of e.children)o&&(i+=this._countObjects(o));return this._treeNodeObjectCounts[e.id]=i,i}_updateTreeData(){this._filterResult&&(this._treeNodesLookup={},this._treeData=[this._convertFilterResultToTreeNode(this._filterResult.structure,this._treeNodesLookup)],this._updateObjectCounters())}_convertFilterResultToTreeNode(e,i=void 0){let o={name:e.name,id:e.id,parent:e.parent};if(e.children){o.children=[];for(let r of e.children){let s=this._convertFilterResultToTreeNode(r,i);o.children.push(s)}}return o.parent?e.type==="Structure"?o.nodeType="structureNode":o.nodeType="objectNode":o.nodeType="rootNode",i&&(i[o.id]=o),o}_expandToObjectLevel(e){if(e.children)for(let i of e.children){if(i.nodeType&&i.nodeType==="objectNode")return;this._expandToObjectLevel(i)}this.treeComponent?.expand_node(e.id)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-object-filter-result"]],viewQuery:function(i,o){if(i&1&&kt(gn,5),i&2){let r;We(r=Ge())&&(o.treeComponent=r.first)}},inputs:{filterResult:"filterResult",selectedObjects:"selectedObjects"},outputs:{nodeSelectionChanged:"nodeSelectionChanged",nodeDoubleClicked:"nodeDoubleClicked",nodeMouseEntered:"nodeMouseEntered",nodeMouseLeft:"nodeMouseLeft"},standalone:!0,features:[j],decls:3,vars:2,consts:[["objFilterResultNode",""],["paddingIndent","1.4rem","enableParentHighlighting","false","oneLevelMultiSelect","false","multiSelect","true","dataTestPrefix","object-filter-result-tree-",3,"selectedNodes","treeData","customNodeTemplate"],[1,"object-navigator-filter-result-root-node","noselect"],[1,"noselect"],[1,"noselect",3,"dblclick","mouseenter","mouseleave"]],template:function(i,o){if(i&1){let r=U();v(0,"lib-bimplus-flat-tree",1),k("selectedNodes",function(l){return O(r),S(o.handleSelectedNodes(l))}),_(),E(1,hI,3,1,"ng-template",null,0,Zt)}if(i&2){let r=yt(2);C("treeData",o.treeData)("customNodeTemplate",r)}},dependencies:[gn],styles:[".noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-selected-node-font-weight: 700}.object-navigator-filter-result-root-node[_ngcontent-%COMP%]{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}"]})}}return t})();var g_="tabAttribElement.DivisionID",Go=class{constructor(n="",e=5){this._filterString="",this._maxFilterCriteria=5,this._filterString=n,this._maxFilterCriteria=e}get filterString(){return this._filterString}fromFilterCriteria(n){this._filterString=`[I]${g_}`;for(let e of n)this._filterString+=e.subString;return this._filterString}getReadableValuesFromFilterCriteria(n){let e={};for(let i of n)i.id&&i.name&&(e[i.id]=i.name);return e}toFilterCriteria(n=void 0){let e=[],i=!1,o=this._filterString.split("[I]");for(let r of o)if(r.length!==0){if(r.includes(g_)&&!i){i=!0;continue}if(e.push(this._parseFilterSubstring(r,n)),e.length===this._maxFilterCriteria)break}return e}_parseFilterSubstring(n,e=void 0){let i=n,o,r=n.indexOf("["),s=n.indexOf("]");if(r>=0&&s>=0&&s>r){let l=n.slice(r+1,s);if(o=l,l&&e){let d=e[l];d&&(i=d)}}else if(n.includes(".")){let l=n.split(".");i=l[l.length-1]}return{name:i,subString:"[I]"+n,id:o}}};var Kd=class{static fetchObjectFilterStructureFromSelection(n,e,i,o){let r=!e.id,s=e.id?e.id:"",l=null;return r?l=ct(o.objectFilters.post(JSON.stringify(e),n)).pipe(an(d=>{if(!d?.id)throw new Error("Failed to create temporary filter object");return s=d.id,ct(o.exportService.createExportSelection(n,JSON.stringify(i)))}),an(d=>{if(!d?.id)throw new Error("Failed to create selection object");return ct(o.objectFilters.getSelectionFilteredObjects(d.id,s,void 0,void 0)).pipe(ke(p=>(o.objectFilters.delete(s),p)))})):l=ct(o.exportService.createExportSelection(n,JSON.stringify(i))).pipe(an(d=>{if(!d?.id)throw new Error("Failed to create selection object");return ct(o.objectFilters.getSelectionFilteredObjects(d.id,s,void 0,void 0))})),l}};var fI=t=>({disabled:t});function bI(t,n){if(t&1&&(v(0,"ng-option",18),T(1),_()),t&2){let e=n.$implicit;C("value",e),g(),xe(e.name)}}function vI(t,n){if(t&1&&(v(0,"ng-option",18),T(1),_()),t&2){let e=n.$implicit;C("value",e),g(),xe(e.name)}}function _I(t,n){if(t&1&&F(0,"lib-bimplus-context-menu",9),t&2){let e=b(3);C("items",e.filterContextMenu)}}function CI(t,n){if(t&1&&E(0,_I,1,1,"lib-bimplus-context-menu",19),t&2){let e=b(2);C("ngIf",e.filterContextMenu==null?null:e.filterContextMenu.length)}}function wI(t,n){if(t&1){let e=U();v(0,"app-filter-criterium",20),k("deleteCriterium",function(){let o=O(e).$index,r=b(2);return S(r.deleteFilterCriterium(o))}),_()}if(t&2){let e=n.$implicit,i=n.$index;C("criterium",e)("indent",i*.8)}}function yI(t,n){t&1&&(v(0,"p",21),T(1),W(2,"translate"),_()),t&2&&(g(),xe(G(2,1,"_NoObjectSelected")))}function xI(t,n){if(t&1&&E(0,yI,3,3,"p",21),t&2){let e=b(2);z(e.selectedObjectId?-1:0)}}function MI(t,n){if(t&1){let e=U();v(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-criteria-select-object-properties",23),xi("filterCriteriaChange",function(o){O(e);let r=b(3);return Wi(r.filterCriteria,o)||(r.filterCriteria=o),S(o)}),k("filterCriteriaChange",function(){O(e);let o=b(3);return S(o.activateModifiedCustomFilter())}),_()()()}if(t&2){let e=b(3);g(2),C("api",e.api)("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings),yi("filterCriteria",e.filterCriteria),C("rootObjectId",e.selectedObjectId)}}function DI(t,n){if(t&1&&E(0,MI,3,5,"div",22),t&2){let e=b(2);z(e.selectedObjectId?0:-1)}}function kI(t,n){}function OI(t,n){if(t&1){let e=U();v(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-object-filter-result",24),k("nodeSelectionChanged",function(o){O(e);let r=b(3);return S(r.handleFilterResultSelectionChanged(o))})("nodeDoubleClicked",function(o){O(e);let r=b(3);return S(r.handleFilterResulObjectDoubleClicked(o))})("nodeMouseEntered",function(o){O(e);let r=b(3);return S(r.handleFilterResulObjectMouseEntered(o))})("nodeMouseLeft",function(o){O(e);let r=b(3);return S(r.handleFilterResulObjectMouseLeft(o))}),_()()()}if(t&2){let e=b(3);g(2),C("filterResult",e.filterResult)("selectedObjects",e.selectedObjects)}}function SI(t,n){if(t&1&&E(0,OI,3,2,"div",22),t&2){let e=b(2);z(e.filterResult?0:-1)}}function AI(t,n){if(t&1){let e=U();v(0,"div",3),T(1),W(2,"translate"),_(),v(3,"div",4)(4,"ng-select",5),xi("ngModelChange",function(o){O(e);let r=b();return Wi(r.activeFilterType,o)||(r.activeFilterType=o),S(o)}),E(5,bI,2,2,"ng-option",6),_()(),v(6,"div",7)(7,"ng-select",8),xi("ngModelChange",function(o){O(e);let r=b();return Wi(r.activeFilter,o)||(r.activeFilter=o),S(o)}),E(8,vI,2,2,"ng-option",6),_(),E(9,CI,1,1,"lib-bimplus-context-menu",9),_(),v(10,"lib-expansion-panel",10)(11,"lib-expansion-panel-header")(12,"span",11),T(13),W(14,"translate"),_(),v(15,"lib-expansion-panel-header-actions")(16,"div",12),W(17,"translate"),k("click",function(){O(e);let o=b();return S(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))})("keypress",function(){O(e);let o=b();return S(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))}),_()()(),v(18,"div",13),Mt(19,wI,1,2,"app-filter-criterium",14,en),_()(),E(21,xI,1,1),v(22,"div",15)(23,"button",16),k("click",function(){O(e);let o=b();return S(o.applyFilter())}),T(24),W(25,"translate"),_()(),F(26,"div",17),E(27,DI,1,1)(28,kI,0,0)(29,SI,1,1)}if(t&2){let e,i,o=b();g(),X(" ",G(2,21,"_Select_an_object_using_Object_Picker")," "),g(3),yi("ngModel",o.activeFilterType),C("clearable",!1)("searchable",!1),g(),C("ngForOf",o.filterTypes),g(2),yi("ngModel",o.activeFilter),C("clearable",!1)("disabled",!o.filters)("searchable",!1),g(),C("ngForOf",o.filters),g(),z(o.hideFilterContextMenu?-1:9),g(4),t1(" ",G(14,23,"_Assign_Objects_Selection_Mode")," (",o.filterCriteria.length,"/",o.maxFilterCriteria,") "),g(3),C("ngClass",o.filterCriteriaSelectionMode$.getValue()===o.FilterCriteriaSelectionMode.SelectObjectProperties?"active":"")("title",G(17,25,"_Object_Picker")),g(3),Dt(o.filterCriteria),g(2),z((e=o.filterCriteriaSelectionMode$.getValue())===o.FilterCriteriaSelectionMode.SelectObjectProperties?21:-1),g(2),C("ngClass",qe(29,fI,o.filterCriteria.length===0))("disabled",o.filterCriteria.length===0),g(),X(" ",G(25,27,"_Apply filter")," "),g(3),z((i=o.filterCriteriaSelectionMode$.getValue())===o.FilterCriteriaSelectionMode.SelectObjectProperties?27:i===o.FilterCriteriaSelectionMode.SelectAttributes?28:29)}}function EI(t,n){t&1&&(v(0,"div",2),T(1),W(2,"translate"),_()),t&2&&(g(),X(" ",G(2,1,"_No_visible_models_found")," "))}var h_=(()=>{class t extends ve{constructor(e){super(e),this.hideFilterContextMenu=!1,this.filterContextMenu=[],this.activeFilterTypeSubject$=new Ye(null),this.activeFilterSubject$=new Ye(null),this.filters=null,this.filterCriteria=[],this.maxFilterCriteria=Ea,this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new Ye(cs.None),this.filterCriteriaSelectionModeChanged=new I,this.selectedObjectId=null,this.selectedObjects=[],this.selectionObject=null,this.filterResultObjectSelectionChanged=new I,this.filterResultObjectDoubleClicked=new I,this.filterResultObjectMouseEntered=new I,this.filterResultObjectMouseLeft=new I,this.pipetteActiveStatus=new I,this.FilterCriteriaSelectionMode=cs,this.isLoadingResults=!1,this._filterResult=null,this._filterTypes=[]}set filterTypes(e){this._filterTypes=e,this._filterTypes.length>0&&(this.activeFilterType=this._filterTypes[0])}get filterTypes(){return this._filterTypes}set activeFilterType(e){this.activeFilterTypeSubject$.next(e)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(e){e&&!e.id&&this._setDefaultCustomFilterString(e),this.activeFilterSubject$.next(e)}get activeFilter(){return this.activeFilterSubject$.getValue()}get filterResult(){return this._filterResult}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:e=>{!this.projectId||!this.api||!e||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,e.id)?.subscribe({next:i=>{this.filters=[this._createDefaultCustomFilter(e.id),...i],this.activeFilter=this.filters[0]},error:i=>{throw new Error(i)}}))}}),this.activeFilterSubject$.subscribe({next:e=>{e&&(this.filterCriteria=this.parseFilterString(e))}}),this.filterCriteriaSelectionMode$.subscribe({next:e=>{this.filterCriteriaSelectionModeChanged.emit(e)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}loadCurrentLayerFilters(e,i){if(this.api)return ct(this.api.objectFilters.get(i,e))}parseFilterString(e){return new Go(e.filterString,this.maxFilterCriteria).toFilterCriteria(e.readableValues)}deleteFilterCriterium(e){this.filterCriteria.splice(e,1),this.filterCriteria=[...this.filterCriteria],this.activateModifiedCustomFilter()}setFilterCriteriaSelectionMode(e){let i=this.filterCriteriaSelectionMode$.getValue()===e;this.filterCriteriaSelectionMode$.next(i?cs.None:e),this.handlePipetteActiveStatus(!i)}applyFilter(){this.handlePipetteActiveStatus(!1),this.filterCriteriaSelectionMode$.next(cs.None),this._filterResult=null,this.activeFilter&&!this.activeFilter.id&&(this.activeFilter.filterString=new Go().fromFilterCriteria(this.filterCriteria)),this.selectionObject&&this._applySelectionObjectFilter(this.activeFilter)}handleFilterResultSelectionChanged(e){this.filterResultObjectSelectionChanged.emit(e)}handleFilterResulObjectDoubleClicked(e){this.filterResultObjectDoubleClicked.emit(e)}handleFilterResulObjectMouseEntered(e){this.filterResultObjectMouseEntered.emit(e)}handleFilterResulObjectMouseLeft(e){this.filterResultObjectMouseLeft.emit(e)}handlePipetteActiveStatus(e){this.pipetteActiveStatus.emit(e)}activateModifiedCustomFilter(){this.activeFilter?.id&&this.filters&&(this.filters[0].filterString=new Go().fromFilterCriteria(this.filterCriteria),this.filters[0].readableValues=new Go().getReadableValuesFromFilterCriteria(this.filterCriteria),this.activeFilterSubject$.next(this.filters[0]))}_applySelectionObjectFilter(e){!this.api||!this.selectionObject||!e||(this.selectionObject.singleUse=!0,this.selectionObject.selection.singleuse=!0,this.isLoadingResults=!0,Kd.fetchObjectFilterStructureFromSelection(this.projectId,e,this.selectionObject,this.api).subscribe({next:i=>{this._filterResult=i,this.isLoadingResults=!1}}))}_setDefaultCustomFilterString(e){let i="a0e8ae2c-c869-4ec3-9019-25d3704be707";e.filterString=`[I][${i}].Value`,e.readableValues={},e.readableValues[i]="Type"}_createDefaultCustomFilter(e){let i={module:"00000000-0000-0000-0000-000000000000",category:"",disciplineID:e,name:"Custom filter",filterString:"",isDefault:!1,disableSortByModels:!1};return this._setDefaultCustomFilterString(i),i}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(i,o){i&2&&se("object-navigator",o.objNavClassClass)},inputs:{hideFilterContextMenu:"hideFilterContextMenu",filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId",selectedObjects:"selectedObjects",selectionObject:"selectionObject"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged",filterResultObjectSelectionChanged:"filterResultObjectSelectionChanged",filterResultObjectDoubleClicked:"filterResultObjectDoubleClicked",filterResultObjectMouseEntered:"filterResultObjectMouseEntered",filterResultObjectMouseLeft:"filterResultObjectMouseLeft",pipetteActiveStatus:"pipetteActiveStatus"},standalone:!0,features:[re,j],decls:6,vars:8,consts:[[3,"header","isLoading","loadingSpinnerText"],[1,"object-navigator-content-container"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"],[1,"description"],[1,"object-navigator-filters-type"],["data-test","object-navigator-filter-types-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-navigator-filters-name"],["data-test","object-navigator-filters-name-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","disabled","searchable"],[1,"object-navigator-filters-name-context-menu",3,"items"],[1,"object-navigator-filter-criteria-panel"],[1,"object-navigator-filter-criteria-header"],[1,"object-navigator-pick-object-button",3,"click","keypress","ngClass","title"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"click","ngClass","disabled"],[1,"object-navigator-separator"],[3,"value"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[1,"scrollable-content-container"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId"],[3,"nodeSelectionChanged","nodeDoubleClicked","nodeMouseEntered","nodeMouseLeft","filterResult","selectedObjects"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-sidenav-drawer-content",0),W(1,"translate"),W(2,"translate"),v(3,"div",1),E(4,AI,30,31)(5,EI,3,3,"div",2),_()()),i&2&&(C("header",G(1,4,"_Object navigator"))("isLoading",o.isLoadingResults)("loadingSpinnerText",G(2,6,"_Loading_Filter_Results")),g(4),z(o.filterTypes.length>0?4:5))},dependencies:[Q,be,Je,Ot,$r,Zr,No,Wr,Ur,jo,l_,Ki,Ji,Xr,qr,le,Me,p_,so,m_,Dn],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;padding:.2rem 1rem .4rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}:host{display:flex}lib-bimplus-sidenav-drawer-content{width:100%;max-height:100%;display:flex;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container{display:flex;flex-direction:column;width:100%;max-height:100%;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.description{margin-bottom:.8rem;font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-no-filter-types{font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-filters-name-context-menu{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: 2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filter-criteria-panel{flex:0;padding-top:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-apply-button-row{flex:0;display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-separator{flex:0;border-top:solid .078125em var(--object-navigator-separator-border-color-enabled);padding-bottom:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container{position:relative;flex:1;width:100%;display:flex;flex-direction:column}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container>lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;flex:1;width:100%}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:12rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-filter-action-buttons{width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button{background-image:url("./assets/Properties_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./assets/Properties_18_maincolor.svg")}.object-navigator-pick-object-button{background-image:url("./assets/Pipette_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./assets/Pipette_18_maincolor.svg")}.object-navigator-filter-criteria-header{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}lib-object-filter-result{--flat-tree-container-background-color-enabled: transparent}#NoObjectSelected{margin:.8rem;line-height:.72rem;font-size:1.2rem}#NoObjectSelected+.object-navigator-apply-button-row{margin-top:0}
|
|
37
|
-
`],encapsulation:3})}}return t})();var
|
|
38
|
-
`],encapsulation:3})}}return t})();var Jd=class{http;prefix;suffix;constructor(n,e="/assets/i18n/",i=".json"){this.http=n,this.prefix=e,this.suffix=i}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}};var b_=(()=>{class t{constructor(){this.defaultLang="en",this.currentLanguage$=new Ye(this.defaultLang),this.currentLanguageStrings$=new Ye({}),this._languageFilesUri="/assets"}set languageFilesUri(e){this._languageFilesUri=e}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(e){this.currentLanguageStrings$.next(e)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(e){return Bn(this,null,function*(){this.currentLanguage$.next(e),yield this.fetchLanguageStrings(e)})}extractLocalizedStrings(e){let i={};for(let[o,r]of Object.entries(this.currentLanguageStrings))typeof r=="string"&&e.find(s=>s===o)&&(i[o]=r);return i}fetchLanguageStrings(e){return Bn(this,null,function*(){let o=yield(yield fetch(`${this._languageFilesUri}/strings_${e}.json`)).json();if(e!==this.defaultLang){let s=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),l=s&&Object.keys(s);if(l?.length)for(let d in l){let p=l[d];o[p]||(o[p]=s[p])}}this.currentLanguageStrings$.next(o)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var v_=(()=>{class t{constructor(e,i){this.el=e,this.renderer=i,this._isDraggingActive=!1,this._isDragging=!1,this.startX=0,this.startY=0,this._isDraggingActive&&(this.renderer.setStyle(this.el.nativeElement,"cursor","grab"),this.renderer.setStyle(this.el.nativeElement,"user-drag","none"))}set libDraggableComponent(e){let i=this.el.nativeElement;this._isDraggingActive=e,e?(this.renderer.setStyle(i,"cursor","grab"),this.renderer.setStyle(i,"user-drag","none")):(this.renderer.setStyle(i,"cursor","unset"),this.renderer.setStyle(i,"user-drag","auto"))}onMouseDown(e){this._isDraggingActive&&(this.startX=e.clientX,this.startY=e.clientY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"),e.preventDefault())}onMouseUp(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}onMouseMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.clientX,o=this.startY-e.clientY;this.startX=e.clientX,this.startY=e.clientY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchStart(e){this._isDraggingActive&&(this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"))}onTouchMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.targetTouches[0].pageX,o=this.startY-e.targetTouches[0].pageY;this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchEnd(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(Nn))}}static{this.\u0275dir=ce({type:t,selectors:[["","libDraggableComponent",""]],hostBindings:function(i,o){i&1&&k("mousedown",function(s){return o.onMouseDown(s)})("mouseup",function(){return o.onMouseUp()},!1,dn)("mousemove",function(s){return o.onMouseMove(s)},!1,dn)("touchstart",function(s){return o.onTouchStart(s)})("touchmove",function(s){return o.onTouchMove(s)},!1,dn)("touchend",function(s){return o.onTouchEnd(s)},!1,dn)},inputs:{libDraggableComponent:"libDraggableComponent"},standalone:!0})}}return t})();var
|
|
35
|
+
`],encapsulation:3})}}return t})();var K1;try{K1=typeof Intl<"u"&&Intl.v8BreakIterator}catch{K1=!1}var mn=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?G2(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||K1)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(q(ei))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Aa;function rE(){if(Aa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Aa=!0}))}finally{Aa=Aa||!1}return Aa}function ss(t){return rE()?t:!!t.capture}var Q1;function sE(){if(Q1==null){let t=typeof document<"u"?document.head:null;Q1=!!(t&&(t.createShadowRoot||t.attachShadow))}return Q1}function Av(t){if(sE()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Oi(t){return t.composedPath?t.composedPath()[0]:t.target}function Ev(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function zo(t){return Yt(t)?t:Xe(t)}function J1(t){return Array.isArray(t)?t:[t]}function Zo(t){return t instanceof oe?t.nativeElement:t}var Iv=new Set,$o,aE=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):cE}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&lE(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(q(mn),q(na,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function lE(t,n){if(!Iv.has(t))try{$o||($o=document.createElement("style"),n&&$o.setAttribute("nonce",n),$o.setAttribute("type","text/css"),document.head.appendChild($o)),$o.sheet&&($o.sheet.insertRule(`@media ${t} {body{ }}`,0),Iv.add(t))}catch(e){console.error(e)}}function cE(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Pv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Pe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Lv(J1(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Lv(J1(e)).map(s=>this._registerQuery(s).observable),r=_o(o);return r=_n(r.pipe(Lt(1)),r.pipe(Fs(1),Co(0))),r.pipe(ke(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:d,query:p})=>{l.matches=l.matches||d,l.breakpoints[p]=d}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),r={observable:new Ae(s=>{let l=d=>this._zone.run(()=>s.next(d));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Fi(i),ke(({matches:s})=>({query:e,matches:s})),It(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static{this.\u0275fac=function(i){return new(i||t)(q(aE),q(Re))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Lv(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var dE=200,t0=class{constructor(n,e){this._letterKeyStream=new Pe,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new Pe,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:dE;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Pn(e=>this._pressedLetters.push(e)),Co(n),Zn(()=>this._pressedLetters.length>0),ke(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let o=(this._selectedItemIndex+i)%this._items.length,r=this._items[o];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}};var n0=class{_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let i=0;i<this._items.length;i++)if(!this._skipPredicateFn(this._items[i])&&!this._isItemDisabled(this._items[i])){n=i;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){this._activeItemIndex=-1,this._activeItem=null,this._shouldActivationFollowFocus=!1,this._horizontalOrientation="ltr",this._skipPredicateFn=i=>!1,this._trackByFn=i=>i,this._items=[],this._typeaheadSubscription=ft.EMPTY,this._hasInitialFocused=!1,this.change=new Pe,n instanceof Gs?(this._items=n.toArray(),n.changes.subscribe(i=>{this._items=i.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):Yt(n)?n.subscribe(i=>{this._items=i,this._typeahead?.setItems(i),this._updateActiveItemIndex(i),this._initializeFocus()}):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let i=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(i<0||i>=this._items.length)return;let o=this._items[i];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let r=this._activeItem;this._activeItem=o??null,this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i),this._activeItem?.focus(),r?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let i=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(e));i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}_setTypeAhead(n){this._typeahead=new t0(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?zo(this._activeItem.getChildren()).pipe(Lt(1)).subscribe(n=>{let e=n.find(i=>!this._skipPredicateFn(i));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=zo(n.getChildren()):e=Xe(this._items.filter(i=>i.getParent()===null)),e.pipe(Lt(1)).subscribe(i=>{for(let o of i)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function uE(){return(t,n)=>new n0(t,n)}var Fv=new ie("tree-key-manager",{providedIn:"root",factory:uE});function i0(t){return t.buttons===0||t.detail===0}function o0(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var pE=new ie("cdk-input-modality-detector-options"),mE={ignoreKeys:[18,17,224,91,16]},Nv=650,as=ss({passive:!0,capture:!0}),gE=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Ye(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Oi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Nv||(this._modality.next(i0(s)?"keyboard":"mouse"),this._mostRecentTarget=Oi(s))},this._onTouchstart=s=>{if(o0(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Oi(s)},this._options=ue(ue({},mE),r),this.modalityDetected=this._modality.pipe(Fs(1)),this.modalityChanged=this.modalityDetected.pipe(Vs()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,as),o.addEventListener("mousedown",this._onMousedown,as),o.addEventListener("touchstart",this._onTouchstart,as)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,as),document.removeEventListener("mousedown",this._onMousedown,as),document.removeEventListener("touchstart",this._onTouchstart,as))}static{this.\u0275fac=function(i){return new(i||t)(q(mn),q(Re),q(xt),q(pE,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Nd=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Nd||{}),hE=new ie("cdk-focus-monitor-default-options"),Fd=ss({passive:!0,capture:!0}),jv=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Pe,this._rootNodeFocusAndBlurListener=l=>{let d=Oi(l);for(let p=d;p;p=p.parentElement)l.type==="focus"?this._onFocus(l,p):this._onBlur(l,p)},this._document=r,this._detectionMode=s?.detectionMode||Nd.IMMEDIATE}monitor(e,i=!1){let o=Zo(e);if(!this._platform.isBrowser||o.nodeType!==1)return Xe();let r=Av(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let l={checkChildren:i,subject:new Pe,rootNode:r};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let i=Zo(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let r=Zo(e),s=this._getDocument().activeElement;r===s?this._getClosestElementsInfo(r).forEach(([l,d])=>this._originChanged(l,i,d)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Nd.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Nd.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Nv:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),r=Oi(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Fd),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Fd)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(It(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Fd),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Fd),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0}return!1}static{this.\u0275fac=function(i){return new(i||t)(q(Re),q(mn),q(gE),q(xt,8),q(hE,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Uo=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Uo||{}),Tv="cdk-high-contrast-black-on-white",Vv="cdk-high-contrast-white-on-black",e0="cdk-high-contrast-active",Hv=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=ne(Pv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Uo.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Uo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Uo.BLACK_ON_WHITE}return Uo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(e0,Tv,Vv),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Uo.BLACK_ON_WHITE?e.add(e0,Tv):i===Uo.WHITE_ON_BLACK&&e.add(e0,Vv)}}static{this.\u0275fac=function(i){return new(i||t)(q(mn),q(xt))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var bE=new ie("cdk-dir-doc",{providedIn:"root",factory:vE});function vE(){return ne(xt)}var _E=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function CE(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?_E.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var jd=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new I,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=CE(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(q(bE,8))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var r0=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})();function yE(){return!0}var xE=new ie("mat-sanity-checks",{providedIn:"root",factory:yE}),jn=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Ev()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(q(Hv),q(xE,8),q(xt))}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[r0,r0]})}}return t})();var On=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(On||{}),l0=class{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=On.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Rv=ss({passive:!0,capture:!0}),c0=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Oi(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){let r=this._events.get(e);if(r){let s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Rv)})}removeHandler(n,e,i){let o=this._events.get(n);if(!o)return;let r=o.get(e);r&&(r.delete(i),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,Rv)))}},Bv={enterDuration:225,exitDuration:150},ME=800,zv=ss({passive:!0,capture:!0}),Zv=["mousedown","touchstart"],$v=["mouseup","mouseleave","touchend","touchcancel"],d0=class t{static{this._eventManager=new c0}constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Zo(i))}fadeInRipple(n,e,i={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ue(ue({},Bv),i.animation);i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=i.radius||DE(n,e,o),l=n-o.left,d=e-o.top,p=r.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=`${l-s}px`,f.style.top=`${d-s}px`,f.style.height=`${s*2}px`,f.style.width=`${s*2}px`,i.color!=null&&(f.style.backgroundColor=i.color),f.style.transitionDuration=`${p}ms`,this._containerElement.appendChild(f);let w=window.getComputedStyle(f),D=w.transitionProperty,x=w.transitionDuration,A=D==="none"||x==="0s"||x==="0s, 0s"||o.width===0&&o.height===0,V=new l0(this,f,i,A);f.style.transform="scale3d(1, 1, 1)",V.state=On.FADING_IN,i.persistent||(this._mostRecentTransientRipple=V);let R=null;return!A&&(p||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let H=()=>{R&&(R.fallbackTimer=null),clearTimeout(ge),this._finishRippleTransition(V)},K=()=>this._destroyRipple(V),ge=setTimeout(K,p+100);f.addEventListener("transitionend",H),f.addEventListener("transitioncancel",K),R={onTransitionEnd:H,onTransitionCancel:K,fallbackTimer:ge}}),this._activeRipples.set(V,R),(A||!p)&&this._finishRippleTransition(V),V}fadeOutRipple(n){if(n.state===On.FADING_OUT||n.state===On.HIDDEN)return;let e=n.element,i=ue(ue({},Bv),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=On.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Zo(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Zv.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$v.forEach(e=>{this._triggerElement.addEventListener(e,this,zv)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===On.FADING_IN?this._startFadeOutTransition(n):n.state===On.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=On.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=On.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=i0(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+ME;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!o0(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===On.VISIBLE||n.config.terminateOnPointerUp&&n.state===On.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(Zv.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&($v.forEach(e=>n.removeEventListener(e,this,zv)),this._pointerUpEventsRegistered=!1))}};function DE(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}var Yv=new ie("mat-ripple-global-options"),kE=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new d0(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:ue(ue(ue({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,ue(ue({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,ue(ue({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(Re),M(mn),M(Yv,8),M(ta,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&se("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),qv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[jn,jn]})}}return t})();var Uv={capture:!0},Wv=["focus","mousedown","mouseenter","touchstart"],s0="mat-ripple-loader-uninitialized",a0="mat-ripple-loader-class-name",Gv="mat-ripple-loader-centered",Hd="mat-ripple-loader-disabled",Xv=(()=>{class t{constructor(){this._document=ne(xt,{optional:!0}),this._animationMode=ne(ta,{optional:!0}),this._globalRippleOptions=ne(Yv,{optional:!0}),this._platform=ne(mn),this._ngZone=ne(Re),this._hosts=new Map,this._onInteraction=e=>{let i=Oi(e);if(i instanceof HTMLElement){let o=i.closest(`[${s0}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let e of Wv)this._document?.addEventListener(e,this._onInteraction,Uv)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of Wv)this._document?.removeEventListener(i,this._onInteraction,Uv)}configureRipple(e,i){e.setAttribute(s0,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(a0))&&e.setAttribute(a0,i.className||""),i.centered&&e.setAttribute(Gv,""),i.disabled&&e.setAttribute(Hd,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Hd,""):e.removeAttribute(Hd)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(a0)),e.append(o);let r=new kE(new oe(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,r.centered=e.hasAttribute(Gv),r.disabled=e.hasAttribute(Hd),this.attachRipple(e,r),r}attachRipple(e,i){e.removeAttribute(s0),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Qv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[jn,jn]})}}return t})();var OE=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var SE=["mat-icon-button",""],AE=["*"];var EE=new ie("MAT_BUTTON_CONFIG");var IE=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],LE=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,r){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=ne(jv),this._rippleLoader=ne(Xv),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=ne(EE,{optional:!0}),l=e.nativeElement,d=l.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:p,mdcClasses:f}of IE)l.hasAttribute(p)&&d.add(...f)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){Ub()}}static{this.\u0275dir=ce({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",L],disabled:[2,"disabled","disabled",L],ariaDisabled:[2,"aria-disabled","ariaDisabled",L],disabledInteractive:[2,"disabledInteractive","disabledInteractive",L]},features:[Ee]})}}return t})();var Kv=(()=>{class t extends LE{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(mn),M(Re),M(ta,8))}}static{this.\u0275cmp=N({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(de("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),la(o.color?"mat-"+o.color:""),se("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[re,j],attrs:SE,ngContentSelectors:AE,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(lt(),F(0,"span",0),Ue(1),F(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',OE],encapsulation:2,changeDetection:0})}}return t})();var Jv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[jn,qv,jn]})}}return t})();var Rd=class{};function e_(t){return t&&typeof t.connect=="function"&&!(t instanceof As)}var ro=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Pe,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!i.has(this._getConcreteValue(r,i))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};var u0=class{constructor(){this.expansionModel=new ro(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}},Bd=class extends u0{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){let e=this.dataNodes.indexOf(n),i=[];for(let o=e+1;o<this.dataNodes.length&&this.getLevel(n)<this.getLevel(this.dataNodes[o]);o++)i.push(this.dataNodes[o]);return i}expandAll(){this.expansionModel.select(...this.dataNodes.map(n=>this._trackByValue(n)))}};var n_=new ie("CDK_TREE_NODE_OUTLET_NODE"),p0=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(M(ti),M(n_,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return t})(),m0=class{constructor(n){this.$implicit=n}},zd=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(M(Be))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return t})();function t_(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var ls=(()=>{class t{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._elementRef=ne(oe),this._dir=ne(jd),this._onDestroy=new Pe,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new Ye({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new Ye([]),this._nodeType=new Ye(null),this._nodes=new Ye(new Map),this._keyManagerNodes=new Ye([]),this._keyManagerFactory=ne(Fv),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let e=this._nodeDefs.filter(i=>!i.when);e.length>1,this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){this._nodeType.value===null&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new ro(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;e_(this._dataSource)?e=this._dataSource.connect(this):Yt(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=Xe(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe(It(this._onDestroy)).subscribe(i=>{this._renderDataChanges(i)}))}_getRenderData(e){let i=this._getExpansionModel();return _o([e,this._nodeType,i.changed.pipe(Fi(null),Pn(o=>{this._emitExpansionChanges(o)}))]).pipe(ln(([o,r])=>r===null?Xe({renderNodes:o,flattenedNodes:null,nodeType:r}):this._computeRenderingData(o,r).pipe(ke(s=>ot(ue({},s),{nodeType:r})))))}_renderDataChanges(e){if(e.nodeType===null){this.renderNodeChanges(e.renderNodes);return}this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)}_emitExpansionChanges(e){if(!e)return;let i=this._nodes.value;for(let o of e.added)i.get(o)?._emitExpansionState(!0);for(let o of e.removed)i.get(o)?._emitExpansionState(!1)}_initializeKeyManager(){let e=_o([this._keyManagerNodes,this._nodes]).pipe(ke(([o,r])=>o.reduce((s,l)=>{let d=r.get(this._getExpansionKey(l));return d&&s.push(d),s},[]))),i={trackBy:o=>this._getExpansionKey(o.data),skipPredicate:o=>!!o.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(e,i)}_initializeDataDiffer(){let e=this.trackBy??((i,o)=>this._getExpansionKey(o));this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,i=this._dataDiffer,o=this._nodeOutlet.viewContainer,r){let s=i.diff(e);!s&&!this._viewInit||(s?.forEachOperation((l,d,p)=>{if(l.previousIndex==null)this.insertNode(e[p],p,o,r);else if(p==null)o.remove(d);else{let f=o.get(d);o.move(f,p)}}),s?.forEachIdentityChange(l=>{let d=l.item;if(l.currentIndex!=null){let p=o.get(l.currentIndex);p.context.$implicit=d}}),r?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){if(this._nodeDefs.length===1)return this._nodeDefs.first;let o=this._nodeDefs.find(r=>r.when&&r.when(i,e))||this._defaultNodeDef;return o}insertNode(e,i,o,r){let s=this._getLevelAccessor(),l=this._getNodeDef(e,i),d=this._getExpansionKey(e),p=new m0(e);r??=this._parents.get(d)??void 0,s?p.level=s(e):r!==void 0&&this._levels.has(this._getExpansionKey(r))?p.level=this._levels.get(this._getExpansionKey(r))+1:p.level=0,this._levels.set(d,p.level),(o||this._nodeOutlet.viewContainer).createEmbeddedView(l.template,p,i),Wo.mostRecentTreeNode&&(Wo.mostRecentTreeNode.data=e)}isExpanded(e){return!!(this.treeControl?.isExpanded(e)||this._expansionModel?.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.select(this._getExpansionKey(e)),this._getDescendants(e).pipe(Lt(1),It(this._onDestroy)).subscribe(o=>{i.select(...o.map(r=>this._getExpansionKey(r)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe(Lt(1),It(this._onDestroy)).subscribe(o=>{i.deselect(...o.map(r=>this._getExpansionKey(r)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(e){let i=this._getLevelAccessor(),o=this._expansionModel??this.treeControl?.expansionModel;if(!o)return Xe([]);let r=this._getExpansionKey(e),s=o.changed.pipe(ln(d=>d.added.includes(r)?Xe(!0):d.removed.includes(r)?Xe(!1):bo),Fi(this.isExpanded(e)));if(i)return _o([s,this._flattenedNodes]).pipe(ke(([d,p])=>d?this._findChildrenByLevel(i,p,e,1):[]));let l=this._getChildrenAccessor();if(l)return zo(l(e)??[]);throw t_()}_findChildrenByLevel(e,i,o,r){let s=this._getExpansionKey(o),l=i.findIndex(w=>this._getExpansionKey(w)===s),d=e(o),p=d+r,f=[];for(let w=l+1;w<i.length;w++){let D=e(i[w]);if(D<=d)break;D<=p&&f.push(i[w])}return f}_registerNode(e){this._nodes.value.set(this._getExpansionKey(e.data),e),this._nodes.next(this._nodes.value)}_unregisterNode(e){this._nodes.value.delete(this._getExpansionKey(e.data)),this._nodes.next(this._nodes.value)}_getLevel(e){return this._levels.get(this._getExpansionKey(e))}_getSetSize(e){return this._getAriaSet(e).length}_getPositionInSet(e){let i=this._getAriaSet(e),o=this._getExpansionKey(e);return i.findIndex(r=>this._getExpansionKey(r)===o)+1}_getNodeParent(e){let i=this._parents.get(this._getExpansionKey(e.data));return i&&this._nodes.value.get(this._getExpansionKey(i))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe(ke(i=>i.reduce((o,r)=>{let s=this._nodes.value.get(this._getExpansionKey(r));return s&&o.push(s),o},[])))}_sendKeydownToKeyManager(e){if(e.target===this._elementRef.nativeElement)this._keyManager.onKeydown(e);else{let i=this._nodes.getValue();for(let[,o]of i)if(e.target===o._elementRef.nativeElement){this._keyManager.onKeydown(e);break}}}_getDescendants(e){if(this.treeControl)return Xe(this.treeControl.getDescendants(e));if(this.levelAccessor){let i=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return Xe(i)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe(Tl((i,o)=>(i.push(...o),i),[]));throw t_()}_getAllChildrenRecursively(e){return this.childrenAccessor?zo(this.childrenAccessor(e)).pipe(Lt(1),ln(i=>{for(let o of i)this._parents.set(this._getExpansionKey(o),e);return Xe(...i).pipe(an(o=>_n(Xe([o]),this._getAllChildrenRecursively(o))))})):Xe([])}_getExpansionKey(e){return this.expansionKey?.(e)??e}_getAriaSet(e){let i=this._getExpansionKey(e),o=this._parents.get(i),r=o?this._getExpansionKey(o):null;return this._ariaSets.get(r)??[e]}_findParentForNode(e,i,o){if(!o.length)return null;let r=this._levels.get(this._getExpansionKey(e))??0;for(let s=i-1;s>=0;s--){let l=o[s];if((this._levels.get(this._getExpansionKey(l))??0)<r)return l}return null}_flattenNestedNodesWithExpansion(e,i=0){let o=this._getChildrenAccessor();return o?Xe(...e).pipe(an(r=>{let s=this._getExpansionKey(r);this._parents.has(s)||this._parents.set(s,null),this._levels.set(s,i);let l=zo(o(r));return _n(Xe([r]),l.pipe(Lt(1),Pn(d=>{this._ariaSets.set(s,[...d??[]]);for(let p of d??[]){let f=this._getExpansionKey(p);this._parents.set(f,r),this._levels.set(f,i+1)}}),ln(d=>d?this._flattenNestedNodesWithExpansion(d,i+1).pipe(ke(p=>this.isExpanded(r)?p:[])):Xe([]))))}),Tl((r,s)=>(r.push(...s),r),[])):Xe([...e])}_computeRenderingData(e,i){if(this.childrenAccessor&&i==="flat")return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ke(o=>({renderNodes:o,flattenedNodes:o})));if(this.levelAccessor&&i==="nested"){let o=this.levelAccessor;return Xe(e.filter(r=>o(r)===0)).pipe(ke(r=>({renderNodes:r,flattenedNodes:e})),Pn(({flattenedNodes:r})=>{this._calculateParents(r)}))}else return i==="flat"?Xe({renderNodes:e,flattenedNodes:e}).pipe(Pn(({flattenedNodes:o})=>{this._calculateParents(o)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(ke(o=>({renderNodes:e,flattenedNodes:o}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){let i=this._getLevelAccessor();if(i){this._parents.clear(),this._ariaSets.clear();for(let o=0;o<e.length;o++){let r=e[o],s=this._getExpansionKey(r);this._levels.set(s,i(r));let l=this._findParentForNode(r,o,e);this._parents.set(s,l);let d=l?this._getExpansionKey(l):null,p=this._ariaSets.get(d)??[];p.splice(o,0,r),this._ariaSets.set(d,p)}}}static{this.\u0275fac=function(i){return new(i||t)(M(Fr),M(_t))}}static{this.\u0275cmp=N({type:t,selectors:[["cdk-tree"]],contentQueries:function(i,o,r){if(i&1&&zt(r,zd,5),i&2){let s;We(s=Ge())&&(o._nodeDefs=s)}},viewQuery:function(i,o){if(i&1&&kt(p0,7),i&2){let r;We(r=Ge())&&(o._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(i,o){i&1&&k("keydown",function(s){return o._sendKeydownToKeyManager(s)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],standalone:!0,features:[j],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(i,o){i&1&&Pt(0,0)},dependencies:[p0],encapsulation:2})}}return t})(),Wo=(()=>{class t{get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,!(this.data&&!this._isExpandable||!this._inputIsExpandable)&&(this._inputIsExpanded?this.expand():this._inputIsExpanded===!1&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){return this._tree.treeControl?.isExpandable!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:this._tree.treeControl?.isExpandable===void 0&&this._tree.treeControl?.getDescendants(this._data).length===0}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}constructor(e,i){this._elementRef=e,this._tree=i,this._tabindex=-1,this.activation=new I,this.expandedChange=new I,this._destroyed=new Pe,this._dataChanges=new Pe,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=ne(_t),t.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=TE(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(ke(()=>this.isExpanded),Vs()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(ls))}}static{this.\u0275dir=ce({type:t,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(i,o){i&1&&k("click",function(){return o._setActiveItem()})("focus",function(){return o._focusItem()}),i&2&&(ca("tabindex",o._tabindex),de("aria-expanded",o._getAriaExpanded())("aria-level",o.level+1)("aria-posinset",o._getPositionInSet())("aria-setsize",o._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",L],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",L],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[Ee]})}}return t})();function TE(t){let n=t.parentElement;for(;n&&!VE(n);)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?un(n.getAttribute("aria-level")):0:-1}function VE(t){let n=t.classList;return!!(n?.contains("cdk-nested-tree-node")||n?.contains("cdk-tree"))}var FE=/([A-Za-z%]+)$/,g0=(()=>{class t{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,i,o,r){this._treeNode=e,this._tree=i,this._element=o,this._dir=r,this._destroyed=new Pe,this.indentUnits="px",this._indent=40,this._setPadding(),r&&r.change.pipe(It(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let e=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,i=this._level==null?e:this._level;return typeof i=="number"?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){let i=this._paddingIndent();if(i!==this._currentPadding||e){let o=this._element.nativeElement,r=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",s=r==="paddingLeft"?"paddingRight":"paddingLeft";o.style[r]=i||"",o.style[s]="",this._currentPadding=i}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let i=e,o="px";if(typeof e=="string"){let r=e.split(FE);i=r[0],o=r[1]||o}this.indentUnits=o,this._indent=un(i),this._setPadding()}static{this.\u0275fac=function(i){return new(i||t)(M(Wo),M(ls),M(oe),M(jd,8))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",un],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[Ee]})}}return t})(),h0=(()=>{class t{constructor(e,i){this._tree=e,this._treeNode=i,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(i){return new(i||t)(M(ls),M(Wo))}}static{this.\u0275dir=ce({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(i,o){i&1&&k("click",function(s){return o._toggle(),s.stopPropagation()})("keydown.Enter",function(s){return o._toggle(),s.preventDefault()})("keydown.Space",function(s){return o._toggle(),s.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",L]},standalone:!0,features:[Ee]})}}return t})();var Zd=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({})}}return t})();var i_=(()=>{class t extends zd{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[me([{provide:zd,useExisting:t}]),re]})}}return t})();var o_=(()=>{class t extends g0{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",un],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[me([{provide:g0,useExisting:t}]),Ee,re]})}}return t})();var r_=(()=>{class t extends h0{static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=xn(t)))(o||t)}})()}static{this.\u0275dir=ce({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[me([{provide:h0,useExisting:t}]),re]})}}return t})();var s_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=at({type:t})}static{this.\u0275inj=st({imports:[Zd,jn,jn]})}}return t})(),$d=class{constructor(n,e,i,o){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=o}_flattenNode(n,e,i,o){let r=this.transformFunction(n,e);if(i.push(r),this.isExpandable(r)){let s=this.getChildren(n);s&&(Array.isArray(s)?this._flattenChildren(s,e,i,o):s.pipe(Lt(1)).subscribe(l=>{this._flattenChildren(l,e,i,o)}))}return i}_flattenChildren(n,e,i,o){n.forEach((r,s)=>{let l=o.slice();l.push(s!=n.length-1),this._flattenNode(r,e+1,i,l)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],o=[];return o[0]=!0,n.forEach(r=>{let s=!0;for(let l=0;l<=this.getLevel(r);l++)s=s&&o[l];s&&i.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=e.isExpanded(r))}),i}},Ud=class extends Rd{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new Ye([]),this._expandedData=new Ye([]),this._data=new Ye([]),i&&(this.data=i)}connect(n){return fi(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ke(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var Wd=(()=>{class t{constructor(e){this.elementRef=e,this.clickOutside=new I}onClick(e){this.elementRef.nativeElement.contains(e)||this.clickOutside.emit()}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275dir=ce({type:t,selectors:[["","libClickOutside",""]],hostBindings:function(i,o){i&1&&k("click",function(s){return o.onClick(s.target)},!1,dn)},outputs:{clickOutside:"clickOutside"},standalone:!0})}}return t})();var HE=(t,n)=>({"top.px":t,"left.px":n});function RE(t,n){if(t&1&&F(0,"div",8),t&2){let e=b(2).$implicit;gt("background-image","url("+e.icon+")")}}function BE(t,n){if(t&1){let e=U();v(0,"li",5),k("click",function(){O(e);let o=b().$implicit,r=b(2);return S(r._actionClick(o))})("keypress",function(){O(e);let o=b().$implicit,r=b(2);return S(r._actionClick(o))}),E(1,RE,1,2,"div",6),v(2,"div",7),T(3),_()()}if(t&2){let e=b().$implicit,i=b(2);se("basic-context-menu__item--disabled",i._disabled(e)),g(),z(i.showIcons?1:-1),g(),Ie("title",e.tooltip?e.tooltip:e.title),g(),X(" ",e.title," ")}}function zE(t,n){t&1&&F(0,"div",4)}function ZE(t,n){if(t&1&&E(0,BE,4,5,"li",3)(1,zE,1,0,"div",4),t&2){let e=n.$implicit;z(e.id!=="separator"?0:1)}}function $E(t,n){if(t&1&&(v(0,"ul",2),Mt(1,ZE,2,1,null,null,en),_()),t&2){let e=b();C("ngStyle",Nt(1,HE,e._position().posY,e._position().posX)),g(),Dt(e.items())}}var so=(()=>{class t{set itemsValue(e){e&&this.items.set(e)}constructor(e){this.el=e,this.triggerSelected=new I,this.showIcons=!0,this.triggerTitle="",this._showDropdown=pe(!1),this._data=void 0,this._position=pe({posX:-2e3,posY:-2e3}),this.items=pe([]),this._element=this.el.nativeElement.shadowRoot}get data(){return this._data}set data(e){this._data=e}_clickOutside(){this._stopTriggerPositionTracking(),this._showDropdown.set(!1)}_actionClick(e){if(this._showDropdown.set(!1),typeof e.disabled=="function"){if(e.disabled?.(this._data))return;e.action?.(this._data);return}e.disabled||e.action?.(this._data)}_disabled(e){return e.disabled?typeof e.disabled=="function"?e.disabled?.(this._data):e.disabled:!1}_calculateContextMenuPosition(){let e=this._element.querySelector(".context-menu-trigger");if(!e)return;let{right:i,top:o}=e.getBoundingClientRect();this._position.set({posX:i,posY:o})}_stopTriggerPositionTracking(){this._interval&&(clearInterval(this._interval),this._interval=void 0)}_startTriggerPositionTracking(){this._interval||(this._interval=setInterval(()=>{this._calculateContextMenuPosition()},50))}_toggleDropdown(e){this._showDropdown.update(i=>!i),this._calculateContextMenuPosition(),this._startTriggerPositionTracking(),_e(this,"triggerSelected"),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-context-menu"]],inputs:{showIcons:[2,"showIcons","showIcons",L],triggerTitle:"triggerTitle",itemsValue:[0,"items","itemsValue"],data:"data"},outputs:{triggerSelected:"triggerSelected"},standalone:!0,features:[Ee,j],decls:3,vars:2,consts:[["libClickOutside","",1,"basic-context-menu",3,"clickOutside"],["data-test","context-menu",1,"context-menu-trigger",3,"click","keypress","title"],["data-test","basic-context-menu__list",1,"basic-context-menu__list",3,"ngStyle"],["data-test","basic-context-menu__item",1,"basic-context-menu__item",3,"basic-context-menu__item--disabled"],["data-test","basic-context-menu__item__separator",1,"basic-context-menu__item__separator"],["data-test","basic-context-menu__item",1,"basic-context-menu__item",3,"click","keypress"],["data-test","basic-context-menu__item__icon",1,"basic-context-menu__item__icon",3,"background-image"],["data-test","basic-context-menu__item__label",1,"basic-context-menu__item__label",3,"title"],["data-test","basic-context-menu__item__icon",1,"basic-context-menu__item__icon"]],template:function(i,o){i&1&&(v(0,"div",0),k("clickOutside",function(){return o._clickOutside()}),v(1,"div",1),k("click",function(s){return o._toggleDropdown(s)})("keypress",function(s){return o._toggleDropdown(s)}),E(2,$E,3,4,"ul",2),_()()),i&2&&(g(),Ie("title",o.triggerTitle),g(),z(o._showDropdown()?2:-1))},dependencies:[Hr,Wd],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}.no-transition{-moz-transition:none;-webkit-transition:none;-o-transition:color 0 ease-in;transition:none}.ml-1{margin-left:1rem}.mr-1{margin-right:1rem}.h-full{height:100%}.fixed{position:fixed}.basic-context-menu{display:block;font-family:var(--context-menu-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--context-menu-font-size, 1.4rem)}.basic-context-menu>.context-menu-trigger{min-width:var(--context-menu-trigger-width, 2.5rem);max-width:var(--context-menu-trigger-width, 2.5rem);min-height:var(--context-menu-trigger-height, 2.5rem);max-height:var(--context-menu-trigger-height, 2.5rem);background-repeat:no-repeat;background-position:center;background-image:url("./assets/3_dots.svg");background-color:var(--context-menu-trigger-bkg-color, transparent)}.basic-context-menu>.context-menu-trigger:hover{background-image:url("./assets/3_dots_active.svg")}.basic-context-menu>.basic-context-menu__list{z-index:1;margin:0;position:fixed;top:-2000;left:-2000;translate:var(--context-menu-translate-x, 0) var(--context-menu-translate-y, 0);border:thin solid var(--context-menu-list-border-color-enabled);border-top-width:0;padding-top:.8rem;padding-bottom:.8rem;padding-left:0;padding-right:0;border-bottom-left-radius:var(--context-menu-border-radius, .6rem);border-bottom-right-radius:var(--context-menu-border-radius, .6rem);border-top-left-radius:var(--context-menu-border-radius, .6rem);border-top-right-radius:var(--context-menu-border-radius, .6rem);-webkit-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);-moz-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);width:fit-content;min-width:var(--context-menu-min-width, 10rem);max-width:var(--context-menu-max-width, 30rem);background-color:var(--context-menu-list-background-color)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item{display:flex;flex-direction:row;cursor:pointer;line-height:var(--context-menu-item-line-height, 3.2rem);list-style-type:none;padding-left:1.2rem;padding-right:2.1rem}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--context-menu-font-weight, 700);color:var(--context-menu-item-label-text-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__icon{height:var(--context-menu-item-line-height, 3.2rem);width:var(--context-menu-item-line-height, 3.2rem);min-width:var(--context-menu-item-line-height, 3.2rem);background-repeat:no-repeat;background-size:var(--context-menu-item-icon-size, 1.8rem);margin-right:.6rem;background-position:center;background-image:url("./assets/bimplus_Components_Info_Active.svg")}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item:hover{background-color:var(--context-menu-item-background-color-hovered)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item__separator{border-top:solid .2rem var(--context-menu-item-seperator-border-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled{background-color:transparent;cursor:default}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled>*{opacity:var(--context-menu-item-disabled-opacity, .3)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled:hover{cursor:default;background-color:var(--context-menu-item-background-color-disabled)}
|
|
36
|
+
`],encapsulation:3})}}return t})();var a_=t=>({node:t});function UE(t,n){t&1&&(v(0,"div",1),T(1),_()),t&2&&(g(),xe(n))}function WE(t,n){if(t&1&&Pt(0,7),t&2){let e=b().$implicit,i=b();C("ngTemplateOutlet",i.customNodeTemplate())("ngTemplateOutletContext",Qe(2,a_,e))}}function GE(t,n){t&1&&F(0,"div",12)}function YE(t,n){t&1&&F(0,"div",13)}function qE(t,n){if(t&1&&(E(0,GE,1,0,"div",9),v(1,"span",10),E(2,YE,1,0,"div",11),v(3,"div"),T(4),_()()),t&2){let e=b().$implicit,i=b();C("ngIf",i.showObjectsIcons),g(),se("selected-node",i._isSelected(e)),g(3),X(" ",e.name," ")}}function XE(t,n){if(t&1){let e=U();v(0,"lib-bimplus-context-menu",14),k("triggerSelected",function(o){O(e);let r=b().$implicit,s=b();return S(s._toggleNode(o,r))}),_()}if(t&2){let e=b().$implicit,i=b();C("items",i.contextMenus==null?null:i.contextMenus.objectContextMenuitems)("data",e)}}function QE(t,n){if(t&1){let e=U();v(0,"cdk-tree-node",5),k("click",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))})("keypress",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))}),F(1,"button",6),E(2,WE,1,4,"ng-container",7)(3,qE,5,4)(4,XE,1,2,"lib-bimplus-context-menu",8),_()}if(t&2){let e=n.$implicit,i=b();se("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),C("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),de("data-test",i.dataTestPrefix+e.id)("node-id",e.id),g(2),z(i.customNodeTemplate()&&i._isCustomNodeType(e)?2:3),g(2),C("ngIf",i.contextMenus==null||i.contextMenus.objectContextMenuitems==null?null:i.contextMenus.objectContextMenuitems.length)}}function KE(t,n){if(t&1&&Pt(0,7),t&2){let e=b().$implicit,i=b();C("ngTemplateOutlet",i.customNodeTemplate())("ngTemplateOutletContext",Qe(2,a_,e))}}function JE(t,n){t&1&&F(0,"div",19)}function eI(t,n){t&1&&F(0,"div",13)}function tI(t,n){if(t&1&&(E(0,JE,1,0,"div",18),v(1,"span",10),E(2,eI,1,0,"div",11),v(3,"div",10),T(4),_()()),t&2){let e=b().$implicit,i=b();C("ngIf",i.showFoldersIcons),g(),se("selected-node",i._isSelected(e))("selected-all-descendants-nodes",i._descendantsAllSelected(e)&&i._isSelected(e)&&i.enableParentHighlighting)("selected-partially-descendants-nodes",i._descendantsPartiallySelected(e)&&i.enableParentHighlighting),g(3),X(" ",e.name," ")}}function nI(t,n){if(t&1){let e=U();v(0,"lib-bimplus-context-menu",14),k("triggerSelected",function(o){O(e);let r=b().$implicit,s=b();return S(s._toggleNode(o,r))}),_()}if(t&2){let e=b().$implicit,i=b();C("items",i.contextMenus==null?null:i.contextMenus.folderContextMenuitems)("data",e)}}function iI(t,n){if(t&1){let e=U();v(0,"cdk-tree-node",15),k("click",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))})("keypress",function(o){let r=O(e).$implicit,s=b();return S(s._toggleNode(o,r))}),v(1,"button",16),F(2,"div",17),_(),E(3,KE,1,4,"ng-container",7)(4,tI,5,8)(5,nI,1,2,"lib-bimplus-context-menu",8),_()}if(t&2){let e=n.$implicit,i=b();se("dragable-node",i.enableDragAndDrop&&e.level>0)("selected-node",i._isSelected(e)),C("matTreeNodePaddingIndent",i.paddingIndent)("title",e.name),de("data-test",i.dataTestPrefix+e.id)("node-id",e.id),g(),de("aria-label","Toggle "+e.name),g(),se("expand-more-icon",i._hasChildren(e)&&!i._treeControl.isExpanded(e))("collapse-icon",i._hasChildren(e)&&i._treeControl.isExpanded(e)),g(),z(i.customNodeTemplate()&&i._isCustomNodeType(e)?3:4),g(2),C("ngIf",i.contextMenus==null||i.contextMenus.folderContextMenuitems==null?null:i.contextMenus.folderContextMenuitems.length)}}var gn=(()=>{class t{set treeTitleValue(e){this.treeTitle.set(e)}constructor(e){this.el=e,this.treeDataStringified=null,this.treeTitle=pe(void 0),this.paddingIndent="2.8rem",this.multiSelect=!1,this.oneLevelMultiSelect=!1,this.showFoldersIcons=!1,this.showObjectsIcons=!1,this.enableSelect=!0,this.enableParentHighlighting=!0,this.enableDragAndDrop=!1,this.dataTestPrefix="",this.contextMenus=null,this.customNodeTemplate=pe(null),this.selectedNodes=new I,this._selectionList=void 0,this._transformer=(i,o)=>({expandable:i.children!==void 0,children_count:i.children?.length,name:i.name,id:i.id,level:o,parent:i.parent,nodeType:i.nodeType}),this._treeControl=new Bd(i=>i.level,i=>i.expandable),this._treeFlattener=new $d(this._transformer,i=>i.level,i=>i.expandable,i=>i.children),this._dataSource=new Ud(this._treeControl,this._treeFlattener),this._isExpendable=(i,o)=>o.expandable}get treeData(){return this._dataSource.data}set treeData(e){this.treeDataStringified=null,this._dataSource.data=e}set customNodeTemplateValue(e){this.customNodeTemplate.set(e)}ngOnInit(){let e=this.el.nativeElement;e&&(e.get_node=this.get_node.bind(this),e.select_node=this.select_node.bind(this)),this._selectionList=new ro(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(e,i){for(let o of i){if(o.id===e)return o;if(o.children){let r=this._getNode(e,o.children);if(r)return r}}return null}get_node(e,i=!1){return typeof e=="string"?this._getNode(e,this._dataSource.data):i?this.el.nativeElement.querySelector(`[node-id='${e.id}']`):this._getNode(e.id,this._dataSource.data)}select_node(e,i=!1){let o=this._treeControl.dataNodes.find(r=>r.id===e);if(o&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==o.parent&&this._selectionList.clear(),!this._selectionList.isSelected(o))){if(this._selectionList.select(o),!this.multiSelect&&!this.oneLevelMultiSelect&&!i){_e(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(o),this.enableParentHighlighting&&this._updateParentSelections(o),i||_e(this,"selectedNodes",this._selectionList.selected)}}reset_selection(){this._selectionList?.clear()}expand_node(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);i&&this._treeControl.expand(i)}is_expanded(e){let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._treeControl.isExpanded(i):!1}is_selected(e){if(!this._selectionList)return;let i=this._treeControl.dataNodes.find(o=>o.id===e);return i?this._selectionList?.isSelected(i):!1}_setNewData(e){let i=JSON.parse(e);this._dataSource.data=i??[]}_changedTreeData(e){this._setNewData(e.currentValue)}ngOnChanges(e){(e.multiSelect||e.oneLevelMultiSelect)&&(this._selectionList=new ro(this.multiSelect||this.oneLevelMultiSelect)),e.treeDataStringified&&this._changedTreeData(e.treeDataStringified)}_isCustomNodeType(e){return e.nodeType!=null&&e.nodeType!=""}_hasChildren(e){return!e.expandable||e.children_count===void 0?!1:e.children_count>0}_descendantsAllSelected(e){if(!this._selectionList)return!1;let i=this._selectionList,o=this._treeControl.getDescendants(e);return o.length===0?!0:o.length>0&&o.every(s=>i.isSelected(s))}_descendantsPartiallySelected(e){if(!this._selectionList)return!1;let i=this._selectionList;return this._treeControl.getDescendants(e).some(s=>i.isSelected(s))&&!this._descendantsAllSelected(e)}_toggleDescendantsNodes(e){if(!this._selectionList)return;this._selectionList.isSelected(e)?this._selectionList.select(...this._treeControl.getDescendants(e)):this._selectionList.deselect(...this._treeControl.getDescendants(e))}_updateParentSelections(e){if(!this._selectionList)return;let i=e.parent,o=this._treeControl.dataNodes.find(r=>r.id===i);for(;o;)this._descendantsAllSelected(o)?this._selectionList.select(o):this._selectionList.deselect(o),i=o.parent,o=this._treeControl.dataNodes.find(r=>r.id===i)}_toggleNode(e,i){if(!i||!this.enableSelect||!this._selectionList)return;if(e!=null&&e instanceof MouseEvent&&!e?.ctrlKey&&this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==i.parent&&this._selectionList.clear(),this._selectionList.toggle(i),!this.multiSelect&&!this.oneLevelMultiSelect){_e(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(i),this.enableParentHighlighting&&this._updateParentSelections(i),_e(this,"selectedNodes",this._selectionList.selected)}_isSelected(e){return this._selectionList?this._selectionList?.isSelected(e):!1}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitleValue:[0,"treeTitle","treeTitleValue"],paddingIndent:"paddingIndent",multiSelect:[2,"multiSelect","multiSelect",L],oneLevelMultiSelect:[2,"oneLevelMultiSelect","oneLevelMultiSelect",L],showFoldersIcons:[2,"showFoldersIcons","showFoldersIcons",L],showObjectsIcons:[2,"showObjectsIcons","showObjectsIcons",L],enableSelect:[2,"enableSelect","enableSelect",L],enableParentHighlighting:[2,"enableParentHighlighting","enableParentHighlighting",L],enableDragAndDrop:[2,"enableDragAndDrop","enableDragAndDrop",L],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",treeData:"treeData",customNodeTemplateValue:[0,"customNodeTemplate","customNodeTemplateValue"]},outputs:{selectedNodes:"selectedNodes"},standalone:!0,features:[Ee,mt,j],decls:5,vars:4,consts:[[1,"tree-container"],[1,"tree-title"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding","",1,"object-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"items","data","triggerSelected",4,"ngIf"],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"triggerSelected","items","data"],["matTreeNodePadding","",1,"folder-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(i,o){if(i&1&&(v(0,"div",0),E(1,UE,2,1,"div",1),v(2,"cdk-tree",2),E(3,QE,5,10,"cdk-tree-node",3)(4,iI,6,15,"cdk-tree-node",4),_()()),i&2){let r;g(),z((r=o.treeTitle())?1:-1,r),g(),C("dataSource",o._dataSource)("treeControl",o._treeControl),g(2),C("matTreeNodeDefWhen",o._isExpendable)}},dependencies:[s_,i_,o_,r_,Jv,Kv,Qv,Zd,ls,Wo,so,Q,Ot,Di],styles:['.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.tree-container[_ngcontent-%COMP%]{background-color:var(--flat-tree-container-background-color-enabled);width:calc(100% - 2 * var(--flat-tree-node-indent, 1rem));padding:var(--flat-tree-node-indent, 1rem);font-family:var(--flat-tree-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--flat-tree-font-size, 1.3rem);font-weight:var(--flat-tree-font-weight, 700);color:var(--flat-tree-container-text-color-enabled)}.tree-container[_ngcontent-%COMP%] > .tree-title[_ngcontent-%COMP%]{background-color:transparent;font-size:var(--flat-tree-title-font-size, 1.6rem);margin-bottom:1rem}.cdk-tree[_ngcontent-%COMP%]{background-color:transparent;width:100%}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display: none;background-color:transparent;display:flex;align-items:center;cursor:pointer;line-height:var(--flat-tree-node-line-height, 2.4rem)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.folder-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-folder-font-weight, 700)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.object-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-object-font-weight, 400)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%]{overflow:hidden;flex:1}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%] > div.node-label[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] lib-bimplus-context-menu[_ngcontent-%COMP%]{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: var(--flat-tree-node-line-height, 2.4rem);--context-menu-trigger-bkg-color: transparent;--context-menu-translate-x: 1rem}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]:not(.selected-node):not(:hover) lib-bimplus-context-menu[_ngcontent-%COMP%]{display:none}.cdk-tree-node.dragable-node[_ngcontent-%COMP%]:hover{background-color:var(--flat-tree-draggable-node-background-color-hovered);background-image:url("./assets/6_dots_gray.svg");background-repeat:no-repeat;background-size:var(--flat-tree-node-icon-size, 1.8rem);background-position:left center}.mat-mdc-icon-button[_ngcontent-%COMP%]{padding:.2rem;width:var(--flat-tree-node-line-height, 2.4rem);height:var(--flat-tree-node-line-height, 2.4rem)}.selected-node[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)!important}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-nodes-text-color-enabled)}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.icon[_ngcontent-%COMP%]{width:var(--flat-tree-node-icon-size, 1.8rem);height:var(--flat-tree-node-icon-size, 1.8rem);margin-right:.4rem;background-position:center;background-size:var(--flat-tree-node-icon-size, 1.8rem)}.icon.folder-icon[_ngcontent-%COMP%]{background:var(--flat-tree-folder-icon, url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat);background-size:var(--flat-tree-folder-icon-size, 1.6rem);background-position:center}.icon.object-icon[_ngcontent-%COMP%]{background:var(--flat-tree-object-icon, url("./assets/bimplus_Components_Documents.svg") no-repeat);background-size:var(--flat-tree-object-icon-size, 1.6rem);background-position:center}.icon.expand-collapse-icon.expand-more-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-expand-icon, url("./assets/collapsed_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}.icon.expand-collapse-icon.collapse-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-collapse-icon, url("./assets/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']})}}return t})();var cs=function(t){return t[t.None=0]="None",t[t.SelectObjectProperties=1]="SelectObjectProperties",t[t.SelectAttributes=2]="SelectAttributes",t}(cs||{}),Ea=5;function oI(t,n){if(t&1&&T(0),t&2){let e=b();X(" \xA0(",e.criterium.namedValue,") ")}}var l_=(()=>{class t extends ve{constructor(e){super(e),this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new I}clickedDelete(){this.deleteCriterium.emit()}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(i,o){i&2&>("margin-left",o.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[re,j],decls:5,vars:2,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click","keypress"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"span",1),T(2),E(3,oI,1,1),_(),v(4,"div",2),k("click",function(){return o.clickedDelete()})("keypress",function(){return o.clickedDelete()}),_()()),i&2&&(g(2),X(" ",o.criterium.name," "),g(),z(o.criterium.namedValue?3:-1))},dependencies:[le],styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:1.8rem;width:1.8rem;cursor:pointer}.filter-criterium-item[_ngcontent-%COMP%]{flex-grow:1}.filter-criterium-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}']})}}return t})();var c_=(()=>{class t{constructor(){this._objectStructure=pe({id:"",name:"",parent:""}),this.treeComponent=null,this.treeData=pn(()=>{let e=this._objectStructure();if(!e)return[];let i=this._convertObjectStructureNodeToTreeNode(e);return i?[i]:[]}),this.nodeSelected=new I}set objectStructureValue(e){this._objectStructure.set(e)}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._objectStructure());i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(i,o){if(i&1&&kt(gn,5),i&2){let r;We(r=Ge())&&(o.treeComponent=r.first)}},inputs:{objectStructureValue:[0,"objectStructure","objectStructureValue"]},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[j],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-flat-tree",0),k("selectedNodes",function(s){return o.handleSelectedNodes(s)}),_()),i&2&&C("treeData",o.treeData())},dependencies:[gn],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var d_=(()=>{class t{constructor(){this._complexProperties=pe({id:"",name:"",parent:""}),this.treeComponent=null,this.treeData=pn(()=>{let e=this._complexProperties();if(!e)return[];let i=this._convertObjectStructureNodeToTreeNode(e);return i?[i]:[]}),this.nodeSelected=new I}set complexPropertiesValue(e){this._complexProperties.set(e)}_convertObjectStructureNodeToTreeNode(e){let i={name:e.name,id:e.id,parent:e.parent};if(e.children){i.children=[];for(let o of e.children){let r=this._convertObjectStructureNodeToTreeNode(o);i.children.push(r)}}return i}_findNode(e,i){if(i.id==e)return i;if(i.children)for(let o of i.children){let r=this._findNode(e,o);if(r)return r}return null}handleSelectedNodes(e){if(e.length===1){let i=this._findNode(e[0].id,this._complexProperties());i&&this.nodeSelected.emit(i)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(i,o){if(i&1&&kt(gn,5),i&2){let r;We(r=Ge())&&(o.treeComponent=r.first)}},inputs:{complexPropertiesValue:[0,"complexProperties","complexPropertiesValue"]},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[j],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-flat-tree",0),k("selectedNodes",function(s){return o.handleSelectedNodes(s)}),_()),i&2&&C("treeData",o.treeData())},dependencies:[gn],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400}"]})}}return t})();var Gd=class t{static createFromResponse(n){let e={id:n.id,name:n.name?`${n.type}(${n.name})`:n.type,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};var Yd=class t{static createFromResponse(n){let e={id:n.id,name:n.type?n.type:n.name,parent:n.parent};if(n.children){e.children=[];for(let i of n.children)e.children.push(t.createFromResponse(i))}return e}};var qd=(()=>{class t{transform(e){return e==null?"[null]":e===""?"[empty]":typeof e=="boolean"?e?"TRUE":"FALSE":e.toString()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=vi({name:"formatValue",type:t,pure:!0,standalone:!0})}}return t})();var u_=Eu(Xd());var Qd=(()=>{class t{transform(e,i="L"){return(0,u_.default)(e).format(i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=vi({name:"DateTime",type:t,pure:!0,standalone:!0})}}return t})();function aI(t,n){if(t&1){let e=U();v(0,"lib-bimplus-object-structure",2),k("nodeSelected",function(o){O(e);let r=b();return S(r.handleObjectStructureNodeSelected(o))}),_()}if(t&2){let e=b();C("objectStructure",e.objectStructure)}}function lI(t,n){if(t&1){let e=U();v(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),T(3),W(4,"translate"),_()(),v(5,"lib-bimplus-object-complex-properties",3),k("nodeSelected",function(o){O(e);let r=b();return S(r.handleComplexPropertyNodeSelected(o))}),_()()}if(t&2){let e=b();g(3),X(" ",G(4,2,"_Object multiproperties tree"),""),g(2),C("complexProperties",e.complexProperties)}}function cI(t,n){if(t&1){let e=U();v(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),k("click",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttribute(o))})("keypress",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttribute(o))}),_(),F(5,"span"),_(),v(6,"div",11),T(7),_()(),v(8,"div",8)(9,"label",9)(10,"input",10),k("click",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttributeValue(o))})("keypress",function(){let o=O(e).$implicit,r=b(3);return S(r.toggleAttributeValue(o))}),_(),F(11,"span"),_(),v(12,"div",12),T(13),_()()()()}if(t&2){let e=n.$implicit,i=b(3);g(4),C("checked",e.checked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),g(3),X(" ",e.name," "),g(3),C("checked",e.valueChecked)("disabled",i.filterCriteria.length===i.MaxFilterCriteria&&!e.checked),g(2),Ie("title",i.titleForAttribute(e)),g(),X(" ",i.normalizedValue(e)," ")}}function dI(t,n){if(t&1&&(v(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),T(3),_()(),v(4,"div"),Mt(5,cI,14,7,"div",6,en),_()()),t&2){let e=n.$implicit;C("expanded",e.expanded),g(3),X(" ",e.name," "),g(2),Dt(e.attributes)}}function uI(t,n){if(t&1&&(v(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),T(3),W(4,"translate"),_()(),Mt(5,dI,7,2,"lib-expansion-panel",4,en),_()),t&2){let e=b();g(3),X(" ",G(4,1,"_Object properties"),""),g(2),Dt(e.objectAttributeGroups)}}var p_=(()=>{class t extends ve{constructor(e,i,o){super(e),this.formatValuePipe=i,this.datetimePipe=o,this.api=null,this.revision=void 0,this._currentObjectId$=new Ye(""),this._currentPropertiesObjectId$=new Ye(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=Ea,this._rootObjectId="",this.filterCriteriaChange=new I,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:e=>{e&&this._createObjectProperties(e,this.revision)}}),this._currentObjectId$.subscribe({next:e=>{this._currentPropertiesObjectId$.next(e),this._createComplexPropertiestructure(e,this.revision)}})}set rootObjectId(e){this._currentObjectId$.next(e),this._createObjectStructure(e,this.revision),this._rootObjectId=e}get rootObjectId(){return this._rootObjectId}set filterCriteria(e){this._filterCriteria=e,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(e){e.checked=!e.checked,e.checked===!1&&(e.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(e)}toggleAttributeValue(e){e.valueChecked=!e.valueChecked,e.checked=e.valueChecked,this.handleFilterCriteriumAttributeStateChange(e)}_defineFilterString(e){let i=`[I][${e.id}].Value`;return e.valueChecked&&(i+=`[F][0]=${this.formatValuePipe.transform(e.value)}`),i}_addFilterCriteria(e){this.filterCriteria.push({name:e.name,value:e.valueChecked?e.value:void 0,namedValue:e.valueChecked?this.normalizedValue(e,!0):void 0,id:e.id,subString:this._defineFilterString(e)})}_updateFilterCriteria(e,i){this.filterCriteria[i]=ot(ue({},this.filterCriteria[i]),{name:e.name,value:e.valueChecked?e.value:void 0,namedValue:e.valueChecked?this.normalizedValue(e,!0):void 0,subString:this._defineFilterString(e)})}roundToDecimal(e,i){let o=Math.pow(10,i);return Math.round(e*o)/o}titleForAttribute(e){return e.value===null||e.value===void 0?this.translateService.instant("_Not_defined"):e.value===""?this.translateService.instant("_Empty_value"):String(e.value)}normalizedValue(e,i=!1){if(e.value===null||e.value===void 0)return i?this.translateService.instant("_Not_defined"):"...";if(e.value==="")return i?this.translateService.instant("_Empty_value"):"''";if(e?.control==="Enumeration"&&e.enumValues)return String(e.enumValues[Number(e.value)]);if(!i&&e.type==="double"&&e.decimal&&typeof e.value=="number"){let o=this.roundToDecimal(e.value,e.decimal);return String(o)}return e?.control==="Checkbox"?e.value===1?"True":"False":e?.type==="datetime"&&typeof e.value=="string"?this.datetimePipe.transform(e.value):String(e.value)}handleFilterCriteriumAttributeStateChange(e){let i=this.filterCriteria.findIndex(o=>o.id===e.id);i>=0?(e.checked===!1&&e.valueChecked===!1?this.filterCriteria.splice(i,1):this._updateFilterCriteria(e,i),this.filterCriteriaChange.emit(this.filterCriteria)):this.filterCriteria.length<Ea&&(this._addFilterCriteria(e),this.filterCriteriaChange.emit(this.filterCriteria))}handleObjectStructureNodeSelected(e){this._currentObjectId$.next(e.id)}handleComplexPropertyNodeSelected(e){this._currentPropertiesObjectId$.next(e.id)}_createObjectProperties(e,i){this._loadObjectProperties(e,i)?.subscribe({next:o=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(o),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(e){let i=[],o=null;if(e.localizedAttributeGroups&&(o=e.localizedAttributeGroups),!e.attributes)return i;let r=e.attributes;for(let[s,l]of Object.entries(r)){let d={name:s,expanded:!1,attributes:[]};if(o?.[s]&&(d.name=o[s]),!!l){for(let p of Object.values(l)){let f={id:p.id,name:p.name,description:p.description,value:p.value,isChangeable:p.isChangeable,type:p.type,checked:!1,valueChecked:!1,group:p.group};p.control&&(f.control=p.control),p.defaultValue&&(f.defaultValue=p.defaultValue),p.unit&&(f.unit=p.unit),p.decimal&&(f.decimal=p.decimal),p.enumdefinition&&(f.enumValues=p.enumdefinition),d.attributes.push(f)}i.push(d)}}return i}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(e=>{e.attributes.forEach(i=>{let o=this._filterCriteria.find(r=>r.id==i.id);o?(i.checked=!0,i.valueChecked=o.value!==void 0):(i.checked=!1,i.valueChecked=!1)})})}_loadObjectProperties(e,i){if(this.api)return ct(this.api.objects.get(e,i,"8",void 0,!1,void 0))}_loadObjectStructure(e,i){if(this.api)return ct(this.api.objects.getTopology(e,i,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(e,i){if(this.api)return ct(this.api.objects.getComplexPropertiesTopology(e,i))}_createComplexPropertiestructure(e,i){this._loadObjectComplexPropertiesStructure(e,i)?.subscribe({next:o=>{if(o){let r=Yd.createFromResponse(o);r?.children?.length?this._complexProperties=r:this._complexProperties=null}}})}_createObjectStructure(e,i){this._loadObjectStructure(e,i)?.subscribe({next:o=>{o&&(this._objectStructure=Gd.createFromResponse(o))}})}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(qd),M(Qd))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[me([qd,Qd]),re,j],decls:8,vars:6,consts:[[1,"criteria-select-object-properties-header"],[3,"objectStructure"],[3,"nodeSelected","objectStructure"],[3,"nodeSelected","complexProperties"],[3,"expanded"],[1,"criteria-select-object-properties-group-header"],[1,"criteria-select-object-properties-attrib-row"],[1,"criteria-select-object-properties-attrib-row-content"],[1,"criteria-select-object-properties-attrib-row-cell","criteria-select-checkbox"],[1,"criteria-select-object-properties-attrib-row-cell-label"],["type","checkbox",3,"click","keypress","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"],[1,"criteria-select-object-properties-attrib-row-cell-text",3,"title"]],template:function(i,o){i&1&&(v(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),T(3),W(4,"translate"),_()(),E(5,aI,1,1,"lib-bimplus-object-structure",1),_(),E(6,lI,6,4,"lib-expansion-panel")(7,uI,7,3,"lib-expansion-panel")),i&2&&(g(3),X(" ",G(4,4,"_Object structure"),""),g(2),z(o.objectStructure?5:-1),g(),z(o.complexProperties?6:-1),g(),z(o.objectAttributeGroups.length>0?7:-1))},dependencies:[Ji,Ki,le,Me,c_,d_],styles:['.criteria-select-object-properties-header[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;font-size:1.4rem}.criteria-select-object-properties-group-header[_ngcontent-%COMP%]{line-height:2.4rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]{display:flex;width:calc(100% - 2rem);flex-direction:row;flex-wrap:nowrap;overflow:hidden;padding-left:2rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]:hover{background-color:var(--object-navigator-criteria-select-object-properties-attribute-row-background-color-hovered)}.criteria-select-object-properties-attrib-row-content[_ngcontent-%COMP%]{display:inline-flex;width:100%}.criteria-select-object-properties-attrib-row-cell[_ngcontent-%COMP%]{flex-basis:50%;display:flex;overflow:hidden;text-overflow:ellipsis}.criteria-select-object-properties-attrib-row-cell-label[_ngcontent-%COMP%]{display:inline-flex}.criteria-select-object-properties-attrib-row-cell-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off.svg");width:1.8rem;height:1.8rem;margin-top:.1rem;vertical-align:middle;border:0;background-color:transparent;background-position:-.3rem center;background-size:100% 100%;background-repeat:no-repeat}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_off_hovered.svg")}lib-bimplus-object-structure[_ngcontent-%COMP%]{--flat-tree-container-background-color-enabled: transparent}']})}}return t})();function pI(t,n){if(t&1&&(v(0,"div",2),T(1),_()),t&2){let e=b().node,i=b();g(),Fo(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function mI(t,n){if(t&1&&(v(0,"div",3),T(1),_()),t&2){let e=b().node,i=b();g(),Fo(" ",e.name," \xA0( ",i.getNodeObjectCounter(e.id)," )")}}function gI(t,n){if(t&1){let e=U();v(0,"span",3)(1,"div",4),k("dblclick",function(){O(e);let o=b().node,r=b();return S(r.dblClickedObjectNode(o))})("mouseenter",function(){O(e);let o=b().node,r=b();return S(r.mouseEnterObjectNode(o))})("mouseleave",function(){O(e);let o=b().node,r=b();return S(r.mouseLeaveObjectNode(o))}),T(2),_()()}if(t&2){let e=b().node;g(2),X(" ",e.name," ")}}function hI(t,n){if(t&1&&E(0,pI,2,2,"div",2)(1,mI,2,2,"div",3)(2,gI,3,1,"span",3),t&2){let e,i=n.node;z((e=i.nodeType)==="rootNode"?0:e==="structureNode"?1:e==="objectNode"?2:-1)}}var m_=(()=>{class t{constructor(){this.treeComponent=null,this.nodeSelectionChanged=new I,this.nodeDoubleClicked=new I,this.nodeMouseEntered=new I,this.nodeMouseLeft=new I,this._filterResult=null,this._treeData=[],this._treeNodesLookup={},this._treeNodeObjectCounts={},this._selectedObjects=[]}set filterResult(e){this._filterResult=e,this._updateTreeData()}set selectedObjects(e){this._selectedObjects=e,this._syncSelectedObjects()}get treeData(){return this._treeData}ngAfterViewInit(){this._treeData&&this._treeData.length>0&&this._expandToObjectLevel(this._treeData[0])}handleSelectedNodes(e){this.nodeSelectionChanged.emit(e.map(i=>i.id))}getNodeObjectCounter(e){return this._treeNodeObjectCounts[e]}dblClickedObjectNode(e){this.nodeDoubleClicked.emit(e.id)}mouseEnterObjectNode(e){this.nodeMouseEntered.emit(e.id)}mouseLeaveObjectNode(e){this.nodeMouseLeft.emit(e.id)}expandToObjectLevel(){this.treeData.length!==0&&this._expandToObjectLevel(this._treeData[0])}_syncSelectedObjects(){let e=[];for(let i of this._selectedObjects){let o=this._treeNodesLookup[i];o&&e.push(o)}this.treeComponent?.reset_selection();for(let i of e)this.treeComponent?.select_node(i.id)}_updateObjectCounters(){this._treeNodeObjectCounts={},this._countObjects(this.treeData[0])}_countObjects(e){if(e.nodeType&&e.nodeType==="objectNode")return 1;let i=0;if(!e.children)return 0;for(let o of e.children)o&&(i+=this._countObjects(o));return this._treeNodeObjectCounts[e.id]=i,i}_updateTreeData(){this._filterResult&&(this._treeNodesLookup={},this._treeData=[this._convertFilterResultToTreeNode(this._filterResult.structure,this._treeNodesLookup)],this._updateObjectCounters())}_convertFilterResultToTreeNode(e,i=void 0){let o={name:e.name,id:e.id,parent:e.parent};if(e.children){o.children=[];for(let r of e.children){let s=this._convertFilterResultToTreeNode(r,i);o.children.push(s)}}return o.parent?e.type==="Structure"?o.nodeType="structureNode":o.nodeType="objectNode":o.nodeType="rootNode",i&&(i[o.id]=o),o}_expandToObjectLevel(e){if(e.children)for(let i of e.children){if(i.nodeType&&i.nodeType==="objectNode")return;this._expandToObjectLevel(i)}this.treeComponent?.expand_node(e.id)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-object-filter-result"]],viewQuery:function(i,o){if(i&1&&kt(gn,5),i&2){let r;We(r=Ge())&&(o.treeComponent=r.first)}},inputs:{filterResult:"filterResult",selectedObjects:"selectedObjects"},outputs:{nodeSelectionChanged:"nodeSelectionChanged",nodeDoubleClicked:"nodeDoubleClicked",nodeMouseEntered:"nodeMouseEntered",nodeMouseLeft:"nodeMouseLeft"},standalone:!0,features:[j],decls:3,vars:2,consts:[["objFilterResultNode",""],["paddingIndent","1.4rem","enableParentHighlighting","false","oneLevelMultiSelect","false","multiSelect","true","dataTestPrefix","object-filter-result-tree-",3,"selectedNodes","treeData","customNodeTemplate"],[1,"object-navigator-filter-result-root-node","noselect"],[1,"noselect"],[1,"noselect",3,"dblclick","mouseenter","mouseleave"]],template:function(i,o){if(i&1){let r=U();v(0,"lib-bimplus-flat-tree",1),k("selectedNodes",function(l){return O(r),S(o.handleSelectedNodes(l))}),_(),E(1,hI,3,1,"ng-template",null,0,Zt)}if(i&2){let r=yt(2);C("treeData",o.treeData)("customNodeTemplate",r)}},dependencies:[gn],styles:[".noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-selected-node-font-weight: 700}.object-navigator-filter-result-root-node[_ngcontent-%COMP%]{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}"]})}}return t})();var g_="tabAttribElement.DivisionID",Go=class{constructor(n="",e=5){this._filterString="",this._maxFilterCriteria=5,this._filterString=n,this._maxFilterCriteria=e}get filterString(){return this._filterString}fromFilterCriteria(n){this._filterString=`[I]${g_}`;for(let e of n)this._filterString+=e.subString;return this._filterString}getReadableValuesFromFilterCriteria(n){let e={};for(let i of n)i.id&&i.name&&(e[i.id]=i.name);return e}toFilterCriteria(n=void 0){let e=[],i=!1,o=this._filterString.split("[I]");for(let r of o)if(r.length!==0){if(r.includes(g_)&&!i){i=!0;continue}if(e.push(this._parseFilterSubstring(r,n)),e.length===this._maxFilterCriteria)break}return e}_parseFilterSubstring(n,e=void 0){let i=n,o,r=n.indexOf("["),s=n.indexOf("]");if(r>=0&&s>=0&&s>r){let l=n.slice(r+1,s);if(o=l,l&&e){let d=e[l];d&&(i=d)}}else if(n.includes(".")){let l=n.split(".");i=l[l.length-1]}return{name:i,subString:"[I]"+n,id:o}}};var Kd=class{static fetchObjectFilterStructureFromSelection(n,e,i,o){let r=!e.id,s=e.id?e.id:"",l=null;return r?l=ct(o.objectFilters.post(JSON.stringify(e),n)).pipe(an(d=>{if(!d?.id)throw new Error("Failed to create temporary filter object");return s=d.id,ct(o.exportService.createExportSelection(n,JSON.stringify(i)))}),an(d=>{if(!d?.id)throw new Error("Failed to create selection object");return ct(o.objectFilters.getSelectionFilteredObjects(d.id,s,void 0,void 0)).pipe(ke(p=>(o.objectFilters.delete(s),p)))})):l=ct(o.exportService.createExportSelection(n,JSON.stringify(i))).pipe(an(d=>{if(!d?.id)throw new Error("Failed to create selection object");return ct(o.objectFilters.getSelectionFilteredObjects(d.id,s,void 0,void 0))})),l}};function fI(t,n){if(t&1&&(v(0,"ng-option",18),T(1),_()),t&2){let e=n.$implicit;C("value",e),g(),xe(e.name)}}function bI(t,n){if(t&1&&(v(0,"ng-option",18),T(1),_()),t&2){let e=n.$implicit;C("value",e),g(),xe(e.name)}}function vI(t,n){if(t&1&&F(0,"lib-bimplus-context-menu",9),t&2){let e=b(3);C("items",e.filterContextMenu)}}function _I(t,n){if(t&1&&E(0,vI,1,1,"lib-bimplus-context-menu",19),t&2){let e=b(2);C("ngIf",e.filterContextMenu==null?null:e.filterContextMenu.length)}}function CI(t,n){if(t&1){let e=U();v(0,"app-filter-criterium",20),k("deleteCriterium",function(){let o=O(e).$index,r=b(2);return S(r.deleteFilterCriterium(o))}),_()}if(t&2){let e=n.$implicit,i=n.$index;C("criterium",e)("indent",i*.8)}}function wI(t,n){t&1&&(v(0,"p",21),T(1),W(2,"translate"),_()),t&2&&(g(),xe(G(2,1,"_NoObjectSelected")))}function yI(t,n){if(t&1&&E(0,wI,3,3,"p",21),t&2){let e=b(2);z(e.selectedObjectId?-1:0)}}function xI(t,n){if(t&1){let e=U();v(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-criteria-select-object-properties",23),xi("filterCriteriaChange",function(o){O(e);let r=b(3);return Wi(r.filterCriteria,o)||(r.filterCriteria=o),S(o)}),k("filterCriteriaChange",function(){O(e);let o=b(3);return S(o.filterCriteriaWasChanged())}),_()()()}if(t&2){let e=b(3);g(2),C("api",e.api)("selectedLanguage",e.selectedLanguage)("localizedStrings",e.localizedStrings),yi("filterCriteria",e.filterCriteria),C("rootObjectId",e.selectedObjectId)}}function MI(t,n){if(t&1&&E(0,xI,3,5,"div",22),t&2){let e=b(2);z(e.selectedObjectId?0:-1)}}function DI(t,n){}function kI(t,n){if(t&1){let e=U();v(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-object-filter-result",24),k("nodeSelectionChanged",function(o){O(e);let r=b(3);return S(r.handleFilterResultSelectionChanged(o))})("nodeDoubleClicked",function(o){O(e);let r=b(3);return S(r.handleFilterResulObjectDoubleClicked(o))})("nodeMouseEntered",function(o){O(e);let r=b(3);return S(r.handleFilterResulObjectMouseEntered(o))})("nodeMouseLeft",function(o){O(e);let r=b(3);return S(r.handleFilterResulObjectMouseLeft(o))}),_()()()}if(t&2){let e=b(3);g(2),C("filterResult",e.filterResult)("selectedObjects",e.selectedObjects)}}function OI(t,n){if(t&1&&E(0,kI,3,2,"div",22),t&2){let e=b(2);z(e.filterResult?0:-1)}}function SI(t,n){if(t&1){let e=U();v(0,"div",3),T(1),W(2,"translate"),_(),v(3,"div",4)(4,"ng-select",5),xi("ngModelChange",function(o){O(e);let r=b();return Wi(r.activeFilterType,o)||(r.activeFilterType=o),S(o)}),E(5,fI,2,2,"ng-option",6),_()(),v(6,"div",7)(7,"ng-select",8),xi("ngModelChange",function(o){O(e);let r=b();return Wi(r.activeFilter,o)||(r.activeFilter=o),S(o)}),E(8,bI,2,2,"ng-option",6),_(),E(9,_I,1,1,"lib-bimplus-context-menu",9),_(),v(10,"lib-expansion-panel",10)(11,"lib-expansion-panel-header")(12,"span",11),T(13),W(14,"translate"),_(),v(15,"lib-expansion-panel-header-actions")(16,"div",12),W(17,"translate"),k("click",function(){O(e);let o=b();return S(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))})("keypress",function(){O(e);let o=b();return S(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))}),_()()(),v(18,"div",13),Mt(19,CI,1,2,"app-filter-criterium",14,en),_()(),E(21,yI,1,1),v(22,"div",15)(23,"button",16),k("click",function(){O(e);let o=b();return S(o.applyFilter())}),T(24),W(25,"translate"),_()(),F(26,"div",17),E(27,MI,1,1)(28,DI,0,0)(29,OI,1,1)}if(t&2){let e,i,o=b();g(),X(" ",G(2,22,"_Select_an_object_using_Object_Picker")," "),g(3),yi("ngModel",o.activeFilterType),C("clearable",!1)("searchable",!1),g(),C("ngForOf",o.filterTypes),g(2),yi("ngModel",o.activeFilter),C("clearable",!1)("disabled",!o.filters)("searchable",!1),g(),C("ngForOf",o.filters),g(),z(o.hideFilterContextMenu?-1:9),g(4),t1(" ",G(14,24,"_Assign_Objects_Selection_Mode")," (",o.filterCriteria.length,"/",o.maxFilterCriteria,") "),g(3),C("ngClass",o.filterCriteriaSelectionMode$.getValue()===o.FilterCriteriaSelectionMode.SelectObjectProperties?"active":"")("title",G(17,26,"_Object_Picker")),g(3),Dt(o.filterCriteria),g(2),z((e=o.filterCriteriaSelectionMode$.getValue())===o.FilterCriteriaSelectionMode.SelectObjectProperties?21:-1),g(2),se("disabled",o.applyFilterDisabled()),C("disabled",o.applyFilterDisabled()),g(),X(" ",G(25,28,"_Apply filter")," "),g(3),z((i=o.filterCriteriaSelectionMode$.getValue())===o.FilterCriteriaSelectionMode.SelectObjectProperties?27:i===o.FilterCriteriaSelectionMode.SelectAttributes?28:29)}}function AI(t,n){t&1&&(v(0,"div",2),T(1),W(2,"translate"),_()),t&2&&(g(),X(" ",G(2,1,"_No_visible_models_found")," "))}var h_=(()=>{class t extends ve{constructor(e){super(e),this.hideFilterContextMenu=!1,this.filterContextMenu=[],this.activeFilterTypeSubject$=new Ye(null),this.activeFilterSubject$=new Ye(null),this.filters=null,this.filterCriteria=[],this.filterCriteriaChanged=!1,this.maxFilterCriteria=Ea,this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new Ye(cs.None),this.filterCriteriaSelectionModeChanged=new I,this.selectedObjectId=null,this.selectedObjects=[],this.selectionObject=null,this.filterResultObjectSelectionChanged=new I,this.filterResultObjectDoubleClicked=new I,this.filterResultObjectMouseEntered=new I,this.filterResultObjectMouseLeft=new I,this.pipetteActiveStatus=new I,this.FilterCriteriaSelectionMode=cs,this.isLoadingResults=!1,this._filterResult=null,this._filterTypes=[]}set filterTypes(e){this._filterTypes=e,this._filterTypes.length>0&&(this.activeFilterType=this._filterTypes[0])}get filterTypes(){return this._filterTypes}set activeFilterType(e){this.activeFilterTypeSubject$.next(e)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(e){this.filterCriteriaChanged=!0,e&&!e.id&&this._setDefaultCustomFilterString(e),this.activeFilterSubject$.next(e)}get activeFilter(){return this.activeFilterSubject$.getValue()}get filterResult(){return this._filterResult}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:e=>{!this.projectId||!this.api||!e||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,e.id)?.subscribe({next:i=>{this.filters=[this._createDefaultCustomFilter(e.id),...i],this.activeFilter=this.filters[0]},error:i=>{throw new Error(i)}}))}}),this.activeFilterSubject$.subscribe({next:e=>{e&&(this.filterCriteria=this.parseFilterString(e))}}),this.filterCriteriaSelectionMode$.subscribe({next:e=>{this.filterCriteriaSelectionModeChanged.emit(e)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}loadCurrentLayerFilters(e,i){if(this.api)return ct(this.api.objectFilters.get(i,e))}parseFilterString(e){return new Go(e.filterString,this.maxFilterCriteria).toFilterCriteria(e.readableValues)}deleteFilterCriterium(e){this.filterCriteria.splice(e,1),this.filterCriteria=[...this.filterCriteria],this.filterCriteriaChanged=!0,this.activateModifiedCustomFilter()}setFilterCriteriaSelectionMode(e){let i=this.filterCriteriaSelectionMode$.getValue()===e;this.filterCriteriaSelectionMode$.next(i?cs.None:e),this.handlePipetteActiveStatus(!i)}applyFilterDisabled(){return this.filterCriteria.length===0||!this.filterCriteriaChanged}applyFilter(){this.handlePipetteActiveStatus(!1),this.filterCriteriaSelectionMode$.next(cs.None),this._filterResult=null,this.activeFilter&&!this.activeFilter.id&&(this.activeFilter.filterString=new Go().fromFilterCriteria(this.filterCriteria)),this.selectionObject&&this._applySelectionObjectFilter(this.activeFilter)}handleFilterResultSelectionChanged(e){this.filterResultObjectSelectionChanged.emit(e)}handleFilterResulObjectDoubleClicked(e){this.filterResultObjectDoubleClicked.emit(e)}handleFilterResulObjectMouseEntered(e){this.filterResultObjectMouseEntered.emit(e)}handleFilterResulObjectMouseLeft(e){this.filterResultObjectMouseLeft.emit(e)}handlePipetteActiveStatus(e){this.pipetteActiveStatus.emit(e)}filterCriteriaWasChanged(){this.filterCriteriaChanged=!0}activateModifiedCustomFilter(){this.activeFilter?.id&&this.filters&&(this.filters[0].filterString=new Go().fromFilterCriteria(this.filterCriteria),this.filters[0].readableValues=new Go().getReadableValuesFromFilterCriteria(this.filterCriteria),this.activeFilterSubject$.next(this.filters[0]))}_applySelectionObjectFilter(e){!this.api||!this.selectionObject||!e||(this.selectionObject.singleUse=!0,this.selectionObject.selection.singleuse=!0,this.isLoadingResults=!0,Kd.fetchObjectFilterStructureFromSelection(this.projectId,e,this.selectionObject,this.api).subscribe({next:i=>{this._filterResult=i,this.isLoadingResults=!1,this.filterCriteriaChanged=!1}}))}_setDefaultCustomFilterString(e){let i="a0e8ae2c-c869-4ec3-9019-25d3704be707";e.filterString=`[I][${i}].Value`,e.readableValues={},e.readableValues[i]="Type"}_createDefaultCustomFilter(e){let i={module:"00000000-0000-0000-0000-000000000000",category:"",disciplineID:e,name:"Custom filter",filterString:"",isDefault:!1,disableSortByModels:!1};return this._setDefaultCustomFilterString(i),i}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(i,o){i&2&&se("object-navigator",o.objNavClassClass)},inputs:{hideFilterContextMenu:"hideFilterContextMenu",filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId",selectedObjects:"selectedObjects",selectionObject:"selectionObject"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged",filterResultObjectSelectionChanged:"filterResultObjectSelectionChanged",filterResultObjectDoubleClicked:"filterResultObjectDoubleClicked",filterResultObjectMouseEntered:"filterResultObjectMouseEntered",filterResultObjectMouseLeft:"filterResultObjectMouseLeft",pipetteActiveStatus:"pipetteActiveStatus"},standalone:!0,features:[re,j],decls:6,vars:8,consts:[[3,"header","isLoading","loadingSpinnerText"],[1,"object-navigator-content-container"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"],[1,"description"],[1,"object-navigator-filters-type"],["data-test","object-navigator-filter-types-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-navigator-filters-name"],["data-test","object-navigator-filters-name-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","disabled","searchable"],[1,"object-navigator-filters-name-context-menu",3,"items"],[1,"object-navigator-filter-criteria-panel"],[1,"object-navigator-filter-criteria-header"],[1,"object-navigator-pick-object-button",3,"click","keypress","ngClass","title"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"click","disabled"],[1,"object-navigator-separator"],[3,"value"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[1,"scrollable-content-container"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId"],[3,"nodeSelectionChanged","nodeDoubleClicked","nodeMouseEntered","nodeMouseLeft","filterResult","selectedObjects"]],template:function(i,o){i&1&&(v(0,"lib-bimplus-sidenav-drawer-content",0),W(1,"translate"),W(2,"translate"),v(3,"div",1),E(4,SI,30,30)(5,AI,3,3,"div",2),_()()),i&2&&(C("header",G(1,4,"_Object navigator"))("isLoading",o.isLoadingResults)("loadingSpinnerText",G(2,6,"_Loading_Filter_Results")),g(4),z(o.filterTypes.length>0?4:5))},dependencies:[Q,be,Je,Ot,$r,Zr,No,Wr,Ur,jo,l_,Ki,Ji,Xr,qr,le,Me,p_,so,m_,Dn],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;padding:.2rem 1rem .4rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}:host{display:flex}lib-bimplus-sidenav-drawer-content{width:100%;max-height:100%;display:flex;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container{display:flex;flex-direction:column;width:100%;max-height:100%;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.description{margin-bottom:.8rem;font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-no-filter-types{font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-filters-name-context-menu{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: 2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filter-criteria-panel{flex:0;padding-top:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-apply-button-row{flex:0;display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-separator{flex:0;border-top:solid .078125em var(--object-navigator-separator-border-color-enabled);padding-bottom:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container{position:relative;flex:1;width:100%;display:flex;flex-direction:column}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container>lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;flex:1;width:100%}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:12rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-filter-action-buttons{width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button{background-image:url("./assets/Properties_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./assets/Properties_18_maincolor.svg")}.object-navigator-pick-object-button{background-image:url("./assets/Pipette_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./assets/Pipette_18_maincolor.svg")}.object-navigator-filter-criteria-header{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}lib-object-filter-result{--flat-tree-container-background-color-enabled: transparent}#NoObjectSelected{margin:.8rem;line-height:.72rem;font-size:1.2rem}#NoObjectSelected+.object-navigator-apply-button-row{margin-top:0}
|
|
37
|
+
`],encapsulation:3})}}return t})();var EI=[[["",8,"tooltip-message-title-content"]],[["",8,"tooltip-message-messages-content"]],[["",8,"tooltip-message-footer-content"]]],II=[".tooltip-message-title-content",".tooltip-message-messages-content",".tooltip-message-footer-content"],LI=(t,n)=>({"top.px":t,"left.px":n});function PI(t,n){if(t&1&&(v(0,"div",5),T(1),_()),t&2){let e=b(2);g(),X(" ",e.messageData.title," ")}}function TI(t,n){t&1&&(tn(0),F(1,"div",12),nn())}function VI(t,n){if(t&1&&(v(0,"span",13),T(1),_()),t&2){let e=b().$implicit;se("failed",e.type==="failed")("success",e.type==="success"),g(),X(" ",e.label," ")}}function FI(t,n){t&1&&(tn(0),T(1,":"),nn())}function NI(t,n){if(t&1&&(v(0,"span",14),E(1,FI,2,0,"ng-container",8),T(2),_()),t&2){let e=b().$implicit;g(),C("ngIf",e.label),g(),X(" ",e.value," ")}}function jI(t,n){if(t&1&&(tn(0),E(1,TI,2,0,"ng-container",8),v(2,"div",9),E(3,VI,2,5,"span",10)(4,NI,3,2,"span",11),_(),nn()),t&2){let e=n.$implicit;g(),C("ngIf",e.separatingLine),g(2),C("ngIf",e.label),g(),C("ngIf",e.value)}}function HI(t,n){if(t&1&&(v(0,"div",6),E(1,jI,5,3,"ng-container",7),_()),t&2){let e=b(2);g(),C("ngForOf",e.messageData.messages)}}function RI(t,n){if(t&1&&(v(0,"div",15),T(1),_()),t&2){let e=b(2);g(),X(" ",e.messageData.footer," ")}}function BI(t,n){if(t&1){let e=U();v(0,"div",1),k("clickOutside",function(){O(e);let o=b();return S(o._clickOutside())}),Ue(1),E(2,PI,2,1,"div",2),Ue(3,1),E(4,HI,2,1,"div",3),Ue(5,2),E(6,RI,2,1,"div",4),_()}if(t&2){let e=b();C("ngStyle",Nt(4,LI,e.messagePosition.posY,e.messagePosition.posX)),g(2),C("ngIf",e.messageData&&e.messageData.title),g(2),C("ngIf",e.messageData&&e.messageData.messages),g(2),C("ngIf",e.messageData&&e.messageData.footer)}}var f_=(()=>{class t{constructor(e){this.el=e,this.messagePosition={posX:0,posY:0},this.messageData={},this.messageVisibility=!1,this.messageVisibilityChange=new I,this._parentWidth=0,this._parentHeight=0,this._element=this.el.nativeElement.shadowRoot}get element(){return this._element}_clickOutside(){this.messageVisibility=!1,this.messageVisibilityChange.emit(this.messageVisibility)}get messageParent(){return this._messageParentElement}set messageParent(e){this._messageParentElement=e,this._messageParentElement&&(this._resizeObserver=new ResizeObserver(i=>{for(let o of i){let{width:r,height:s}=o.contentRect;this._parentWidth=r,this._parentHeight=s}}),this._resizeObserver.observe(this._messageParentElement.nativeElement))}tooltipRectangleIsOutOfParentRectangleX(e,i){return e.x+e.width-i.x-i.width>0}tooltipRectangleIsOutOfParentRectangleY(e,i){return e.y+e.height-i.y-i.height>0}correctTooltipPositionX(e,i,o,r){if(!this._messageParentElement)return;let s=this._element.querySelector(".tooltip-message");if(!s)return;let l=s.getBoundingClientRect(),d=this._messageParentElement.nativeElement.getBoundingClientRect();Math.abs(l.x+l.width-e-d.left)>3?(this.messagePosition.posX=this.messagePosition.posX+e-(l.x+l.width),setTimeout(()=>{this.correctTooltipPositionX(e,i,o,r)},0)):r&&Math.abs(l.y+l.height-o-d.top)>3?setTimeout(()=>{this.correctTooltipPositionY(e,i,o,r)},0):this.tooltipRectangleIsOutOfParentRectangleY(l,d)&&(this.messagePosition.posY=this.messagePosition.posY-l.height,setTimeout(()=>{this.correctTooltipPositionY(e,i,o,!0)},0))}correctTooltipPositionY(e,i,o,r){if(!this._messageParentElement)return;let s=this._element.querySelector(".tooltip-message");if(!s)return;let l=s.getBoundingClientRect(),d=this._messageParentElement.nativeElement.getBoundingClientRect();Math.abs(l.y+l.height-o-d.top)>3?(this.messagePosition.posY=this.messagePosition.posY+o-(l.y+l.height),setTimeout(()=>{this.correctTooltipPositionY(e,i,o,r)},0)):i&&Math.abs(l.x+l.width-e-d.left)>3?setTimeout(()=>{this.correctTooltipPositionX(e,i,o,r)},0):this.tooltipRectangleIsOutOfParentRectangleX(l,d)&&(this.messagePosition.posX=this.messagePosition.posX-l.width,setTimeout(()=>{this.correctTooltipPositionX(e,!0,o,r)},0))}ngOnChanges(e){if(e.messageVisibility){if(!e.messageVisibility.currentValue)return;setTimeout(()=>{if(!this._messageParentElement)return;let i=this.messagePosition.posX,o=this.messagePosition.posY,r=this._element.querySelector(".tooltip-message");if(!r)return;let s=r.getBoundingClientRect(),l=this._messageParentElement.nativeElement.getBoundingClientRect();this.tooltipRectangleIsOutOfParentRectangleX(s,l)?(this.messagePosition.posX=this.messagePosition.posX-s.width,setTimeout(()=>{this.correctTooltipPositionX(i,!0,o,!1)},0)):this.tooltipRectangleIsOutOfParentRectangleY(s,l)&&(this.messagePosition.posY=this.messagePosition.posY-s.height,setTimeout(()=>{this.correctTooltipPositionY(i,!1,o,!0)},0))},0)}}static{this.\u0275fac=function(i){return new(i||t)(M(oe))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-tooltip-message"]],inputs:{messagePosition:"messagePosition",messageData:"messageData",messageVisibility:"messageVisibility",messageParent:"messageParent"},outputs:{messageVisibilityChange:"messageVisibilityChange"},standalone:!0,features:[mt,j],ngContentSelectors:II,decls:1,vars:1,consts:[["class","tooltip-message","libClickOutside","",3,"ngStyle","clickOutside",4,"ngIf"],["libClickOutside","",1,"tooltip-message",3,"clickOutside","ngStyle"],["class","tooltip-message-title",4,"ngIf"],["class","tooltip-message-messages",4,"ngIf"],["class","tooltip-message-footer",4,"ngIf"],[1,"tooltip-message-title"],[1,"tooltip-message-messages"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"tooltip-message-message"],["class","label",3,"failed","success",4,"ngIf"],["class","value",4,"ngIf"],[1,"separating-line"],[1,"label"],[1,"value"],[1,"tooltip-message-footer"]],template:function(i,o){i&1&&(lt(EI),E(0,BI,7,7,"div",0)),i&2&&C("ngIf",o.messageVisibility)},dependencies:[Q,Je,Ot,Hr,Wd],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}.tooltip-message{border-style:solid;border-width:var(--tooltip-message-border-width, .1rem);border-color:var(--tooltip-message-border-color-enabled);position:absolute;min-width:var(--tooltip-message-min-width, 10rem);max-width:var(--tooltip-message-max-width, 30rem);left:0;top:0;cursor:default;background-color:var(--tooltip-message-background-color-enabled);display:flex;flex-direction:column}.tooltip-message>.tooltip-message-title{font-family:var(--tooltip-message-title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--tooltip-message-title-font-size, 1.4rem);font-weight:var(--tooltip-message-title-font-weight, 700);background-color:var(--tooltip-message-title-background-color-enabled);padding:var(--tooltip-message-title-padding, .5rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tooltip-message>.tooltip-message-messages{display:flex;flex-direction:column;padding:var(--tooltip-message-body-padding, .5rem)}.tooltip-message>.tooltip-message-messages>.tooltip-message-message{padding-top:.25rem;padding-bottom:.25rem}.tooltip-message>.tooltip-message-messages>.tooltip-message-message>.label.success{color:var(--tooltip-message-text-color-success);font-weight:var(--success-message-font-weight, 700)}.tooltip-message>.tooltip-message-messages>.tooltip-message-message>.label.failed{color:var(--tooltip-message-text-color-error);font-weight:var(--error-message-font-weight, 700)}.tooltip-message>.tooltip-message-messages>.separating-line{width:100%;border-top:var(--tooltip-message-separating-line-width, .1rem) solid var(--tooltip-message-separator-border-color-enabled)}.tooltip-message>.tooltip-message-footer{font-family:var(--tooltip-message-footer-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--tooltip-message-footer-font-size, 1.4rem);font-weight:var(--tooltip-message-footer-font-weight, 700);background-color:var(--tooltip-message-footer-background-color-enabled);padding:var(--tooltip-message-footer-padding, .5rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
38
|
+
`],encapsulation:3})}}return t})();var Jd=class{http;prefix;suffix;constructor(n,e="/assets/i18n/",i=".json"){this.http=n,this.prefix=e,this.suffix=i}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}};var b_=(()=>{class t{constructor(){this.defaultLang="en",this.currentLanguage$=new Ye(this.defaultLang),this.currentLanguageStrings$=new Ye({}),this._languageFilesUri="/assets"}set languageFilesUri(e){this._languageFilesUri=e}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(e){this.currentLanguageStrings$.next(e)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(e){return Bn(this,null,function*(){this.currentLanguage$.next(e),yield this.fetchLanguageStrings(e)})}extractLocalizedStrings(e){let i={};for(let[o,r]of Object.entries(this.currentLanguageStrings))typeof r=="string"&&e.find(s=>s===o)&&(i[o]=r);return i}fetchLanguageStrings(e){return Bn(this,null,function*(){let o=yield(yield fetch(`${this._languageFilesUri}/strings_${e}.json`)).json();if(e!==this.defaultLang){let s=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),l=s&&Object.keys(s);if(l?.length)for(let d in l){let p=l[d];o[p]||(o[p]=s[p])}}this.currentLanguageStrings$.next(o)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var v_=(()=>{class t{constructor(e,i){this.el=e,this.renderer=i,this._isDraggingActive=!1,this._isDragging=!1,this.startX=0,this.startY=0,this._isDraggingActive&&(this.renderer.setStyle(this.el.nativeElement,"cursor","grab"),this.renderer.setStyle(this.el.nativeElement,"user-drag","none"))}set libDraggableComponent(e){let i=this.el.nativeElement;this._isDraggingActive=e,e?(this.renderer.setStyle(i,"cursor","grab"),this.renderer.setStyle(i,"user-drag","none")):(this.renderer.setStyle(i,"cursor","unset"),this.renderer.setStyle(i,"user-drag","auto"))}onMouseDown(e){this._isDraggingActive&&(this.startX=e.clientX,this.startY=e.clientY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"),e.preventDefault())}onMouseUp(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}onMouseMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.clientX,o=this.startY-e.clientY;this.startX=e.clientX,this.startY=e.clientY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchStart(e){this._isDraggingActive&&(this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"))}onTouchMove(e){if(this._isDraggingActive&&this._isDragging){let i=this.startX-e.targetTouches[0].pageX,o=this.startY-e.targetTouches[0].pageY;this.startX=e.targetTouches[0].pageX,this.startY=e.targetTouches[0].pageY;let r=this.el.nativeElement.offsetTop-o,s=this.el.nativeElement.offsetLeft-i;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${s}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${r}px`)}}onTouchEnd(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}static{this.\u0275fac=function(i){return new(i||t)(M(oe),M(Nn))}}static{this.\u0275dir=ce({type:t,selectors:[["","libDraggableComponent",""]],hostBindings:function(i,o){i&1&&k("mousedown",function(s){return o.onMouseDown(s)})("mouseup",function(){return o.onMouseUp()},!1,dn)("mousemove",function(s){return o.onMouseMove(s)},!1,dn)("touchstart",function(s){return o.onTouchStart(s)})("touchmove",function(s){return o.onTouchMove(s)},!1,dn)("touchend",function(s){return o.onTouchEnd(s)},!1,dn)},inputs:{libDraggableComponent:"libDraggableComponent"},standalone:!0})}}return t})();var zI=["dialogRefContainer"],ZI=["dialogOverlay"],$I=["*"];function UI(t,n){if(t&1){let e=U();v(0,"div",4,0)(2,"section",5,1),Ue(4),_(),v(5,"div",6,2),k("click",function(){O(e);let o=b();return S(o.onClose())})("keypress",function(o){O(e);let r=b();return S(r.onKeyPress(o))}),_()()}if(t&2){let e=b();g(2),C("libDraggableComponent",!!e.options.draggable),g(3),gt("display",e.options.overlayVisibilityEnabled?"block":"none")}}var __=(()=>{class t{constructor(e,i){this.dialogService=e,this.cdref=i,this.units="rem"}ngOnInit(){this.options=this.dialogService.options}onClose(){this.dialogService.close()}ngAfterContentInit(){this.options&&(this.cdref.detectChanges(),this.setOptions())}setOptions(){this.options&&(this.setDimensions(),this.setPosition(),this.setOverlay())}setDimensions(){let e=this.options?.width&&this.options.width.length>0?this.options.width:"auto",i=this.options?.height&&this.options.height.length>0?this.options.height:"auto";this.genDialogRefContainer.nativeElement.style.width=e,this.genDialogRefContainer.nativeElement.style.height=i}setPosition(){this.options?.position==="middle"?this.setPositionsMiddle():this.options?.position==="unset"&&this.setPositionsUnset()}setPositionsUnset(){if(this.options){this.genDialogRefContainer.nativeElement.style.position="fixed";let e=this.options?.positionOptions?.top??"0"+this.units,i=this.options?.positionOptions?.bottom??"0"+this.units,o=this.options?.positionOptions?.left??"0"+this.units,r=this.options?.positionOptions?.right??"0"+this.units;this.genDialogRefContainer.nativeElement.style.position="absolute",this.genDialogRefContainer.nativeElement.style.top=e,this.genDialogRefContainer.nativeElement.style.left=o,this.genDialogRefContainer.nativeElement.style.bottom=i,this.genDialogRefContainer.nativeElement.style.right=r,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!1,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1}}setPositionsMiddle(){this.options&&(this.genDialogRefContainer.nativeElement.className=this.genDialogRefContainer.nativeElement.className+" middle",this.options.draggable=!1,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!0,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1)}setOverlay(){this.options?.overlayVisibilityEnabled&&(this.dialogOverlay.nativeElement.style.backgroundColor="var(--modal-fade-in-background-color)")}onKeyPress(e){(e.key==="Escape"||e.key==="Esc")&&this.options?.overlayClickEnabled&&this.dialogService.close()}static{this.\u0275fac=function(i){return new(i||t)(M(us),M(_t))}}static{this.\u0275cmp=N({type:t,selectors:[["app-general-overlay-dialog"]],viewQuery:function(i,o){if(i&1&&(kt(zI,5),kt(ZI,5)),i&2){let r;We(r=Ge())&&(o.genDialogRefContainer=r.first),We(r=Ge())&&(o.dialogOverlay=r.first)}},standalone:!0,features:[j],ngContentSelectors:$I,decls:1,vars:1,consts:[["generalDialogWrapper",""],["dialogRefContainer",""],["dialogOverlay",""],["class","general-dialog-wrapper",4,"ngIf"],[1,"general-dialog-wrapper"],[1,"general-dialog-content",3,"libDraggableComponent"],[1,"general-dialog-overlay",3,"click","keypress"]],template:function(i,o){i&1&&(lt(),E(0,UI,7,3,"div",3)),i&2&&C("ngIf",o.options)},dependencies:[v_,Q,Ot],styles:[`.general-dialog-wrapper .general-dialog-overlay{height:100%;width:100%;position:fixed;z-index:5;left:0;top:0;overflow-x:hidden;transition:.5s}.general-dialog-wrapper .general-dialog-content{z-index:12}.general-dialog-wrapper .general-dialog-content.middle{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background-color:FFFFFF}
|
|
39
39
|
`],encapsulation:3})}}return t})();var us=(()=>{class t{constructor(e,i){this.appRef=e,this.injector=i,this._isDialogOpen=!1,this.outputData=new Pe}open(e,i){i?.options&&(this.initializeSettings(i),this.createComponentsRef(e))}initializeSettings(e){try{this.inputData=e?.data,this.options=e.options}catch(i){console.log("Missing data in open method",i)}}createComponentsRef(e){this.generalDialogComponentBody=i1(e,{environmentInjector:this.injector}),this.generalDialog=i1(__,{environmentInjector:this.injector,projectableNodes:[[this.generalDialogComponentBody.location.nativeElement]]}),document.body.appendChild(this.generalDialog.location.nativeElement),this.appRef.attachView(this.generalDialogComponentBody.hostView),this.appRef.attachView(this.generalDialog.hostView),this._isDialogOpen=!0}close(e){e?this.setOutputData(e):this.resetSettings(),this.generalDialogComponentBody.location.nativeElement.remove(),this.generalDialog.location.nativeElement.remove(),this._isDialogOpen=!1}resetSettings(){this.inputData=null,this.options=void 0}isDialogOpened(){return this._isDialogOpen}setOutputData(e){this._isDialogOpen&&this.outputData.next(e)}getOutputData(){return this.outputData}static{this.\u0275fac=function(i){return new(i||t)(q(ni),q(wn))}}static{this.\u0275prov=te({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var C_=(()=>{class t{get title(){return this._title}set title(e){this._title=e}get message(){return this._message}set message(e){this._message=e}constructor(e){this.dialogService=e,this._title="",this._message="",this._data=this.dialogService.inputData,this._title=this._data?.title||"",this._message=this._data?.message||""}close(){this.dialogService.close()}keypressClose(e){(e.key==="Escape"||e.key==="Esc")&&this.dialogService.close()}static{this.\u0275fac=function(i){return new(i||t)(M(us))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-overlay-dialog-warning"]],inputs:{title:"title",message:"message"},standalone:!0,features:[j],decls:12,vars:5,consts:[[1,"overlay-dialog-container"],[1,"overlay-dialog-container_title"],[1,"overlay-dialog-container_title_icon"],[1,"overlay-dialog-container_title_msg"],[1,"overlay-dialog-container_title_close",3,"click","keypress"],[1,"overlay-dialog-container_content"],[1,"overlay-dialog-container_content_msg"],[1,"overlay-dialog-container_content_btn",3,"click"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"div",1),F(2,"div",2),v(3,"div",3),T(4),_(),v(5,"div",4),k("click",function(){return o.close()})("keypress",function(s){return o.keypressClose(s)}),_()(),v(6,"div",5)(7,"div",6),T(8),_(),v(9,"button",7),k("click",function(){return o.close()}),T(10),W(11,"translate"),_()()()),i&2&&(g(4),X(" ",o.title," "),g(4),X(" ",o.message," "),g(2),xe(G(11,3,"_Ok")))},dependencies:[Q,le,Me],styles:[`.overlay-dialog-container{height:12.8rem;width:37.6rem;display:inline-flex;flex-direction:column;box-shadow:0 .4rem .8rem 0 var(--card-box-shadow-color),0 .6rem 2rem 0 var(--card-box-shadow-color)}.overlay-dialog-container .overlay-dialog-container_title{background-color:var(--color-help-popup-title-background);height:4rem;display:inline-flex;align-items:center}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_icon{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Warning_Title.svg") no-repeat center center;padding:0 1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_msg{color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;cursor:default;margin:0 0 0 auto;padding-right:1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close:hover{cursor:pointer}.overlay-dialog-container .overlay-dialog-container_content{background-color:var(--main-menu-text-default);height:8.8rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_msg{color:var(--color-help-popup-title-background);font:400 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;padding-top:1.1rem;padding-left:1.6rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn{background-color:var(--primary-button-background-color-enabled);color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;float:right;margin:0 1.6rem .8rem 0;width:4.1rem;height:2.4rem;padding:.3rem 1.2rem .4rem;gap:.8rem;border-radius:.2rem;border:.1rem solid var(--primary-button-border-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:hover{border:.1rem solid var(--primary-button-background-color-hovered);background-color:var(--primary-button-background-color-hovered)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:active{border:.1rem solid var(--primary-button-background-color-pressed);background-color:var(--primary-button-background-color-pressed)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:focus{border:.1rem solid var(--tasks-overview-dot-closed-background-color);background-color:var(--tasks-overview-dot-closed-background-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:disabled{background-color:var(--primary-button-background-color-disabled);color:var(--primary-button-text-color-disabled)}
|
|
40
|
-
`],encapsulation:3})}}return t})();function
|
|
41
|
-
`],encapsulation:3})}}return t})();function KI(t,n){if(t&1&&(v(0,"ng-option",7),T(1),_()),t&2){let e=n.$implicit;C("value",e),g(),xe(e.name)}}var y_=(()=>{class t extends ve{constructor(e){super(e),this.closePropertiesPanel=new I,this.selectedObjects=[],this._activeObject=null}set activeObject(e){this._activeObject=e}get activeObject(){return this._activeObject}_closePropertiesPanel(e){_e(this,"closePropertiesPanel",e),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-object-properties-header"]],inputs:{selectedObjects:"selectedObjects"},outputs:{closePropertiesPanel:"closePropertiesPanel"},standalone:!0,features:[me([Z]),re,j],decls:9,vars:10,consts:[[1,"object-properties-header"],[1,"object-properties-header-object"],[1,"object-properties-header-object-select"],[1,"object-properties-header-object-select-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-properties-header-link-icon",3,"title"],[1,"object-properties-header-close-icon",3,"click","keydown","title"],[3,"value"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"div",1)(2,"div",2)(3,"ng-select",3),xi("ngModelChange",function(s){return Wi(o.activeObject,s)||(o.activeObject=s),s}),E(4,KI,2,2,"ng-option",4),_()()(),F(5,"div",5),W(6,"translate"),v(7,"div",6),W(8,"translate"),k("click",function(s){return o._closePropertiesPanel(s)})("keydown",function(s){return o._closePropertiesPanel(s)}),_()()),i&2&&(g(3),yi("ngModel",o.activeObject),C("clearable",!1)("searchable",!1),g(),C("ngForOf",o.selectedObjects),g(),Ie("title",G(6,6,"_Create link")),g(2),Ie("title",G(8,8,"_Close_properties_panel_title")))},dependencies:[Q,Je,$r,Zr,No,Wr,Ur,jo,le,Me],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}:host{display:flex}.object-properties-header{flex:1;height:4.6rem;display:flex;flex-direction:row;background-color:var(--sidenav-drawer-content-header-background-color-enabled)}.object-properties-header>.object-properties-header-object{display:flex;flex-direction:column;justify-content:center;margin-left:.8rem;margin-right:.8rem;flex:1}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select{height:2.4rem}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select>.object-properties-header-object-select-dropdown{flex:1}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select>.object-properties-header-object-select-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.object-properties-header>.object-properties-header-link-icon{flex:1;background:url("./assets/Link_to_object_18_gray.svg") no-repeat center;background-size:1.8rem;height:4.6rem;width:3.2rem;max-width:3.2rem;background-position:center center;cursor:pointer}.object-properties-header>.object-properties-header-close-icon{flex:1;background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:4.6rem;width:3.2rem;max-width:3.2rem;background-position:center center;cursor:pointer}
|
|
40
|
+
`],encapsulation:3})}}return t})();function WI(t,n){if(t&1){let e=U();v(0,"div",3),k("dragging",function(o){O(e);let r=b(2);return S(r._onResizeWidth(o))}),_()}if(t&2){let e=b(2);se("position-right",e.position==="right")("position-left",e.position==="left")}}function GI(t,n){if(t&1){let e=U();v(0,"div",4),k("dragging",function(o){O(e);let r=b(2);return S(r._onResizeWidth(o))})("clicked",function(){O(e);let o=b(2);return S(o._toggleDrawer())}),_()}if(t&2){let e=b(2);se("position-right",e.position==="right")("position-left",e.position==="left")}}function YI(t,n){if(t&1&&E(0,WI,1,4,"div",1)(1,GI,1,4,"div",2),t&2){let e=b();z(e.hasDraggableBorder?0:-1),g(),z(e.hasDraggableHandle?1:-1)}}function qI(t,n){if(t&1){let e=U();v(0,"div",6),k("click",function(){O(e);let o=b(2);return S(o._toggleDrawer())})("keypress",function(){O(e);let o=b(2);return S(o._toggleDrawer())}),_()}if(t&2){let e=b(2);se("position-right",e.position==="right")("position-left",e.position==="left")}}function XI(t,n){if(t&1&&E(0,qI,1,4,"div",5),t&2){let e=b();z(e.hasDraggableHandle?0:-1)}}var w_=(()=>{class t{constructor(){this.position="right",this.hasDraggableHandle=!1,this.hasDraggableBorder=!1,this.drawerWidth=300,this.drawerExpanded=!0}_toggleDrawer(){this.drawerExpanded=!this.drawerExpanded}_onResizeWidth(e){let i=e;this.position==="left"?this.drawerWidth+=i:this.position==="right"&&(this.drawerWidth-=i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=N({type:t,selectors:[["lib-resizable-panel"]],inputs:{position:"position",hasDraggableHandle:"hasDraggableHandle",hasDraggableBorder:"hasDraggableBorder"},standalone:!0,features:[j],decls:5,vars:11,consts:[[1,"resizable-panel-drawer",3,"ngClass"],["xDraggable","",1,"resizable-panel-resize-border",3,"position-right","position-left"],["xDraggable","",1,"resizable-panel-resize-handle",3,"position-right","position-left"],["xDraggable","",1,"resizable-panel-resize-border",3,"dragging"],["xDraggable","",1,"resizable-panel-resize-handle",3,"dragging","clicked"],[1,"resizable-panel-resize-handle","collapsed",3,"position-right","position-left"],[1,"resizable-panel-resize-handle","collapsed",3,"click","keypress"]],template:function(i,o){i&1&&(v(0,"div",0),W(1,"pxsuffix"),F(2,"slot"),E(3,YI,2,2),_(),E(4,XI,1,1)),i&2&&(gt("width",G(1,9,o.drawerWidth)),se("position-right",o.position==="right")("position-left",o.position==="left"),C("ngClass",o.drawerExpanded?"":"hidden"),g(3),z(o.drawerExpanded?3:-1),g(),z(o.drawerExpanded?-1:4))},dependencies:[Q,be,Ed,Ad],styles:[`.noselect{-webkit-user-select:none;user-select:none}.resizable-panel-drawer.position-left.hidden,.resizable-panel-drawer.position-right.hidden{display:none}.resizable-panel-drawer.position-left{min-width:var(--resizable-panel-min-width, 1rem);height:100%;border:0 solid var(--sidenav-drawer-border-color-enabled);position:absolute;bottom:0;left:0;background-color:var(--sidenav-drawer-background-color-enabled);transition:background-color .7s;border-right:solid thin var(--sidenav-drawer-border-right-color-enabled);width:300px;display:flex;flex-direction:row}.resizable-panel-drawer.position-left:hover{background-color:var(--sidenav-drawer-background-color-hovered)}.resizable-panel-drawer.position-right{min-width:var(--resizable-panel-min-width, 1rem);height:100%;border:0 solid var(--sidenav-drawer-border-color-enabled);position:absolute;bottom:0;right:0;background-color:var(--sidenav-drawer-background-color-enabled);transition:background-color .7s;border-left:solid thin var(--sidenav-drawer-border-right-color-enabled);width:300px;display:flex;flex-direction:row}.resizable-panel-drawer.position-right:hover{background-color:var(--sidenav-drawer-background-color-hovered)}.resizable-panel-resize-border.position-left{right:-5px;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-user-select:none;user-select:none}.resizable-panel-resize-border.position-right{left:0;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-user-select:none;user-select:none}.resizable-panel-resize-handle.position-left{background-image:url("./assets/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);right:-2.1rem;width:2.1rem;height:4.8rem;border-radius:0 .4rem .4rem 0;background-color:var(--sidenav-resize-handle-left-background-color-enabled);cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;-webkit-user-select:none;user-select:none}.resizable-panel-resize-handle.position-right{background-image:url("./assets/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);left:-2.1rem;width:2.1rem;height:4.8rem;border-radius:.4rem 0 0 .4rem;background-color:var(--sidenav-resize-handle-left-background-color-enabled);cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;transform:rotate(180deg);-webkit-user-select:none;user-select:none}.resizable-panel-resize-handle.position-left.collapsed{left:0;border-radius:.4rem 0 0 .4rem;transform:rotate(180deg)}.resizable-panel-resize-handle.position-right.collapsed{left:calc(100% - 2.1rem);border-radius:0 .4rem .4rem 0;transform:rotate(0)}
|
|
41
|
+
`],encapsulation:3})}}return t})();function QI(t,n){if(t&1&&(v(0,"ng-option",7),T(1),_()),t&2){let e=n.$implicit;C("value",e),g(),xe(e.name)}}var y_=(()=>{class t extends ve{constructor(e){super(e),this.closePropertiesPanel=new I,this.selectedObjects=[],this._activeObject=null}set activeObject(e){this._activeObject=e}get activeObject(){return this._activeObject}_closePropertiesPanel(e){_e(this,"closePropertiesPanel",e),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)(M(Z))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-object-properties-header"]],inputs:{selectedObjects:"selectedObjects"},outputs:{closePropertiesPanel:"closePropertiesPanel"},standalone:!0,features:[me([Z]),re,j],decls:9,vars:10,consts:[[1,"object-properties-header"],[1,"object-properties-header-object"],[1,"object-properties-header-object-select"],[1,"object-properties-header-object-select-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-properties-header-link-icon",3,"title"],[1,"object-properties-header-close-icon",3,"click","keydown","title"],[3,"value"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"div",1)(2,"div",2)(3,"ng-select",3),xi("ngModelChange",function(s){return Wi(o.activeObject,s)||(o.activeObject=s),s}),E(4,QI,2,2,"ng-option",4),_()()(),F(5,"div",5),W(6,"translate"),v(7,"div",6),W(8,"translate"),k("click",function(s){return o._closePropertiesPanel(s)})("keydown",function(s){return o._closePropertiesPanel(s)}),_()()),i&2&&(g(3),yi("ngModel",o.activeObject),C("clearable",!1)("searchable",!1),g(),C("ngForOf",o.selectedObjects),g(),Ie("title",G(6,6,"_Create link")),g(2),Ie("title",G(8,8,"_Close_properties_panel_title")))},dependencies:[Q,Je,$r,Zr,No,Wr,Ur,jo,le,Me],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}:host{display:flex}.object-properties-header{flex:1;height:4.6rem;display:flex;flex-direction:row;background-color:var(--sidenav-drawer-content-header-background-color-enabled)}.object-properties-header>.object-properties-header-object{display:flex;flex-direction:column;justify-content:center;margin-left:.8rem;margin-right:.8rem;flex:1}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select{height:2.4rem}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select>.object-properties-header-object-select-dropdown{flex:1}.object-properties-header>.object-properties-header-object>.object-properties-header-object-select>.object-properties-header-object-select-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.object-properties-header>.object-properties-header-link-icon{flex:1;background:url("./assets/Link_to_object_18_gray.svg") no-repeat center;background-size:1.8rem;height:4.6rem;width:3.2rem;max-width:3.2rem;background-position:center center;cursor:pointer}.object-properties-header>.object-properties-header-close-icon{flex:1;background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:4.6rem;width:3.2rem;max-width:3.2rem;background-position:center center;cursor:pointer}
|
|
42
42
|
`],encapsulation:3})}}return t})();var x_=(()=>{class t{get title(){return this._title}set title(e){this._title=e}get message(){return this._message}set message(e){this._message=e}constructor(e){this.dialogService=e,this._title="",this._message="",this._data=this.dialogService.inputData,this._title=this._data?.title||"",this._message=this._data?.message||""}close(){this.dialogService.close()}keypressClose(e){(e.key==="Escape"||e.key==="Esc")&&this.dialogService.close()}static{this.\u0275fac=function(i){return new(i||t)(M(us))}}static{this.\u0275cmp=N({type:t,selectors:[["lib-bimplus-overlay-dialog-error"]],inputs:{title:"title",message:"message"},standalone:!0,features:[j],decls:12,vars:5,consts:[[1,"overlay-dialog-container"],[1,"overlay-dialog-container_title"],[1,"overlay-dialog-container_title_icon"],[1,"overlay-dialog-container_title_msg"],[1,"overlay-dialog-container_title_close",3,"click","keypress"],[1,"overlay-dialog-container_content"],[1,"overlay-dialog-container_content_msg"],[1,"overlay-dialog-container_content_btn",3,"click"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"div",1),F(2,"div",2),v(3,"div",3),T(4),_(),v(5,"div",4),k("click",function(){return o.close()})("keypress",function(s){return o.keypressClose(s)}),_()(),v(6,"div",5)(7,"div",6),T(8),_(),v(9,"button",7),k("click",function(){return o.close()}),T(10),W(11,"translate"),_()()()),i&2&&(g(4),X(" ",o.title," "),g(4),X(" ",o.message," "),g(2),xe(G(11,3,"_Ok")))},dependencies:[Q,le,Me],styles:[`.overlay-dialog-container{height:12.8rem;width:37.6rem;display:inline-flex;flex-direction:column;box-shadow:0 .4rem .8rem 0 var(--card-box-shadow-color),0 .6rem 2rem 0 var(--card-box-shadow-color)}.overlay-dialog-container .overlay-dialog-container_title{background-color:var(--color-help-popup-title-background);height:4rem;display:inline-flex;align-items:center}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_icon{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Error_Title.svg") no-repeat center center;padding:0 1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_msg{color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;cursor:default;margin:0 0 0 auto;padding-right:1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close:hover{cursor:pointer}.overlay-dialog-container .overlay-dialog-container_content{background-color:var(--main-menu-text-default);height:8.8rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_msg{color:var(--color-help-popup-title-background);font:400 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;padding-top:1.1rem;padding-left:1.6rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn{background-color:var(--primary-button-background-color-enabled);color:var(--main-menu-text-default);font:700 1.3rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;float:right;margin:0 1.6rem .8rem 0;width:4.1rem;height:2.4rem;padding:.3rem 1.2rem .4rem;gap:.8rem;border-radius:.2rem;border:.1rem solid var(--primary-button-border-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:hover{border:.1rem solid var(--primary-button-background-color-hovered);background-color:var(--primary-button-background-color-hovered)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:active{border:.1rem solid var(--primary-button-background-color-pressed);background-color:var(--primary-button-background-color-pressed)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:focus{border:.1rem solid var(--tasks-overview-dot-closed-background-color);background-color:var(--tasks-overview-dot-closed-background-color)}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_btn:disabled{background-color:var(--primary-button-background-color-disabled);color:var(--primary-button-text-color-disabled)}
|
|
43
|
-
`],encapsulation:3})}}return t})();var JI=typeof global=="object"&&global&&global.Object===Object&&global,M_=JI;var eL=typeof self=="object"&&self&&self.Object===Object&&self,tL=M_||eL||Function("return this")(),eu=tL;var nL=eu.Symbol,ps=nL;var D_=Object.prototype,iL=D_.hasOwnProperty,oL=D_.toString,Ia=ps?ps.toStringTag:void 0;function rL(t){var n=iL.call(t,Ia),e=t[Ia];try{t[Ia]=void 0;var i=!0}catch{}var o=oL.call(t);return i&&(n?t[Ia]=e:delete t[Ia]),o}var k_=rL;var sL=Object.prototype,aL=sL.toString;function lL(t){return aL.call(t)}var O_=lL;var cL="[object Null]",dL="[object Undefined]",S_=ps?ps.toStringTag:void 0;function uL(t){return t==null?t===void 0?dL:cL:S_&&S_ in Object(t)?k_(t):O_(t)}var A_=uL;function pL(t){return t!=null&&typeof t=="object"}var E_=pL;var mL="[object Symbol]";function gL(t){return typeof t=="symbol"||E_(t)&&A_(t)==mL}var I_=gL;var hL=/\s/;function fL(t){for(var n=t.length;n--&&hL.test(t.charAt(n)););return n}var L_=fL;var bL=/^\s+/;function vL(t){return t&&t.slice(0,L_(t)+1).replace(bL,"")}var P_=vL;function _L(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}var Yo=_L;var T_=NaN,CL=/^[-+]0x[0-9a-f]+$/i,wL=/^0b[01]+$/i,yL=/^0o[0-7]+$/i,xL=parseInt;function ML(t){if(typeof t=="number")return t;if(I_(t))return T_;if(Yo(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=Yo(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=P_(t);var e=wL.test(t);return e||yL.test(t)?xL(t.slice(2),e?2:8):CL.test(t)?T_:+t}var v0=ML;var DL=function(){return eu.Date.now()},tu=DL;var kL="Expected a function",OL=Math.max,SL=Math.min;function AL(t,n,e){var i,o,r,s,l,d,p=0,f=!1,w=!1,D=!0;if(typeof t!="function")throw new TypeError(kL);n=v0(n)||0,Yo(e)&&(f=!!e.leading,w="maxWait"in e,r=w?OL(v0(e.maxWait)||0,n):r,D="trailing"in e?!!e.trailing:D);function x($){var Le=i,De=o;return i=o=void 0,p=$,s=t.apply(De,Le),s}function A($){return p=$,l=setTimeout(H,n),f?x($):s}function V($){var Le=$-d,De=$-p,hn=n-Le;return w?SL(hn,r-De):hn}function R($){var Le=$-d,De=$-p;return d===void 0||Le>=n||Le<0||w&&De>=r}function H(){var $=tu();if(R($))return K($);l=setTimeout(H,V($))}function K($){return l=void 0,D&&i?x($):(i=o=void 0,s)}function ge(){l!==void 0&&clearTimeout(l),p=0,i=d=o=l=void 0}function ze(){return l===void 0?s:K(tu())}function Te(){var $=tu(),Le=R($);if(i=arguments,o=this,d=$,Le){if(l===void 0)return A(d);if(w)return clearTimeout(l),l=setTimeout(H,n),x(d)}return l===void 0&&(l=setTimeout(H,n)),s}return Te.cancel=ge,Te.flush=ze,Te}var qo=AL;var EL="Expected a function";function IL(t,n,e){var i=!0,o=!0;if(typeof t!="function")throw new TypeError(EL);return Yo(e)&&(i="leading"in e?!!e.leading:i,o="trailing"in e?!!e.trailing:o),qo(t,n,{leading:i,maxWait:n,trailing:o})}var _0=IL;var gs=function(){return gs=Object.assign||function(n){for(var e,i=1,o=arguments.length;i<o;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},gs.apply(this,arguments)};function N_(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function j_(t){return!t||!t.ownerDocument?document:t.ownerDocument}var H_=function(t){var n={},e=Array.prototype.reduce.call(t,function(i,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(l,d){return d.toUpperCase()});switch(o.value){case"true":i[s]=!0;break;case"false":i[s]=!1;break;case void 0:i[s]=!0;break;default:i[s]=o.value}}return i},n);return e};function R_(t,n){var e;t&&(e=t.classList).add.apply(e,n.split(" "))}function B_(t,n){t&&n.split(" ").forEach(function(e){t.classList.remove(e)})}function z_(t){return".".concat(t.split(" ").join("."))}var w0=!!(typeof window<"u"&&window.document&&window.document.createElement),LL=Object.freeze({__proto__:null,addClasses:R_,canUseDOM:w0,classNamesToQuery:z_,getElementDocument:j_,getElementWindow:N_,getOptions:H_,removeClasses:B_}),ms=null,V_=null;w0&&window.addEventListener("resize",function(){V_!==window.devicePixelRatio&&(V_=window.devicePixelRatio,ms=null)});function F_(){if(ms===null){if(typeof document>"u")return ms=0,ms;var t=document.body,n=document.createElement("div");n.classList.add("simplebar-hide-scrollbar"),t.appendChild(n);var e=n.getBoundingClientRect().right;t.removeChild(n),ms=e}return ms}var ao=N_,C0=j_,PL=H_,lo=R_,co=B_,rn=z_,La=function(){function t(n,e){e===void 0&&(e={});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 o=ao(i.el);i.scrollXTicking||(o.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(o.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,lo(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(){co(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(lo(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){co(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(o){i.mouseX=o.clientX,i.mouseY=o.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(o){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var r,s;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)&&(r=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(s=i.isWithinBounds(i.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(o,"x"):i.onTrackClick(o,"x")),s&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(o,"y"):i.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,l,d,p,f,w,D,x,A,V;if(!(!i.draggedAxis||!i.contentWrapperEl)){var R,H=i.axis[i.draggedAxis].track,K=(s=(r=H.rect)===null||r===void 0?void 0:r[i.axis[i.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,ge=i.axis[i.draggedAxis].scrollbar,ze=(d=(l=i.contentWrapperEl)===null||l===void 0?void 0:l[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Te=parseInt((f=(p=i.elStyles)===null||p===void 0?void 0:p[i.axis[i.draggedAxis].sizeAttr])!==null&&f!==void 0?f:"0px",10);o.preventDefault(),o.stopPropagation(),i.draggedAxis==="y"?R=o.pageY:R=o.pageX;var $=R-((D=(w=H.rect)===null||w===void 0?void 0:w[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;$=i.draggedAxis==="x"&&i.isRtl?((A=(x=H.rect)===null||x===void 0?void 0:x[i.axis[i.draggedAxis].sizeAttr])!==null&&A!==void 0?A:0)-ge.size-$:$;var Le=$/(K-ge.size),De=Le*(ze-Te);i.draggedAxis==="x"&&i.isRtl&&(De=!((V=t.getRtlHelpers())===null||V===void 0)&&V.isScrollingToNegative?-De:De),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=De}},this.onEndDrag=function(o){i.isDragging=!1;var r=C0(i.el),s=ao(i.el);o.preventDefault(),o.stopPropagation(),co(i.el,i.classNames.dragging),i.onStopScrolling(),r.removeEventListener("mousemove",i.drag,!0),r.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",i.preventClick,!0),r.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=n,this.options=gs(gs({},t.defaultOptions),e),this.classNames=gs(gs({},t.defaultOptions.classNames),e.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=_0(this._onMouseMove,64),this.onWindowResize=qo(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=qo(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=qo(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var n=document.createElement("div");n.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var e=n.firstElementChild,i=e?.firstElementChild;if(!i)return null;document.body.appendChild(e),e.scrollLeft=0;var o=t.getOffset(e),r=t.getOffset(i);e.scrollLeft=-999;var s=t.getOffset(i);return document.body.removeChild(e),t.rtlHelpers={isScrollOriginAtZero:o.left!==r.left,isScrollingToNegative:r.left!==s.left},t.rtlHelpers},t.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:F_()}catch{return F_()}},t.getOffset=function(n){var e=n.getBoundingClientRect(),i=C0(n),o=ao(n);return{top:e.top+(o.pageYOffset||i.documentElement.scrollTop),left:e.left+(o.pageXOffset||i.documentElement.scrollLeft)}},t.prototype.init=function(){w0&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var n,e;this.wrapperEl=this.el.querySelector(rn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(rn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(rn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(rn(this.classNames.offset)),this.maskEl=this.el.querySelector(rn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,rn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(rn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(rn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(rn(this.classNames.track)).concat(rn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(rn(this.classNames.track)).concat(rn(this.classNames.vertical))),this.axis.x.scrollbar.el=((n=this.axis.x.track.el)===null||n===void 0?void 0:n.querySelector(rn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((e=this.axis.y.track.el)===null||e===void 0?void 0:e.querySelector(rn(this.classNames.scrollbar)))||null,this.options.autoHide||(lo(this.axis.x.scrollbar.el,this.classNames.visible),lo(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var n=this,e,i=ao(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),(e=this.contentWrapperEl)===null||e===void 0||e.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=i.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&i.requestAnimationFrame(function(){n.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){n.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var n=ao(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var e=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||e>0,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,l=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,p=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=o?"".concat(e||p,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var f=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=e!==0&&p>e,this.axis.y.isOverflowing=d>f,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="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 w=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&p>r-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>f-w,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")}},t.prototype.getScrollbarSize=function(n){var e,i;if(n===void 0&&(n="y"),!this.axis[n].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[n].scrollSizeAttr],r=(i=(e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])!==null&&i!==void 0?i:0,s=r/o,l;return l=Math.max(~~(s*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(l=Math.min(l,this.options.scrollbarMaxSize)),l},t.prototype.positionScrollbar=function(n){var e,i,o;n===void 0&&(n="y");var r=this.axis[n].scrollbar;if(!(!this.axis[n].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[n].scrollSizeAttr],l=((e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[n].sizeAttr],10),p=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];p=n==="x"&&this.isRtl&&(!((i=t.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-p:p,n==="x"&&this.isRtl&&(p=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?p:-p);var f=p/(s-d),w=~~((l-r.size)*f);w=n==="x"&&this.isRtl?-w+(l-r.size):w,r.el.style.transform=n==="x"?"translate3d(".concat(w,"px, 0, 0)"):"translate3d(0, ".concat(w,"px, 0)")}},t.prototype.toggleTrackVisibility=function(n){n===void 0&&(n="y");var e=this.axis[n].track.el,i=this.axis[n].scrollbar.el;!e||!i||!this.contentWrapperEl||(this.axis[n].isOverflowing||this.axis[n].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(n))):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(n))),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none")},t.prototype.showScrollbar=function(n){n===void 0&&(n="y"),this.axis[n].isOverflowing&&!this.axis[n].scrollbar.isVisible&&(lo(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(n){n===void 0&&(n="y"),!this.isDragging&&this.axis[n].isOverflowing&&this.axis[n].scrollbar.isVisible&&(co(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!1)},t.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")},t.prototype.onMouseMoveForAxis=function(n){n===void 0&&(n="y");var e=this.axis[n];!e.track.el||!e.scrollbar.el||(e.track.rect=e.track.el.getBoundingClientRect(),e.scrollbar.rect=e.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(e.track.rect)?(this.showScrollbar(n),lo(e.track.el,this.classNames.hover),this.isWithinBounds(e.scrollbar.rect)?lo(e.scrollbar.el,this.classNames.hover):co(e.scrollbar.el,this.classNames.hover)):(co(e.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)))},t.prototype.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),co(this.axis[n].track.el,this.classNames.hover),co(this.axis[n].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)},t.prototype.onDragStart=function(n,e){var i;e===void 0&&(e="y"),this.isDragging=!0;var o=C0(this.el),r=ao(this.el),s=this.axis[e].scrollbar,l=e==="y"?n.pageY:n.pageX;this.axis[e].dragOffset=l-(((i=s.rect)===null||i===void 0?void 0:i[this.axis[e].offsetAttr])||0),this.draggedAxis=e,lo(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(n,e){var i=this,o,r,s,l;e===void 0&&(e="y");var d=this.axis[e];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){n.preventDefault();var p=ao(this.el);this.axis[e].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var f=this.axis[e].scrollbar,w=(r=(o=f.rect)===null||o===void 0?void 0:o[this.axis[e].offsetAttr])!==null&&r!==void 0?r:0,D=parseInt((l=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[e].sizeAttr])!==null&&l!==void 0?l:"0px",10),x=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],A=e==="y"?this.mouseY-w:this.mouseX-w,V=A<0?-1:1,R=V===-1?x-D:x+D,H=40,K=function(){i.contentWrapperEl&&(V===-1?x>R&&(x-=H,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=x,p.requestAnimationFrame(K)):x<R&&(x+=H,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=x,p.requestAnimationFrame(K)))};K()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var n=ao(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),n.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},t.prototype.findChild=function(n,e){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(o){return i.call(o,e)})[0]},t.rtlHelpers=null,t.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},t.getOptions=PL,t.helpers=LL,t}();var x0=function(t,n){return x0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])},x0(t,n)};function TL(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");x0(t,n);function e(){this.constructor=t}t.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var M0=La.helpers,y0=M0.getOptions,Sn=M0.addClasses,VL=M0.canUseDOM,Z_=function(t){TL(n,t);function n(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o=t.apply(this,e)||this;return n.instances.set(e[0],o),o}return n.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){e.getAttribute("data-simplebar")!=="init"&&!n.instances.has(e)&&new n(e,y0(e.attributes))})},n.removeObserver=function(){var e;(e=n.globalObserver)===null||e===void 0||e.disconnect()},n.prototype.initDOM=function(){var e=this,i,o,r;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(e.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"),Sn(this.wrapperEl,this.classNames.wrapper),Sn(this.contentWrapperEl,this.classNames.contentWrapper),Sn(this.offsetEl,this.classNames.offset),Sn(this.maskEl,this.classNames.mask),Sn(this.contentEl,this.classNames.contentEl),Sn(this.placeholderEl,this.classNames.placeholder),Sn(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Sn(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()),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("role","region"),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var s=document.createElement("div"),l=document.createElement("div");Sn(s,this.classNames.track),Sn(l,this.classNames.scrollbar),s.appendChild(l),this.axis.x.track.el=s.cloneNode(!0),Sn(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Sn(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}La.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},n.prototype.unMount=function(){La.prototype.unMount.call(this),n.instances.delete(this.el)},n.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(n.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},n.handleMutations=function(e){e.forEach(function(i){i.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!n.instances.has(o)&&document.documentElement.contains(o)&&new n(o,y0(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!n.instances.has(r)&&document.documentElement.contains(r)&&new n(r,y0(r.attributes))}))}),i.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=n.instances.get(o))===null||r===void 0||r.unMount()):Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(s){var l;!document.documentElement.contains(s)&&((l=n.instances.get(s))===null||l===void 0||l.unMount())}))})})},n.instances=new WeakMap,n}(La);VL&&Z_.initHtmlApi();var FL=Eu(Xd(),1);var D0=function(t){return t.BimplusViewer="bimplusViewer",t.ModelViewerBlack="modelViewerBlack",t.ModelViewer="modelViewer",t.ConnexisViewer="connexisViewer",t.ConnexisViewerBlack="connexisViewerBlack",t}(D0||{});var YJ=Math.PI/180,qJ=2*Math.PI;var $_=Eu(Xd());function NL(t,n){if(t&1){let e=U();v(0,"lib-bimplus-main-menu",20),k("bimplusMainMenuClicked",function(o){O(e);let r=b();return S(r.bimplusMainMenuClicked(o))})("bimplusMainMenuOverlayClicked",function(){O(e);let o=b();return S(o.bimplusMainMenuOverlayClicked())}),_()}if(t&2){let e=b();C("selectedLanguage",e.languageStringsService.currentLanguage)("localizedStrings",e.languageStringsService.currentLanguageStrings)("isTouch",e.isTouch)("showHorizontalMenuIcons",e.isTouch)("appsWithInfo",e.appsWithInfo)("appsOrder",e.appsOrder)("menuItemsOrder",e.menuItemsOrder)}}var U_=(()=>{class t{constructor(e,i){this.translateService=e,this.languageStringsService=i,this.logoState=D0.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuItems=[],this.contextMenuData=[],this.treeData=[],this.treeDataStringified=null,this.treeDataContextMenu=null,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.languageStringsService.currentLanguage$.pipe(os()).subscribe({next:o=>{this.translateService.use(o),$_.default.locale(o)}}),this.languageStringsService.currentLanguageStrings$.pipe(os()).subscribe({next:o=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,o)}})}log(e,i,o,r){let s=`EVENT : ${e}. `+(o?`INDEX: ${i?.detail?.index} ACTION: ${i?.detail?.action}`:`VALUE: ${i?.detail}`);(r?()=>window.alert(s):()=>console.log(s))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:e=>{this.log("Navbar clicked",e),e?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages(),this.initContextMenu()}bimplusLanguageSelected(e){this.log("bimplusLanguageSelected",{detail:e}),this._switchLanguage(e)}_switchLanguage(e){e&&this.languageStringsService.setCurrentLanguage(e)}bimplusUserMenuClicked(e){this.log("bimplusUserMenuClicked",e,!0)}bimplusTouchModeSelected(e){this.log("bimplusTouchModeSelected",{detail:e}),this.isTouch=e==="touch"}bimplusMainMenuClicked(e){this.log("bimplusUserMenuClicked",{detail:e},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(e){this.log("bimplusStorageInfoClicked",{detail:e},!1,!0)}bimplusContactClicked(e){this.log("bimplusContactClicked",{detail:e},!1,!0)}bimplusZoomSelected(e){this.log("bimplusZoomSelected",{detail:e}),this.selectedZoom=e;let i=62.5*(Number(e)/100),o=document.querySelector("html");o&&(o.style.fontSize=i+"%")}bimplusNotifyDeleteMessage(e){let i=JSON.parse(e),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(r=>r.id!==i.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(e){this.log("This is notify message action handler",{detail:e},!1,!0)}selectedNodes(e){this.log("selectedNodes",{detail:JSON.stringify(e)})}initLanguage(){this.languageStringsService.languageFilesUri="/assets/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."}]})}initContextMenu(){this.contextMenuItems=[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip",disabled:()=>!0},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico"},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Rename file tooltip"},{id:"renameFile",title:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name"}],this.contextMenuData=[{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]}setupTreeData(e){let i=[];switch(e){case"Folders3":i.push({name:"Folders3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1 very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong name",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"File 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"},{name:"File 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-25",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;case"Folders2":i.push({name:"Folders2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"Folder 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]},{name:"Folder 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]}]},{name:"Folder 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-09",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"},{name:"Folder 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",children:[{name:"File 2 - 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-11",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-12",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-13",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"}]},{name:"File 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-14",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"}]},{name:"Folder 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-16",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"File 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-17",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"Folder 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",children:[{name:"File 3 - 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-19",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-20",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-21",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"}]}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;default:i.push({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{id:"78b8109a-aac3-4307-8ddb-745a64710d36",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"General folder",type:"DocumentFolder",number:1,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"123756a8-c06f-4954-8851-93f95b1629c1",children:[{id:"36a92f23-98e7-42db-b150-b0dae491d355",children:[{id:"2bbfbce5-beb8-49b1-bbef-430b061318c9",structureElementId:"86b65d1e-0490-45f2-abd6-402a176bc219",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-27-15.xlsx",type:"Attachment",number:0,level:3},{id:"9eb72c59-f019-4679-9bf4-07f8055388d4",structureElementId:"cc9c8694-4d70-4066-9475-d4375e67d7a0",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-24-49.xlsx",type:"Attachment",number:0,level:3}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ELEMENTS",type:"DocumentFolder",number:1,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"73ad9d94-3ace-4124-b533-b4e2cbe07ab1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"IFC",type:"DocumentFolder",number:2,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"0378d1be-7b77-4705-a347-adda0ec04674",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"LOG",type:"DocumentFolder",number:3,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"abfd2209-225b-452d-91c9-d33269e47334",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ISSUES",type:"DocumentFolder",number:4,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"094c8e91-7023-4c1e-8afb-6480d34cd4d1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"SLIDESHOWS",type:"DocumentFolder",number:5,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"d5d9ea2f-0337-4321-8917-3d485a76247a",children:[],color:4285988983,folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"OTHER MODELS",type:"DocumentFolder",number:6,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"MY DOCUMENTS",type:"DocumentFolder",number:2,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"d71d6daf-1114-42c4-84ad-5807837cac7b",name:"Folders1",type:"DocumentFolder",number:0,level:0});break}e==="Folders3"?(this.treeData=i,this.treeDataStringified=null,this.treeDataContextMenu={objectContextMenuitems:[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip"},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico",disabled:()=>!1},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:o=>{console.log(o)},tooltip:"Rename file tooltip"}],folderContextMenuitems:[{id:"renameFolder",title:"Rename folder",icon:"./favicon.ico",tooltip:"Rename folder tooltip"},{id:"deletFolder",title:"Delete folder",tooltip:"Delete folder tooltip"}]}):(this.treeData=[],this.treeDataStringified=JSON.stringify(i),this.treeDataContextMenu=null)}getNode(){let i=document.querySelector("lib-bimplus-flat-tree")?.get_node?.({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},!1);console.log(i)}selectNode(){document.querySelector("lib-bimplus-flat-tree")?.select_node?.("dbc08cd2-9f50-465b-9b54-da29c4988d07-24")}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(b_))}}static{this.\u0275cmp=N({type:t,selectors:[["app-root"]],standalone:!0,features:[j],decls:26,vars:27,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"],["showIcons","true","triggerTitle","File context menu",3,"items","data"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],[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"],[1,"floating-panels-wrapper"],[3,"selectedLanguage","localizedStrings","noModelsMessage"],[1,"tree-data","tree-data-1",3,"click","keypress"],[1,"tree-data","tree-data-2",3,"click","keypress"],[1,"tree-data","tree-data-3",3,"click","keypress"],[1,"tree-data","tree-data-3","get-node",3,"click","keypress"],[1,"tree-data","tree-data-3","select-node",3,"click","keypress"],[1,"tree"],["enableSelect","true","enableParentHighlighting","true","multiSelect","true","oneLevelMultiSelect","false","showFoldersIcons","true","showObjectsIcons","true","enableDragAndDrop","true","treeTitle","FLAT TREE","paddingIndent","2.8rem",1,"flat-tree",3,"selectedNodes","treeData","treeDataStringified","contextMenus"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"lib-bimplus-navbar",1),F(2,"lib-bimplus-context-menu",2),v(3,"lib-bimplus-notify",3),k("bimplusNotifyMessageAction",function(s){return o.bimplusNotifyMessageAction(s)})("bimplusNotifyDeleteMessage",function(s){return o.bimplusNotifyDeleteMessage(s)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),_(),v(4,"lib-bimplus-storage-info",4),k("bimplusStorageInfoClicked",function(s){return o.bimplusStorageInfoClicked(s)}),_(),v(5,"lib-bimplus-contact",5),k("bimplusContactClicked",function(s){return o.bimplusContactClicked(s)}),_(),v(6,"lib-bimplus-zoom",6),k("bimplusZoomSelected",function(s){return o.bimplusZoomSelected(s)}),_(),v(7,"lib-bimplus-touch-menu",7),k("bimplusTouchModeSelected",function(s){return o.bimplusTouchModeSelected(s)}),_(),v(8,"lib-bimplus-language-menu",8),k("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)}),_(),v(9,"lib-bimplus-user-menu",9),k("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)})("bimplusUserMenuClicked",function(s){return o.bimplusUserMenuClicked(s)}),_()()(),E(10,NL,1,7,"lib-bimplus-main-menu",10),v(11,"div",11),F(12,"lib-bimplus-floating-bar-project-navigator",12),_(),v(13,"div",13),k("click",function(){return o.setupTreeData("Folders1")})("keypress",function(){return o.setupTreeData("Folders1")}),T(14,"Folders1"),_(),v(15,"div",14),k("click",function(){return o.setupTreeData("Folders2")})("keypress",function(){return o.setupTreeData("Folders2")}),T(16,"Folders2"),_(),v(17,"div",15),k("click",function(){return o.setupTreeData("Folders3")})("keypress",function(){return o.setupTreeData("Folders3")}),T(18,"Folders3"),_(),v(19,"div",16),k("click",function(){return o.getNode()})("keypress",function(){return o.getNode()}),T(20,"get_node (from Folders3)"),_(),v(21,"div",17),k("click",function(){return o.selectNode()})("keypress",function(){return o.selectNode()}),T(22,"select_node (from Folders3)"),_(),v(23,"div",18)(24,"lib-bimplus-scrollable-container")(25,"lib-bimplus-flat-tree",19),k("selectedNodes",function(s){return o.selectedNodes(s)}),_()()()),i&2&&(g(),C("logoState",o.logoState)("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),g(),C("items",o.contextMenuItems)("data",o.contextMenuData),g(),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),g(),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),g(2),C("selectedZoom",o.selectedZoom),g(),C("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),g(),C("selectedLanguage",o.languageStringsService.currentLanguage),g(),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),g(),z(o.isNavbarMenuActive?10:-1),g(2),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("noModelsMessage","_Loading project details"),g(13),C("treeData",o.treeData)("treeDataStringified",o.treeDataStringified)("contextMenus",o.treeDataContextMenu))},dependencies:[Cd,yd,xd,Dd,kd,Sd,Id,Pd,Td,gn,so,Dn,Ld,Q],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}
|
|
44
|
-
`],encapsulation:2})}}return t})();var
|
|
43
|
+
`],encapsulation:3})}}return t})();var KI=typeof global=="object"&&global&&global.Object===Object&&global,M_=KI;var JI=typeof self=="object"&&self&&self.Object===Object&&self,eL=M_||JI||Function("return this")(),eu=eL;var tL=eu.Symbol,ps=tL;var D_=Object.prototype,nL=D_.hasOwnProperty,iL=D_.toString,Ia=ps?ps.toStringTag:void 0;function oL(t){var n=nL.call(t,Ia),e=t[Ia];try{t[Ia]=void 0;var i=!0}catch{}var o=iL.call(t);return i&&(n?t[Ia]=e:delete t[Ia]),o}var k_=oL;var rL=Object.prototype,sL=rL.toString;function aL(t){return sL.call(t)}var O_=aL;var lL="[object Null]",cL="[object Undefined]",S_=ps?ps.toStringTag:void 0;function dL(t){return t==null?t===void 0?cL:lL:S_&&S_ in Object(t)?k_(t):O_(t)}var A_=dL;function uL(t){return t!=null&&typeof t=="object"}var E_=uL;var pL="[object Symbol]";function mL(t){return typeof t=="symbol"||E_(t)&&A_(t)==pL}var I_=mL;var gL=/\s/;function hL(t){for(var n=t.length;n--&&gL.test(t.charAt(n)););return n}var L_=hL;var fL=/^\s+/;function bL(t){return t&&t.slice(0,L_(t)+1).replace(fL,"")}var P_=bL;function vL(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}var Yo=vL;var T_=NaN,_L=/^[-+]0x[0-9a-f]+$/i,CL=/^0b[01]+$/i,wL=/^0o[0-7]+$/i,yL=parseInt;function xL(t){if(typeof t=="number")return t;if(I_(t))return T_;if(Yo(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=Yo(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=P_(t);var e=CL.test(t);return e||wL.test(t)?yL(t.slice(2),e?2:8):_L.test(t)?T_:+t}var v0=xL;var ML=function(){return eu.Date.now()},tu=ML;var DL="Expected a function",kL=Math.max,OL=Math.min;function SL(t,n,e){var i,o,r,s,l,d,p=0,f=!1,w=!1,D=!0;if(typeof t!="function")throw new TypeError(DL);n=v0(n)||0,Yo(e)&&(f=!!e.leading,w="maxWait"in e,r=w?kL(v0(e.maxWait)||0,n):r,D="trailing"in e?!!e.trailing:D);function x($){var Le=i,De=o;return i=o=void 0,p=$,s=t.apply(De,Le),s}function A($){return p=$,l=setTimeout(H,n),f?x($):s}function V($){var Le=$-d,De=$-p,hn=n-Le;return w?OL(hn,r-De):hn}function R($){var Le=$-d,De=$-p;return d===void 0||Le>=n||Le<0||w&&De>=r}function H(){var $=tu();if(R($))return K($);l=setTimeout(H,V($))}function K($){return l=void 0,D&&i?x($):(i=o=void 0,s)}function ge(){l!==void 0&&clearTimeout(l),p=0,i=d=o=l=void 0}function ze(){return l===void 0?s:K(tu())}function Te(){var $=tu(),Le=R($);if(i=arguments,o=this,d=$,Le){if(l===void 0)return A(d);if(w)return clearTimeout(l),l=setTimeout(H,n),x(d)}return l===void 0&&(l=setTimeout(H,n)),s}return Te.cancel=ge,Te.flush=ze,Te}var qo=SL;var AL="Expected a function";function EL(t,n,e){var i=!0,o=!0;if(typeof t!="function")throw new TypeError(AL);return Yo(e)&&(i="leading"in e?!!e.leading:i,o="trailing"in e?!!e.trailing:o),qo(t,n,{leading:i,maxWait:n,trailing:o})}var _0=EL;var gs=function(){return gs=Object.assign||function(n){for(var e,i=1,o=arguments.length;i<o;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},gs.apply(this,arguments)};function N_(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function j_(t){return!t||!t.ownerDocument?document:t.ownerDocument}var H_=function(t){var n={},e=Array.prototype.reduce.call(t,function(i,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(l,d){return d.toUpperCase()});switch(o.value){case"true":i[s]=!0;break;case"false":i[s]=!1;break;case void 0:i[s]=!0;break;default:i[s]=o.value}}return i},n);return e};function R_(t,n){var e;t&&(e=t.classList).add.apply(e,n.split(" "))}function B_(t,n){t&&n.split(" ").forEach(function(e){t.classList.remove(e)})}function z_(t){return".".concat(t.split(" ").join("."))}var w0=!!(typeof window<"u"&&window.document&&window.document.createElement),IL=Object.freeze({__proto__:null,addClasses:R_,canUseDOM:w0,classNamesToQuery:z_,getElementDocument:j_,getElementWindow:N_,getOptions:H_,removeClasses:B_}),ms=null,V_=null;w0&&window.addEventListener("resize",function(){V_!==window.devicePixelRatio&&(V_=window.devicePixelRatio,ms=null)});function F_(){if(ms===null){if(typeof document>"u")return ms=0,ms;var t=document.body,n=document.createElement("div");n.classList.add("simplebar-hide-scrollbar"),t.appendChild(n);var e=n.getBoundingClientRect().right;t.removeChild(n),ms=e}return ms}var ao=N_,C0=j_,LL=H_,lo=R_,co=B_,rn=z_,La=function(){function t(n,e){e===void 0&&(e={});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 o=ao(i.el);i.scrollXTicking||(o.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(o.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,lo(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(){co(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(lo(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){co(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(o){i.mouseX=o.clientX,i.mouseY=o.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(o){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var r,s;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)&&(r=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(s=i.isWithinBounds(i.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(o,"x"):i.onTrackClick(o,"x")),s&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(o,"y"):i.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,l,d,p,f,w,D,x,A,V;if(!(!i.draggedAxis||!i.contentWrapperEl)){var R,H=i.axis[i.draggedAxis].track,K=(s=(r=H.rect)===null||r===void 0?void 0:r[i.axis[i.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,ge=i.axis[i.draggedAxis].scrollbar,ze=(d=(l=i.contentWrapperEl)===null||l===void 0?void 0:l[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,Te=parseInt((f=(p=i.elStyles)===null||p===void 0?void 0:p[i.axis[i.draggedAxis].sizeAttr])!==null&&f!==void 0?f:"0px",10);o.preventDefault(),o.stopPropagation(),i.draggedAxis==="y"?R=o.pageY:R=o.pageX;var $=R-((D=(w=H.rect)===null||w===void 0?void 0:w[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;$=i.draggedAxis==="x"&&i.isRtl?((A=(x=H.rect)===null||x===void 0?void 0:x[i.axis[i.draggedAxis].sizeAttr])!==null&&A!==void 0?A:0)-ge.size-$:$;var Le=$/(K-ge.size),De=Le*(ze-Te);i.draggedAxis==="x"&&i.isRtl&&(De=!((V=t.getRtlHelpers())===null||V===void 0)&&V.isScrollingToNegative?-De:De),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=De}},this.onEndDrag=function(o){i.isDragging=!1;var r=C0(i.el),s=ao(i.el);o.preventDefault(),o.stopPropagation(),co(i.el,i.classNames.dragging),i.onStopScrolling(),r.removeEventListener("mousemove",i.drag,!0),r.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",i.preventClick,!0),r.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=n,this.options=gs(gs({},t.defaultOptions),e),this.classNames=gs(gs({},t.defaultOptions.classNames),e.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=_0(this._onMouseMove,64),this.onWindowResize=qo(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=qo(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=qo(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var n=document.createElement("div");n.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var e=n.firstElementChild,i=e?.firstElementChild;if(!i)return null;document.body.appendChild(e),e.scrollLeft=0;var o=t.getOffset(e),r=t.getOffset(i);e.scrollLeft=-999;var s=t.getOffset(i);return document.body.removeChild(e),t.rtlHelpers={isScrollOriginAtZero:o.left!==r.left,isScrollingToNegative:r.left!==s.left},t.rtlHelpers},t.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:F_()}catch{return F_()}},t.getOffset=function(n){var e=n.getBoundingClientRect(),i=C0(n),o=ao(n);return{top:e.top+(o.pageYOffset||i.documentElement.scrollTop),left:e.left+(o.pageXOffset||i.documentElement.scrollLeft)}},t.prototype.init=function(){w0&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var n,e;this.wrapperEl=this.el.querySelector(rn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(rn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(rn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(rn(this.classNames.offset)),this.maskEl=this.el.querySelector(rn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,rn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(rn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(rn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(rn(this.classNames.track)).concat(rn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(rn(this.classNames.track)).concat(rn(this.classNames.vertical))),this.axis.x.scrollbar.el=((n=this.axis.x.track.el)===null||n===void 0?void 0:n.querySelector(rn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((e=this.axis.y.track.el)===null||e===void 0?void 0:e.querySelector(rn(this.classNames.scrollbar)))||null,this.options.autoHide||(lo(this.axis.x.scrollbar.el,this.classNames.visible),lo(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var n=this,e,i=ao(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),(e=this.contentWrapperEl)===null||e===void 0||e.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=i.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&i.requestAnimationFrame(function(){n.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){n.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var n=ao(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var e=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||e>0,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,l=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,p=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=o?"".concat(e||p,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var f=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=e!==0&&p>e,this.axis.y.isOverflowing=d>f,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="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 w=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&p>r-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>f-w,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")}},t.prototype.getScrollbarSize=function(n){var e,i;if(n===void 0&&(n="y"),!this.axis[n].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[n].scrollSizeAttr],r=(i=(e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])!==null&&i!==void 0?i:0,s=r/o,l;return l=Math.max(~~(s*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(l=Math.min(l,this.options.scrollbarMaxSize)),l},t.prototype.positionScrollbar=function(n){var e,i,o;n===void 0&&(n="y");var r=this.axis[n].scrollbar;if(!(!this.axis[n].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[n].scrollSizeAttr],l=((e=this.axis[n].track.el)===null||e===void 0?void 0:e[this.axis[n].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[n].sizeAttr],10),p=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];p=n==="x"&&this.isRtl&&(!((i=t.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-p:p,n==="x"&&this.isRtl&&(p=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?p:-p);var f=p/(s-d),w=~~((l-r.size)*f);w=n==="x"&&this.isRtl?-w+(l-r.size):w,r.el.style.transform=n==="x"?"translate3d(".concat(w,"px, 0, 0)"):"translate3d(0, ".concat(w,"px, 0)")}},t.prototype.toggleTrackVisibility=function(n){n===void 0&&(n="y");var e=this.axis[n].track.el,i=this.axis[n].scrollbar.el;!e||!i||!this.contentWrapperEl||(this.axis[n].isOverflowing||this.axis[n].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(n))):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(n))),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none")},t.prototype.showScrollbar=function(n){n===void 0&&(n="y"),this.axis[n].isOverflowing&&!this.axis[n].scrollbar.isVisible&&(lo(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(n){n===void 0&&(n="y"),!this.isDragging&&this.axis[n].isOverflowing&&this.axis[n].scrollbar.isVisible&&(co(this.axis[n].scrollbar.el,this.classNames.visible),this.axis[n].scrollbar.isVisible=!1)},t.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")},t.prototype.onMouseMoveForAxis=function(n){n===void 0&&(n="y");var e=this.axis[n];!e.track.el||!e.scrollbar.el||(e.track.rect=e.track.el.getBoundingClientRect(),e.scrollbar.rect=e.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(e.track.rect)?(this.showScrollbar(n),lo(e.track.el,this.classNames.hover),this.isWithinBounds(e.scrollbar.rect)?lo(e.scrollbar.el,this.classNames.hover):co(e.scrollbar.el,this.classNames.hover)):(co(e.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)))},t.prototype.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),co(this.axis[n].track.el,this.classNames.hover),co(this.axis[n].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(n)},t.prototype.onDragStart=function(n,e){var i;e===void 0&&(e="y"),this.isDragging=!0;var o=C0(this.el),r=ao(this.el),s=this.axis[e].scrollbar,l=e==="y"?n.pageY:n.pageX;this.axis[e].dragOffset=l-(((i=s.rect)===null||i===void 0?void 0:i[this.axis[e].offsetAttr])||0),this.draggedAxis=e,lo(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(n,e){var i=this,o,r,s,l;e===void 0&&(e="y");var d=this.axis[e];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){n.preventDefault();var p=ao(this.el);this.axis[e].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var f=this.axis[e].scrollbar,w=(r=(o=f.rect)===null||o===void 0?void 0:o[this.axis[e].offsetAttr])!==null&&r!==void 0?r:0,D=parseInt((l=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[e].sizeAttr])!==null&&l!==void 0?l:"0px",10),x=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],A=e==="y"?this.mouseY-w:this.mouseX-w,V=A<0?-1:1,R=V===-1?x-D:x+D,H=40,K=function(){i.contentWrapperEl&&(V===-1?x>R&&(x-=H,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=x,p.requestAnimationFrame(K)):x<R&&(x+=H,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=x,p.requestAnimationFrame(K)))};K()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var n=ao(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),n.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},t.prototype.findChild=function(n,e){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(o){return i.call(o,e)})[0]},t.rtlHelpers=null,t.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},t.getOptions=LL,t.helpers=IL,t}();var x0=function(t,n){return x0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])},x0(t,n)};function PL(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");x0(t,n);function e(){this.constructor=t}t.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}var M0=La.helpers,y0=M0.getOptions,Sn=M0.addClasses,TL=M0.canUseDOM,Z_=function(t){PL(n,t);function n(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o=t.apply(this,e)||this;return n.instances.set(e[0],o),o}return n.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){e.getAttribute("data-simplebar")!=="init"&&!n.instances.has(e)&&new n(e,y0(e.attributes))})},n.removeObserver=function(){var e;(e=n.globalObserver)===null||e===void 0||e.disconnect()},n.prototype.initDOM=function(){var e=this,i,o,r;if(!Array.prototype.filter.call(this.el.children,function(d){return d.classList.contains(e.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"),Sn(this.wrapperEl,this.classNames.wrapper),Sn(this.contentWrapperEl,this.classNames.contentWrapper),Sn(this.offsetEl,this.classNames.offset),Sn(this.maskEl,this.classNames.mask),Sn(this.contentEl,this.classNames.contentEl),Sn(this.placeholderEl,this.classNames.placeholder),Sn(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Sn(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()),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("role","region"),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var s=document.createElement("div"),l=document.createElement("div");Sn(s,this.classNames.track),Sn(l,this.classNames.scrollbar),s.appendChild(l),this.axis.x.track.el=s.cloneNode(!0),Sn(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Sn(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}La.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},n.prototype.unMount=function(){La.prototype.unMount.call(this),n.instances.delete(this.el)},n.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(n.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},n.handleMutations=function(e){e.forEach(function(i){i.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!n.instances.has(o)&&document.documentElement.contains(o)&&new n(o,y0(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!n.instances.has(r)&&document.documentElement.contains(r)&&new n(r,y0(r.attributes))}))}),i.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=n.instances.get(o))===null||r===void 0||r.unMount()):Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(s){var l;!document.documentElement.contains(s)&&((l=n.instances.get(s))===null||l===void 0||l.unMount())}))})})},n.instances=new WeakMap,n}(La);TL&&Z_.initHtmlApi();var VL=Eu(Xd(),1);var D0=function(t){return t.BimplusViewer="bimplusViewer",t.ModelViewerBlack="modelViewerBlack",t.ModelViewer="modelViewer",t.ConnexisViewer="connexisViewer",t.ConnexisViewerBlack="connexisViewerBlack",t}(D0||{});var GJ=Math.PI/180,YJ=2*Math.PI;var $_=Eu(Xd());function FL(t,n){if(t&1){let e=U();v(0,"lib-bimplus-main-menu",20),k("bimplusMainMenuClicked",function(o){O(e);let r=b();return S(r.bimplusMainMenuClicked(o))})("bimplusMainMenuOverlayClicked",function(){O(e);let o=b();return S(o.bimplusMainMenuOverlayClicked())}),_()}if(t&2){let e=b();C("selectedLanguage",e.languageStringsService.currentLanguage)("localizedStrings",e.languageStringsService.currentLanguageStrings)("isTouch",e.isTouch)("showHorizontalMenuIcons",e.isTouch)("appsWithInfo",e.appsWithInfo)("appsOrder",e.appsOrder)("menuItemsOrder",e.menuItemsOrder)}}var U_=(()=>{class t{constructor(e,i){this.translateService=e,this.languageStringsService=i,this.logoState=D0.BimplusViewer,this.isTouch=!1,this.isBimplusMainMenuVisible=!0,this.isNavbarMenuActive=!0,this.selectedZoom="100",this.messages="",this.contextMenuItems=[],this.contextMenuData=[],this.treeData=[],this.treeDataStringified=null,this.treeDataContextMenu=null,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.languageStringsService.currentLanguage$.pipe(os()).subscribe({next:o=>{this.translateService.use(o),$_.default.locale(o)}}),this.languageStringsService.currentLanguageStrings$.pipe(os()).subscribe({next:o=>{this.translateService.setTranslation(this.languageStringsService.currentLanguage,o)}})}log(e,i,o,r){let s=`EVENT : ${e}. `+(o?`INDEX: ${i?.detail?.index} ACTION: ${i?.detail?.action}`:`VALUE: ${i?.detail}`);(r?()=>window.alert(s):()=>console.log(s))()}ngOnInit(){this.initLanguage(),window.BimPlus={bimplusNavbarClicked:e=>{this.log("Navbar clicked",e),e?.detail==="menu"&&(this.isNavbarMenuActive=!this.isNavbarMenuActive)}},this.initMessages(),this.initContextMenu()}bimplusLanguageSelected(e){this.log("bimplusLanguageSelected",{detail:e}),this._switchLanguage(e)}_switchLanguage(e){e&&this.languageStringsService.setCurrentLanguage(e)}bimplusUserMenuClicked(e){this.log("bimplusUserMenuClicked",e,!0)}bimplusTouchModeSelected(e){this.log("bimplusTouchModeSelected",{detail:e}),this.isTouch=e==="touch"}bimplusMainMenuClicked(e){this.log("bimplusUserMenuClicked",{detail:e},!0,!0)}bimplusMainMenuOverlayClicked(){this.log("bimplusMainMenuOverlayClicked",{detail:""},!1,!0)}bimplusStorageInfoClicked(e){this.log("bimplusStorageInfoClicked",{detail:e},!1,!0)}bimplusContactClicked(e){this.log("bimplusContactClicked",{detail:e},!1,!0)}bimplusZoomSelected(e){this.log("bimplusZoomSelected",{detail:e}),this.selectedZoom=e;let i=62.5*(Number(e)/100),o=document.querySelector("html");o&&(o.style.fontSize=i+"%")}bimplusNotifyDeleteMessage(e){let i=JSON.parse(e),o=this.messages&&JSON.parse(this.messages)?.messages?.filter?.(r=>r.id!==i.id);this.messages=o&&JSON.stringify({messages:o})||""}bimplusNotifyDeleteAllMessages(){this.messages=""}bimplusNotifyMessageAction(e){this.log("This is notify message action handler",{detail:e},!1,!0)}selectedNodes(e){this.log("selectedNodes",{detail:JSON.stringify(e)})}initLanguage(){this.languageStringsService.languageFilesUri="/assets/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."}]})}initContextMenu(){this.contextMenuItems=[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip",disabled:()=>!0},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico"},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Rename file tooltip"},{id:"renameFile",title:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name",icon:"./favicon.ico",action:e=>{console.log(e)},tooltip:"Looooooooooooooooooooooooooooooooooooooooooooooooooooong item name"}],this.contextMenuData=[{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]}setupTreeData(e){let i=[];switch(e){case"Folders3":i.push({name:"Folders3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1 very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong name",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"File 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"},{name:"File 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01"}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-25",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;case"Folders2":i.push({name:"Folders2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{name:"Folder 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"Folder 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[{name:"File 1 - 1 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-03",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-04",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"},{name:"File 1 - 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-05",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-02"}]},{name:"Folder 1 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-06",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]},{name:"Folder 1 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-07",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-01",children:[]}]},{name:"Folder 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-09",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"},{name:"Folder 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08",children:[{name:"File 2 - 2 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-11",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-12",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"},{name:"File 2 - 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-13",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-10"}]},{name:"File 2 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-14",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-08"}]},{name:"Folder 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-16",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"File 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-17",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15"},{name:"Folder 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-15",children:[{name:"File 3 - 3 - 1",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-19",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 2",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-20",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"},{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-21",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-18"}]}]},{name:"Folder 4",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-22",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[]},{name:"Folder 5",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-00",children:[{name:"File 3 - 3 - 3",id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-24",parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"}]}]});break;default:i.push({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07",children:[{id:"78b8109a-aac3-4307-8ddb-745a64710d36",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"General folder",type:"DocumentFolder",number:1,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"123756a8-c06f-4954-8851-93f95b1629c1",children:[{id:"36a92f23-98e7-42db-b150-b0dae491d355",children:[{id:"2bbfbce5-beb8-49b1-bbef-430b061318c9",structureElementId:"86b65d1e-0490-45f2-abd6-402a176bc219",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-27-15.xlsx",type:"Attachment",number:0,level:3},{id:"9eb72c59-f019-4679-9bf4-07f8055388d4",structureElementId:"cc9c8694-4d70-4066-9475-d4375e67d7a0",parent:"36a92f23-98e7-42db-b150-b0dae491d355",name:"Allplan_QTO-QTO-2024-02-16-08-24-49.xlsx",type:"Attachment",number:0,level:3}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ELEMENTS",type:"DocumentFolder",number:1,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"73ad9d94-3ace-4124-b533-b4e2cbe07ab1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"IFC",type:"DocumentFolder",number:2,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"0378d1be-7b77-4705-a347-adda0ec04674",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"LOG",type:"DocumentFolder",number:3,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"abfd2209-225b-452d-91c9-d33269e47334",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"ISSUES",type:"DocumentFolder",number:4,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"094c8e91-7023-4c1e-8afb-6480d34cd4d1",children:[],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"SLIDESHOWS",type:"DocumentFolder",number:5,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}},{id:"d5d9ea2f-0337-4321-8917-3d485a76247a",children:[],color:4285988983,folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"123756a8-c06f-4954-8851-93f95b1629c1",name:"OTHER MODELS",type:"DocumentFolder",number:6,level:2,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,restricted:1,parent:"dbc08cd2-9f50-465b-9b54-da29c4988d07",name:"MY DOCUMENTS",type:"DocumentFolder",number:2,level:1,createdAt:"2023-01-19T05:40:37.3",creator:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"},changed:"2023-01-19T05:40:37.3",changedBy:{id:"9edf8528-b21f-b332-4785-6d5cc0b96e1f",email:"jgaba@allplan.com",firstname:"J\xE1n",lastname:"G\xE1ba"}}],folderRole:{id:"a124a637-55a4-4e4e-ab24-777d96b320a0",name:"Folder_Admin"},roleSetByUser:!1,parent:"d71d6daf-1114-42c4-84ad-5807837cac7b",name:"Folders1",type:"DocumentFolder",number:0,level:0});break}e==="Folders3"?(this.treeData=i,this.treeDataStringified=null,this.treeDataContextMenu={objectContextMenuitems:[{id:"openFile",title:"Open file",icon:"./favicon.ico",tooltip:"Open file tooltip"},{id:"separator"},{id:"closeFile",title:"Close file",icon:"./favicon.ico",disabled:()=>!0},{id:"deleteFile",title:"Delete file",icon:"./favicon.ico",disabled:()=>!1},{id:"separator"},{id:"renameFile",title:"Rename file",icon:"./favicon.ico",action:o=>{console.log(o)},tooltip:"Rename file tooltip"}],folderContextMenuitems:[{id:"renameFolder",title:"Rename folder",icon:"./favicon.ico",tooltip:"Rename folder tooltip"},{id:"deletFolder",title:"Delete folder",tooltip:"Delete folder tooltip"}]}):(this.treeData=[],this.treeDataStringified=JSON.stringify(i),this.treeDataContextMenu=null)}getNode(){let i=document.querySelector("lib-bimplus-flat-tree")?.get_node?.({id:"dbc08cd2-9f50-465b-9b54-da29c4988d07-23"},!1);console.log(i)}selectNode(){document.querySelector("lib-bimplus-flat-tree")?.select_node?.("dbc08cd2-9f50-465b-9b54-da29c4988d07-24")}static{this.\u0275fac=function(i){return new(i||t)(M(Z),M(b_))}}static{this.\u0275cmp=N({type:t,selectors:[["app-root"]],standalone:!0,features:[j],decls:26,vars:27,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"],["showIcons","true","triggerTitle","File context menu",3,"items","data"],[3,"bimplusNotifyMessageAction","bimplusNotifyDeleteMessage","bimplusNotifyDeleteAllMessages","selectedLanguage","localizedStrings","messages"],[3,"bimplusStorageInfoClicked","selectedLanguage","localizedStrings","usedStorage"],[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"],[1,"floating-panels-wrapper"],[3,"selectedLanguage","localizedStrings","noModelsMessage"],[1,"tree-data","tree-data-1",3,"click","keypress"],[1,"tree-data","tree-data-2",3,"click","keypress"],[1,"tree-data","tree-data-3",3,"click","keypress"],[1,"tree-data","tree-data-3","get-node",3,"click","keypress"],[1,"tree-data","tree-data-3","select-node",3,"click","keypress"],[1,"tree"],["enableSelect","true","enableParentHighlighting","true","multiSelect","true","oneLevelMultiSelect","false","showFoldersIcons","true","showObjectsIcons","true","enableDragAndDrop","true","treeTitle","FLAT TREE","paddingIndent","2.8rem",1,"flat-tree",3,"selectedNodes","treeData","treeDataStringified","contextMenus"],["projectName","00 Quickstart project and some very very long text","projectImageUrl","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTMS36RRWYaTysG471mlormL1bYN3-QIabbo30rDitKRoaDs3EA&s","isDev","true","isStage","true","teammembersSubscribed","true","propertymanagerSubscribed","true","projectActiveItem","projectlist","menuActiveItem","projectmembers",3,"bimplusMainMenuClicked","bimplusMainMenuOverlayClicked","selectedLanguage","localizedStrings","isTouch","showHorizontalMenuIcons","appsWithInfo","appsOrder","menuItemsOrder"]],template:function(i,o){i&1&&(v(0,"div",0)(1,"lib-bimplus-navbar",1),F(2,"lib-bimplus-context-menu",2),v(3,"lib-bimplus-notify",3),k("bimplusNotifyMessageAction",function(s){return o.bimplusNotifyMessageAction(s)})("bimplusNotifyDeleteMessage",function(s){return o.bimplusNotifyDeleteMessage(s)})("bimplusNotifyDeleteAllMessages",function(){return o.bimplusNotifyDeleteAllMessages()}),_(),v(4,"lib-bimplus-storage-info",4),k("bimplusStorageInfoClicked",function(s){return o.bimplusStorageInfoClicked(s)}),_(),v(5,"lib-bimplus-contact",5),k("bimplusContactClicked",function(s){return o.bimplusContactClicked(s)}),_(),v(6,"lib-bimplus-zoom",6),k("bimplusZoomSelected",function(s){return o.bimplusZoomSelected(s)}),_(),v(7,"lib-bimplus-touch-menu",7),k("bimplusTouchModeSelected",function(s){return o.bimplusTouchModeSelected(s)}),_(),v(8,"lib-bimplus-language-menu",8),k("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)}),_(),v(9,"lib-bimplus-user-menu",9),k("bimplusLanguageSelected",function(s){return o.bimplusLanguageSelected(s)})("bimplusUserMenuClicked",function(s){return o.bimplusUserMenuClicked(s)}),_()()(),E(10,FL,1,7,"lib-bimplus-main-menu",10),v(11,"div",11),F(12,"lib-bimplus-floating-bar-project-navigator",12),_(),v(13,"div",13),k("click",function(){return o.setupTreeData("Folders1")})("keypress",function(){return o.setupTreeData("Folders1")}),T(14,"Folders1"),_(),v(15,"div",14),k("click",function(){return o.setupTreeData("Folders2")})("keypress",function(){return o.setupTreeData("Folders2")}),T(16,"Folders2"),_(),v(17,"div",15),k("click",function(){return o.setupTreeData("Folders3")})("keypress",function(){return o.setupTreeData("Folders3")}),T(18,"Folders3"),_(),v(19,"div",16),k("click",function(){return o.getNode()})("keypress",function(){return o.getNode()}),T(20,"get_node (from Folders3)"),_(),v(21,"div",17),k("click",function(){return o.selectNode()})("keypress",function(){return o.selectNode()}),T(22,"select_node (from Folders3)"),_(),v(23,"div",18)(24,"lib-bimplus-scrollable-container")(25,"lib-bimplus-flat-tree",19),k("selectedNodes",function(s){return o.selectedNodes(s)}),_()()()),i&2&&(g(),C("logoState",o.logoState)("isNavbarMenuVisible",o.isBimplusMainMenuVisible)("isNavbarMenuActive",o.isNavbarMenuActive)("isTouch",o.isTouch),g(),C("items",o.contextMenuItems)("data",o.contextMenuData),g(),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("messages",o.messages),g(),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("usedStorage",90),g(2),C("selectedZoom",o.selectedZoom),g(),C("selectedMode",o.isTouch?"touch":"desktop")("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings),g(),C("selectedLanguage",o.languageStringsService.currentLanguage),g(),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("isTouch",o.isTouch),g(),z(o.isNavbarMenuActive?10:-1),g(2),C("selectedLanguage",o.languageStringsService.currentLanguage)("localizedStrings",o.languageStringsService.currentLanguageStrings)("noModelsMessage","_Loading project details"),g(13),C("treeData",o.treeData)("treeDataStringified",o.treeDataStringified)("contextMenus",o.treeDataContextMenu))},dependencies:[Cd,yd,xd,Dd,kd,Sd,Id,Pd,Td,gn,so,Dn,Ld,Q],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}
|
|
44
|
+
`],encapsulation:2})}}return t})();var NL=t=>new Jd(t,"./assets/languages/strings_",".json"),k0=class{handle(n){return console.warn("Missing translation string "+n.key),n.key}};Bn(void 0,null,function*(){let t=yield p3({providers:[o3(),wm(le.forRoot({missingTranslationHandler:{provide:Ho,useClass:k0},isolate:!0,defaultLanguage:"en",loader:{provide:Qi,useFactory:NL,deps:[b1]}}))]}),n=Ke(pv,{injector:t.injector});customElements.define("bimplus-connection-designer",n);let e=Ke(uv,{injector:t.injector});customElements.define("bimplus-connection-designer-result",e);let i=Ke(Cd,{injector:t.injector});customElements.define("bimplus-contact",i);let o=Ke(hv,{injector:t.injector});customElements.define("bimplus-floating-bar-hide-objects",o);let r=Ke(fv,{injector:t.injector});customElements.define("bimplus-floating-bar-isolation-objects",r);let s=Ke(yd,{injector:t.injector});customElements.define("bimplus-floating-bar-project-navigator",s);let l=Ke(xd,{injector:t.injector});customElements.define("bimplus-language-menu",l);let d=Ke(Dd,{injector:t.injector});customElements.define("bimplus-main-menu",d);let p=Ke(kd,{injector:t.injector});customElements.define("bimplus-navbar",p);let f=Ke(Sd,{injector:t.injector});customElements.define("bimplus-notify",f);let w=Ke(Md,{injector:t.injector});customElements.define("bimplus-project-menu",w);let D=Ke(Mv,{injector:t.injector});customElements.define("bimplus-sidenav",D);let x=Ke(qr,{injector:t.injector});customElements.define("bimplus-sidenav-drawer-content",x);let A=Ke(Id,{injector:t.injector});customElements.define("bimplus-storage-info",A);let V=Ke(Sv,{injector:t.injector});customElements.define("bimplus-tool-hub",V),V.prototype.toggleSubItemsView=function(fs){return this.ngElementStrategy.componentRef.instance.toggleSubItemsView(fs)};let R=Ke(Ld,{injector:t.injector});customElements.define("bimplus-touch-menu",R);let H=Ke(Pd,{injector:t.injector});customElements.define("bimplus-user-menu",H);let K=Ke(Td,{injector:t.injector});customElements.define("bimplus-zoom",K);let ge=Ke(h_,{injector:t.injector});customElements.define("bimplus-object-navigator",ge);let ze=Ke(gn,{injector:t.injector});customElements.define("bimplus-flat-tree",ze);let Te=Ke(so,{injector:t.injector});customElements.define("bimplus-context-menu",Te);let $=Ke(hd,{injector:t.injector});customElements.define("loading-spinner",$);let Le=Ke(f_,{injector:t.injector});customElements.define("bimplus-tooltip-message-element",Le);let De=Ke(Dn,{injector:t.injector});customElements.define("bimplus-scrollable-container-element",De);let hn=Ke(U_,{injector:t.injector});customElements.define("bimplus-app-wrapper-internal-element",hn);let Pa=Ke(C_,{injector:t.injector});customElements.define("bimplus-overlay-dialog-warning",Pa);let fn=Ke(w_,{injector:t.injector});customElements.define("resizable-panel",fn);let nu=Ke(y_,{injector:t.injector});customElements.define("object-properties-header",nu);let hs=Ke(x_,{injector:t.injector});customElements.define("lib-bimplus-overlay-dialog-error",hs)});export{k0 as BimplusMissingTranslationHandler};
|